15774 Commits

Author SHA1 Message Date
Sadie Powell
5f8e7fc4b2 Kill a now unused field in the showwhois module. 2022-07-22 14:37:28 +01:00
Sadie Powell
7c089c0eac Update the Alpine container to the latest release. 2022-07-22 14:35:04 +01:00
Sadie Powell
46be9aec2e Replace <showwhois:showfromopers> with an operator privilege. 2022-07-21 18:27:53 +01:00
InspIRCd Robot
1fcbbe66e3 Update author list. 2022-07-20 18:04:34 +01:00
Sadie Powell
fe326f6d55 Also list coauthors in the author file. 2022-07-20 18:02:19 +01:00
Sadie Powell
b763b1e69e Merge branch 'insp3' into master. 2022-07-19 17:00:23 +01:00
Sadie Powell
42b1429b37 Also use binary exit codes in places that terminate abruptly.
This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
2022-07-19 16:47:02 +01:00
Sadie Powell
f3fa07f776 Allow forcing binary exit codes at compile time.
This is useful with some init systems that handle our exit codes
strangely.
2022-07-19 16:30:23 +01:00
Wade Cline
af78050297
Allow logrotate to rotate logs with just a pid file.
Ref: #1991
2022-07-19 10:21:17 +01:00
Wade Cline
5384fb3e2d
Fix the logrotate config rotating already rotated log files.
Ref: #1990.
2022-07-11 01:16:02 +01:00
Sadie Powell
aa731daad1 Allow remote servers to specify the context of a message. 2022-07-01 15:18:44 +01:00
Sadie Powell
f347f5caf4 Release v4.0.0 alpha 12. v4.0.0a12 2022-07-01 11:27:34 +01:00
Sadie Powell
c8028f6cd6 Add version constraints to the default module enabling code. 2022-06-30 13:04:51 +01:00
Sadie Powell
30252bdc65 Drop support for ancient unsupported versions of OpenSSL. 2022-06-30 13:04:51 +01:00
Sadie Powell
c3cc5fc825 Drop support for ancient unsupported versions of GnuTLS. 2022-06-30 12:57:52 +01:00
Sadie Powell
a0850bc53f Add methods for extracting specific regex captures. 2022-06-28 14:00:14 +01:00
Sadie Powell
0f84414b39 Move the userip module to contrib.
This module only exists for UnrealIRCd compatibility and provides
the same functionality as the check module but less useful.
2022-06-28 11:33:26 +01:00
Sadie Powell
696fd30209 Move config xline reading and rehashing to core_xline. 2022-06-26 17:34:32 +01:00
Sadie Powell
968bf77eb4 Make dynamic a non-default header. 2022-06-26 17:06:22 +01:00
Sadie Powell
dc3df03406 Fix various bugs relating to platform-native module extensions. 2022-06-26 17:01:54 +01:00
Sadie Powell
68fd81b319 Make clientprotocol{msg,event} and numericbuilder non-default headers. 2022-06-26 16:34:21 +01:00
Sadie Powell
8c59961acc Move numeric helper classes to their own header. 2022-06-26 15:56:55 +01:00
Sadie Powell
89712e2e84 Move numerics to the source files where they are actually used. 2022-06-26 15:29:29 +01:00
Sadie Powell
8b39c9046a Merge branch 'insp3' into master. 2022-06-25 21:18:56 +01:00
Sadie Powell
2bbd2bc1a2 Prevent writing to loggers whilst deleting a logger. 2022-06-25 21:08:58 +01:00
Sadie Powell
255742d311 Make getEnum use the default instead of throwing. 2022-06-25 21:08:58 +01:00
Sadie Powell
a764d29de4 Centralise the logging of malformed config values. 2022-06-25 17:05:35 +01:00
Sadie Powell
b80f71e88f Fix an inverted condition in configparser. 2022-06-25 17:03:25 +01:00
Sadie Powell
fe9107c992 Modernize the syntax of various templates. 2022-06-23 21:22:04 +01:00
Sadie Powell
87f036ddf9 Fix the modehandlers array being bigger than necessary
We now pack the positions within this array so we can shrink it.
2022-06-23 15:34:23 +01:00
Sadie Powell
409d266100 Fix more inconsistencies with USERIP.
- Use a dummy value instead of erroring if the viewer does not have
  the privs to see the IP address (fixes UnrealIRCd compat).

- Respect the hideoper mode when building the USERIP response.
2022-06-23 14:35:42 +01:00
Sadie Powell
0d584821f2 Fix inconsistencies between USERHOST and USERIP. 2022-06-23 02:40:06 +01:00
Sadie Powell
5536a73230 Merge branch 'insp3' into master. 2022-06-22 00:40:13 +01:00
Sadie Powell
8b8a7c51f1 Update Windows dependencies.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-06-22 00:37:14 +01:00
Sadie Powell
a667bd3e98 Also add hex colour escapes to the formatting entity list. 2022-06-20 00:41:16 +01:00
Sadie Powell
48fbd51151 Add support for escaping hex colour codes
This is not widely supported but we should have an escape regardless.
2022-06-19 21:40:25 +01:00
Sadie Powell
d1e16c4771 Store the shun cleanedcommands/enabledcommands in a token list. 2022-06-18 00:08:10 +01:00
Sadie Powell
30f64f9225 Fix the parameter documentation for the repeat mode. 2022-06-15 22:08:39 +01:00
Sadie Powell
fb8ca4459d Allow templating of the messageflood module kick message. 2022-06-15 17:11:14 +01:00
Sadie Powell
503df0bed9 Allow templating of the repeat module kick message. 2022-06-15 17:05:03 +01:00
Sadie Powell
72ecbb3285 Convert passforward to use the new template system. 2022-06-15 13:00:09 +01:00
Sadie Powell
429b973af6 Add a basic function for templating strings. 2022-06-15 12:30:24 +01:00
Sadie Powell
bad7bbc950 Update UNIX CI images to use the latest tooling.
Windows is not yet updated as the SDKs are not updated.
2022-06-15 11:36:32 +01:00
Sadie Powell
b89a91f2e3 Use size_t instead of unsigned int in ModeParser. 2022-06-11 12:22:34 +01:00
Sadie Powell
c7e5167a85 Merge branch 'insp3' into master. 2022-06-08 18:27:47 +01:00
Sadie Powell
21254c3665 Fix parsing non-normalised WebSocket headers.
Ref: #1987.
2022-06-08 15:40:08 +01:00
Sadie Powell
73c72a51c9 Move TokenList to inspstring. 2022-06-07 20:26:38 +01:00
Sadie Powell
1991211a67 Convert irc::find to use string_view. 2022-06-07 20:26:38 +01:00
Sadie Powell
e713bd4986 Get rid of an indirection when handling the httpd_stats request. 2022-06-07 20:26:38 +01:00
Sadie Powell
1790c9e071 Make setting sockets as FD_CLOEXEC more portable.
Ref: #1986.
2022-06-07 16:53:18 +01:00