Sadie Powell
0ae67cb371
Rename Serializable::id to object_id to avoid conflicts.
2025-12-20 00:13:35 +00:00
Sadie Powell
0f433ebe9c
Remove or fix various useless uses of const.
2025-12-17 14:10:42 +00:00
Sadie Powell
57446ee49b
Improve the BotServ fantasy commands
...
- Allow multiple character fantasy prefixes.
- Allow using the command alias as the command prefix.
- Match the service name case insensitively.
2025-12-14 11:14:07 +00:00
Sadie Powell
852aae5e4f
Fix the syntax of chanserv/suspend and nickserv/suspend.
...
Closes #540
Closes #547
2025-12-13 20:23:20 +00:00
Sadie Powell
caa9b27a6c
Fix the spelling of unload in os_module.
2025-12-13 15:06:37 +00:00
Sadie Powell
641e011e13
Fix inconsistencies in reading the NickServ expiry time.
2025-12-12 16:16:42 +00:00
Sadie Powell
aba75c1f31
Fix an inverted condition in ns_email.
2025-12-11 10:57:54 +00:00
Sadie Powell
f367820714
Implement better rehash detection support in enc_argon2.
2025-12-08 11:44:34 +00:00
Sadie Powell
db2f7ca192
Merge branch '2.0' into 2.1.
2025-12-03 16:20:33 +00:00
Sadie Powell
5a9f581491
Fix chanserv/enforce enforcing against founders.
...
Closes #532 .
2025-12-03 16:18:50 +00:00
Sadie Powell
08bebeb9f0
Unmark a message with no translatable content as translatable.
2025-11-25 00:48:41 +00:00
Sadie Powell
52063fe05f
Fix some messages that should use plural forms.
2025-11-25 00:48:41 +00:00
Sadie Powell
20a8fcc574
Stop inconsistently apologising in error messages.
2025-11-25 00:48:41 +00:00
Sadie Powell
e0331dae2a
Add the TRY_AGAIN_LATER message for when a command is unavailable.
...
This replaces SERVICE_UNAVAILABLE and other custom messages.
2025-11-25 00:48:41 +00:00
Sadie Powell
be965f2618
Rework the module headers to use namespaces and static services.
2025-11-25 00:48:41 +00:00
Sadie Powell
62ca6c96eb
Move akick from the core to cs_akick.
2025-11-24 12:41:34 +00:00
Sadie Powell
cadeac2dea
Even more build system cleanup.
2025-11-21 16:33:01 +00:00
Sadie Powell
6ce719437f
Rename an event for consistency.
2025-11-21 00:56:30 +00:00
Sadie Powell
20ca0c76e0
Store hs_offer data with the correct data type.
2025-11-20 23:59:32 +00:00
Sadie Powell
9cc2ea8a56
Don't reload the main database when reloading a module.
2025-11-20 20:09:09 +00:00
Sadie Powell
e62ca67d2e
Initialize the HostOffer type before the HostOffer list.
2025-11-20 19:14:09 +00:00
Sadie Powell
e4eb3f1cc5
Move the hs_offer list into the module class.
2025-11-20 15:16:51 +00:00
Sadie Powell
319a523b4f
Add support for loading forbids from a file.
...
Closes #365 .
2025-11-20 15:05:36 +00:00
Sadie Powell
cfe1317b5d
Allow forbidding passwords.
2025-11-20 13:07:13 +00:00
Sadie Powell
6e151a693a
Clean up more obsolete build system cruft.
2025-11-18 04:00:04 +00:00
Sadie Powell
838de2f5b8
Kill a bunch of obsolete build system cruft.
2025-11-18 02:18:05 +00:00
Sadie Powell
5cc5d0effd
Extract build_module from build_modules.
2025-11-18 01:41:11 +00:00
Sadie Powell
ca27e1e60f
Misc fixes to hs_offer.
...
- Cache the network name to avoid looking it up repeatedly.
- Fix {regdate} and {regepoch} being inverted.
- Fix building the add reason and make it optional as intended.
- Use a dummy templating function when adding to allow more reliable
checks for whether the offered vhost is acceptable.
2025-11-18 01:14:58 +00:00
Sadie Powell
73175a0187
Use the name of the language in ns_set_language not the code.
2025-11-17 23:50:19 +00:00
Sadie Powell
dc32f6945e
Improve the help for nickserv/{sa,}set/{language,timezone}.
2025-11-17 23:13:18 +00:00
Sadie Powell
4fbcc7f391
Fix an uninitialized read in hs_offer.
2025-11-17 22:31:36 +00:00
Sadie Powell
d3d77c5893
Fix a missing period in hs_offer.
2025-11-17 22:17:19 +00:00
Sadie Powell
6c163e53d8
Import a refactored version of hs_offer from the modsite.
...
Co-authored-by: Matt Schatz <genius3000@g3k.solutions >
2025-11-17 22:16:12 +00:00
Sadie Powell
5ae45d96af
Allow setting the language and timezone back to the default.
2025-11-15 16:52:24 +00:00
Sadie Powell
c2681733df
Merge branch '2.0' into 2.1.
2025-11-13 13:24:07 +00:00
Sadie Powell
f6c093ae23
Fix not respecting the mode state when removing a mode lock.
2025-11-13 13:23:05 +00:00
Sadie Powell
2c3ee456c1
Deduplicate mode locking code, stack more lock messages.
2025-11-13 12:52:04 +00:00
Sadie Powell
0fffae7bb5
Centralise logic for determining if a mode needs a param in cs_mode.
2025-11-12 22:00:19 +00:00
Sadie Powell
989a2da73a
Fix getting the brief mode lock string.
2025-11-12 22:00:05 +00:00
Sadie Powell
213f3dd41b
Only require a param in LOCK DEL when deleting a list/status mode.
...
Closes #535 .
2025-11-12 20:57:06 +00:00
Sadie Powell
1c84a5e3c9
Fix a syntax error in a cs_mode help message.
...
Closes #537 .
2025-11-12 19:52:03 +00:00
Sadie Powell
7da2364b69
Switch enc_sha1 to use a vendored library.
2025-11-12 19:49:59 +00:00
Sadie Powell
fa0c6ba821
Consistently use the same header layout on all files.
2025-11-12 19:49:59 +00:00
Sadie Powell
c4e0c41f11
Use bool for boolean fields not int.
2025-11-11 23:50:49 +00:00
Sadie Powell
b2ee8a5b4b
Fix a typo in cs_mode.
2025-11-11 22:26:17 +00:00
Sadie Powell
4b05ec26b7
Make mlock messages consistent, centralise mode string formatting.
...
Closes #356 .
2025-11-11 21:12:32 +00:00
Sadie Powell
e1fe7e17d3
Add support for the UnrealIRCd flood profile mode.
2025-11-11 17:49:21 +00:00
Sadie Powell
e6fa71af9d
Refactor UnrealIRCd mode protoctl parsing code.
2025-11-11 17:49:00 +00:00
Sadie Powell
1ce39c8e76
Add an option to not preserve old data in db_json.
2025-11-10 17:16:21 +00:00
Sadie Powell
88785bfdef
Sort the core language strings and rename for consistency.
2025-11-10 14:58:49 +00:00