]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
Peter Powell [Fri, 19 Jul 2019 11:11:36 +0000 (12:11 +0100)]
spanningtree: Never send a message to a raw UUID in CmdBuilder.
Peter Powell [Tue, 16 Jul 2019 10:52:18 +0000 (11:52 +0100)]
ssl_gnutls: remove PackageInfo directives for EOL Debian versions.
Peter Powell [Tue, 16 Jul 2019 10:52:17 +0000 (11:52 +0100)]
Add package names for ArchLinux.
Peter Powell [Tue, 16 Jul 2019 10:52:14 +0000 (11:52 +0100)]
regex_pcre: pkg-config is not required by this module.
Peter Powell [Tue, 16 Jul 2019 10:52:09 +0000 (11:52 +0100)]
Link to the associated documentation page for modules in errors.
Peter Powell [Tue, 16 Jul 2019 09:25:35 +0000 (10:25 +0100)]
Refer to modules without the m_ prefix in error messages
Peter Powell [Mon, 15 Jul 2019 14:46:06 +0000 (15:46 +0100)]
Send ERR_NOTEXTTOSEND in response to an empty GLOBOPS/WALLOPS.
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
Matt Schatz [Wed, 10 Jul 2019 08:29:47 +0000 (02:29 -0600)]
Skip UNIX sockets in GetLocation().
Peter Powell [Fri, 5 Jul 2019 09:02:21 +0000 (10:02 +0100)]
Release v3.2.0.
Peter Powell [Fri, 5 Jul 2019 09:08:41 +0000 (10:08 +0100)]
Document the --example-dir option.
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.
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.
Matt Schatz [Thu, 4 Jul 2019 16:01:49 +0000 (10:01 -0600)]
Use DurationString() in the 'Replaying ...' message.
Matt Schatz [Thu, 4 Jul 2019 16:17:30 +0000 (10:17 -0600)]
Fix whitelist check for a badchan redirect (#1676).
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.
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.
Matt Schatz [Wed, 3 Jul 2019 10:05:28 +0000 (04:05 -0600)]
Fix error message for splitwhois value.
Peter Powell [Wed, 3 Jul 2019 09:53:21 +0000 (10:53 +0100)]
Allow customising the example config directory at build time.
Fixes #1626.
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.
Peter Powell [Wed, 3 Jul 2019 08:59:46 +0000 (09:59 +0100)]
Fix not expanding <pid:file> correctly.
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 .
Peter Powell [Sat, 29 Jun 2019 14:38:29 +0000 (15:38 +0100)]
sslinfo: use the SSL certificate API to get user SSL certificates.
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.
Peter Powell [Tue, 25 Jun 2019 14:03:03 +0000 (15:03 +0100)]
Switch permchannels and xline_db from OnBackgroundTimer to a Timer.
Peter Powell [Tue, 25 Jun 2019 14:02:34 +0000 (15:02 +0100)]
permchannels: remove an unused ChanModeReference.
linuxdaemon [Mon, 24 Jun 2019 16:10:17 +0000 (11:10 -0500)]
Replace large if/else blocks for target.type with switches (#1668).
iwalkalone [Mon, 24 Jun 2019 13:46:54 +0000 (15:46 +0200)]
Add OnUserPreQuit event to allow modules to change quit messages (#1629).
linuxdaemon [Mon, 24 Jun 2019 11:00:39 +0000 (06:00 -0500)]
Reset diagnostic pragmas after including external headers (#1661).
Peter Powell [Sat, 22 Jun 2019 23:48:22 +0000 (00:48 +0100)]
Fix an inverted condition in the ircv3_sts module.
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
Peter Powell [Thu, 20 Jun 2019 09:24:16 +0000 (10:24 +0100)]
Deduplicate dirent.h inclusion.
Peter Powell [Tue, 18 Jun 2019 18:17:18 +0000 (19:17 +0100)]
Make the data provider list case insensitive.
Peter Powell [Mon, 17 Jun 2019 11:53:54 +0000 (12:53 +0100)]
Fix a typo in inspircd.conf.example.
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.
Peter Powell [Mon, 17 Jun 2019 11:12:17 +0000 (12:12 +0100)]
Add example connect classes for KiwiIRC.com and IRCCloud.
Peter Powell [Mon, 17 Jun 2019 10:52:57 +0000 (11:52 +0100)]
Document <connect:deny> better.
Peter Powell [Mon, 17 Jun 2019 08:55:58 +0000 (09:55 +0100)]
Update modulemanager for inspircd-contrib.
Peter Powell [Fri, 14 Jun 2019 21:23:19 +0000 (22:23 +0100)]
Warn when building without SSL support.
Ben Harris [Fri, 14 Jun 2019 18:56:03 +0000 (14:56 -0400)]
fix example config for m_connflood
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.
Peter Powell [Wed, 12 Jun 2019 20:46:07 +0000 (21:46 +0100)]
Show the mode syntax in ERR_INVALIDMODEPARAM.
Peter Powell [Wed, 12 Jun 2019 17:41:48 +0000 (18:41 +0100)]
chanhistory: recreate the mode parameter instead of saving it.
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.
Peter Powell [Tue, 11 Jun 2019 23:12:10 +0000 (00:12 +0100)]
Default idents to the uuid of the connecting user.
Peter Powell [Tue, 11 Jun 2019 09:02:35 +0000 (10:02 +0100)]
Fix echo-message replies being considered a side effect.
Peter Powell [Mon, 10 Jun 2019 13:20:09 +0000 (14:20 +0100)]
Fix some more warnings in the httpd module.
Peter Powell [Mon, 10 Jun 2019 13:10:56 +0000 (14:10 +0100)]
Fix a misleading log message in the sslinfo module.
Peter Powell [Mon, 10 Jun 2019 13:06:28 +0000 (14:06 +0100)]
Add support for including directories containing .conf files.
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.
Peter Powell [Mon, 10 Jun 2019 10:33:55 +0000 (11:33 +0100)]
Add a way to disable older SSL versions with ssl_openssl.
Peter Powell [Sat, 8 Jun 2019 00:10:23 +0000 (01:10 +0100)]
Fix a typo in the filter module.
Peter Powell [Fri, 7 Jun 2019 19:18:34 +0000 (20:18 +0100)]
Fix building on older compiler versions.
Peter Powell [Fri, 7 Jun 2019 19:13:23 +0000 (20:13 +0100)]
Implement support for millisecond level server-time accuracy.
Peter Powell [Fri, 7 Jun 2019 19:11:40 +0000 (20:11 +0100)]
Add an option to the filter module to ignore self messages.
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.
Peter Powell [Fri, 7 Jun 2019 12:32:56 +0000 (13:32 +0100)]
Add the msgid tag to all outgoing messages.
Ben Harris [Fri, 7 Jun 2019 13:32:48 +0000 (09:32 -0400)]
CoreExport for CommandSave. fixes #1635
Peter Powell [Fri, 7 Jun 2019 09:54:25 +0000 (10:54 +0100)]
Check the unset level in autoop as well as the set level.
Peter Powell [Fri, 7 Jun 2019 09:14:54 +0000 (10:14 +0100)]
Validate the exemptchanops parameter better and check permissions.
Closes #1055.
Peter Powell [Fri, 7 Jun 2019 00:34:51 +0000 (01:34 +0100)]
Show how many users are non-SSL in ERR_ALLMUSTSSL.
Peter Powell [Thu, 6 Jun 2019 21:28:25 +0000 (22:28 +0100)]
Add a configure warning about OpenBSDs broken compilers/linkers.
Peter Powell [Thu, 6 Jun 2019 15:00:24 +0000 (16:00 +0100)]
Make messageflood weights configurable.
Also, default TAGMSG to being worth 0.2 NOTICE/PRIVMSG. This should
prevent flood kicks from typing notifications.
Closes #1649.
Peter Powell [Thu, 6 Jun 2019 13:14:09 +0000 (14:14 +0100)]
Only call events on modules which aren't dying.
Peter Powell [Thu, 6 Jun 2019 12:06:28 +0000 (13:06 +0100)]
Use a less scary message when an alias target is not U-lined.
99% of cases of this are due to misconfigurations not due to
underhanded behaviour.
linuxdaemon [Wed, 5 Jun 2019 13:23:01 +0000 (08:23 -0500)]
m_repeat: Fix parsing mode parameter
Matt Schatz [Wed, 5 Jun 2019 08:02:22 +0000 (02:02 -0600)]
Allow channels/auspex to see a secret channel topic. (#1654)
An oper with the 'channels/auspex' priv can now see the
topic of a secret channel (that they are not in) using
TOPIC. This is on par with the expectation of
'channels/auspex' and current LIST behaviour.
Matt Schatz [Wed, 5 Jun 2019 08:01:33 +0000 (02:01 -0600)]
Fix a compiler warning introduced in
d107093 . (#1653)
Peter Powell [Tue, 4 Jun 2019 16:37:16 +0000 (17:37 +0100)]
Fix showing the anticaps channel name in ERR_CANNOTSENDTOCHAN.
Closes #1652.
Peter Powell [Fri, 31 May 2019 15:24:15 +0000 (16:24 +0100)]
Fix parsing <bind:permissions> as base 10 instead of base 8.
Peter Powell [Thu, 30 May 2019 20:24:08 +0000 (21:24 +0100)]
Ignore SIGUSR1 and SIGUSR2 by default.
This stops users from accidentally killing their IRC server if they
forget to load the sslrehashsignal module.
Peter Powell [Wed, 29 May 2019 12:53:52 +0000 (13:53 +0100)]
Various improvements to UNIX socket support.
- Allow replacing dead UNIX sockets on startup.
- Allow setting the permissions of the UNIX socket.
- Expand the UNIX socket path relative to the data directory.
Peter Powell [Wed, 29 May 2019 11:48:05 +0000 (12:48 +0100)]
Add irc::sockets::isunix for checking if a file is a UNIX socket.
linuxdaemon [Wed, 22 May 2019 18:47:17 +0000 (13:47 -0500)]
Add an overload of StreamSocket::Close which closes when all data has been written.
Fixes sending large pages in m_httpd (#1646).
Robby [Mon, 20 May 2019 15:57:59 +0000 (17:57 +0200)]
m_filter: Minor cosmetic changes (#1645).
Filippo Cortigiani [Mon, 20 May 2019 13:15:00 +0000 (15:15 +0200)]
Add an option to the filter module to exclude registered users from a filter.
Peter Powell [Mon, 20 May 2019 11:00:44 +0000 (12:00 +0100)]
Fix some warnings in m_httpd on older versions of GCC.
linuxdaemon [Sat, 18 May 2019 20:27:15 +0000 (15:27 -0500)]
m_haproxy: Initialize address length to 0
If the command is LOCAL, the address length isn't set before it is used
in ReadProxyAddress()
Anatole Denis [Fri, 17 May 2019 15:10:31 +0000 (17:10 +0200)]
configure: Fix log-dir in --system mode
There was a typo, making configure invoked with --system overwrite the
passed --log-dir option with the value of --module-dir
Peter Powell [Fri, 17 May 2019 08:29:38 +0000 (09:29 +0100)]
Release v3.1.0.
Peter Powell [Wed, 15 May 2019 08:37:30 +0000 (09:37 +0100)]
Copy the silence flags when sending update notifications.
This fixes a crash bug in the silence module on some versions of GCC.
Peter Powell [Fri, 17 May 2019 08:23:46 +0000 (09:23 +0100)]
Only skip applying more X-lines to a user if they have been killed.
This fixes an issue with the previous commit where if a user had a
non-killing X-line applied to them (e.g. Q-line) they would not
have any further X-lines applied to them.
Thanks to @linuxdaemon for pointing this out.
Peter Powell [Thu, 16 May 2019 16:56:37 +0000 (17:56 +0100)]
Fix applying pending xlines to online users.
linuxdaemon [Wed, 15 May 2019 21:16:11 +0000 (16:16 -0500)]
Fix space separation for CAPAB module list
Peter Powell [Wed, 15 May 2019 09:57:02 +0000 (10:57 +0100)]
Document the --disable-auto-extras configure option.
Peter Powell [Wed, 15 May 2019 09:47:46 +0000 (10:47 +0100)]
Comment out all of the includes in the inspircd example configs.
This allows users to use the example config without any special
configuration.
Peter Powell [Wed, 15 May 2019 09:33:42 +0000 (10:33 +0100)]
Add support for the IRCv3 message id specification.
Peter Powell [Tue, 14 May 2019 14:51:25 +0000 (15:51 +0100)]
Resize the event sets to 2x the CurrentSetSize in ResizeDouble().
Peter Powell [Tue, 14 May 2019 14:55:54 +0000 (15:55 +0100)]
epoll: use a default list size of 16 to match other socket engines.
Peter Powell [Tue, 14 May 2019 13:06:54 +0000 (14:06 +0100)]
Fix an inverted condition in the commonchans module.
Peter Powell [Mon, 13 May 2019 23:30:56 +0000 (00:30 +0100)]
Add an enumeration for known protocol versions.
Peter Powell [Mon, 13 May 2019 18:32:39 +0000 (19:32 +0100)]
If a parent server is hidden then also hide its child servers.
This should fix #851.
Peter Powell [Mon, 13 May 2019 16:49:26 +0000 (17:49 +0100)]
Fix an unnecessary string copy when reading the <link> tags.
Peter Powell [Mon, 13 May 2019 23:51:31 +0000 (00:51 +0100)]
Replace ModuleSpanningTree::TimeToStr with InspIRCd::DurationStr.
Peter Powell [Mon, 13 May 2019 14:22:14 +0000 (15:22 +0100)]
Clean up and document the config header file.
Peter Powell [Mon, 13 May 2019 13:26:16 +0000 (14:26 +0100)]
Allow SSLIOHook instances to override Get{Certificate,Fingerprint}.
Peter Powell [Sun, 12 May 2019 10:45:37 +0000 (11:45 +0100)]
Fix configure not failing when invalid flags are passed to it.
Peter Powell [Sat, 11 May 2019 15:34:22 +0000 (16:34 +0100)]
modulemanager: use get_version to get the InspIRCd version.
Peter Powell [Sat, 11 May 2019 14:55:14 +0000 (15:55 +0100)]
Add a configure flag for disabling automatically enabling extras.
Requested by @niacat.
Peter Powell [Sat, 11 May 2019 13:55:20 +0000 (14:55 +0100)]
Move message access checks to OnUserPre{Tag,}Message.
This allows modules to override them if necessary.
Fixes #1619.