13954 Commits

Author SHA1 Message Date
Peter Powell
bd3791dd69 Update modulemanager for inspircd-contrib. 2019-06-17 10:06:55 +01:00
Peter Powell
cf35e67318 Warn when building without SSL support. 2019-06-17 10:06:26 +01:00
Ben Harris
ade19f79c5 fix example config for m_connflood 2019-06-14 20:27:38 +01:00
Peter Powell
93a4f8178c Log SQL queries at the debug log level.
This makes debugging issues easier.
2019-06-14 14:40:19 +01:00
Peter Powell
9433e34b21 Show the mode syntax in ERR_INVALIDMODEPARAM. 2019-06-12 21:52:58 +01:00
Peter Powell
938837af9f chanhistory: recreate the mode parameter instead of saving it. 2019-06-12 18:43:00 +01:00
Peter Powell
9b35c4c78c Add an API for accessing a batch end event.
This is essentially identical to the one for the start event.
2019-06-12 12:42:47 +01:00
Peter Powell
060335168d Default idents to the uuid of the connecting user. 2019-06-12 00:12:10 +01:00
Peter Powell
ad92bdb83f Fix echo-message replies being considered a side effect. 2019-06-11 10:04:15 +01:00
Peter Powell
2aeb1606e5 Fix some more warnings in the httpd module. 2019-06-10 14:20:09 +01:00
Peter Powell
04004719c6 Fix a misleading log message in the sslinfo module. 2019-06-10 14:10:56 +01:00
Peter Powell
9a0cefb52f Add support for including directories containing .conf files. 2019-06-10 14:06:28 +01:00
Peter Powell
6e898936d6 Add a method for getting a list of files in a directory. 2019-06-10 13:40:37 +01:00
Peter Powell
df9ca5115b Add a way to disable older SSL versions with ssl_openssl. 2019-06-10 11:33:55 +01:00
Peter Powell
dbcad43824 Fix a typo in the filter module. 2019-06-08 01:10:23 +01:00
Peter Powell
34d385ea32 Fix building on older compiler versions. 2019-06-07 20:22:43 +01:00
Peter Powell
da53c17315 Implement support for millisecond level server-time accuracy. 2019-06-07 20:22:43 +01:00
Peter Powell
8bbd67b1f7 Add an option to the filter module to ignore self messages. 2019-06-07 20:22:43 +01:00
Peter Powell
f6b33a8fac Replace all abstract usages of his/he/her with they/their/it. 2019-06-07 20:22:43 +01:00
Peter Powell
638e4bb417 Add the msgid tag to all outgoing messages. 2019-06-07 20:22:43 +01:00
Ben Harris
ca161e8637 CoreExport for CommandSave. fixes #1635 2019-06-07 14:36:33 +01:00
Peter Powell
43e31bba54 Check the unset level in autoop as well as the set level. 2019-06-07 10:57:46 +01:00
Peter Powell
8e734ee8a1 Validate the exemptchanops parameter better and check permissions.
Closes #1055.
2019-06-07 10:44:20 +01:00
Peter Powell
1e60f38bab Show how many users are non-SSL in ERR_ALLMUSTSSL. 2019-06-07 01:34:51 +01:00
Peter Powell
806b4d55a2 Add a configure warning about OpenBSDs broken compilers/linkers. 2019-06-06 22:28:25 +01:00
Peter Powell
08eee19aff Make messageflood weights configurable.
Also, default TAGMSG to being worth 0.2 NOTICE/PRIVMSG. This should
prevent flood kicks from typing notifications.

Closes #1649.
2019-06-06 16:01:34 +01:00
Peter Powell
87bbf574bd Only call events on modules which aren't dying. 2019-06-06 14:14:46 +01:00
Peter Powell
d2ebf5083b 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.
2019-06-06 14:14:46 +01:00
linuxdaemon
2633b577ad m_repeat: Fix parsing mode parameter 2019-06-05 15:27:12 +01:00
Matt Schatz
d2b94541fc 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.
2019-06-05 09:02:22 +01:00
Matt Schatz
b8c5df6d1a Fix a compiler warning introduced in d107093. (#1653) 2019-06-05 09:01:33 +01:00
Peter Powell
3b67b43f6a Fix showing the anticaps channel name in ERR_CANNOTSENDTOCHAN.
Closes #1652.
2019-06-04 17:37:49 +01:00
Peter Powell
97e03b761f Fix parsing <bind:permissions> as base 10 instead of base 8. 2019-05-31 16:24:15 +01:00
Peter Powell
f7a5b4fa74 Ignore SIGUSR1 and SIGUSR2 by default.
This stops users from accidentally killing their IRC server if they
forget to load the sslrehashsignal module.
2019-05-30 21:24:08 +01:00
Peter Powell
08d2ff86b0 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.
2019-05-30 11:51:01 +01:00
Peter Powell
33932b95e4 Add irc::sockets::isunix for checking if a file is a UNIX socket. 2019-05-29 17:50:49 +01:00
linuxdaemon
de7011e54a Add an overload of StreamSocket::Close which closes when all data has been written.
Fixes sending large pages in m_httpd (#1646).
2019-05-22 19:47:17 +01:00
Robby
05756b842f m_filter: Minor cosmetic changes (#1645). 2019-05-20 16:57:59 +01:00
Filippo Cortigiani
96cc17f651 Add an option to the filter module to exclude registered users from a filter. 2019-05-20 14:15:00 +01:00
Peter Powell
232332e064 Fix some warnings in m_httpd on older versions of GCC. 2019-05-20 12:03:42 +01:00
linuxdaemon
d107093513 m_haproxy: Initialize address length to 0
If the command is LOCAL, the address length isn't set before it is used
in ReadProxyAddress()
2019-05-19 22:22:53 +01:00
Anatole Denis
c1817f3203 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
2019-05-17 16:44:40 +01:00
Peter Powell
6e6007ef83 Release v3.1.0. v3.1.0 2019-05-17 09:51:03 +01:00
Peter Powell
7b47de3c19 Copy the silence flags when sending update notifications.
This fixes a crash bug in the silence module on some versions of GCC.
2019-05-17 09:50:54 +01:00
Peter Powell
f9a258fa76 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.
2019-05-17 09:23:46 +01:00
Peter Powell
0ab7720ea4 Fix applying pending xlines to online users. 2019-05-16 17:58:09 +01:00
linuxdaemon
1808a9a1b0 Fix space separation for CAPAB module list 2019-05-15 23:10:21 +01:00
Peter Powell
a55ca00569 Document the --disable-auto-extras configure option. 2019-05-15 10:58:45 +01:00
Peter Powell
ddc4f09bfb Comment out all of the includes in the inspircd example configs.
This allows users to use the example config without any special
configuration.
2019-05-15 10:49:35 +01:00
Peter Powell
ba8a3b236a Add support for the IRCv3 message id specification. 2019-05-15 10:34:01 +01:00