Sadie Powell
34896cefe9
Misc cleanup of ns_sasl and sasl.h.
2025-03-03 23:57:12 +00:00
Sadie Powell
c0c7046a6d
Check if users really want to use 2.1 in Config.
2025-03-03 23:29:53 +00:00
Sadie Powell
937ea7dab4
SASL::ProtocolInterface should not be exported.
2025-03-03 22:53:16 +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
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
a5e5eb5eb0
Return EmptyBlock instead of NULL from GetModule.
2025-03-02 14:43:57 +00:00
Sadie Powell
82aecd6c7e
Bump for 2.1.13-git.
2025-02-28 16:11:40 +00:00
Sadie Powell
3cef83c8c5
Release 2.1.12.
2.1.12
2025-02-28 16:10:09 +00:00
Sadie Powell
0781f8a82a
Update the changelogs.
2025-02-28 09:58:23 +00:00
Sadie Powell
fb03d745c5
Add a JavaScript library for accessing the JSON-RPC API.
2025-02-26 17:18:03 +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
07610ad2d9
Improve the rpc_system module config.
2025-02-25 20:06:44 +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
Robby
ab0a67c35c
Update the dutch language file.
2025-02-23 04:22:45 +01:00
Robby
b448a20f40
Update the dutch language file.
2025-02-23 04:22:33 +01: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
515dc96d6c
Merge branch '2.0' into 2.1.
2025-02-14 21:55:06 +00:00
Sadie Powell
b51dff0b1a
Update the CI for the upcoming Ubuntu 20.04 removal.
2025-02-14 21:51:47 +00:00
Sadie Powell
69bc149f7f
Reduce indentation in rpc_main.
2025-02-14 21:47:33 +00:00
Sadie Powell
3c340f550a
Update the XMLRPC example to use JSON-RPC instead.
2025-02-14 21:13:10 +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