16557 Commits

Author SHA1 Message Date
Sadie Powell
c27a6c4900 Fix opmoderated messages appearing in the channel history. 2024-05-06 17:18:07 +01:00
Sadie Powell
4b6af49b43 Allow mutating the status message type in OnUserPre(Tag)Message. 2024-05-06 17:18:07 +01:00
Sadie Powell
c7ae694b50 Deallocate the old MySQL connection on connect if one exists. 2024-05-03 09:28:33 +01:00
Sadie Powell
dd765c185a Switch --(protocol)debug to use a custom logger. 2024-05-01 18:18:47 +01:00
Sadie Powell
eade37bd93 Splat the unused hops field in the 1206 SERVER message. 2024-05-01 14:02:33 +01:00
Sadie Powell
f8f430b845 Make --(protocol)debug imply --nofork. 2024-05-01 13:44:14 +01:00
Sadie Powell
e576498408 Add --protocoldebug, make --debug default to DEBUG not RAWIO. 2024-05-01 13:44:14 +01:00
Sadie Powell
f6fcefa212 Fix some messages that contain potentially remapped modes. 2024-04-22 16:11:00 +01:00
Sadie Powell
6cfd3e7212 Fix an inverted condition in the denychans module.
Closes #2091.
2024-04-22 14:06:03 +01:00
Sadie Powell
70ab975b41 Release v4.0.0 alpha 26. v4.0.0a26 2024-04-15 21:48:40 +01:00
Sadie Powell
bf2d87a50c Merge branch 'insp3' into master. 2024-04-15 21:47:00 +01:00
Sadie Powell
e24ea1723c Move ssl_mbedtls to inspircd-contrib.
Closes #2088.
2024-04-15 21:45:42 +01:00
Sadie Powell
bef8335310 Update irctest. 2024-04-15 21:41:26 +01:00
Sadie Powell
c8b1c1dec6 Merge branch 'insp3' into master. 2024-04-14 14:24:27 +01:00
Sadie Powell
86cfe15c32 Remove files that have been moved to the .github repository. 2024-04-14 14:23:45 +01:00
Sadie Powell
86ba354e3a Merge branch 'insp3' into master. 2024-04-01 14:22:27 +01:00
Sadie Powell
b85baa660a Silence some compatibility warnings in ssl_mbedtls. 2024-04-01 14:02:58 +01:00
Sadie Powell
c9d225a6d2 Fix a crash in the helpmode module. 2024-03-31 22:56:11 +01:00
Sadie Powell
4931b94e96 Only abort SASL sessions if the user is using sasl-3.1.
This is a compromise to allow modern clients to authenticate
quickly whilst not breaking old clients.

This reverts commit 4b8e69882e8b591102bfb03da1425b04c43272de.
2024-03-24 21:38:25 +00:00
Sadie Powell
be39ca94cc Use ERR_RESTRICTED instead of ERR_BANNEDFROMCHAN in restrictchans.
This shouldn't be hidden by clients.

Closes #2084.
2024-03-24 21:26:52 +00:00
Sadie Powell
4e52832bff Allow rmode to remove all modes matching a specific user. 2024-03-24 17:06:55 +00:00
Sadie Powell
eb05259378 Allow services to request seeing channel messages even if unguarded.
This allows services to enforce various channel-level restrictions
without a guard client in the channel.
2024-03-08 21:24:24 +00:00
Sadie Powell
b606326ea9 Don't send chat history to services servers. 2024-03-08 21:17:28 +00:00
Sadie Powell
ef572e3c1f Call OnRouteMessage on all servers not just directly connected ones. 2024-03-08 20:52:58 +00:00
Sadie Powell
91bcc80d29 Rename OnBroadcastMessage to OnRouteMessage.
This is more descriptive of what it actually does.
2024-03-08 19:37:12 +00:00
Sadie Powell
5bca4f1692 Don't try to serialize extension items when they're being unset. 2024-03-08 18:45:27 +00:00
Sadie Powell
3755a41231 Rename the sslfp extban to fingerprint. 2024-03-08 16:01:22 +00:00
Sadie Powell
38d24933a4 Merge the svsoper from contrib into the services module. 2024-03-08 11:45:45 +00:00
Sadie Powell
f40861a5a5 Clear bans on the first server that a SVSCMODE reaches. 2024-03-08 11:32:25 +00:00
Sadie Powell
5f6bf28684 Rename some of the Module member variables. 2024-03-04 13:18:04 +00:00
Sadie Powell
83dcf16509 Merge branch 'insp3' into master.
# Conflicts:
2024-03-01 17:29:00 +00:00
Sadie Powell
9723936f26 Update the Windows dependencies.
[skip alpine ci]
[skip irctest ci]
[skip macos ci]
[skip ubuntu ci]
2024-03-01 17:17:15 +00:00
Sadie Powell
4b8e69882e Add an option for opting-out of aborting incomplete authentication.
This goes against the expectations of the spec which can break
some clients but also not doing this can break others. Blah.
2024-03-01 15:40:07 +00:00
Sadie Powell
828d97f9e2 Release v4.0.0 alpha 25. v4.0.0a25 2024-03-01 10:49:03 +00:00
Sadie Powell
2bcb83cf95 Update module descriptions. 2024-03-01 10:48:26 +00:00
InspIRCd Robot
4ffd224438 Update author list. 2024-03-01 10:46:04 +00:00
Sadie Powell
c8a892005d Merge the topiclock module into the services module. 2024-02-27 17:44:31 +00:00
Sadie Powell
118f729e86 Merge the mlock module into the services module. 2024-02-27 17:44:31 +00:00
Sadie Powell
97d333901e Refactor the services module slightly. 2024-02-27 17:40:00 +00:00
Sadie Powell
2d189c572e Replace FRHOST with a two parameter version of FHOST.
No compat layer needed here as FRHOST was added in v4.
2024-02-27 14:51:31 +00:00
Sadie Powell
fd25fe3c4f Send the real username as the second parameter to FIDENT. 2024-02-27 14:45:07 +00:00
Sadie Powell
d971e83093 Set a command access for the SVSHOLD command.
This isn't checked for remote users but it is checked in COMMANDS
when determining what commands to show to a user.
2024-02-27 14:01:55 +00:00
Sadie Powell
e6c3ba5af6 Add a command to allow services to clear list modes matching a user. 2024-02-27 14:01:33 +00:00
Sadie Powell
81e8405617 Move SVSJOIN/SVSNICK/SVSPART to the services module. 2024-02-27 13:15:08 +00:00
Sadie Powell
8bfb92a86e Merge branch 'insp3' into master. 2024-02-25 22:26:22 +00:00
Sadie Powell
57a4eca963 Fix erroneously sending RPL_CHANNELSMSG when a whois chanlist is blocked. 2024-02-25 22:20:02 +00:00
Sadie Powell
25bf927365 Rework SQL::PopulateUserInfo. 2024-02-19 19:18:27 +00:00
Sadie Powell
ebd03383f8 Allow using multiple SSL fingerprint algorithms.
Closes #1804.
2024-02-19 18:46:05 +00:00
Sadie Powell
bfa9316595 Fix more issues with the v3 compat layer. 2024-02-19 17:40:54 +00:00
Sadie Powell
32e60618e1 Allow changing the case of cloak values in cloak_user. 2024-02-19 13:01:52 +00:00