16845 Commits

Author SHA1 Message Date
Sadie Powell
d4d2293244 Merge branch 'insp4' into master. 2025-03-03 14:58:58 +00:00
Sadie Powell
abba3ed1e6 Use Duration::ToHuman instead of seconds in various messages. 2025-03-03 14:47:35 +00:00
Sadie Powell
2102b065d4 Add Duration::ToHuman and update messages to use it. 2025-03-03 14:00:16 +00:00
Sadie Powell
5ea0bfff6f Add an 005 token to let clients know that fakelag is enabled. 2025-03-02 16:03:38 +00:00
Sadie Powell
ccdf1d4975 Revert "Scope the container SSL enforcement a bit better".
This reverts commit 9c151650212e2101002f04bca902ca18982697c0.
2025-03-02 13:38:29 +00:00
Sadie Powell
9c15165021 Scope the container SSL enforcement a bit better. 2025-03-02 13:06:35 +00:00
Sadie Powell
42afdfd072 Add an opt-out to the SSL enforcement for running in a container. 2025-03-02 12:58:40 +00:00
Sadie Powell
030d710575 Flush stderr and stdout after starting up if using --nofork. 2025-03-02 12:24:00 +00:00
Sadie Powell
7c4830ac78 Merge branch 'insp4' into master. 2025-03-02 00:57:33 +00:00
Sadie Powell
d3c30029dc Use from_chars instead of istringstream in ConvToNum. 2025-03-02 00:57:30 +00:00
Sadie Powell
4200eee5d9 Fix a compiler error in helperfuncs. 2025-03-02 00:56:32 +00:00
Sadie Powell
f3aa73d5e1 Fix some inappropriate uses of ConvToNum. 2025-03-01 18:09:47 +00:00
Sadie Powell
70716c5c0d Splat some unfinished code that made it into the previous commit. 2025-03-01 16:28:47 +00:00
Sadie Powell
a27defd72f Merge branch 'insp4' into master. 2025-03-01 16:26:53 +00:00
Sadie Powell
32a127d2e0 Avoid the use of ConvToStr in string concatenation.
This function calls INSP_FORMAT in most cases nowadays so we may
as well just call that manually.
2025-03-01 16:06:32 +00:00
Sadie Powell
22ad04aafa Release v4.6.0. 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
706e9321c3 Fix a minor typo in the example module config. 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
7ca99a5a00 Replace insp::substring_view with the C++20 iterator constructor. 2025-02-28 02:00:57 +00:00
Sadie Powell
4bda505d1f Merge branch 'insp4' into master. 2025-02-27 23:00:06 +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
fe7ee19aba Vendor yyjson. 2025-02-27 19:16:53 +00:00
Sadie Powell
44b8e3f5d4 Merge branch 'insp4' into master. 2025-02-27 18:35:39 +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
2a087e3cab Merge branch 'insp4' into master. 2025-02-26 18:57:38 +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
2025b34ed2 Merge branch 'insp4' into master. 2025-02-14 14:27:08 +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
2ac056e304 Purge v3 compatibility code. 2025-01-17 21:58:26 +00:00
Sadie Powell
20445ea470 Merge branch 'insp4' into master. 2025-01-17 18:34:33 +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