Sadie Powell
c87703e2a7
Rename <connectban:duration> to <connectban:banduration>.
2022-03-22 15:27:39 +00:00
Sadie Powell
8addeb78b7
Fix real name formatting bleeding into IRC messages.
2022-03-21 21:38:45 +00:00
Matt Schatz
3bb01023e8
m_deaf: Correct default return in HandleUser().
2022-03-21 12:39:17 -06:00
Sadie Powell
fa06f210ef
Swap out mysql-connector-c for libmysqlclient on Windows.
...
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-03-19 20:09:23 +00:00
Val Lorentz
740e193f59
Add support for the <count> param of WHOWAS ( #1968 )
...
Not very useful IMO, but every server but InspIRCd seems to implement it,
and it's part of the RFCs:
* https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3
* https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3
2022-03-19 18:13:10 +00:00
Sadie Powell
bc64702bb2
Update the Windows dependencies.
2022-03-19 17:31:32 +00:00
Sadie Powell
988b7f0f3c
Raise the minimum CMake version on Windows to 3.8.
...
This matches master and guarantees stuff will keep working with
upcoming CMake deprecations.
2022-03-19 17:31:32 +00:00
Valentin Lorentz
342f1f193d
Reverse order of WHOWAS replies
...
To be consistent with other implementations + the RFCs:
* https://datatracker.ietf.org/doc/html/rfc1459#section-4.5.3
* https://datatracker.ietf.org/doc/html/rfc2812#section-3.6.3
2022-03-19 17:27:11 +00:00
Sadie Powell
e3f8149f65
Fix a compiler warning on Windows.
2022-03-19 16:36:25 +00:00
Sadie Powell
8342d531ff
Use UCHAR_MAX instead of raw sizes in channames.
...
This matches other code that does similar things.
2022-03-11 12:17:57 +00:00
Sadie Powell
4cff9c460e
Only set the chanlog channel name handler after reading the config.
...
Fixes IsChannel returning false for a valid channel name because
the bitset is empty on server boot.
2022-03-11 11:53:25 +00:00
Sadie Powell
9e3c44ef20
Improve chanlog config reading.
2022-03-09 17:14:06 +00:00
Sadie Powell
c20ca3382f
Use windows-2019 for Windows builds.
2022-02-21 15:31:35 +00:00
Sadie Powell
f0ba324513
Update Windows dependencies.
...
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-02-20 16:03:27 +00:00
Sadie Powell
f49f797743
Build missing Conan dependencies.
...
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-02-20 15:59:57 +00:00
Sadie Powell
20efc7adda
Handle negative times in InspIRCd::Duration.
2022-02-14 20:28:08 +00:00
Sadie Powell
4169e0e799
Make the accessor methods in ssl_cert const.
2022-02-14 20:28:08 +00:00
iwalkalone
5027a63e52
Change delaymsg to use exemptchanops and have an oper priv ( #1959 ).
2022-02-13 14:54:47 +00:00
Sadie Powell
2b2a3a31d7
Add an option to allow channel ops to enable the permchannels mode.
...
Closes #1964 .
2022-02-05 23:40:40 +00:00
Sadie Powell
24229f59f7
Squash an unnecessary string copy in SQL::Error.
2022-02-05 01:52:45 +00:00
Sadie Powell
744f8b4604
Fix various minor Doxygen warnings.
2022-02-02 14:15:57 +00:00
Sadie Powell
170a26e72b
Fix splitting servers multiple times in some cases.
2022-02-01 11:26:31 +00:00
Sadie Powell
3ff3810ca1
Fix duplicate messages when a server connection errors.
2022-02-01 11:12:32 +00:00
Sadie Powell
63aa0a11e0
Fix SSL modules not being able to access the system-wide SSL dirs.
2022-01-31 18:23:00 +00:00
Sadie Powell
c89dc0612a
Include the upstream license files for vendored libraries.
2022-01-31 00:11:44 +00:00
Sadie Powell
6703b8065c
Abort pre-registration SASL attempts when the user fully connects.
...
This makes InspIRCd work more like other IRC servers which implement
the recommended behaviour from the sasl-3.1 specification:
If the client completes registration (with CAP END, NICK, USER
and any other necessary messages) while the SASL authentication
is still in progress, the server SHOULD abort it and send a 906
numeric, then register the client without authentication.
Thanks to @aaronmdjones and @edk0 for finding and reporting this.
2022-01-30 13:22:53 +00:00
Sadie Powell
ad28a2bc5f
Work around the deprecation of the old curve API in OpenSSL 3.0.0.
2022-01-25 23:47:19 +00:00
Sadie Powell
087b0b54f9
Work around the deprecation of manual DH params in OpenSSL 3.0.0.
...
As of this version specifying custom DH parameters is deprecated
and should not be used. Instead, a default (secure) DH parameters
will be used.
2022-01-21 13:11:30 +00:00
Sadie Powell
5faa39f671
Work around the deprecation of manual DH params in GnuTLS 3.5.6.
...
As of this version specifying custom DH parameters is deprecated
and should not be used. Instead, a default (secure) DH parameters
will be used.
2022-01-21 13:11:28 +00:00
Sadie Powell
1373c45cca
Fix parsing a LIST request with both a match and inverted match.
...
e.g. /LIST *foo* !*bar*
2022-01-20 15:14:34 +00:00
Sadie Powell
44c8d23e9f
Fix parsing LIST commands with multiple constraints.
2022-01-20 14:32:37 +00:00
Sadie Powell
72267a59d4
Fix the regex_re2 module on the latest RE2 git.
...
[skip windows ci]
2022-01-18 17:38:06 +00:00
Sadie Powell
64a3eaa917
Fix being unable to use a pkg-config that isn't in the PATH.
...
[skip windows ci]
2022-01-18 17:31:33 +00:00
Sadie Powell
d414992019
Add extra debug information to the module error message.
...
[skip windows ci]
2022-01-17 13:54:27 +00:00
Sadie Powell
72b1ade332
Fix the opermaxchans check, properly this time.
2022-01-16 22:06:55 +00:00
Sadie Powell
d854d64e7d
Fix updating connect classes when <connect:{allow, deny}> is set.
2022-01-16 02:11:09 +00:00
Sadie Powell
e5633c6b61
Make MSBuild less spammy in CI output.
...
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2022-01-15 23:48:13 +00:00
Sadie Powell
3f184e79d4
Fix using the oper channel limit even if it is lower than the general limit.
2022-01-15 22:36:28 +00:00
Sadie Powell
b52983b268
Improve CI scripts.
...
- Add support for skipping CI on specific platforms with commit comments.
- Add support for testing on Alpine (which uses musl instead of glibc).
- Rename "Linux CI" to "Ubuntu CI" now we test other Linux distros.
- Properly add packages to the PATH and LD_LIBRARY_PATH on macOS.
2022-01-15 18:36:51 +00:00
Sadie Powell
6c13a6c6de
Fix a warning when building with the poll socket engine on Alpine.
2022-01-15 18:07:13 +00:00
Sadie Powell
cb5083af6d
Fix a spanningtree linker error on FreeBSD armv7.
2022-01-15 10:16:12 +00:00
Sadie Powell
ec37d6bb31
Fix accessing the /stats/general and /stats/users sub-routes.
2022-01-12 17:45:40 +00:00
Sadie Powell
8dfea30730
Fix ssl_openssl on OpenSSL 1.0.
2022-01-07 17:20:33 +00:00
James Wheare
1fa8c6c1ad
Update IRCCloud IP ranges
2021-12-31 00:43:48 +00:00
Sadie Powell
11b09c10e7
Release v3.12.0.
v3.12.0
2021-12-31 00:01:02 +00:00
InspIRCd Robot
adbe149c56
Update copyright headers.
2021-12-30 18:52:08 +00:00
Sadie Powell
997cec0ac5
Update module descriptions.
2021-12-30 18:49:37 +00:00
Sadie Powell
9306d5474d
Add support for forwarding a password from the second nick param.
2021-12-28 14:20:14 +00:00
Sadie Powell
42970ad974
We only care about the first parameter to the nick command.
...
Nicknames can't have spaces so the trailing concatenation logic
here is not what users will expect.
2021-12-28 13:49:20 +00:00
Sadie Powell
4c931b6f6a
Send an account id tag when account-tag & message-tags are enabled.
2021-12-28 13:19:22 +00:00