Sadie Powell
34896cefe9
Misc cleanup of ns_sasl and sasl.h.
2025-03-03 23:57:12 +00:00
Sadie Powell
937ea7dab4
SASL::ProtocolInterface should not be exported.
2025-03-03 22:53:16 +00:00
Sadie Powell
5828cdba45
Move SASL protocol messages to the SASL header.
2025-03-03 21:45:59 +00:00
Sadie Powell
4526fbed96
Add a helper method for getting a description of an uplink.
2025-03-02 15:42:25 +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
752f5e269e
Deduplicate RPC parameter count checks.
2025-02-25 23:13:54 +00:00
Sadie Powell
bb3e124bdb
Deduplicate some SASL logic.
2025-02-25 20:45:34 +00:00
Sadie Powell
801a748e25
Add the system.listMethods RPC method.
...
Still to implement:
- system.getCapabilities
- system.methodHelp
- system.methodSignature
2025-02-24 03:59:52 +00:00
Sadie Powell
a111b40560
Allow use of a non-map type as the root RPC element.
2025-02-24 03:41:06 +00:00
Sadie Powell
2ccd182d2e
Add support for RPC arrays, simplify the RPC objects.
2025-02-24 03:07:22 +00:00
Sadie Powell
ee08b3e880
Rename RPC::Block to RPC::Map.
2025-02-23 17:50:05 +00:00
Sadie Powell
0c193f8149
Store the source address in the identify request.
2025-02-20 19:49:01 +00:00
Sadie Powell
fa0f78b937
Add error constants for the custom error range.
2025-02-20 15:08:37 +00:00
Sadie Powell
96839ae1b8
Move RPC types to the RPC namespace.
2025-02-20 14:57:55 +00:00
Sadie Powell
5420f48580
Use an enum for standard RPC error codes.
2025-02-20 14:57:22 +00:00
Sadie Powell
b498f4f4d9
Add support for more RPC data types.
2025-02-20 12:53:15 +00:00
Sadie Powell
8330cd119a
Fix sending RPC responses after the previous commit.
2025-02-18 21:27:46 +00:00
Sadie Powell
3c55fbe650
Rework how the RPC interface stores its events.
2025-02-18 17:01:33 +00:00
Sadie Powell
420f83bbbf
Use RPC error responses correctly.
2025-02-14 20:54:06 +00:00
Sadie Powell
84b0859e8d
Fix the naming convention of the RPC methods.
2025-02-14 19:47:33 +00:00
Sadie Powell
1e82b4075e
Make the RPC API sanitize automatically.
2025-02-13 01:54:57 +00:00
Sadie Powell
f8c1b8f4f9
Rework the RPC modules in preparation for the new JSON-RPC module.
2025-02-13 01:45:20 +00:00
Sadie Powell
115c9eb5a0
Merge the SASL data and ext parameters.
...
There might be more than this so its better to just store it in a
1+ parameter vector.
2025-02-05 13:45:15 +00:00
Sadie Powell
ee18083bb7
Make it easier to fail and delete SASL sessions.
2025-02-05 12:49:29 +00:00
Sadie Powell
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +00:00
Sadie Powell
da7f47c1c7
Update the copyright headers for 2025.
2025-01-14 13:30:07 +00:00
Sadie Powell
d0e24a50b8
Add Service::GetServices.
2024-12-13 10:57:19 +00:00
Sadie Powell
69b94fe041
Switch Service::GetServiceKeys to use a range-for loop.
2024-12-13 10:57:03 +00:00
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