13893 Commits

Author SHA1 Message Date
Peter Powell
2cc524a1c6 Add a configure flag for disabling automatically enabling extras.
Requested by @niacat.
2019-05-12 11:50:57 +01:00
Peter Powell
90541be8d6 Move message access checks to OnUserPre{Tag,}Message.
This allows modules to override them if necessary.

Fixes #1619.
2019-05-11 14:55:20 +01:00
Peter Powell
31340d50a4 Allow disabling a STS policy for users in specific connect classes.
Fixes #1634.
2019-05-11 14:34:42 +01:00
Peter Powell
e48d068769 Release v3.0.1. v3.0.1 2019-05-10 09:54:28 +01:00
Robby
7fa27bb93b Add umode O (override) to helpop. 2019-05-09 21:11:25 +01:00
Peter Powell
0e1a076653 Improve handling of list mode limits.
- Fix not being able to set a zero limit.
- Fix MAXLIST not reflecting the true lower limit.
- Fix not treating an empty <maxlist:limit> as equivalent to *.
2019-05-09 16:45:19 +01:00
Peter Powell
7f979b895e Delete some obsolete comments. 2019-05-09 12:37:44 +01:00
Peter Powell
5610d70e4c Silence a fallthrough warning in the pgsql module on newer GCCs. 2019-05-09 12:06:57 +01:00
Peter Powell
3deeda7693 m_geo_maxmind: fix building on older libc versions. 2019-05-06 17:35:45 +01:00
nia
3bbf251efa Re-order the includes to fix C++03 builds.
inspircd.h defines __STDC_LIMIT_MACROS to ensure that C99 int type
limits are defined, however, if <stdint.h> is included implicitly
before inspircd.h, the build fails due to the C99 integer type
limits being undefined.
2019-05-06 16:47:25 +01:00
Robby
daf3be301d Update the exemptchanops module section in modules.conf.example with missing exemptions. 2019-05-06 16:06:54 +01:00
Robby
bd6e75ffa1 Document the anticaps exemption. 2019-05-06 10:32:27 +01:00
Peter Powell
6844ce1587 Fix building against older versions of glibc. 2019-05-06 01:57:26 +01:00
Peter Powell
e122a986a4 Fix relying on PWD being set in the makefile.
This may not be set in some circumstances.
2019-05-06 01:57:26 +01:00
Adam
5e1cb9ed76
win: change ssize_t typedef to SSIZE_T
libmaxminddb redefines this when building under MSVC and breaks the
build otherwise due to the redefinition of ssize_t
2019-05-05 14:08:50 -04:00
Peter Powell
3fcf55bef2 Fix the <wsorigin> example. 2019-05-05 14:52:32 +01:00
Peter Powell
d25c65e817 Add the test network to the readme. 2019-05-05 13:45:43 +01:00
Peter Powell
08da609b45 Raise the connection timeout in the example configs to 20s.
This should give more time for clients on slow connections that
want to do a lot of things (request caps, do SASL auth, etc) on
connect.

Reported by @ensra.
2019-05-05 13:09:37 +01:00
Robby
574c994c72 cmd_names: Fix the syntax. 2019-05-05 05:29:04 +01:00
Peter Powell
f852e2d7fe Fix the permissions files are installed with.
Reported by @ensra.
2019-05-04 21:34:11 +01:00
Peter Powell
9a83d20cfc Update the issue template for the new release. 2019-05-03 15:56:39 +01:00
Peter Powell
0c992c5a3d Work around NetBSD's EV_SET using intptr_t instead of void*.
Reported by @ensra.
2019-05-03 15:44:59 +01:00
Peter Powell
044fa99968 Fix --distribution-label erroneously requiring --development.
Reported by @ensra.
2019-05-03 15:17:15 +01:00
Peter Powell
68e5d0a151 Release v3.0.0. v3.0.0 2019-05-03 14:07:32 +01:00
Robby
b2afa60ad8 Clarify the require* connect block options and document the sslinfo module operonly option. 2019-05-03 14:07:29 +01:00
Peter Powell
09f35749aa Fix the ctctags module being marked as a draft. 2019-05-03 09:46:19 +01:00
Peter Powell
87b1461e2a Merge branch 'insp20' into insp3. 2019-05-02 00:49:01 +01:00
Peter Powell
1f6b27d64e Remove the copyright year from the Windows resource file. 2019-04-30 10:05:10 +01:00
Robby
e59cb85871 Some more text fixes and improvements (#1618). 2019-04-28 22:26:50 +01:00
Peter Powell
1041cb9329 Raise the maximum time period for the conn_join module to 15m. 2019-04-28 17:41:12 +01:00
Vitor Luis
9986aa8b3d Fixed a missing quotation mark in the repeat module config. 2019-04-28 14:03:40 +01:00
Robby
e57d1b19ff Textual improvements and fixes such as typos, casing, etc. (#1612) 2019-04-28 09:14:21 +01:00
B00mX0r
2533dc10f9 Fix compatibility issues between sqloper and postgres 2019-04-28 00:03:30 +01:00
Robby
23033e286f m_connectban and m_svshold: Use DurationString() in X-line messages. 2019-04-28 00:02:53 +01:00
linuxdaemon
095d0e6154 m_spanningtree: Parse and copy message tags for all cmds
Don't ignore message tags on ServerCommands, and avoid creating
duplicate CommandBase::Params instances
2019-04-28 00:01:25 +01:00
linuxdaemon
d4aab8d30a m_spanningtree: Ensure tags are sent in forwarded cmds
When a user (U1) sends a PRIVMSG to a server (S1), which sends it to S2, which finally
sends it to S3 to send to U2, S2 doesn't send the tags it received on
the command from S1 to S3.
2019-04-28 00:01:25 +01:00
Peter Powell
aad20cbcb3 Add a Travis build matrix option for C++14. 2019-04-27 23:38:01 +01:00
Peter Powell
9f53454550 Fix hiding ERR_NOOPERMOTD response when an operator logs in. 2019-04-27 23:36:46 +01:00
Peter Powell
e743b2d90a Update documentation links. 2019-04-26 23:20:40 +01:00
Peter Powell
ece446b149 Fix the numerics used by the opermotd module.
- Use ERR_NOOPERMOTD from UnrealIRCd and RPL_OMOTDSTART, RPL_OMOTD,
  and RPL_ENDOFOMOTD from ircd-ratbox.
- Only send ERR_NOOPERMOTD in response to the command.
2019-04-26 18:35:17 +01:00
Peter Powell
b4599531f9 Fix broken linking over IPv4 on IPv6 capable systems.
If no bind address was specified then one would be
created which had an incompatible address family to
the address that the server was trying to connect to.
2019-04-25 19:24:35 +01:00
Peter Powell
c13d0744fe Update vendored utfcpp library to commit ad27c7d5e0. 2019-04-25 19:24:35 +01:00
Peter Powell
f2712eaf0c Update vendored http_parser library to v2.9.2. 2019-04-25 19:24:35 +01:00
iwalkalone
56c9477428 Link flags must be after compiled objects. 2019-04-22 02:01:36 +01:00
Robby
49fef4ef75 Fix grammar in unknown mode/snomask character messages. 2019-04-21 22:15:44 +01:00
Peter Powell
e6e8364e8e HasModePermission: fix inverted condition. 2019-04-21 10:46:38 +01:00
Peter Powell
b6935108ca Fall back to the most recent version supported on "CAP LS".
This ensures compliance with the behaviour specified in ircv3/ircv3-specifications#371.
2019-04-19 14:37:32 +01:00
Peter Powell
329cb42190 Bump the API revision for the previous commits. 2019-04-19 13:47:36 +01:00
Peter Powell
ac7aeb8b02 Improve the descriptions of various core modules. 2019-04-19 13:03:15 +01:00
Peter Powell
8b0d039717 Demote core_ison and core_userhost to commands in core_user.
These are not important enough for their own module.
2019-04-19 12:40:28 +01:00