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
e500258ce4
Add the rpc_data module.
...
- Add rewritten and namespaced versions of the channel, oper, user
events.
- Add the following new events:
* anope.listChannels
* anope.listOpers
* anope.listServers
* anope.listUsers
* anope.server
2025-02-25 19:59:23 +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
a4bfd52b7e
If a user is already connected on SASL fail just call BadPassword.
2025-02-23 17:50:05 +00:00
Sadie Powell
34a539ba78
Fix detecting whether translations are disabled in ns_set_language.
2025-02-23 11:44:52 +00:00
Sadie Powell
096c996900
Fix resetting the SASL password limit.
2025-02-23 11:44:52 +00:00
Sadie Powell
d5f4b06972
Improve SASL log messages for post-connection authentication.
2025-02-20 21:35:17 +00:00
Sadie Powell
ff8aca1db4
Apply bad password logic to SASL too.
2025-02-20 21:20:00 +00:00
Sadie Powell
8da52bf121
Clean up some session code in the SASL module.
2025-02-20 21:19:31 +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
5967bf4176
Log the version of xmlrpc-c on module load.
2025-02-20 13:31:51 +00:00
Sadie Powell
bf68d1c0e0
Merge branch '2.0' into 2.1.
2025-02-20 13:07:14 +00:00
Sadie Powell
227caba783
Fix sql_live on recent MariaDB.
2025-02-20 13:05: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
98320d130f
Rewrite the xmlrpc module using libxmlrpc-c.
2025-02-18 16:15:58 +00:00
Sadie Powell
37f21a2e1e
Fix building the LDAP module on Windows.
2025-02-18 12:00:22 +00:00
Sadie Powell
9f82a960e4
Log the version of third-party libraries on load.
2025-02-18 11:48:43 +00:00
Sadie Powell
3bba87b655
Make the password optional in operserv/login.
2025-02-16 12:12:38 +00:00
Sadie Powell
69bc149f7f
Reduce indentation in rpc_main.
2025-02-14 21:47: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
ddce28c055
Merge branch '2.0' into 2.1.
2025-02-14 18:15:56 +00:00
Sadie Powell
fbb8442252
Reset the stats properly.
...
Closes #465 .
2025-02-14 18:15:51 +00:00
Sadie Powell
947eabed6c
Keep going in cs_mode if a target doesn't exist.
2025-02-14 15:06:04 +00:00
Sadie Powell
94ccd03790
Allow changing the status modes of multiple people at once.
...
Closes #473 .
2025-02-14 15:00:12 +00:00
Sadie Powell
4b2b47fc95
Remove some debugging code from the JSON-RPC module.
2025-02-13 04:26:42 +00:00
Sadie Powell
9e621cca11
Add the new JSON-RPC module to compliment the XMLRPC one.
2025-02-13 04:19:39 +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
3e986b215e
Add extra protections to avoid rebooting the wrong network.
2025-02-12 15:39:41 +00:00
Sadie Powell
8486962fef
Merge branch '2.0' into 2.1.
2025-02-11 13:52:53 +00:00
Sadie Powell
1f7aa241bb
Prioritise operserv/ignore above other modules.
...
Closes #471 .
2025-02-11 13:48:11 +00:00
Sadie Powell
e3abae44a7
Make email confirmation a bit smarter.
2025-02-11 11:57:34 +00:00
Sadie Powell
a8be208da1
Add some options to botserv/botlist to make admining easier.
2025-02-07 01:14:12 +00:00
Sadie Powell
abbb602463
Fix SASL on UnrealIRCd.
2025-02-06 19:01:10 +00:00
Sadie Powell
86805a6b3b
Add the bot real name to the botlist info.
...
This is actually shown by modern clients so its useful info.
2025-02-05 19:56:55 +00:00
Sadie Powell
5d9344b677
Fix the pluralisation of a message in bs_info.
2025-02-05 19:38:36 +00:00
Sadie Powell
8d3755af5b
Use fallback certs when doing SASL authentication.
2025-02-05 13:45:15 +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
3af8f35d3a
Import more data from Atheme.
2025-02-05 00:46:52 +00:00