16398 Commits

Author SHA1 Message Date
Sadie Powell
06b938144b Use username in the ident module too.
Nowhere in RFC 1413 does it refer to this field as an ident.
2023-07-07 10:42:36 +01:00
Sadie Powell
1602a0c355 Add support for rechecking whether a user is in a DNSBL. 2023-07-07 09:59:41 +01:00
Sadie Powell
33758b207f Move DNSBL lookup code to SharedData to allow it to be called from several places. 2023-07-07 09:59:41 +01:00
Sadie Powell
3a5870adf0 Improve the inlining of some channel functions. 2023-07-07 09:59:41 +01:00
Sadie Powell
68e1b23932 Tidy up spanningtree config reading. 2023-07-06 22:51:20 +01:00
Sadie Powell
49e73967fe Update Doxygen config for the latest version. 2023-07-06 22:03:41 +01:00
Sadie Powell
4258d3452a Update KickUser to match PartUser. 2023-07-06 21:56:39 +01:00
Sadie Powell
66f2423a1d Make PartUser inline and add an overload that takes an iterator.
The return value of PartUser is not used 99% of the time so this
allows the compiler to optimise it out.
2023-07-06 21:56:28 +01:00
Sadie Powell
e6d5dfe0a0 Respect notifyuser in the muteban part handler. 2023-07-06 21:19:20 +01:00
Sadie Powell
876f4fe5b6 Remove an unnecessary check from core_user. 2023-07-06 18:37:44 +01:00
Sadie Powell
120b777ffb Remove the now obsolete partmsg module.
Closes #979.
2023-07-06 18:30:18 +01:00
Sadie Powell
b0b5283d27 If a user is (mute)banned then also hide their part message. 2023-07-06 18:29:00 +01:00
Sadie Powell
568be755ba Merge branch 'insp3' into master. 2023-07-06 15:11:43 +01:00
Sadie Powell
808188b444 Redocument <options:defaultmodes>. 2023-07-06 15:08:16 +01:00
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