14047 Commits

Author SHA1 Message Date
Peter Powell
8ebe4ce2cb Stop GCC warnings about the deprecated OnServerSplit event. 2019-09-30 10:11:43 +01:00
Peter Powell
96d145b83b Fix a compiler error in the LDAP module. 2019-09-30 09:49:08 +01:00
Peter Powell
554308f654 Add null pointer checks to IS_{LOCAL,REMOTE,SERVER}.
I don't know of any places this causes issues but its better to be
safe than sorry.
2019-09-29 19:52:05 +01:00
Peter Powell
e96f1bb157 Deduplicate code for handling with setting LDAP options. 2019-09-27 22:39:56 +01:00
Peter Powell
65f74be719 Add the OnServerBurst hook and fix the docs for OnServerLink. 2019-09-23 13:18:21 +01:00
Peter Powell
cf5d382b82 Add whether the server split with an error to OnServerSplit. 2019-09-23 13:18:19 +01:00
Peter Powell
a4305d8f3c Add the server id to the Server class. 2019-09-23 13:18:14 +01:00
Peter Powell
b64177d3fb Lower the acceptable drift for clocks on link. 2019-09-20 15:16:49 +01:00
Peter Powell
216470adcf Fix the example tag for changing the voice ranks. 2019-09-16 22:46:17 +01:00
Peter Powell
9982ec4e5b Fix cloaking not ignoring the case of a user's hostname.
This new mode is recommended but disabled by default for compat
reasons.

Closes #480.
Closes #1419.

Co-Authored-By: B00mX0r <b00mx0r@aureus.pw>
2019-09-16 13:46:01 +01:00
Peter Powell
c05f1fee8a Fix the noctcp user mode not applying to channel CTCPs.
Closes #1704.
2019-09-16 12:23:08 +01:00
linuxdaemon
6a0155101e Document <alias:stripcolor> 2019-09-14 21:18:46 +01:00
linuxdaemon
436e358b5d m_alias: Add option to strip colors when matching 2019-09-14 21:18:46 +01:00
linuxdaemon
5a2af6ded8 m_chanfilter: Apply filters to part messages (#1702) 2019-09-14 16:36:48 +01:00
Peter Powell
96d3f92801 Install the provider configs. 2019-09-07 14:44:36 +01:00
Peter Powell
2648a0e1c4 Replace the gdbargs file with the --eval-command flag. 2019-09-07 14:36:20 +01:00
Peter Powell
1cf76f8aae Respect indentation in configure template declarations. 2019-09-07 12:54:29 +01:00
Peter Powell
685dfe016e Add internal serialisations of the DCC allow and silence lists. 2019-09-03 12:28:58 +01:00
Peter Powell
0d6a4a31d8 Add GetNumericToken to sepstream.
This removes some boilerplate when retrieving numeric types.
2019-09-03 12:28:58 +01:00
iwalkalone
e566a2d666 When silence mask is prefixed by + or -, it should only remove the first character, not the entire string (#1698). 2019-09-02 23:52:20 +01:00
Peter Powell
5cf6f65044 Document ConfigStatus and add a way to detect the initial load. 2019-09-02 15:17:30 +01:00
Peter Powell
78f9c57211 Fix the haproxy module losing initial data in some circumstances. 2019-08-26 10:45:11 +01:00
Peter Powell
a1b436b6e8 Upgrade the Doxygen config file with "doxygen -u". 2019-08-23 23:57:16 +01:00
Peter Powell
400de0ab00 Release v3.3.0. v3.3.0 2019-08-23 11:14:07 +01:00
Peter Powell
9ed9396278 Silence some GCC warnings. 2019-08-23 10:51:31 +01:00
Peter Powell
e7ca24f4dc Add -Werror to the Travis build flags. 2019-08-23 10:40:48 +01:00
Peter Powell
f9175f6518 Improve escaping strings in the MySQL module. 2019-08-20 16:26:35 +01:00
Peter Powell
8745660fcd Initialise and deallocate the MySQL library correctly. 2019-08-20 16:19:01 +01:00
Peter Powell
2d35c3396a Fix some remaining uses of ato[il]. 2019-08-13 20:11:11 +01:00
Peter Powell
0827c5c742 Free StringExtItem and SimpleExtItem values correctly. 2019-08-13 15:02:25 +01:00
Peter Powell
703ba72071 Convert LocalExtItem to a typedef and deprecate it. 2019-08-13 15:02:25 +01:00
Peter Powell
d1513c8c60 Update the mailmap with a bunch of new names. 2019-08-10 10:45:25 +01:00
Peter Powell
541c461cca Fix waitpong referring to registration timeouts as ping timeouts.
If the client does not send a PONG message in time then they will
receive a registration timeout. The client will only receive a ping
timeout in response to a unanswered PING whilst fuilly connected to
the server.
2019-08-09 03:46:23 +01:00
Matt Schatz
932121c6ff Fix DNSBL lookups for IPv6.
A '.' gets added to the end of `reversedip` when creating the DNSBL
hostname for the resolver. We need to remove the trailing '.' on the
IPv6 form of `reversedip` or the resolver will fail.
2019-08-08 11:59:33 +01:00
Peter Powell
714284aa30 Convert all core ExtensionItem code away from {un,}serialize. 2019-08-07 19:37:27 +01:00
Peter Powell
85182d727c Add {To,From}{Human,Internal,Network} to ExtensionItem.
Also, deprecate the old SerializeFormat/serialize/unserialise API.
2019-08-07 16:38:15 +01:00
Peter Powell
704f0fca5f Document ExtensionItem better. 2019-08-07 13:32:28 +01:00
Peter Powell
4f4bc07f41 Update vendored utfcpp to v3.1. 2019-08-02 12:52:22 +01:00
Matt Schatz
cb1e9772a9 Move UNIX socket removal to ListenSocket ctor.
Doing the removal in BindPorts() would remove the socket
during a rehash and not recreate it. Now it's only removed
if it's about to be created.
2019-08-01 13:23:46 +01:00
Peter Powell
d5ed9d15c1 Fix a shadowing warning in UserIOHandler::OnError. 2019-08-01 12:58:22 +01:00
Peter Powell
4e3d655dff Only send ACCOUNT and CHGHOST to clients that have sent NICK/USER.
Closes #1657.
2019-08-01 00:11:12 +01:00
Peter Powell
c6b5da1f6f Fix sasl hangs with clients that blindly request the capability. 2019-07-31 22:16:28 +01:00
Peter Powell
9acece70e5 Fix sending DEL for caps which have not been advertised yet.
Closes #1687.
2019-07-31 22:15:13 +01:00
Peter Powell
7d17f0f275 Fix extban O matching against oper types containing spaces.
Fixes #1684.
2019-07-31 21:50:48 +01:00
Peter Powell
ef77989a9d Stop removing oper modes after a user have been quit network-wide.
Fixes #1686.
2019-07-31 21:46:07 +01:00
Peter Powell
93556dbfb8 Improve the "max connections exceeded" oper snotice. 2019-07-26 20:19:32 +01:00
Peter Powell
193eac6490 Fix various cases of broken indentation. 2019-07-26 10:22:42 +01:00
Peter Powell
8fe455f1da Add support for the IRCv3 standard replies extension.
This extension provides a framework for other extensions to send
standard replies to clients as an alternative to numerics.
2019-07-25 14:32:47 +01:00
Peter Powell
abdc47a615 Add a constant for the maximum length of a mode parameter. 2019-07-23 15:17:01 +01:00
Peter Powell
438a088b51 Add the time tag on the server the message originates from. 2019-07-22 12:40:37 +01:00