Sadie Powell
90d9d02c9e
Improve the consistency of duration strings.
...
Unfortunately because of leap years we can't really make duration
strings exact. Because of this we have always added 6 hours on to
each year to make it correct over time.
However, we did not do this in any kind of consistent way which
resulted in weird roundtripped duration strings which made this
very confusing for users
While I'm touching the duration code I've also cleaned it up.
2025-02-28 03:55:08 +00:00
Sadie Powell
98397935cb
Deprecate bitmask DNSBL records.
...
We don't use these in any of our docs or example configs and almost
everyone uses the record type. Using a bitmask is also a source of
footguns because users don't really understand how bit masks
actually work.
2025-02-27 22:56:38 +00:00
Sadie Powell
72ff58f7ed
Error if a user doesn't specify any DNSBL records to match.
2025-02-27 22:51:06 +00:00
Sadie Powell
73ac91e4ed
Fix logging about SIGHUP to the wrong snotice character.
2025-02-27 16:09:57 +00:00
Sadie Powell
0d11ccf609
Add the user IP address to the chancreate message.
2025-02-27 15:59:58 +00:00
Sadie Powell
f2e8c45dbf
Remove log messages about failed DIE and RESTART attempts.
...
These no longer accept a password so there's no point logging if
a user specifies the wrong server name.
2025-02-27 15:47:52 +00:00
Sadie Powell
7058e49247
Update fmtlib.
2025-02-26 19:01:09 +00:00
Sadie Powell
55a7690b50
Add more information to the seenicks message.
2025-02-24 00:28:54 +00:00
Sadie Powell
c446fa0cea
Use INSP_FORMAT in ExpandPath.
2025-02-16 11:28:40 +00:00
Sadie Powell
6c2100a2e4
Fix expanding paths on portable installations.
...
Closes #2148 .
2025-02-15 14:44:39 +00:00
Sadie Powell
ec57c7545d
Move RPL_TIME to the numeric header, unify TIME and ALLTIME.
2025-02-05 12:02:38 +00:00
Sadie Powell
af8b171ccf
Improve the time format in TIME.
2025-02-02 13:23:04 +01:00
Sadie Powell
e1ff0487d6
Include the timezone name in 003.
2025-02-02 13:22:16 +01:00
Sadie Powell
a6829ca46d
RPL_STATSCONN should count registered (not accepted) connections.
2025-02-02 12:43:44 +01:00
Sadie Powell
ef4ae1d9ca
Implement RPL_STATSCONN for compatibility with ircu.
2025-01-26 01:21:35 +00:00
Sadie Powell
ae6d57ff0b
Cache the number of global and local servers.
2025-01-25 23:14:52 +00:00
Sadie Powell
1d96b3cc5d
Clean up core_lusers.
2025-01-25 22:28:10 +00:00
Sadie Powell
aa383e7efd
When removing a list mode update the parameter to the actual entry.
2025-01-25 12:14:57 +00:00
Sadie Powell
7c31e3697b
Fix unsetting bans that look like extbans but aren't.
2025-01-24 11:03:00 +00:00
Sadie Powell
8a52f5ece8
Also build isupport for removed but still in use connect classes.
2025-01-24 09:39:25 +00:00
Sadie Powell
b9fee8b43d
Convert debug logging from string concatenation to format strings.
...
When running in normal mode this will prevent a bunch of expensive
string concatenation.
2025-01-23 16:35:32 +00:00
Sadie Powell
cdad978bf6
Fix the list of supported exemptions.
2025-01-20 12:12:39 +00:00
Sadie Powell
f6d8b0295b
Merge branch 'insp3' into insp4.
2025-01-17 17:46:07 +00:00
Sadie Powell
a6e4d4a77f
Fix a typo in a help message.
2025-01-17 17:45:31 +00:00
Sadie Powell
b2116feb7f
Fix the /CBAN syntax.
2025-01-17 17:42:47 +00:00
Sadie Powell
b63a7a4d22
Make /CBAN behave like documented.
2025-01-17 17:36:47 +00:00
Sadie Powell
6cb0f8a6d1
Make the length optional in when adding a [EGKQRZ]-line.
...
The shun module already behaves like this but the docs were not
correct.
2025-01-17 17:27:24 +00:00
Sadie Powell
eaac5cebe1
Run irctest on AArch64.
...
This should help us catch portability weirdnesses.
[skip alpine ci]
[skip macos ci]
[skip ubuntu ci]
[skip windows ci]
2025-01-17 09:32:35 +00:00
Sadie Powell
a41812db1a
Drop the backup fingerprints if linked using the 1205 protocol.
2025-01-14 13:26:52 +00:00
Sadie Powell
c6238d80de
Don't format log messages if we can't actually log them.
...
This should prevent debug messages from potentially causing
performance issues on production servers.
2025-01-11 16:51:34 +00:00
Sadie Powell
e358bb781d
Synchronise the snomask list with th list from the docs site.
2025-01-11 15:58:06 +00:00
Sadie Powell
88b99f7857
Update the DroneBL lookup URL.
2025-01-10 18:35:09 +00:00
Sadie Powell
25f176445a
Pad the base 64 output in httpd_stats CDATA blocks.
2025-01-09 20:03:31 +00:00
Sadie Powell
e9124ec7bd
Fix repeat compatibility with v3.
...
Co-authored-by: iwalkalone <iwalkalone@chathispano.com>
Closes #2145 .
2025-01-09 15:28:29 +00:00
Sadie Powell
477eeaeaea
Show the WebSocket origin and the proxy address to opers in whois.
2025-01-07 20:31:32 +00:00
Sadie Powell
a494228f1e
Release v4.5.0.
v4.5.0
2025-01-04 12:10:09 +00:00
InspIRCd Robot
28ea18cfdf
Update copyright headers.
2025-01-04 12:08:33 +00:00
InspIRCd Robot
dc3be21ec9
Update author list.
2025-01-04 11:58:37 +00:00
Sadie Powell
a59366947d
Cache RPL_CREATED and improve the format slightly.
2024-12-28 12:00:48 +00:00
Sadie Powell
1d926ffc73
Update the vendored libraries.
2024-12-28 11:37:35 +00:00
Sadie Powell
26ecaafc54
Merge branch 'insp3' into insp4.
2024-12-27 23:16:43 +00:00
Sadie Powell
2f92a30b77
Release v3.18.0.
v3.18.0
2024-12-27 22:37:58 +00:00
Sadie Powell
46106fd29d
Merge branch 'insp3' into insp4.
2024-12-23 15:40:58 +00:00
Sadie Powell
ab87955de3
Silence a compiler error on Alpine.
2024-12-23 15:34:06 +00:00
Sadie Powell
bc3ad1ba6d
Update the Windows dependencies.
2024-12-23 15:26:12 +00:00
Sadie Powell
3cedada47b
Update vendored libraries.
2024-12-23 15:18:23 +00:00
Sadie Powell
f07eedcb23
Fix matching acting extbans when multiple extbans are set.
2024-12-23 14:55:38 +00:00
Sadie Powell
ffb60af7f0
Update the checklist in the pull request template.
2024-12-19 16:20:24 +00:00
Glen Miner
d2df7b24c0
Optimized WHO command
...
On our server hosting 150K users we noticed that the WHO command was high on the perf capture profile and on closer inspection we noticed that the majority of users do not have the invisible mode set.
Since IsModeSet is a small inline function that does an array lookup we were able to reduce server load by calling IsModeSet first to short-circuit the comparatively expensive SharesChannelWith call.
2024-12-19 14:10:08 +00:00
Glen Miner
41293a058d
Optimized membership lookup for large servers
...
On our server hosting 150K users we noticed that std::map lookups for user membership were high on the profile. Since there seemed to be no ordered iteration needed we were able to shave a few % off of the profile by changing this to a std::unordered_map
2024-12-19 14:10:08 +00:00