Sadie Powell
2b10b8fc2a
Rename <chanhistory:bots> to <chanhistory:sendtobots>.
2024-09-22 14:01:11 +01:00
Sadie Powell
fbbc362ebb
Merge branch 'insp3' into insp4.
2024-09-19 01:26:21 +01:00
Sadie Powell
aa7394ca95
Expand IPv6 addresses in connectban to avoid breaking S2S.
2024-09-19 01:19:30 +01:00
Sadie Powell
e657edc2b3
Fix rebuilding the 004 numeric on reloading core_info.
2024-09-17 01:06:42 +01:00
Sadie Powell
8649d33465
Sort the 004 mode list alphabetically.
2024-09-17 00:45:21 +01:00
Sadie Powell
dfd72fe029
Remove some unnecessary uses of <iostream>.
2024-09-16 10:02:19 +01:00
Sadie Powell
bf53ff5084
Make Cullable::Deleter const.
2024-09-13 15:40:43 +01:00
Sadie Powell
a6ea949d4d
Use reference<>::ptr() in more places.
2024-09-13 12:11:11 +01:00
Sadie Powell
45f10a7f6f
Only remove extbans on unload if provided by the right module.
2024-09-13 11:52:26 +01:00
Sadie Powell
8b253d39a1
Raise an exception if an extban name or letter is already in use.
2024-09-13 11:30:08 +01:00
Sadie Powell
45f7640d2a
Send an ISupport diff when a user moves to a new connect class.
2024-09-09 12:15:34 +01:00
Sadie Powell
b5032fb641
Fix rawio logs not being written after a rehash.
2024-09-09 11:29:08 +01:00
Sadie Powell
a3668d75d6
Use -I for the vendor directory instead of -isystem.
...
Fixes {fmt} from the system conflicting with our local vendored
copy of {fmt}.
Thanks to @slimture for testing.
Closes #2105 .
2024-09-09 07:42:31 +01:00
Sadie Powell
73a98ce7be
Use string_view in InspIRCd::Is{FQDN,Host,SID}.
2024-09-07 19:26:29 +01:00
Sadie Powell
83e142fa2f
Release v4.3.0.
v4.3.0
2024-09-07 11:14:08 +01:00
InspIRCd Robot
8e784862f5
Update copyright headers.
2024-09-07 11:10:36 +01:00
Sadie Powell
863f631fef
Merge branch 'insp3' into insp4.
2024-09-07 11:00:50 +01:00
Sadie Powell
bfa2870254
Update the readme for the CentOS packages being dropped.
2024-09-06 11:07:44 +01:00
Sadie Powell
4dc6c98d98
Document the deprecation of the cloak_md5 and md5 module.
2024-09-05 13:25:52 +01:00
Sadie Powell
4579bc5524
Log if the server is using a md5 cloak as their primary method.
2024-09-05 13:25:46 +01:00
Sadie Powell
1f65eb8efc
Fix needlessly separating threads and lanes in the argon2 module.
...
We were not using these correctly and Argon2 uses the thread count
as the lane count anyway so its pointless to even have a setting
for this.
2024-09-05 12:47:03 +01:00
Sadie Powell
bb05d0dd46
Make the <define> options in the example config actually useful.
2024-09-05 12:13:29 +01:00
Sadie Powell
0617fdfb65
Check the connection state of a command before the parameter count.
...
Works around a bug in irssi.
Closes #2103 .
2024-09-03 19:04:27 +01:00
Sadie Powell
591cb8e0b9
Const correct the xline header.
2024-09-03 11:09:54 +01:00
Sadie Powell
e02637d1ed
Fix mkdescriptions when parsing docs containing Jinja variables.
2024-09-02 12:37:15 +01:00
Sadie Powell
266cc6c3c3
Make mkauthors/mkheaders respect the mailmap for coauthors.
2024-09-02 11:47:53 +01:00
Sadie Powell
faa96b7956
Fix a regression in ProcessColors.
...
We should wait until v5 to be this aggressive with MOTD parsing so
we dont break existing users in a minor release.
2024-09-02 10:40:47 +01:00
Sadie Powell
f6da60b3f4
Normalise the case of MOD_RESULT variables.
2024-08-31 16:21:09 +01:00
Sadie Powell
0e603bab1d
Minor performance improvement to ProcessColors.
2024-08-31 15:41:35 +01:00
Sadie Powell
7d7b78f3d0
Fix the case of the override module settings.
2024-08-31 00:29:04 +01:00
Sadie Powell
ca0ea6e3d0
Make blockcolor only block known formatting codes.
2024-08-30 17:08:18 +01:00
Sadie Powell
babb39cb17
Refactor InspIRCd::StripColor.
...
- Only strip characters we actually recognise.
- Strip the value for hex color codes.
2024-08-30 17:07:29 +01:00
Sadie Powell
5d801283bb
Fix the getentropy test.
2024-08-30 15:34:00 +01:00
Sadie Powell
ef8e631be2
Add a config variable for the example dir.
...
This makes including example files easier on system-wide installs.
2024-08-30 15:31:47 +01:00
Sadie Powell
af6a690f52
Add MOTD escape sequences for { and }.
2024-08-30 09:32:44 +01:00
Sadie Powell
baad39b85c
Allow using color codes by name in MOTD files.
2024-08-29 23:23:30 +01:00
Sadie Powell
7a59ed2a90
Refactor InspIRCd::ProcessColors.
2024-08-29 22:12:32 +01:00
Sadie Powell
42b46e794f
Use auto in GetLevelRequired and GetSyntax.
2024-08-29 14:15:02 +01:00
Sadie Powell
31e3dfddf5
Fix the missing <nick> field in whowas RPL_WHOISACTUALY.
2024-08-29 13:50:31 +01:00
Sadie Powell
0094675b77
Remove the needless cast of <whowas:maxkeep> in core_whowas.
2024-08-28 23:55:47 +01:00
Sadie Powell
c0a68cea9c
Tweak the whowas config defaults
...
- Decrease the default number of nick groups.
- Increase the days to keep records for.
- Enable update on nick change by default.
- Remove the upper bounds on the fields.
2024-08-28 23:55:25 +01:00
Sadie Powell
a84010cd64
Ensure the AUTHENTICATE command always returns a response.
2024-08-27 18:28:57 +01:00
Sadie Powell
bb189aecb7
Avoid adding UUID users to the whowas database.
2024-08-27 18:18:13 +01:00
Sadie Powell
e6ff406b06
Fix the whowas database not being updated on nick change.
2024-08-27 18:16:26 +01:00
Sadie Powell
f4b650b4a9
Slightly reduce the memory usage of the WHOWAS database.
2024-08-27 18:02:50 +01:00
Sadie Powell
5209cc71d5
Store the actual server name rather than the public name for WHOWAS.
...
We check hideserver when sending the numeric anyway.
2024-08-27 17:57:17 +01:00
Sadie Powell
f634f614d2
Replace the InspIRCd-specific RPL_WHOWASIP with RPL_WHOISACTUALLY.
...
This makes us more compatible with other server implementations.
2024-08-27 17:55:32 +01:00
Sadie Powell
3f7a7df740
Deprecate the raw overload of GenRandomStr in favour of GenRandom.
...
The raw overload was almost always misused where GenRandom would
be better.
While we're making changes to this code switch the printable mode
to use a static array like Anope does.
2024-08-27 16:31:38 +01:00
Sadie Powell
21fc51ab7c
Use GenRandom instead of GenRandomInt to populate Bcrypt entropy.
2024-08-27 15:17:11 +01:00
Sadie Powell
1302f6ee6d
Fix the argument to BindPorts not being documented.
2024-08-27 15:09:40 +01:00