Sadie Powell
bd8435a061
Add the reason to the regular version of operserv/session.
2025-09-19 20:38:53 +01: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
97389cd105
Rename some fields to be more accurately named.
2025-07-07 11:51:10 +01:00
Sadie Powell
a9e5a79e91
Remove some unused strings in os_news.
2025-06-22 15:45:21 +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
80b8856254
Consistently use "account" instead of "nick group".
2025-06-20 20:30:21 +01:00
Sadie Powell
7b2f0f5790
Fix some trivial wrong types when getting config values.
2025-05-27 13:21:55 +01:00
Sadie Powell
23e72fc934
Convert Anope::Debug to an unsigned value.
2025-05-24 16:54:49 +01:00
Sadie Powell
be5a0e8108
Serialize using mutable objects not immutable ones.
2025-05-16 15:18:00 +01:00
Sadie Powell
0bf14650fa
Always use the same stats object when deserialising stats.
...
Closes #509 .
2025-05-10 10:23:11 +01:00
Sadie Powell
49f93b7670
Use more appropriate types for MaxUserCount and OperCount.
2025-05-10 00:59:20 +01:00
Sadie Powell
ce0982cc4a
There's no need to count the servers in os_stats.
2025-05-10 00:54:39 +01:00
Sadie Powell
b4150841ec
Try to ensure we only have use Stats instance.
...
This probably only happens when a user has a broken database but
its best to be more robust.
2025-05-10 00:54:39 +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
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
c11638db98
Allow disabling the timestamp in os_news messages.
2025-04-25 13:08:26 +01:00
Sadie Powell
fad0a4a0e8
Add support for hashing operator passwords in the config.
...
Closes #327 .
2025-04-24 12:46:58 +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
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
1e95d0f536
Fix some text strings that should be marked as translatable.
2025-04-16 02:19:17 +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
d04a312d0d
Add Anope::Templace and switch all template strings to use it.
2025-04-14 11:31:19 +01:00
Sadie Powell
8f0ee6f383
Update more messages to use gettext plural forms.
2025-03-22 08:58:24 +00:00
Sadie Powell
39bb5825ad
Deduplicate requirename code in os_shutdown.
2025-03-22 08:33:21 +00:00
Sadie Powell
85fbc500d8
Simplify the requirename logic.
2025-03-17 11:23:19 +00:00
Sadie Powell
99bcc6d3b7
Improve the error reporting in os_shutdown.
2025-03-16 20:21:34 +00:00
Sadie Powell
ace82596d8
Fix a warning on Clang.
2025-03-13 10:43:37 +00: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
3bba87b655
Make the password optional in operserv/login.
2025-02-16 12:12:38 +00:00
Sadie Powell
ddce28c055
Merge branch '2.0' into 2.1.
2025-02-14 18:15:56 +00:00
Sadie Powell
3e986b215e
Add extra protections to avoid rebooting the wrong network.
2025-02-12 15:39:41 +00:00
Sadie Powell
8486962fef
Merge branch '2.0' into 2.1.
2025-02-11 13:52:53 +00:00
Sadie Powell
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +00:00
Sadie Powell
6ba0224f7b
Use a more useful setting example in os_config.
2024-12-12 17:11:41 +00:00
Sadie Powell
ebea728957
Fix pluralising languages which use the same plural for 0 as 1.
2024-11-25 01:20:03 +00:00
Sadie Powell
687bcaa83f
Add a plural form overload of CommandSource::Reply.
2024-11-19 17:10:29 +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
01fc3ea22e
Fix importing Atheme opers.
2024-06-19 22:44:31 +01:00
Sadie Powell
24375d53e6
Add support for looking up account information from a nick.
...
Closes #407 .
2024-06-12 17:46:07 +01:00
Sadie Powell
67b76fadca
Fix a memory leak in os_akill and os_sxline.
2024-06-07 22:39:08 +01:00
Sadie Powell
5473311bd7
Only enable os_noop on IRCDs that actually have a SendSVSNOOP impl.
2024-04-15 21:08:40 +01:00
Sadie Powell
fde3438ef2
Allow using absolute paths in more places.
2024-03-19 15:11:40 +00:00
Sadie Powell
beaf09de7b
Rework sending global notices.
...
Admins can now queue multiple messages and send them when they are
ready. This is fully compatible with the previous global behaviour.
Admins can now also send messages to individual servers. This is
useful for informing users of maintenance due to downtime.
2024-03-14 21:35:17 +00:00