Sadie Powell
ce362854a3
Update as many messages as possible for automatic line wrapping.
2025-04-16 00:04:30 +01:00
Sadie Powell
a883b616a1
Automatically line wrap messages sent by services.
2025-04-15 19:30:59 +01:00
Sadie Powell
5c2fc1cedd
Allow clearing other list modes using ClearBans.
2025-04-15 15:00:25 +01:00
Sadie Powell
d04a312d0d
Add Anope::Templace and switch all template strings to use it.
2025-04-14 11:31:19 +01:00
Sadie Powell
b89cc47642
Resort the Implementation list.
2025-04-13 16:05:06 +01:00
Sadie Powell
9351debd73
Expand GetQueryCommand to take a command name.
2025-04-10 13:34:25 +01:00
Sadie Powell
404bf77ef5
Add a message handler for messages that can be safely ignored.
2025-04-02 13:17:38 +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
8d3b8c08b3
Add NickAlias::FindId.
2025-03-30 11:04:46 +01:00
Sadie Powell
f3e5ccf353
Initialize ChannelInfo in the Modern C++ way.
2025-03-26 11:23:05 +00:00
Sadie Powell
b5213d5a81
Initialize Channel in the Modern C++ way.
2025-03-26 11:08:02 +00:00
Sadie Powell
dc09408f1a
Add a typedef for the serializable id.
2025-03-26 10:22:42 +00:00
Sadie Powell
e86fa67e38
Use a set instead of a vector for storing memo ignores.
2025-03-19 10:12:02 +00: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
3b35199a53
Add NickCore::FindId for finding an account by its id.
2025-03-15 21:08:26 +00:00
Sadie Powell
9ec3f6abd6
Refactor and redocument Serialize::Type.
2025-03-12 16:52:46 +00:00
Sadie Powell
e7b18609f6
Add defines for the core serialisation type names.
2025-03-12 15:53:52 +00:00
Sadie Powell
cdcf0e2f9a
Move serialization from Serializable to a Serialize::Type child.
2025-03-12 15:53:52 +00:00
Sadie Powell
718f2e922a
Const correct Serialize::Type::GetName().
2025-03-12 01:00:02 +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
a3f483ad87
Fix a forward declaration on Clang.
2025-03-09 18:58:49 +00:00
Sadie Powell
6d7fe69cdf
Add support for oper-only quit messages.
...
This currently only works on InspIRCd but I believe that other
servers also support this.
2025-03-09 18:51:03 +00:00
Sadie Powell
314ef60900
Fix a compiler warning on Clang.
2025-03-09 14:36:57 +00:00
Sadie Powell
badcf31499
Make config variables a lot more useful.
...
- Config variables now no longer conflict with regular values.
- Config variables can now be read from the environment.
(e.g. ${env.USER}).
- Config variables can now be used as partial values
(e.g. support@${network.domain})
2025-03-09 14:20:34 +00:00
Sadie Powell
df0cd3ef3e
Move some headers around.
2025-03-08 12:22:07 +00:00
Sadie Powell
e099180d8f
Fix a REPRODUCIBLE_BUILD check after the previous commit.
2025-03-06 11:29:47 +00:00
Sadie Powell
2091dc68bc
Move REPRODUCIBLE_BUILD to sysconf.
2025-03-06 01:24:39 +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
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
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