Sadie Powell
34896cefe9
Misc cleanup of ns_sasl and sasl.h.
2025-03-03 23:57:12 +00:00
Sadie Powell
bfd2b0fa8e
Merge branch '2.0' into 2.1.
2025-03-03 22:48:23 +00:00
Sadie Powell
7f2c281121
Fix a compiler warning on newer versions of MSVC.
2025-03-03 22:46:12 +00:00
Sadie Powell
224caf32c7
Rename sasl to ns_sasl, move to nickserv.example.conf.
2025-03-03 22:02:48 +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
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