13455 Commits

Author SHA1 Message Date
Sadie Powell
22ad04aafa Release v4.6.0. 2025-02-28 14:30:22 +00:00
InspIRCd Robot
cdd3226bef Update copyright headers. 2025-02-28 14:30:22 +00:00
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
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
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
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
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. 2025-01-04 12:10:09 +00:00
InspIRCd Robot
28ea18cfdf Update copyright headers. 2025-01-04 12:08:33 +00:00
Sadie Powell
a59366947d Cache RPL_CREATED and improve the format slightly. 2024-12-28 12:00:48 +00:00
Sadie Powell
2f92a30b77 Release v3.18.0. 2024-12-27 22:37:58 +00:00
Sadie Powell
f07eedcb23 Fix matching acting extbans when multiple extbans are set. 2024-12-23 14:55:38 +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
Sadie Powell
5084eca9ba Allow explicitly disabling the ojoin/operprefix prefix characters. 2024-12-10 14:04:16 +00:00
Sadie Powell
173f88f084 Write the pid file earlier to avoid a crash.
{fmt} gets angry if we try to write to a closed stdout.
2024-12-10 14:02:40 +00:00
Larry Williamson
9e3090ab1d
Clear the pgsql output vector before adding new values. 2024-12-05 11:21:04 +00:00
Sadie Powell
dbc17141d5 Fix some compiler warnings when building on Haiku. 2024-12-01 15:04:48 +00:00
Sadie Powell
af95088ae3 Fix stripping adjacent formatting codes. 2024-11-27 10:36:52 +00:00
Sadie Powell
e3db9ed118 Fix the initialisation of accept_filter_arg.
[skip alpine ci]
[skip irctest ci]
[skip ubuntu ci]
[skip windows ci]
2024-11-12 17:55:19 +00:00
Sadie Powell
87145f5790 Backport support for the IRCv3 websocket subprotocols. 2024-11-07 22:32:13 +00:00
Sadie Powell
1bd8c09194 Avoid repeating the network name in whois. 2024-11-05 20:41:10 +00:00
Sadie Powell
7734b2e0f5 Release v4.4.0. 2024-11-02 09:03:06 +00:00
InspIRCd Robot
9f0f434771 Update copyright headers. 2024-11-02 08:42:20 +00:00
Sadie Powell
37a820efcb Add support for regex flags to the filter module. 2024-10-29 15:22:23 +00:00
Sadie Powell
414a086449 All core numerics should be in numeric.h not in .cpp files. 2024-10-26 15:26:59 +01:00