Sadie Powell
3cbac4bcea
Update Send and Recv to use ssize_t instead of int.
2024-11-25 16:14:17 +00:00
Sadie Powell
7019b27e59
Rework how guest nicks work.
...
- Use the config setting as a string template instead of as a prefix.
- Allow users of IRCds that have UIDs to use that as the guest nick.
- Fall back to a UID before killing if a guest nick can not be found.
2024-11-25 00:08:30 +00:00
Sadie Powell
70227dc882
Take a constant pointer in GetModule.
2024-11-24 22:36:53 +00:00
Sadie Powell
c3055e1cfa
Add a plural form overload of SendMessage.
2024-11-22 15:22:23 +00:00
Sadie Powell
e9202916b2
Emplace services when registering them with the core.
2024-11-19 19:55:34 +00:00
Sadie Powell
687bcaa83f
Add a plural form overload of CommandSource::Reply.
2024-11-19 17:10:29 +00:00
Sadie Powell
bc44195a3d
Make the account id map also use a checker.
2024-11-15 15:12:50 +00:00
Sadie Powell
2e6c90d502
Add support for plural form translation.
...
Closes #340 .
2024-11-13 02:48:13 +00:00
Sadie Powell
8634594cd1
Merge branch '2.0' into 2.1.
2024-11-11 15:45:05 +00:00
Sadie Powell
ee160842b3
Fix serialising boolean extension items.
2024-11-11 15:24:40 +00:00
Sadie Powell
51827b94ad
Simplify account identifier generation.
2024-11-07 19:33: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
435ce51196
Move nickserv/set/message to a new module, kill options:useprivmsg.
2024-10-22 14:27:30 +01:00
Sadie Powell
3da9b6df0d
Fix matching stacked extbans.
2024-10-04 19:04:31 +01:00
Sadie Powell
2f74513246
Change User::SetModesInternal to take a split mode change.
2024-10-02 23:54:36 +01:00
Sadie Powell
94dbb19593
Remove the formatting overload of User::SetModesInternal.
2024-10-02 11:15:42 +01:00
Sadie Powell
8232759a92
Change Channel::SetModesInternal to take a split mode change.
2024-10-02 11:12:24 +01:00
Sadie Powell
136680f917
Fix the grammar of some info messages.
2024-08-18 03:17:33 +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
03bee17063
Remove the unused KeySet method in Serialize::Data.
2024-08-14 00:10:12 +01:00
Wilson Birney
aa0496f69b
Add <cstring> include to services.h to fix build on some musl systems.
...
Co-authored-by: blackbeard420 <blackbeard@blackbeard420.me >
2024-08-06 11:00:47 +01:00
Sadie Powell
ff65b68dfa
Fix the name of the key parameter in SendSVSJoin.
2024-07-14 15:21:00 +01:00
Sadie Powell
01e0cf4868
Add support for sending tag messages.
2024-06-24 14:46:41 +01:00
Sadie Powell
693eeed762
Rework how CTCP messages are sent and received.
2024-06-24 14:29:55 +01:00
Sadie Powell
6e5713d64a
Remove the formatting overloads of SendNotice/SendPrivmsg.
2024-06-24 13:30:17 +01:00
Sadie Powell
01fc3ea22e
Fix importing Atheme opers.
2024-06-19 22:44:31 +01:00
Sadie Powell
88ac47e217
The sender can be null in OnBotUnAssign.
2024-06-10 12:51:56 +01:00
Sadie Powell
8a1bffba9b
Fix a crash in ns_cert.
2024-06-10 11:16:05 +01:00
Sadie Powell
7861712437
Add nullability attributes to the module events.
2024-06-07 22:15:58 +01:00
Sadie Powell
e71a9e2894
Avoid NickAlias lookups by storing a pointer in the NickCore.
2024-06-03 16:04:53 +01:00
Sadie Powell
a4792412ba
Merge branch '2.0' into 2.1.
2024-05-16 18:00:13 +01:00
Sadie Powell
a9e9ac32a0
Store boolean extension items as DT_INT.
2024-05-16 17:28:15 +01:00
Sadie Powell
4008e64f26
Store when the account name was registered in the NickCore.
2024-05-11 17:40:38 +01:00
Sadie Powell
c36030c826
Remove CanSVSLogout and implement logout support on Plexus.
2024-05-09 18:54:40 +01:00
Sadie Powell
33a02b1223
Require a reason when throwing an exception.
2024-05-09 18:37:16 +01:00
Sadie Powell
e9243c3fde
Add the ReplaceCert method to CertService.
2024-05-01 21:20:31 +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
f3ebb67469
Make SendChannel abstract.
2024-04-15 21:00:10 +01:00
Sadie Powell
5a54b37aeb
Remove the g prefix from git hashes.
2024-04-04 14:16:21 +01:00
Sadie Powell
c08aaa86d1
Sync the build system directory names with the core.
2024-04-02 16:52:41 +01:00
Sadie Powell
87a8af0ad7
Use the paths from the build system instead of hardcoding them.
2024-04-02 16:45:49 +01:00
Sadie Powell
4399eeaa58
Add the --nopid option to disable writing a pidfile.
...
This is useful for init scripts that don't fork.
2024-03-20 21:34:28 +00:00
Sadie Powell
fde3438ef2
Allow using absolute paths in more places.
2024-03-19 15:11:40 +00:00
Sadie Powell
413fed474e
Fix unnecessary uses of std::string.
2024-03-18 12:47:43 +00:00
Sadie Powell
60083834f8
Improve sending email.
...
- Use consistent line endings as expected by the email spec.
- Don't require admins to escape . at the start of lines.
- Log the reason why sending email fails.
2024-03-18 12:34:34 +00:00
Sadie Powell
cb3848b7db
Use clock_gettime if it is available.
2024-03-18 11:27:10 +00:00
Sadie Powell
753119c4a1
Use consistent casing when referring to vhosts and vidents.
2024-03-15 12:42:13 +00:00
Sadie Powell
ad86535024
Consistently use READ_ONLY_MODE everywhere.
2024-03-15 12:09:58 +00:00
Sadie Powell
13a556df89
Initialize timer members with constructor initialization.
2024-03-14 23:19:32 +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