16735 Commits

Author SHA1 Message Date
Sadie Powell
62f3278a4a Don't resync the silence list when it comes from the network.
This isn't presently networked but it should prevent future issues.
2024-07-24 00:31:34 +01:00
Sadie Powell
a4bee21ab5 Update all usages of ProtocolServer to use Server. 2024-07-24 00:31:34 +01:00
Sadie Powell
4175ba7833 Add SendMetadata methods to Server. 2024-07-24 00:03:27 +01:00
Sadie Powell
5d2f760e4d Fix shadowing messages in pgsql and regex_pcre2. 2024-07-22 17:11:07 +01:00
Sadie Powell
d5fc385bf7 Show the right config option when not forking. 2024-07-22 17:10:44 +01:00
Sadie Powell
3814a952a3 Revert module flags to the way they worked in v3. 2024-07-22 16:49:41 +01:00
Sadie Powell
4e947b8733 Allow contrib modules to specify their own module version. 2024-07-22 16:49:41 +01:00
Sadie Powell
31c8a3b01a Disable text websockets when the server has an incompatible charset. 2024-07-22 10:23:48 +01:00
Sadie Powell
42fdbb7234 Fix broadcasting UID messages to v3 servers.
We have to use the compat layer here as broadcast messages do not
go through the command builder.
2024-07-20 12:33:37 +01:00
Sadie Powell
dafaa684e1 Implement support for the IRCv3 WebSocket subprotocol names. 2024-07-19 11:05:41 +01:00
Sadie Powell
d2fcfeac8b Avoid sending blank messages to users. 2024-07-19 01:34:52 +01:00
Sadie Powell
0cf17f6e33 When recloaking a user don't unset their old host first.
Also don't punish the user for recloaking.

Closes #2101.
2024-07-19 01:05:57 +01:00
Sadie Powell
5effa39f6e Merge branch 'insp3' into insp4. 2024-07-17 21:00:22 +01:00
Sadie Powell
f6692c1b8d Update irctest.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
[skip windows ci]
2024-07-17 20:41:51 +01:00
Sadie Powell
a75a0d1600 Fix encapsulating SVS command parameters in the compat layer. 2024-07-14 19:59:25 +01:00
Sadie Powell
dd29c3481b Release v4.1.0. v4.1.0 2024-07-14 12:00:03 +01:00
InspIRCd Robot
a3b0aa484b Update copyright headers. 2024-07-14 11:58:57 +01:00
InspIRCd Robot
ee766fe4a6 Update author list. 2024-07-14 11:53:57 +01:00
Sadie Powell
bba31535ed Update the vendored dependencies. 2024-07-14 11:53:42 +01:00
Sadie Powell
2302d6f99c Don't broadcast a ListExtItem when setting it in FromInternal. 2024-07-14 11:34:23 +01:00
Sadie Powell
c8447b56f2 Update the packages for cloak_sha256 that were missed in 8a0f6f38. 2024-07-13 22:47:17 +01:00
Sadie Powell
821fccabcc Fix the getentropy test on systems with a new libc and old kernel. 2024-07-13 22:33:15 +01:00
Sadie Powell
8a0f6f3815 Modernise PackageInfo directives.
- Add Alpine packages.
- Add missing directives to log_json.
- Drop obsolete version constraints.
- Use system-like for debian and rhel.
2024-07-13 22:16:56 +01:00
Sadie Powell
dd8fc5b7d7 Switch require_system to /etc/os-release from lsb_release. 2024-07-13 22:00:35 +01:00
Sadie Powell
ce9efeabbd Allow mkdescriptions to auto-commit changed files. 2024-07-13 18:48:01 +01:00
Sadie Powell
9ca63a89dd Allow mkauthors/mkheaders to opt-out of committing changes. 2024-07-13 18:43:49 +01:00
Sadie Powell
9fa1b23031 Use pkg-config for determining whether to enable the ldap module. 2024-07-13 18:21:13 +01:00
Sadie Powell
3b9e22381b Use auto when extracting the internal type of a message target. 2024-07-13 15:29:29 +01:00
Sadie Powell
9fcad237a1 Const correct numerichelper. 2024-07-13 15:11:41 +01:00
Sadie Powell
dfa3ca15da Fix using getentropy() on musl libc. 2024-07-13 13:53:30 +01:00
Sadie Powell
2382fa06fa Merge the compiler and compiler_info tests. 2024-07-13 13:31:44 +01:00
Sadie Powell
610688e410 Use getentropy() from POSIX 2024 if it is available. 2024-07-13 13:31:44 +01:00
Sadie Powell
c3c97b917d Allow using /ACCEPT to override more blocking modes. 2024-07-13 00:38:25 +01:00
Sadie Powell
a7c00c53c2 Fix an unescaped ampersand in the previous commit. 2024-07-11 13:43:08 +01:00
Sadie Powell
0f3d949bbd Add URL encoded versions of the DNSBL/network to the dnsbl module. 2024-07-11 12:50:31 +01:00
Sadie Powell
f49ed93cd9 Include the network name in the DroneBL example config. 2024-07-10 14:12:28 +01:00
Sadie Powell
78c4f3bd97 Tell people to use the main ChatSpike domain not our alias.
Backport from master.
2024-07-07 20:54:18 +01:00
Sadie Powell
f02704524c Don't execute functions in ModConfig directives. 2024-07-07 17:48:25 +01:00
Sadie Powell
a5f902ec71 Avoid allocating in ListExtItem when its obviously not necessary. 2024-07-07 17:16:48 +01:00
Sadie Powell
87f66dda48 Shrink the geo_maxmind storage after garbage collection. 2024-07-07 16:56:36 +01:00
Sadie Powell
edd2446081 Fix a memory leak in the regex_pcre2 module. 2024-07-07 16:33:40 +01:00
Sadie Powell
6ae6ad176e Unregister extbans when the providing module is unloaded. 2024-07-06 03:08:13 +01:00
Sadie Powell
1263f3cf63 Fix MOTD parsing accidentally skipping lines which are blank. 2024-07-05 17:47:19 +01:00
Sadie Powell
cfad49d655 Build with -pie as well as -fPIE.
Co-authored-by: Marcus Rueckert <darix@nordisch.org>
2024-07-03 16:16:36 +01:00
Sadie Powell
c1c34113cc Update the AppArmor profile for the new profile syntax.
Co-authored-by: Marcus Rueckert <darix@nordisch.org>
2024-07-03 15:59:32 +01:00
Sadie Powell
3fc82fa681 Release v4.0.1. v4.0.1 2024-07-02 22:54:30 +01:00
InspIRCd Robot
6703d7ac37 Update copyright headers. 2024-07-02 22:54:30 +01:00
Sadie Powell
2377656408 Update the vendored dependencies. 2024-07-02 22:54:30 +01:00
Sadie Powell
b1f581787d Skip the local server when routing messages in spanningtree. 2024-07-02 20:44:12 +01:00
Sadie Powell
f166ef0a70 Fix some minor issues with the sqloper schemas.
- Only create the pgsql table if it doesn't exist.
- Separate the active column out from others.
2024-07-01 18:33:07 +01:00