]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
4 years agoInstall the provider configs.
Peter Powell [Sat, 7 Sep 2019 13:43:14 +0000 (14:43 +0100)]
Install the provider configs.

4 years agoReplace the gdbargs file with the --eval-command flag.
Peter Powell [Sat, 7 Sep 2019 13:30:32 +0000 (14:30 +0100)]
Replace the gdbargs file with the --eval-command flag.

4 years agoRespect indentation in configure template declarations.
Peter Powell [Sat, 7 Sep 2019 11:54:29 +0000 (12:54 +0100)]
Respect indentation in configure template declarations.

4 years agoAdd internal serialisations of the DCC allow and silence lists.
Peter Powell [Tue, 3 Sep 2019 11:27:14 +0000 (12:27 +0100)]
Add internal serialisations of the DCC allow and silence lists.

4 years agoAdd GetNumericToken to sepstream.
Peter Powell [Tue, 3 Sep 2019 11:17:48 +0000 (12:17 +0100)]
Add GetNumericToken to sepstream.

This removes some boilerplate when retrieving numeric types.

4 years agoWhen silence mask is prefixed by + or -, it should only remove the first character...
iwalkalone [Mon, 2 Sep 2019 22:52:20 +0000 (00:52 +0200)]
When silence mask is prefixed by + or -, it should only remove the first character, not the entire string (#1698).

4 years agoDocument ConfigStatus and add a way to detect the initial load.
Peter Powell [Mon, 2 Sep 2019 14:17:30 +0000 (15:17 +0100)]
Document ConfigStatus and add a way to detect the initial load.

4 years agoFix the haproxy module losing initial data in some circumstances.
Peter Powell [Mon, 26 Aug 2019 08:43:23 +0000 (09:43 +0100)]
Fix the haproxy module losing initial data in some circumstances.

4 years agoUpgrade the Doxygen config file with "doxygen -u".
Peter Powell [Fri, 23 Aug 2019 22:57:16 +0000 (23:57 +0100)]
Upgrade the Doxygen config file with "doxygen -u".

4 years agoRelease v3.3.0.
Peter Powell [Fri, 23 Aug 2019 10:14:07 +0000 (11:14 +0100)]
Release v3.3.0.

4 years agoSilence some GCC warnings.
Peter Powell [Fri, 23 Aug 2019 09:42:38 +0000 (10:42 +0100)]
Silence some GCC warnings.

4 years agoAdd -Werror to the Travis build flags.
Peter Powell [Thu, 1 Aug 2019 12:28:27 +0000 (13:28 +0100)]
Add -Werror to the Travis build flags.

4 years agoImprove escaping strings in the MySQL module.
Peter Powell [Tue, 20 Aug 2019 14:04:54 +0000 (15:04 +0100)]
Improve escaping strings in the MySQL module.

4 years agoInitialise and deallocate the MySQL library correctly.
Peter Powell [Tue, 20 Aug 2019 15:17:18 +0000 (16:17 +0100)]
Initialise and deallocate the MySQL library correctly.

4 years agoFix some remaining uses of ato[il].
Peter Powell [Tue, 13 Aug 2019 19:11:11 +0000 (20:11 +0100)]
Fix some remaining uses of ato[il].

4 years agoFree StringExtItem and SimpleExtItem values correctly.
Peter Powell [Tue, 13 Aug 2019 12:35:05 +0000 (13:35 +0100)]
Free StringExtItem and SimpleExtItem values correctly.

4 years agoConvert LocalExtItem to a typedef and deprecate it.
Peter Powell [Tue, 13 Aug 2019 13:03:51 +0000 (14:03 +0100)]
Convert LocalExtItem to a typedef and deprecate it.

4 years agoUpdate the mailmap with a bunch of new names.
Peter Powell [Fri, 9 Aug 2019 05:53:26 +0000 (06:53 +0100)]
Update the mailmap with a bunch of new names.

4 years agoFix waitpong referring to registration timeouts as ping timeouts.
Peter Powell [Fri, 9 Aug 2019 02:03:34 +0000 (03:03 +0100)]
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.

4 years agoFix DNSBL lookups for IPv6.
Matt Schatz [Thu, 8 Aug 2019 04:51:26 +0000 (22:51 -0600)]
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.

4 years agoConvert all core ExtensionItem code away from {un,}serialize.
Peter Powell [Wed, 7 Aug 2019 18:37:27 +0000 (19:37 +0100)]
Convert all core ExtensionItem code away from {un,}serialize.

4 years agoAdd {To,From}{Human,Internal,Network} to ExtensionItem.
Peter Powell [Wed, 7 Aug 2019 12:40:01 +0000 (13:40 +0100)]
Add {To,From}{Human,Internal,Network} to ExtensionItem.

Also, deprecate the old SerializeFormat/serialize/unserialise API.

4 years agoDocument ExtensionItem better.
Peter Powell [Wed, 7 Aug 2019 10:27:11 +0000 (11:27 +0100)]
Document ExtensionItem better.

4 years agoUpdate vendored utfcpp to v3.1.
Peter Powell [Fri, 2 Aug 2019 11:52:22 +0000 (12:52 +0100)]
Update vendored utfcpp to v3.1.

4 years agoMove UNIX socket removal to ListenSocket ctor.
Matt Schatz [Thu, 1 Aug 2019 10:55:22 +0000 (04:55 -0600)]
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.

4 years agoFix a shadowing warning in UserIOHandler::OnError.
Peter Powell [Thu, 1 Aug 2019 11:58:22 +0000 (12:58 +0100)]
Fix a shadowing warning in UserIOHandler::OnError.

4 years agoOnly send ACCOUNT and CHGHOST to clients that have sent NICK/USER.
Peter Powell [Wed, 31 Jul 2019 23:11:12 +0000 (00:11 +0100)]
Only send ACCOUNT and CHGHOST to clients that have sent NICK/USER.

Closes #1657.

4 years agoFix sasl hangs with clients that blindly request the capability.
Peter Powell [Wed, 31 Jul 2019 21:16:28 +0000 (22:16 +0100)]
Fix sasl hangs with clients that blindly request the capability.

4 years agoFix sending DEL for caps which have not been advertised yet.
Peter Powell [Wed, 31 Jul 2019 21:15:13 +0000 (22:15 +0100)]
Fix sending DEL for caps which have not been advertised yet.

Closes #1687.

4 years agoFix extban O matching against oper types containing spaces.
Peter Powell [Wed, 31 Jul 2019 20:49:47 +0000 (21:49 +0100)]
Fix extban O matching against oper types containing spaces.

Fixes #1684.

4 years agoStop removing oper modes after a user have been quit network-wide.
Peter Powell [Wed, 31 Jul 2019 20:25:44 +0000 (21:25 +0100)]
Stop removing oper modes after a user have been quit network-wide.

Fixes #1686.

4 years agoImprove the "max connections exceeded" oper snotice.
Peter Powell [Fri, 26 Jul 2019 19:19:32 +0000 (20:19 +0100)]
Improve the "max connections exceeded" oper snotice.

4 years agoFix various cases of broken indentation.
Peter Powell [Fri, 26 Jul 2019 09:22:42 +0000 (10:22 +0100)]
Fix various cases of broken indentation.

4 years agoAdd support for the IRCv3 standard replies extension.
Peter Powell [Wed, 3 Apr 2019 09:47:52 +0000 (10:47 +0100)]
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.

4 years agoAdd a constant for the maximum length of a mode parameter.
Peter Powell [Tue, 23 Jul 2019 14:17:01 +0000 (15:17 +0100)]
Add a constant for the maximum length of a mode parameter.

4 years agoAdd the time tag on the server the message originates from.
Peter Powell [Mon, 22 Jul 2019 11:18:25 +0000 (12:18 +0100)]
Add the time tag on the server the message originates from.

4 years agoFix some regressions in sending tags between servers.
Peter Powell [Mon, 22 Jul 2019 11:40:22 +0000 (12:40 +0100)]
Fix some regressions in sending tags between servers.

4 years agoAdd a method for swapping user I/O handlers.
Peter Powell [Sun, 21 Jul 2019 15:56:55 +0000 (16:56 +0100)]
Add a method for swapping user I/O handlers.

4 years agoExtract history sending logic in chanhistory to its own function.
Peter Powell [Sun, 21 Jul 2019 13:13:07 +0000 (14:13 +0100)]
Extract history sending logic in chanhistory to its own function.

4 years agoAllow modules to prevent a failed connection from being closed.
Peter Powell [Sun, 21 Jul 2019 12:44:32 +0000 (13:44 +0100)]
Allow modules to prevent a failed connection from being closed.

4 years agoAdd an event for adding tags to S2S messages.
Peter Powell [Fri, 19 Jul 2019 13:12:13 +0000 (14:12 +0100)]
Add an event for adding tags to S2S messages.

4 years agoGet rid of CommandBuilder::push_back.
Peter Powell [Fri, 19 Jul 2019 12:01:59 +0000 (13:01 +0100)]
Get rid of CommandBuilder::push_back.

4 years agospanningtree: Never send a message to a raw UUID in CmdBuilder.
Peter Powell [Fri, 19 Jul 2019 11:11:36 +0000 (12:11 +0100)]
spanningtree: Never send a message to a raw UUID in CmdBuilder.

4 years agossl_gnutls: remove PackageInfo directives for EOL Debian versions.
Peter Powell [Tue, 16 Jul 2019 10:52:18 +0000 (11:52 +0100)]
ssl_gnutls: remove PackageInfo directives for EOL Debian versions.

4 years agoAdd package names for ArchLinux.
Peter Powell [Tue, 16 Jul 2019 10:52:17 +0000 (11:52 +0100)]
Add package names for ArchLinux.

4 years agoregex_pcre: pkg-config is not required by this module.
Peter Powell [Tue, 16 Jul 2019 10:52:14 +0000 (11:52 +0100)]
regex_pcre: pkg-config is not required by this module.

4 years agoLink to the associated documentation page for modules in errors.
Peter Powell [Tue, 16 Jul 2019 10:52:09 +0000 (11:52 +0100)]
Link to the associated documentation page for modules in errors.

4 years agoRefer to modules without the m_ prefix in error messages
Peter Powell [Tue, 16 Jul 2019 09:25:35 +0000 (10:25 +0100)]
Refer to modules without the m_ prefix in error messages

4 years agoSend ERR_NOTEXTTOSEND in response to an empty GLOBOPS/WALLOPS.
Peter Powell [Mon, 15 Jul 2019 14:46:06 +0000 (15:46 +0100)]
Send ERR_NOTEXTTOSEND in response to an empty GLOBOPS/WALLOPS.

4 years agoSplit ServerEventListener into {Broadcast,Link,Sync}EventListener.
Peter Powell [Mon, 15 Jul 2019 11:43:05 +0000 (12:43 +0100)]
Split ServerEventListener into {Broadcast,Link,Sync}EventListener.

There is no reason to have these events in one big handler and it
causes unnecessary event hooks to be created by having them like
this.

The ServerEventListener class still exists for compatibility

4 years agoSkip UNIX sockets in GetLocation().
Matt Schatz [Wed, 10 Jul 2019 08:29:47 +0000 (02:29 -0600)]
Skip UNIX sockets in GetLocation().

4 years agoRelease v3.2.0.
Peter Powell [Fri, 5 Jul 2019 09:02:21 +0000 (10:02 +0100)]
Release v3.2.0.

4 years agoDocument the --example-dir option.
Peter Powell [Fri, 5 Jul 2019 09:08:41 +0000 (10:08 +0100)]
Document the --example-dir option.

4 years agoDurationString(): Return "0s" for a duration of 0 (#1677).
Matt Schatz [Thu, 4 Jul 2019 16:42:41 +0000 (10:42 -0600)]
DurationString(): Return "0s" for a duration of 0 (#1677).

Usually a duration of 0 is not allowed or handled separately,
but it can also be used as a 'no set time' without separation.

Case in point: m_chanhistory calls DurationString() to convert
the max time seconds back to a human readable string for the
mode serializer. Returning a blank string is bad here.

4 years agoFix years being offset from weeks (#1678).
Matt Schatz [Thu, 4 Jul 2019 16:30:23 +0000 (10:30 -0600)]
Fix years being offset from weeks (#1678).

Currently a duration of 52w will return a blank string.
When I added weeks to the calculations, I failed to update
the number of seconds to a year. As 365 days and 52 weeks
aren't the same, but the calculation needs to be consistent.

4 years agoUse DurationString() in the 'Replaying ...' message.
Matt Schatz [Thu, 4 Jul 2019 16:01:49 +0000 (10:01 -0600)]
Use DurationString() in the 'Replaying ...' message.

4 years agoFix whitelist check for a badchan redirect (#1676).
Matt Schatz [Thu, 4 Jul 2019 16:17:30 +0000 (10:17 -0600)]
Fix whitelist check for a badchan redirect (#1676).

4 years agoFix building on Windows.
Peter Powell [Thu, 4 Jul 2019 13:04:34 +0000 (14:04 +0100)]
Fix building on Windows.

This regression was introduced by #1659. This distinction is only
relevant on Windows so this should not affect non-Windows platforms.

4 years agoStop prioritising OnUserConnect in the conn_umodes module.
Peter Powell [Thu, 4 Jul 2019 09:14:09 +0000 (10:14 +0100)]
Stop prioritising OnUserConnect in the conn_umodes module.

There is no reason to do this.

4 years agoFix error message for splitwhois value.
Matt Schatz [Wed, 3 Jul 2019 10:05:28 +0000 (04:05 -0600)]
Fix error message for splitwhois value.

4 years agoAllow customising the example config directory at build time.
Peter Powell [Wed, 3 Jul 2019 09:53:21 +0000 (10:53 +0100)]
Allow customising the example config directory at build time.

Fixes #1626.

4 years agoFix finding files when the init script is not in the cwd.
Peter Powell [Wed, 3 Jul 2019 08:27:09 +0000 (09:27 +0100)]
Fix finding files when the init script is not in the cwd.

This should fix #1621.

4 years agoFix not expanding <pid:file> correctly.
Peter Powell [Wed, 3 Jul 2019 08:59:46 +0000 (09:59 +0100)]
Fix not expanding <pid:file> correctly.

4 years agoRevert "Add the msgid tag to all outgoing messages".
Peter Powell [Tue, 2 Jul 2019 08:37:11 +0000 (09:37 +0100)]
Revert "Add the msgid tag to all outgoing messages".

This causes inconsistent message ids between servers.

This reverts commit 638e4bb417ebcd4f0a384ac19585620b0fde1569.

5 years agosslinfo: use the SSL certificate API to get user SSL certificates.
Peter Powell [Sat, 29 Jun 2019 14:38:29 +0000 (15:38 +0100)]
sslinfo: use the SSL certificate API to get user SSL certificates.

5 years agoOnly show UHNAMES and NAMESX in 005 if the cap module is loaded.
Peter Powell [Wed, 26 Jun 2019 18:02:51 +0000 (19:02 +0100)]
Only show UHNAMES and NAMESX in 005 if the cap module is loaded.

The legacy method of enabling these extensions is just a wrapper
around the capability. If the cap module is not loaded it can not
be enabled so we should not advertise it.

5 years agoSwitch permchannels and xline_db from OnBackgroundTimer to a Timer.
Peter Powell [Tue, 25 Jun 2019 14:03:03 +0000 (15:03 +0100)]
Switch permchannels and xline_db from OnBackgroundTimer to a Timer.

5 years agopermchannels: remove an unused ChanModeReference.
Peter Powell [Tue, 25 Jun 2019 14:02:34 +0000 (15:02 +0100)]
permchannels: remove an unused ChanModeReference.

5 years agoReplace large if/else blocks for target.type with switches (#1668).
linuxdaemon [Mon, 24 Jun 2019 16:10:17 +0000 (11:10 -0500)]
Replace large if/else blocks for target.type with switches (#1668).

5 years agoAdd OnUserPreQuit event to allow modules to change quit messages (#1629).
iwalkalone [Mon, 24 Jun 2019 13:46:54 +0000 (15:46 +0200)]
Add OnUserPreQuit event to allow modules to change quit messages (#1629).

5 years agoReset diagnostic pragmas after including external headers (#1661).
linuxdaemon [Mon, 24 Jun 2019 11:00:39 +0000 (06:00 -0500)]
Reset diagnostic pragmas after including external headers (#1661).

5 years agoFix an inverted condition in the ircv3_sts module.
Peter Powell [Sat, 22 Jun 2019 23:48:22 +0000 (00:48 +0100)]
Fix an inverted condition in the ircv3_sts module.

5 years agoFix msgid inconsistencies with TAGMSG
linuxdaemon [Sat, 22 Jun 2019 14:10:32 +0000 (09:10 -0500)]
Fix msgid inconsistencies with TAGMSG

Also fixes accidentally copying incoming tags on TAGMSG when sending to
other users

5 years agoDeduplicate dirent.h inclusion.
Peter Powell [Thu, 20 Jun 2019 09:24:16 +0000 (10:24 +0100)]
Deduplicate dirent.h inclusion.

5 years agoMake the data provider list case insensitive.
Peter Powell [Tue, 18 Jun 2019 18:17:18 +0000 (19:17 +0100)]
Make the data provider list case insensitive.

5 years agoFix a typo in inspircd.conf.example.
Peter Powell [Mon, 17 Jun 2019 11:53:54 +0000 (12:53 +0100)]
Fix a typo in inspircd.conf.example.

5 years agoAdd more info and a IPv6 class to the IRCCloud example config.
Peter Powell [Mon, 17 Jun 2019 11:28:07 +0000 (12:28 +0100)]
Add more info and a IPv6 class to the IRCCloud example config.

5 years agoAdd example connect classes for KiwiIRC.com and IRCCloud.
Peter Powell [Mon, 17 Jun 2019 11:12:17 +0000 (12:12 +0100)]
Add example connect classes for KiwiIRC.com and IRCCloud.

5 years agoDocument <connect:deny> better.
Peter Powell [Mon, 17 Jun 2019 10:52:57 +0000 (11:52 +0100)]
Document <connect:deny> better.

5 years agoUpdate modulemanager for inspircd-contrib.
Peter Powell [Mon, 17 Jun 2019 08:55:58 +0000 (09:55 +0100)]
Update modulemanager for inspircd-contrib.

5 years agoWarn when building without SSL support.
Peter Powell [Fri, 14 Jun 2019 21:23:19 +0000 (22:23 +0100)]
Warn when building without SSL support.

5 years agofix example config for m_connflood
Ben Harris [Fri, 14 Jun 2019 18:56:03 +0000 (14:56 -0400)]
fix example config for m_connflood

5 years agoLog SQL queries at the debug log level.
Peter Powell [Fri, 14 Jun 2019 13:24:03 +0000 (14:24 +0100)]
Log SQL queries at the debug log level.

This makes debugging issues easier.

5 years agoShow the mode syntax in ERR_INVALIDMODEPARAM.
Peter Powell [Wed, 12 Jun 2019 20:46:07 +0000 (21:46 +0100)]
Show the mode syntax in ERR_INVALIDMODEPARAM.

5 years agochanhistory: recreate the mode parameter instead of saving it.
Peter Powell [Wed, 12 Jun 2019 17:41:48 +0000 (18:41 +0100)]
chanhistory: recreate the mode parameter instead of saving it.

5 years agoAdd an API for accessing a batch end event.
Peter Powell [Wed, 12 Jun 2019 11:42:47 +0000 (12:42 +0100)]
Add an API for accessing a batch end event.

This is essentially identical to the one for the start event.

5 years agoDefault idents to the uuid of the connecting user.
Peter Powell [Tue, 11 Jun 2019 23:12:10 +0000 (00:12 +0100)]
Default idents to the uuid of the connecting user.

5 years agoFix echo-message replies being considered a side effect.
Peter Powell [Tue, 11 Jun 2019 09:02:35 +0000 (10:02 +0100)]
Fix echo-message replies being considered a side effect.

5 years agoFix some more warnings in the httpd module.
Peter Powell [Mon, 10 Jun 2019 13:20:09 +0000 (14:20 +0100)]
Fix some more warnings in the httpd module.

5 years agoFix a misleading log message in the sslinfo module.
Peter Powell [Mon, 10 Jun 2019 13:10:56 +0000 (14:10 +0100)]
Fix a misleading log message in the sslinfo module.

5 years agoAdd support for including directories containing .conf files.
Peter Powell [Mon, 10 Jun 2019 13:06:28 +0000 (14:06 +0100)]
Add support for including directories containing .conf files.

5 years agoAdd a method for getting a list of files in a directory.
Peter Powell [Mon, 10 Jun 2019 12:40:37 +0000 (13:40 +0100)]
Add a method for getting a list of files in a directory.

5 years agoAdd a way to disable older SSL versions with ssl_openssl.
Peter Powell [Mon, 10 Jun 2019 10:33:55 +0000 (11:33 +0100)]
Add a way to disable older SSL versions with ssl_openssl.

5 years agoFix a typo in the filter module.
Peter Powell [Sat, 8 Jun 2019 00:10:23 +0000 (01:10 +0100)]
Fix a typo in the filter module.

5 years agoFix building on older compiler versions.
Peter Powell [Fri, 7 Jun 2019 19:18:34 +0000 (20:18 +0100)]
Fix building on older compiler versions.

5 years agoImplement support for millisecond level server-time accuracy.
Peter Powell [Fri, 7 Jun 2019 19:13:23 +0000 (20:13 +0100)]
Implement support for millisecond level server-time accuracy.

5 years agoAdd an option to the filter module to ignore self messages.
Peter Powell [Fri, 7 Jun 2019 19:11:40 +0000 (20:11 +0100)]
Add an option to the filter module to ignore self messages.

5 years agoReplace all abstract usages of his/he/her with they/their/it.
Peter Powell [Fri, 7 Jun 2019 18:47:15 +0000 (19:47 +0100)]
Replace all abstract usages of his/he/her with they/their/it.

5 years agoAdd the msgid tag to all outgoing messages.
Peter Powell [Fri, 7 Jun 2019 12:32:56 +0000 (13:32 +0100)]
Add the msgid tag to all outgoing messages.

5 years agoCoreExport for CommandSave. fixes #1635
Ben Harris [Fri, 7 Jun 2019 13:32:48 +0000 (09:32 -0400)]
CoreExport for CommandSave. fixes #1635