Sadie Powell
9b8570a2ee
Banish Redis support to the shadow realm.
...
Nobody actually uses this and it hasn't been tested in years so it
a massive pain to maintain. It may be replaced with an alternate
NoSQL database such as MongoDB in the future.
2026-04-23 17:42:42 +01:00
Sadie Powell
eaa24d3b0a
Fix the location of &* on types.
2026-03-26 16:32:56 +00:00
Sadie Powell
5355b53008
Remove the remaining istream use in Data.
2026-03-26 16:32:56 +00:00
Sadie Powell
f380b27ed3
Move fingerprints to their own table.
2026-02-22 17:03:32 +00:00
Sadie Powell
81aa37543e
Merge branch '2.0' into 2.1.
2026-01-01 18:07:12 +00:00
Sadie Powell
4ac5cf89e3
Update the copyright headers for 2025.
2026-01-01 18:04:37 +00:00
Sadie Powell
05002301cc
Fix a crash when clearing the entry message list.
2025-12-27 10:47:58 +00:00
Sadie Powell
0ae67cb371
Rename Serializable::id to object_id to avoid conflicts.
2025-12-20 00:13:35 +00:00
Sadie Powell
0f433ebe9c
Remove or fix various useless uses of const.
2025-12-17 14:10:42 +00:00
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