15234 Commits

Author SHA1 Message Date
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
e34f345e3b Deduplicate xline adding code in the dnsbl module. 2021-12-20 15:02:26 +00:00
Sadie Powell
3fb0ecf2e9 Refactor the DNSBL config types slightly. 2021-12-20 13:40:09 +00:00
Sadie Powell
029e047f99 Mark Regex::Engine::Create{Human,} as const. 2021-12-16 14:17:56 +00:00
Sadie Powell
226c316866 Make upper case regex flags remove the flag if previously set. 2021-12-16 14:13:42 +00:00
Sadie Powell
b17e005e73 Release v4.0.0 alpha 7. v4.0.0a7 2021-12-15 08:30:07 +00:00
InspIRCd Robot
79bd267d12 Update author list. 2021-12-15 08:27:55 +00:00
Sadie Powell
d4eed99de7 Update module descriptions. 2021-12-15 08:27:44 +00:00
Sadie Powell
e9d54724e6 Merge branch 'insp3' into master. 2021-12-14 16:56:48 +00:00
Sadie Powell
64dacce892 Revert "Remove support for defaults in find_{compiler,linker}_flags()".
This is needed for compat with older versions of some libraries.

This reverts commit 83327a1978eddef854cad9e937263f80bf25f056.
2021-12-14 16:26:41 +00:00
Sadie Powell
15a68932b6 If a user has a unique username then include it in bans. 2021-12-14 15:55:06 +00:00
Sadie Powell
64340dc509 Sync uniqueusername from the connect class to the user.
This is a massive hack for now but should be made to sync properly
in v4 when we have extensibles that don't suck.
2021-12-14 15:48:57 +00:00
Sadie Powell
901e092c21 Add a build time check that OpenLDAP is reentrant. 2021-12-14 14:55:06 +00:00
Sadie Powell
889cbf8753 Fix the ldap module on OpenLDAP 2.5. 2021-12-14 09:58:49 +00:00
Sadie Powell
7007dd76e6 Merge branch 'insp3' into master. 2021-12-11 09:28:42 +00:00
Sadie Powell
1a49cc8be3 Fix sending ERR_CHANOPRIVSNEEDED where ERR_RESTRICTED should be used. 2021-12-11 09:24:12 +00:00
InspIRCd Robot
2412c33826 Update author list. 2021-12-10 10:25:57 +00:00
Sadie Powell
78d987f70b Add a script for updating the author list. 2021-12-10 10:24:24 +00:00
Sadie Powell
1578e1f3b0 Only emit an email address into a copyright header if one exists. 2021-12-10 10:23:24 +00:00
Sadie Powell
e27c9a223b Add dummy email addresses for uncontactable people in the mailmap. 2021-12-10 09:39:14 +00:00
Sadie Powell
01c4c20dc8 Update satmd's email address in the mailmap. 2021-12-10 09:29:44 +00:00
Sadie Powell
05ccd525ad Replace some references to ssl with tls. 2021-12-08 12:32:29 +00:00
Sadie Powell
2466c048e2 Consistently use !foo instead of foo == NULL. 2021-12-03 13:37:42 +00:00
Sadie Powell
a2e8ff12c5 Add KNOCK and CYCLE to the list of sanitisable shun commands. 2021-12-02 03:05:30 +00:00
Sadie Powell
791129def0 Fix LDAPCompare checking against the wrong return code.
Better fix for #1946.
2021-12-01 22:20:41 +00:00
Sadie Powell
35c6ac48c9 Fix a bunch of cases where module types were not marked as final. 2021-11-28 21:45:50 +00:00
Sadie Powell
bd517c7e44 Add a snomask flag for rehash messages. 2021-11-28 21:17:22 +00:00
Sadie Powell
82e5f4a8bb Remove unnecessary comments and reorder core snomask registration. 2021-11-28 20:58:15 +00:00
Sadie Powell
a6d61feb3c Move the stats and xline snomasks to their associated modules. 2021-11-28 20:56:29 +00:00
Sadie Powell
c42e6e9a97 Fix the default server name on non-macOS. 2021-11-26 19:27:48 +00:00
Sadie Powell
2c2fc2aef9 Reject config files created using broken tutorials. 2021-11-26 17:25:20 +00:00
Sadie Powell
42b7a77cc6 Move configuration of connect classes to the ConnectClass class. 2021-11-24 20:54:33 +00:00
Sadie Powell
bf20debde4 Remove the legacy sendq to hardsendq/softsendq logic. 2021-11-24 20:43:41 +00:00
Sadie Powell
4a6e0e2133 Refactor the ClassTypes enum and move into ConnectClass. 2021-11-24 20:29:29 +00:00
Sadie Powell
460220fbf5 Add sensible defaults and limits to ConnectClass. 2021-11-24 20:28:05 +00:00
Sadie Powell
d120324c1b Fix ConnectClass inheriting from refcountbase.
This snuck back in during the v3 merge.

Closes #1944.
2021-11-24 19:42:09 +00:00
Sadie Powell
8000424653 Squash a long form loop that was merged in from the insp3 branch. 2021-11-24 19:13:51 +00:00
Sadie Powell
2ec53e10ee Merge branch 'insp3' into master. 2021-11-24 07:17:50 +00:00
Sadie Powell
047473426b Make parsing websocket proxy headers more robust. 2021-11-24 06:00:12 +00:00
Sadie Powell
167df45be9 Escape the IP address in httpd_stats. 2021-11-24 05:57:55 +00:00
Sadie Powell
1953470737 Escape the real and displayed hostnames in httpd_stats. 2021-11-24 04:58:46 +00:00
Sadie Powell
303c792607 Remind users about the selfsigned option to inspircd-testssl. 2021-11-23 23:05:06 +00:00
Sadie Powell
f776f92371 Add the <connect:uniqueusername> option. 2021-11-23 23:05:06 +00:00
Sadie Powell
16e5f4889f Switch mkdescriptions from YAML::Tiny to YAML. 2021-11-21 08:23:37 +00:00
Sadie Powell
b716590fa0 Switch mkdescriptions from Hoedown to CommonMark. 2021-11-21 00:51:28 +00:00
Sadie Powell
fcd1e3a9d6 Don't allow routing INFO to remote servers.
There's no reason to request this for a remote server. It rarely
differs between InspIRCd versions and neither Anope nor Atheme
implement handlers for it.

We don't need to implement anything to the protocol compat layer
for this as if v3 servers send an INFO request to a v4 server they
they will just be ignored as the command has no HandleRemote impl.

Closes #1943.
2021-11-20 20:57:09 +00:00
Sadie Powell
b0959d3a0e Move the websocket protocol name instead of copying it.
Closes #1929.
2021-11-17 15:41:32 +00:00
Sadie Powell
ce88f60a55 Fix the SSLINFO helpop not describing SSLINFO on channels. 2021-11-16 19:45:10 +00:00
Sadie Powell
5ccf421cbf Use a mode reference in the timedbans module. 2021-11-16 19:41:16 +00:00
Sadie Powell
b8fc612f43 Use a mode reference in the repeat module. 2021-11-16 19:39:43 +00:00