15209 Commits

Author SHA1 Message Date
Sadie Powell
2466c048e2 Consistently use !foo instead of foo == NULL. 2021-12-03 13:37:42 +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
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
Sadie Powell
1044dce33d Clean up the banredirect module. 2021-11-16 19:37:51 +00:00
Sadie Powell
23b4b24bed Use a mode reference in the anticaps module. 2021-11-16 19:35:15 +00:00
Sadie Powell
4aac3532f5 Use a mode reference in the messageflood module. 2021-11-16 19:17:35 +00:00
Sadie Powell
2cdd311735 Document ConnectClass and reorder it to avoid unnecessary padding. 2021-11-16 18:59:18 +00:00
Sadie Powell
cb2a4459c9 Release v4.0.0 alpha 6. v4.0.0a6 2021-11-15 10:34:40 +00:00
Sadie Powell
96f673e7e1 Rename regex_pcre2 to regex_pcre. 2021-11-14 23:47:44 +00:00
Sadie Powell
e6d2a291e8 Revert "Add regex_pcre compatibility to regex_pcre2".
This reverts commit 3fa012b75b14abd69c7bc67c27ae50cb9ba4c343.
2021-11-14 23:42:34 +00:00
Sadie Powell
f43369b0c4 Merge branch 'insp3' into master. 2021-11-10 18:33:30 +00:00
Sadie Powell
87d3512de5 Allow configuring which options to trust from a WebIRC gateway. 2021-11-10 18:22:31 +00:00
Sadie Powell
6cee85e732 Fix TokenList not initializing permissive to false on creation. 2021-11-10 18:19:05 +00:00
Sadie Powell
fddef325ba Implement support for WebIRC gateways sending client fingerprints. 2021-11-10 13:10:40 +00:00
Sadie Powell
e504cbd413 Update Windows dependencies. 2021-11-08 21:10:09 +00:00
Sadie Powell
0f2257136d Remove unused time_t field from the timer system.
This is equivalent to calling InspIRCd::Now() and is only actually
used in one place in modules.
2021-11-05 04:24:14 +00:00
Sadie Powell
a94f3b71d5 Merge branch 'insp3' into master. 2021-11-05 04:07:38 +00:00
Sadie Powell
52a9950c09 Fix use of auto_ptr in the ssl_gnutls module on C++17 compilers. 2021-11-04 21:17:13 +00:00
Sadie Powell
a999503a39 Switch -std=c++14 for -std=c++17 in CI.
This better matches with the master branch which uses C++17.
2021-11-04 20:45:00 +00:00
Sadie Powell
16ca375652 Show more build environment information when running configure. 2021-11-04 20:30:55 +00:00
Sadie Powell
a6f83a305b Run CI once per week to check for issues with updated packages. 2021-11-04 20:18:24 +00:00
Sadie Powell
94e1a29af5 Fix the versions we provide Debian packages for. 2021-10-27 18:17:54 +01:00
Sadie Powell
11fc0638b5 Silence a warning in the mysql module on MySQL 8.0.27. 2021-10-25 23:29:49 +01:00
Sadie Powell
beaae760bd Add Server::GetPublicName(), fix not respecting <security:hideserver>. 2021-10-25 23:02:28 +01:00
Sadie Powell
edda305a0a Respect <security:hideserver> in the 005 numeric. 2021-10-25 22:32:34 +01:00
Sadie Powell
273b550479 Merge branch 'insp3' into master. 2021-10-14 13:49:55 +01:00
Sadie Powell
9caacf8e96 Make reading DNs more consistent across modules.
- If the DN contains a new line character then replace it with a
  space instead of killing the entire DN in the ssl_gnutls and
  ssl_openssl modules.

- Apply the same logic to ssl_mbedtls which previously did not
  handle spaces in DNs.
2021-10-14 13:42:21 +01:00
Sadie Powell
037964ba96 Use the OVERRIDE 005 token for showing the override user mode char. 2021-10-13 21:14:15 +01:00