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
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
54389f474b
Implement support for flexible table layouts.
2025-09-19 18:50:27 +01:00
Sadie Powell
59bb9d3d06
Rework the InfoFormatter/ListFormatter APIs and move to textproc.
2025-09-19 12:31:15 +01:00
Sadie Powell
b2d40d4189
Improve how Anope formats C strings.
2025-08-02 18:17:01 +01:00
Sadie Powell
6d754b7d73
Add the intended target of the mode to CanSet.
2025-07-25 21:07:26 +01:00
Sadie Powell
be5a0e8108
Serialize using mutable objects not immutable ones.
2025-05-16 15:18:00 +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
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
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
ce362854a3
Update as many messages as possible for automatic line wrapping.
2025-04-16 00:04:30 +01:00
Sadie Powell
cdcf0e2f9a
Move serialization from Serializable to a Serialize::Type child.
2025-03-12 15:53:52 +00:00
Sadie Powell
df0cd3ef3e
Move some headers around.
2025-03-08 12:22:07 +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
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
bce0d629fd
Fix another iterator invalidation issue.
2024-05-22 14:30:18 +01:00
Sadie Powell
29e7674e56
Replace convertTo/stringify with non-throwing alternatives.
...
Having these throw is terrible for ergonomics and there are loads
of places where the exception was either silently ignored or not
handled at all. Having a function which returns an optional and
another that returns a default works a lot better imo.
2024-03-11 19:17:29 +00:00
Sadie Powell
12486f6cee
Tweak the config default limits slightly.
2024-03-09 11:43:38 +00:00
Sadie Powell
b5b3c74477
Make functions that don't use this static.
2024-02-27 10:48:55 +00:00
Sadie Powell
c6cb4ba159
Fix some coding style issues.
2024-02-26 15:34:17 +00:00
Sadie Powell
484160eb4e
Shuffle modules around a bit.
2024-01-24 12:34:34 +00:00