Sadie Powell
|
a02b81f219
|
Fix iterating the status mode list while unsetting modes.
|
2026-02-25 03:37:29 +00:00 |
|
Sadie Powell
|
d0c2baeed4
|
Add a type for wrapping examples instead of using manual linewraps.
At a later date we should revise the examples for all commands for
consistency.
|
2026-02-24 18:21:44 +00:00 |
|
Sadie Powell
|
d43acc2381
|
Store modes as their object form in ModeStatus.
This has the side effect of preventing users from putting nonsense
modes in {botserv}:botmodes and other related fields.
|
2026-02-16 23:24:04 +00:00 |
|
Sadie Powell
|
aef1925b1d
|
Fix finding gettext on Windows.
Unfortunately we need to move our escape character from 0x1A to 0x1B
because newer versions of gettext treat the former as an EOF character.
|
2026-02-08 00:23:41 +00:00 |
|
Sadie Powell
|
84b94bdbf1
|
Fix some uses of Entry that didn't have their arguments swapped.
|
2026-01-30 11:09:28 +01:00 |
|
Sadie Powell
|
81aa37543e
|
Merge branch '2.0' into 2.1.
|
2026-01-01 18:07:12 +00:00 |
|
Sadie Powell
|
0f433ebe9c
|
Remove or fix various useless uses of const.
|
2025-12-17 14:10:42 +00:00 |
|
Sadie Powell
|
caa9b27a6c
|
Fix the spelling of unload in os_module.
|
2025-12-13 15:06:37 +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
|
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
|
fa0c6ba821
|
Consistently use the same header layout on all files.
|
2025-11-12 19:49:59 +00:00 |
|
Sadie Powell
|
253cca7b3b
|
Fix some time-related language strings.
|
2025-11-10 00:59:46 +00:00 |
|
Sadie Powell
|
909a77efb9
|
Remove unnecessary return statements at the end of blocks.
|
2025-10-24 10:22:29 +01:00 |
|
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 |
|