Sadie Powell
a0d21b207b
Fix reading the purge time in cs_seen.
2025-06-25 14:08:44 +01:00
Sadie Powell
3cc5b5143f
Remove the old 1.8-style seen system.
2025-06-25 14:06:59 +01:00
Sadie Powell
adc1343d6c
Serialize item types as strings instead of integers.
...
Using the type cast to an integer here was undefined behaviour.
2025-06-22 15:45:21 +01:00
Sadie Powell
5702fb9145
Add a PREPEND subcommand to chanserv/topic.
2025-06-10 12:06:02 +01:00
Sadie Powell
c73a6c621f
Make the set_misc help format consistent with other set commands.
2025-06-07 13:27:30 +01:00
Sadie Powell
7b2f0f5790
Fix some trivial wrong types when getting config values.
2025-05-27 13:21:55 +01:00
Sadie Powell
be5a0e8108
Serialize using mutable objects not immutable ones.
2025-05-16 15:18:00 +01:00
Sadie Powell
a0e98acea8
Fix the codelength default.
2025-05-15 01:42:13 +01:00
Sadie Powell
eec428b0c7
Build buffers a bit smarter in cs_access/cs_xop/help.
2025-05-09 22:36:50 +01:00
Sadie Powell
07f57b1108
Be more explicit about what versions compatibility code is for.
2025-05-09 21:43:35 +01:00
Sadie Powell
010beb52b1
Store the setter and ts for all modes and try to restore them.
...
This is mostly for preserving channel list mode info.
2025-05-03 21:28:56 +01:00
Sadie Powell
84baf15620
Don't send join numerics to our own clients.
2025-05-03 17:16:05 +01:00
Sadie Powell
66d3293ae6
Remove double spacing after a full stop in help messages.
...
This hasn't been considered a best practice since the age of the
typewriter.
https://english.stackexchange.com/questions/2544/how-many-spaces-should-come-after-a-period-full-stop
2025-05-02 11:10:35 +01:00
Sadie Powell
0dd5430c94
Deduplicate code in cs_access.
2025-04-27 20:58:35 +01:00
Sadie Powell
9373677610
Respect NEVEROP in chanserv/set/{founder,successor}.
2025-04-23 03:21:08 +01:00
Sadie Powell
bbb65ddc33
When deleting a single list item show the deleted item not a count.
...
Closes #487 .
2025-04-23 01:57:02 +01:00
Sadie Powell
095ed3c8c8
Allow users to unmark themselves as a channel successor.
...
Closes #501 .
2025-04-22 22:53:40 +01:00
Sadie Powell
f3743cd37d
Remove hardcoded command names from most messages.
2025-04-22 18:56:26 +01:00
Sadie Powell
f362959834
Fix splitting in the middle of some command names.
2025-04-22 18:16:31 +01:00
Sadie Powell
f5a85c69d2
Remove time from the name of some variables where its obvious.
2025-04-19 22:53:49 +01:00
Sadie Powell
d815906393
Get rid of the internal block wrapper.
...
This only existed for compatibility with old 2.0 modules and 2.1
has already broken compatibility with them.
2025-04-19 12:49:06 +01:00
Sadie Powell
94c20f3084
Use duration strings when reporting the expiry period.
2025-04-16 02:52:31 +01:00
Sadie Powell
74e9a9d2fe
Automatically wrap the help output.
2025-04-16 01:50:59 +01:00
Sadie Powell
ce362854a3
Update as many messages as possible for automatic line wrapping.
2025-04-16 00:04:30 +01:00
Sadie Powell
75e2501500
Allow unbanning virtual modes, add the !unmute fantasy command.
2025-04-15 15:59:51 +01:00
Sadie Powell
1c6db37681
Fix a typo in cs_unban.
2025-04-15 15:29:59 +01:00
Sadie Powell
5c2fc1cedd
Allow clearing other list modes using ClearBans.
2025-04-15 15:00:25 +01:00
Sadie Powell
d04a312d0d
Add Anope::Templace and switch all template strings to use it.
2025-04-14 11:31:19 +01:00
Sadie Powell
9351debd73
Expand GetQueryCommand to take a command name.
2025-04-10 13:34:25 +01:00
Sadie Powell
40d558ef21
Make the length of confirmation codes configurable.
2025-04-07 12:27:45 +01:00
Sadie Powell
8f0ee6f383
Update more messages to use gettext plural forms.
2025-03-22 08:58:24 +00:00
Sadie Powell
e7b18609f6
Add defines for the core serialisation type names.
2025-03-12 15:53:52 +00:00
Sadie Powell
cdcf0e2f9a
Move serialization from Serializable to a Serialize::Type child.
2025-03-12 15:53:52 +00:00
Sadie Powell
1e8ac58bb4
Sync the chanserv defaults between the code and config.
2025-03-09 14:33:29 +00:00
Sadie Powell
df0cd3ef3e
Move some headers around.
2025-03-08 12:22:07 +00:00
Sadie Powell
b30bfb5d2b
Import misc channel and user metadata in db_atheme.
2025-03-07 12:31:42 +00:00
Sadie Powell
f9911dde52
Return references instead of pointers from the config system.
...
We used to return NULL from these methods but now we return an empty
block so this can never actually be null now.
2025-03-02 15:27:47 +00:00
Sadie Powell
947eabed6c
Keep going in cs_mode if a target doesn't exist.
2025-02-14 15:06:04 +00:00
Sadie Powell
94ccd03790
Allow changing the status modes of multiple people at once.
...
Closes #473 .
2025-02-14 15:00:12 +00:00
Sadie Powell
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +00:00
Sadie Powell
ea8a692191
Add support for numerics associated with cs_set_misc entries.
...
This is mainly to allow the URL entry to use RPL_CHANNELURL.
2024-11-29 20:39:22 +00:00
Sadie Powell
f1751dcb21
Replace usestrictprivmsg with something actually useful.
...
Every IRC server we support (other than Bahamut which is probably
on the chopping bock) uses UIDs so this setting does nothing.
Instead, allow configuring a server-side alias for each service
and use that when servicealias is enabled.
2024-10-22 16:29:22 +01:00
Sadie Powell
8cb2b801e9
Use the target nick as the default desc for mask access entries.
2024-10-19 17:40:24 +01:00
Sadie Powell
66b45534a8
Deduplicate the access code in cs_statusupdate.
2024-10-19 12:17:33 +01:00
Sadie Powell
bc4d34ebd8
Merge branch '2.0' into 2.1
2024-10-18 11:50:54 +01:00
Sadie Powell
934a13c21f
Merge branch '2.0' into 2.1.
2024-10-18 11:41:53 +01:00
Sadie Powell
883935c3e0
Merge branch '2.0' into 2.1.
2024-10-11 16:55:36 +01:00
Sadie Powell
528b5938ec
Automatically determine SQL column type from the field.
...
Also add more column types to ensure we are storing data in the
best format in the database.
2024-08-14 05:47:55 +01:00
Sadie Powell
6e5713d64a
Remove the formatting overloads of SendNotice/SendPrivmsg.
2024-06-24 13:30:17 +01:00
Sadie Powell
59ec42f0e6
Rename suspend in cs_expire to suspendexpire to match ns_expire.
2024-06-23 13:55:25 +01:00