16159 Commits

Author SHA1 Message Date
Sadie Powell
97fe30b3f1 Release v4.0.0 alpha 22. v4.0.0a22 2023-07-01 14:36:27 +01:00
Sadie Powell
245d01e7af Fix a regression that prevented SVSHOLDs from being added. 2023-07-01 14:31:07 +01:00
Sadie Powell
65a0c1430e Merge the svshold module into the services module. 2023-07-01 14:01:21 +01:00
Sadie Powell
efff308585 Reorder the types in the services module. 2023-07-01 12:48:28 +01:00
Sadie Powell
d950385d53 Merge branch 'insp3' into master. 2023-07-01 11:11:46 +01:00
Sadie Powell
17b300a3f2 Update Windows dependencies.
[skip alpine ci]
[skip irctest ci]
[skip macos ci]
[skip ubuntu ci]
2023-07-01 11:08:03 +01:00
Sadie Powell
a0e424fc3a Refactor Change{Displayed,Real}Host to match other Change* methods. 2023-06-30 08:28:40 +01:00
Sadie Powell
1d96baaf77 Remove OnPreChange{Host,RealName} events and deboolify methods.
These have not ever been used as far as I can see.
2023-06-29 22:52:07 +01:00
Sadie Powell
f7405f7b7e Fix remote users on legacy servers not having a real username. 2023-06-29 22:14:25 +01:00
Sadie Powell
1e20faa07f Misc grammar fixes. 2023-06-29 19:29:59 +01:00
Sadie Powell
cb43ae3e2b Fix matching IP shuns. 2023-06-29 19:15:41 +01:00
Sadie Powell
29705306f2 Retain the "real" username properly like we do for hostnames.
This introduces the concept of a real username. This value comes
from either the initial USER message or from an ident lookup. Doing
this allows us to use it for bans through vidents and cloaking web
client users using their remote username.

While changing this I also changed all of the uses of "ident" other
than RFC 1413 lookups and some compatibility cases to refer to
usernames as user(name) instead of ident. Our use of ident in these
places was incorrect as that only refers to the RFC 1413 response
and is not commonly used in the way we used it by any other IRC
server implementations.
2023-06-29 17:01:25 +01:00
Sadie Powell
4d9eae31ab Merge branch 'insp3' into master. 2023-06-29 15:54:53 +01:00
Sadie Powell
a10465fb7b Reorder some class methods in cloak_user to fix a compiler warning. 2023-06-29 15:02:01 +01:00
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
88c94d57aa Fix the documentation of <connect:useident>. 2023-06-29 13:13:07 +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