16144 Commits

Author SHA1 Message Date
Sadie Powell
bc8646bde6 Fix some minor formatting issues in the previous commit. 2023-06-29 14:52:14 +01:00
Sadie Powell
818e89579f Refactor the cloak_user module for upcoming username changes. 2023-06-29 14:50:44 +01:00
Sadie Powell
3414bf8f11 Fix not being able to unset the deaf/privdeaf modes. 2023-06-26 21:44:19 +01:00
Sadie Powell
0dcd81417b Only warn deaf users when they are adding the mode.
Fixes a regression introduced in commit 1f421861e6.
2023-06-26 21:17:00 +01:00
Sadie Powell
8b02096c18 Merge branch 'insp3' into master. 2023-06-26 17:12:28 +01:00
Val Lorentz
93981ad535
Add CI workflow running integration tests with irctest. 2023-06-25 18:58:15 +01:00
Sadie Powell
f394c7d6ae Fix the Windows build.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
2023-06-25 18:02:56 +01:00
Sadie Powell
1f5551c1e8 Inline various User methods. 2023-06-25 17:18:08 +01:00
Sadie Powell
5cb25d9bb9 Update vendored fmtlib. 2023-06-25 16:38:45 +01:00
Sadie Powell
b6fa4578ca Remove obsolete gitattributes file. 2023-06-25 15:39:18 +01:00
Sadie Powell
6654c1ed2e Avoid using too much memory for storing user data. 2023-06-25 09:14:05 +01:00
Sadie Powell
058f967181 Move example link config include to example module config file. 2023-06-25 08:56:44 +01:00
Sadie Powell
784c40eda7 Remove an obosolute workaround in the example module config. 2023-06-25 08:43:43 +01:00
Sadie Powell
ff15c2c016 Document the sslinfo config better. 2023-06-25 00:28:43 +01:00
Sadie Powell
89b185eb05 Make Numerics::CannotSendTo properly aware of extbans. 2023-06-22 19:36:13 +01:00
Sadie Powell
88bc257aa6 Don't send an error message if we're blocking an automatic CTCP reply. 2023-06-22 16:58:53 +01:00
Sadie Powell
80894752a7 Make JoinUser return a Membership instead of a Channel. 2023-06-22 16:40:05 +01:00
Sadie Powell
f9416899c5 Replace <cloak:sanitize> with <cloak:invalidchar>.
This adds support for truncating values e.g. with the nick foo|afk
a user will receive a cloak of "foo".
2023-06-20 19:17:11 +01:00
Sadie Powell
5d706e3d01 Misc cleanup of cloak_user. 2023-06-20 18:11:59 +01:00
Sadie Powell
f267d5f477 Update the description of the cloak_user module. 2023-06-20 17:15:59 +01:00
Sadie Powell
328658363c Suggest using cloak_user to cloak IRCCloud users. 2023-06-20 16:27:40 +01:00
Sadie Powell
6137aea728 Add support for cloaking users by their ident/username. 2023-06-20 15:40:25 +01:00
Sadie Powell
7f6ffa0bda Merge the cloak_account and cloak_nick modules.
These modules are 90% identical and were only separate because
before commit 78cd3898f5 we could not conditionally regenerate
cloaks.
2023-06-20 15:36:54 +01:00
Sadie Powell
d866bd8791 Fix building cloak_sha256 against libpsl on Windows. 2023-06-19 18:19:22 +01:00
Sadie Powell
7a8d37077a Include the vendor directory as a system directory on Windows. 2023-06-19 18:09:03 +01:00
Sadie Powell
ee642e0687 Define FD_SETSIZE from CMake on Windows to avoid redef warnings. 2023-06-19 18:08:28 +01:00
Sadie Powell
7d202728c8 Merge branch 'insp3' into master. 2023-06-17 19:05:08 +01:00
Sadie Powell
71ed446a7b Clean up object culling and fix a rare crash. 2023-06-17 18:20:00 +01:00
Sadie Powell
9ab4152f68 Release v3.16.1. v3.16.1 2023-06-16 11:56:21 +01:00
InspIRCd Robot
ff8e1e2c75 Update copyright headers. 2023-06-16 11:54:49 +01:00
InspIRCd Robot
b747b517c1 Update author list. 2023-06-16 11:49:41 +01:00
Sadie Powell
a01934681f Make internal bug messages more consistent. 2023-06-12 01:39:47 +01:00
Sadie Powell
cafe18b10e Log when encountering an erroneous user cull without a quit. 2023-06-12 01:39:47 +01:00
Sadie Powell
e2f0ff0981 The standard-replies cap has been adopted by IRCv3 now. 2023-06-12 01:39:47 +01:00
Sadie Powell
cab2744536 Implement support for SPKI fingerprints into the ssl_gnutls module. 2023-06-11 14:00:50 +01:00
Sadie Powell
75fbb10068 Implement support for SPKI fingerprints into the sslinfo module. 2023-06-11 13:52:42 +01:00
Sadie Powell
8d9526389d Revert "Work around Homebrew MySQL being broken".
This is now fixed upstream.

This reverts commit 686027909474c9ed3e98006b7a43f4fe3a10b796.
2023-06-11 13:07:27 +01:00
Sadie Powell
36937eab9e Log the number of object added to the cull list from a destructor. 2023-06-08 17:39:10 +01:00
Sadie Powell
edd34ffc51 Fix "auto" not being a valid options for <options:defaultbind>.
This fell back to the correct value but created a spurious message
in the server log.
2023-06-07 13:20:09 +01:00
Sadie Powell
78cd3898f5 Only regenerate cloaks if a cloak of that type exists.
This prevents unnecessary recloaking which may result in spam.
2023-06-07 12:59:35 +01:00
Sadie Powell
f14f91a919 Include <cloak:pathparts> as link data in cloak_sha256. 2023-06-07 12:33:59 +01:00
Sadie Powell
684d9a8da1 Fix some typos in the cloak header. 2023-06-06 01:05:55 +01:00
Sadie Powell
acc9f5228f Allow secondary cloak methods to be used on link synchronisation.
If a server has a conditional cloak method (e.g. account) as the
primary cloak method it doesn't make sense to use it for link
consistency. With this change a secondary cloak method can request
that it is used instead of the primary if the primary does not
mark itself as link sensitive.
2023-06-06 01:02:14 +01:00
Sadie Powell
dd4c1fd710 Merge branch 'insp3' into master. 2023-06-05 15:40:27 +01:00
Sadie Powell
686c33ca30 Use -std=c++17 on RE2 2023.06.02 or newer. 2023-06-05 15:20:53 +01:00
Sadie Powell
600fa5921a Use the default Homebrew OpenSSL on macOS CI. 2023-06-05 14:55:21 +01:00
Sadie Powell
6348a2e4bc Misc XLine cleanup. 2023-06-05 14:40:52 +01:00
Sadie Powell
fabd86ab97 Make XLine::Matches const. 2023-06-05 14:31:29 +01:00
Sadie Powell
1367e66500 Add a DelLine override that takes an XLine pointer. 2023-06-05 14:22:42 +01:00
Sadie Powell
a4b95340b7 Make XLine::Displayable const. 2023-06-05 14:22:42 +01:00