14385 Commits

Author SHA1 Message Date
Sadie Powell
43f6c20e40 Move the oper and snomask modes to core_oper. 2020-04-12 04:30:46 +01:00
Sadie Powell
442101525b Rename ERR_CANTSENDTOUSER to match the channel numeric name. 2020-04-11 17:30:55 +01:00
Sadie Powell
277f2193f8 Remove the whowas header which was missed during the last merge. 2020-04-11 16:15:12 +01:00
Sadie Powell
a57621c74b Rename Module::flags to Module::properties.
This name is more descriptive and should create less warnings about
shadowing in existing modules.
2020-04-11 15:43:54 +01:00
Sadie Powell
4582696afb Merge branch 'insp3' into master. 2020-04-11 14:08:02 +01:00
Sadie Powell
1a800f7b3d Improve storage of module description, flags, and link data. 2020-04-11 13:54:05 +01:00
Sadie Powell
c5680d6493 Fix an oversight in mkversions that caused it to not update extras. 2020-04-10 20:36:20 +01:00
Sadie Powell
4a6fedd932 Update the module descriptions using mkversion. 2020-04-10 15:36:14 +01:00
Sadie Powell
203a45d18e Add a tool for updating module descriptions based on the docs. 2020-04-10 15:36:14 +01:00
Matt Schatz
c1285a71c5
Note that bind:permissions does not change on rehash. 2020-04-10 01:14:38 -06:00
Sadie Powell
5491e01bc3 The init function should have the override keyword too. 2020-04-10 01:28:59 +01:00
Sadie Powell
103267efa4 Add the missing VF_CORE flag to the core_whowas module. 2020-04-10 00:35:41 +01:00
Sadie Powell
85f8879eb2 Add missing override keyword to the sslrehashsignal module. 2020-04-10 00:33:44 +01:00
Sadie Powell
13db096313 Remove references to the long dead SQLv2 from the pgsql module. 2020-04-10 00:32:56 +01:00
Sadie Powell
ab49ff82c5 Remove an unused variable in the http_acl module. 2020-04-10 00:30:58 +01:00
Sadie Powell
efe904f2f0 Default <sslprofile:hash> to sha256 for GnuTLS and OpenSSL. 2020-04-09 18:07:07 +01:00
Sadie Powell
e1ed9b275f Merge branch 'insp3' into master. 2020-04-09 18:06:50 +01:00
Sadie Powell
bb39d78be6 Set the minimum length to 1 for most config items with a default. 2020-04-09 15:18:04 +01:00
Sadie Powell
52a433cfcc Allow <passforward:forwardmsg> to be optional. 2020-04-09 14:46:04 +01:00
Matt Schatz
79650e86fd
Send SNOTICES for failed secure only or fingerprint oper attempts. 2020-04-09 06:57:36 -06:00
Matt Schatz
2ec69dcc73
Prevent a trailing space in the failed oper SNOTICE. 2020-04-09 06:57:30 -06:00
Matt Schatz
160649b767
Set Unix socket permissions after binding. 2020-04-09 06:57:09 -06:00
Sadie Powell
ab564db05e More HasFd() conversions. 2020-04-09 00:34:05 +01:00
Sadie Powell
0e7e1ea393 Improve the logging of the httpd module. 2020-04-09 00:14:59 +01:00
Sadie Powell
338946c969 Add a way to disable using environment variables in included files. 2020-04-07 14:45:43 +01:00
Sadie Powell
ba30c383ba Fix Numerics::CannotSendTo sending the wrong numeric for users. 2020-04-06 20:34:44 +01:00
Sadie Powell
620c6f9f2e Fix building the sqlite3 module on the macOS CI. 2020-04-06 13:20:02 +01:00
Sadie Powell
c353cb5aee Add a tool for retrieving directives from source files. 2020-04-06 10:35:11 +01:00
Sadie Powell
f28c467e95 Send ERR_BANNEDFROMCHAN when a user can't create a restricted channel.
Closes #1772.
2020-04-05 19:10:48 +01:00
Sadie Powell
758a0aa59b Vendor the optional-lite library. 2020-04-05 12:14:01 +01:00
Sadie Powell
0609b6cdad Update the http_parser library to v2.9.4. 2020-04-05 12:03:00 +01:00
Matt Schatz
3d56d49cf1
Don't send a geolocation whois line for uline clients. 2020-04-04 19:18:59 -06:00
Matt Schatz
d6133886f5
Don't override a different Displayed Host with the rDNS.
If the dnsbl module is set to mark with a vHost, it can finish before
the hostname resolution finishes. This is especially the case when
the result is already cached.

Resolves #1770.
2020-04-04 19:12:28 -06:00
Sadie Powell
fe23e07f02 Squish the cmd_whowas header.
There's no reason for this to be in a header and it can't be used
by anything else.
2020-04-04 13:25:10 +01:00
Sadie Powell
5c6b063067 Don't filter mass-messages sent by server operators.
This matches the behaviour of the censor module.
2020-04-04 12:31:14 +01:00
Sadie Powell
cbe5b99314 Add the Numerics::CannotSendTo class and switch stuff to use it. 2020-04-04 12:31:14 +01:00
Matt Schatz
cad2f3f979
Ignore clients on ulined servers when counting invisible users.
This is in addition to 4cc992f.
2020-04-04 02:58:59 -06:00
Sadie Powell
235a986964 Add support for sending a standard reply with no command name. 2020-04-02 20:55:53 +01:00
Sadie Powell
26ddc3942d Add constants for the uninvite numerics. 2020-04-02 20:53:23 +01:00
Sadie Powell
e75b2f92b5 Fix the log message in the disable module.
Modes are set and unset not executed.
2020-04-02 11:36:25 +01:00
Sadie Powell
339826812b Clear the entire DNS cache on rehash. 2020-04-01 20:35:26 +01:00
Sadie Powell
e19674d50a Document Module::Prioritize. 2020-04-01 14:32:02 +01:00
Sadie Powell
bec70fca51 Add a comment for packagers who delete the --{uid,gid} checks. 2020-03-31 17:33:55 +01:00
Matt Schatz
a5cb6b99fb
Add back the prefix on a server target message.
The prefix is dropped when building the message. We add it back here
so that the remote servers can recognize it as a server target.
2020-03-31 08:41:04 -06:00
Sadie Powell
29addc0799 Fix clock skip warnings being inverted. 2020-03-30 23:41:46 +01:00
Sadie Powell
25052ccef3 Make showing the channel modes in /LIST configurable. 2020-03-30 23:38:42 +01:00
Sadie Powell
9ebda853f5 Fix various documentation and formatting issues. 2020-03-30 17:24:12 +01:00
Sadie Powell
3f3da905b9 Add support for the servers/ignore-shun privilege. 2020-03-29 12:08:19 +01:00
Sadie Powell
92732be632 Include ADMIN and OPER in the default for <shun:enabledcmds>. 2020-03-29 11:58:09 +01:00
Sadie Powell
5fff3610d5 Clean up the parsing logic for <shun:enabledcmds>. 2020-03-29 11:57:27 +01:00