Sadie Powell
22a1924bfd
Allow Command::FindCommandFromService to skip hidden commands.
2026-03-11 05:44:48 +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
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
81aa37543e
Merge branch '2.0' into 2.1.
2026-01-01 18:07:12 +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
fa0c6ba821
Consistently use the same header layout on all files.
2025-11-12 19:49:59 +00:00
Sadie Powell
909a77efb9
Remove unnecessary return statements at the end of blocks.
2025-10-24 10:22:29 +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
59e9d47667
Update another message to use pluralisation.
2025-06-18 20:53:11 +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
f362959834
Fix splitting in the middle of some command names.
2025-04-22 18:16: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
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
e86fa67e38
Use a set instead of a vector for storing memo ignores.
2025-03-19 10:12:02 +00:00
Sadie Powell
1fc2642034
Make it clear that an ignore list is for memos in ms_ignore.
...
Closes #484 .
2025-03-19 09:55:32 +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
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +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
c3055e1cfa
Add a plural form overload of SendMessage.
2024-11-22 15:22:23 +00:00
Sadie Powell
4de59d61d8
Use durations instead of seconds in waiting messages.
2024-11-13 11:56:11 +00:00
Sadie Powell
df1c6176b3
Merge branch '2.0' into 2.1.
2024-11-11 17:13:01 +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
4e3720b810
Merge branch '2.0' into 2.1.
2024-09-01 09:43:38 +01:00
Sadie Powell
ad86535024
Consistently use READ_ONLY_MODE everywhere.
2024-03-15 12:09:58 +00: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
484160eb4e
Shuffle modules around a bit.
2024-01-24 12:34:34 +00:00