Sadie Powell
be965f2618
Rework the module headers to use namespaces and static services.
2025-11-25 00:48:41 +00:00
Sadie Powell
62ca6c96eb
Move akick from the core to cs_akick.
2025-11-24 12:41:34 +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
eccb338cdd
Add support for self-service vhost validation via DNS.
2025-09-06 17:46:01 +01:00
Sadie Powell
70de2b7de2
Move B64{Decode,Encode} to textproc and redesign their interface.
2025-08-08 12:27:28 +01:00
Sadie Powell
5e8561a7f1
Add support for TXT and SRV records in the dns module.
2025-08-06 15:38:13 +01:00
Sadie Powell
b2d40d4189
Improve how Anope formats C strings.
2025-08-02 18:17:01 +01:00
Sadie Powell
a9e5a79e91
Remove some unused strings in os_news.
2025-06-22 15:45:21 +01:00
Sadie Powell
46e6b0adde
Fix some forward declarations in the httpd header.
2025-05-09 15:35:02 +01:00
Sadie Powell
b76b407b33
Move HTTP types to the HTTP namespace.
2025-05-09 12:36:42 +01:00
Sadie Powell
bb9074cbd5
Fix HTTP headers to be case insensitive as required by the spec.
2025-05-04 14:39:51 +01:00
Sadie Powell
72f5e3580f
Also allow hashed RPC tokens in the config file.
2025-05-04 14:39:20 +01:00
Sadie Powell
4b854d3935
Add support for bearer tokens for authorising with RPC.
2025-05-04 14:14:19 +01:00
Sadie Powell
59d516d5b0
Refactor and document the rest of the SASL header.
2025-04-01 16:57:28 +01:00
Sadie Powell
65bb0a374b
Move SASL::IdentifyRequest to ns_sasl.
...
This is only useful for plain authentication and doesn't need to
be in the header.
2025-03-31 16:58:22 +01:00
Sadie Powell
1641f6415a
RPC::service is not necessary anymore.
2025-03-17 19:06:14 +00:00
Sadie Powell
bb1f93f150
Switch RPC event registration to use the service system.
2025-03-17 12:58:22 +00:00
Sadie Powell
3744649320
Move the RPC service interface to the RPC header.
2025-03-15 23:49:58 +00:00
Sadie Powell
cdcf0e2f9a
Move serialization from Serializable to a Serialize::Type child.
2025-03-12 15:53:52 +00:00
Sadie Powell
2276c62ff0
Move serialization data type logic from sql.h to the core.
2025-03-12 00:16:15 +00:00
Sadie Powell
df0cd3ef3e
Move some headers around.
2025-03-08 12:22:07 +00:00
Sadie Powell
64d26f7c61
Remove GetAgent and SendMechs from the SASL interface.
...
These are only used by ns_sasl.
2025-03-04 00:43:06 +00:00
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
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
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