16484 Commits

Author SHA1 Message Date
Sadie Powell
168642c310 Redocument <connect:modes> and set commonchans by default.
This mode is fairly unintrusive and prevents PM spam from bots that
do not share a channel.
2023-07-06 14:59:35 +01:00
Hendrik Jäger
cf8bb99155 Sync helpop chmodes s and p with docs 2023-07-06 11:10:10 +01:00
Sadie Powell
c8bd5115d3 Use the same syntax for identd messages as for hostname messages 2023-07-05 15:45:14 +01:00
Sadie Powell
b373e631ad Merge branch 'insp3' into master. 2023-07-05 15:08:26 +01:00
Sadie Powell
a3269e37bd Minor improvements to cull logging.
- CULLLIST has been renamed to CULL which is easier to spell.
- Some log messages have been improved slightly.
2023-07-05 15:06:15 +01:00
Sadie Powell
3443c4c561 Restore the double container logic in CullList::Apply.
Unfortunately we can't just use a set here as some cullable objects
need to be deleted in the order they were culled.
2023-07-05 15:04:11 +01:00
Sadie Powell
2f59014b79 Avoid culling DLLManager instances twice. 2023-07-05 14:44:52 +01:00
Sadie Powell
ddd96f65a2 Fix an indentation issue in CullList::Apply. 2023-07-05 13:35:14 +01:00
Sadie Powell
1cf51aae80 Avoid iterator invalidation issues in ActionList::Run. 2023-07-05 13:29:51 +01:00
Sadie Powell
74955098b1 Fix filter X-lines not including the module name in the setter. 2023-07-05 09:57:58 +01:00
Sadie Powell
7b1f75d392 Fix a missing quote in the inspircd.1 man page. 2023-07-04 08:03:09 +01:00
Sadie Powell
a691a4e964 Expand the file path in DoOpenFile not DoInclude. 2023-07-03 19:28:01 +01:00
Sadie Powell
6cbd7a07b0 Invalidate the file cache when reading SSL certs.
This fixes reading the same file when the SSL certs are reloaded
without a full rehash (e.g. via SIGUSR1 or /REHASH -ssl).

This also reverts 8f0d732e38.
2023-07-03 18:53:47 +01:00
Sadie Powell
386f0dafd5 Replace FileReader with something more sensible. 2023-07-03 18:43:58 +01:00
Sadie Powell
377566b0e6 Fix a minor Doxygen comment issue. 2023-07-03 18:43:31 +01:00
Sadie Powell
fc160b3414 Make MaxTargets a size_t. 2023-07-03 18:43:31 +01:00
Sadie Powell
130966707f Refactor the ServerConfig class.
All fields are now ordered in the most memory efficient way and all
public fields use the correct case. Every member has been redocumented
to match the current documentation style.
2023-07-03 18:43:24 +01:00
Sadie Powell
d739f3c126 Move ServerLimits inside ServerConfig. 2023-07-03 14:29:09 +01:00
Sadie Powell
964ee65cfb Tell a marked user that their user@host was changed AFTER changing it. 2023-07-03 11:32:57 +01:00
Sadie Powell
6eb5dd5e3d Fix shun matching (again) and document what the matches do. 2023-07-03 09:25:33 +01:00
Sadie Powell
029513973c Make the globops module optcommon, remove the GLOBOPS capab key. 2023-07-02 15:58:43 +01:00
Sadie Powell
36730488ce Fix the class name of the cloak module. 2023-07-02 14:43:57 +01:00
Sadie Powell
0dfaffa488 Ensure that <cloak:cloak> isn't too long in cloak_static. 2023-07-02 11:52:25 +01:00
Sadie Powell
77f3f1b5cb Fix parsing <sqlauth:allowpattern> in v3 compat code. 2023-07-01 22:44:18 +01:00
Sadie Powell
300c687d88 Add a missing override keyword. 2023-07-01 15:17:49 +01:00
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