Sadie Powell
dc09408f1a
Add a typedef for the serializable id.
2025-03-26 10:22:42 +00:00
Sadie Powell
49d86527ef
Initialize the db_flatfile LoadData stream reference from the ctor.
2025-03-26 09:32:29 +00:00
Sadie Powell
c60477384c
Add the db_json module.
2025-03-26 09:08:55 +00:00
Sadie Powell
25c3fd51b7
Fix a missing format argument in ns_maxemail.
2025-03-22 21:45:29 +00:00
Sadie Powell
a40eaeb2a3
Use a plural form translation for the ns_maxemail error.
2025-03-22 21:04:25 +00:00
Sadie Powell
e14a650cb9
Read the ns_maxemail limit as unsigned instead of int.
2025-03-22 21:02:52 +00:00
Sadie Powell
6401e328bb
Merge branch '2.0' into 2.1.
2025-03-22 20:52:25 +00:00
Sadie Powell
43dc6f7509
Fix ns_maxemail miscounting email addresses in some cases.
2025-03-22 20:19:50 +00:00
Sadie Powell
8f0ee6f383
Update more messages to use gettext plural forms.
2025-03-22 08:58:24 +00:00
Sadie Powell
1adbce61cb
Fix a semicolon that was missing from the previous commit.
2025-03-22 08:43:38 +00:00
Sadie Powell
fe60c9a085
Fix an unclear message in gl_queue.
2025-03-22 08:36:57 +00:00
Sadie Powell
39bb5825ad
Deduplicate requirename code in os_shutdown.
2025-03-22 08:33:21 +00:00
Sadie Powell
0a11bc7693
Merge branch '2.0' into 2.1.
2025-03-19 13:08:14 +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
1fc2642034
Make it clear that an ignore list is for memos in ms_ignore.
...
Closes #484 .
2025-03-19 09:55:32 +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
85fbc500d8
Simplify the requirename logic.
2025-03-17 11:23:19 +00:00
Sadie Powell
99bcc6d3b7
Improve the error reporting in os_shutdown.
2025-03-16 20:21:34 +00:00
Sadie Powell
3744649320
Move the RPC service interface to the RPC header.
2025-03-15 23:49:58 +00:00
Sadie Powell
5ac5e1068e
Use custom-cloak when setting the SASL hostname too.
2025-03-15 00:17:18 +00:00
Sadie Powell
0ebc43f0dc
Refactor the InspIRCd METADATA handler to actually be readable.
2025-03-14 23:21:42 +00:00
Sadie Powell
5ff86ea2c5
Implement support for the new way of setting vhosts on InspIRCd.
2025-03-14 19:45:43 +00:00
Sadie Powell
d0d46408bc
Improve JSON-RPC error messages.
2025-03-14 11:49:01 +00:00
Sadie Powell
fdc33b0f6d
Warn if enc_bcrypt is the first module and maxpasslen is >72.
2025-03-14 11:09:35 +00:00
Sadie Powell
6a43370e13
Deduplicate response building code in the jsonrpc module.
2025-03-13 16:01:16 +00:00
Sadie Powell
1fcd045aff
Fix the jsonrpc not having a root element one is not specified.
2025-03-13 15:49:33 +00:00
Sadie Powell
fd6770373f
Add the rpc_message module, remove the notice RPC event.
2025-03-13 15:12:47 +00:00
Sadie Powell
645f969d70
Fix sending global messages with the default sender.
2025-03-13 15:12:47 +00:00
Sadie Powell
3187233783
Fix setting keepbackups to 0 in db_flatfile.
2025-03-13 13:37:54 +00:00
Sadie Powell
8b932dc459
Fix a crash in the ns_sasl module.
...
Closes #481 .
2025-03-13 12:52:50 +00:00
Sadie Powell
a357ba38fb
Fix deleting old db_flatfile database backups.
2025-03-13 12:14:17 +00:00
Sadie Powell
ace82596d8
Fix a warning on Clang.
2025-03-13 10:43:37 +00:00
Sadie Powell
09e10d2a02
Add an ALLTIME handler on InspIRCd.
2025-03-13 10:39:14 +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
2b2b6f75a1
Fix the id data type in db_flatfile.
2025-03-12 00:55:21 +00:00
Sadie Powell
883367c1d2
Fix importing some data from 1.8.
2025-03-12 00:33:41 +00:00
Sadie Powell
64fd5a862a
Add an XML-RPC method to rpc_system for debugging RPC responses.
2025-03-10 13:03:29 +00:00
Sadie Powell
0ff170c671
Add a config option for disabling the i8 XML-RPC extension.
2025-03-10 12:48:13 +00:00
Sadie Powell
ea0d5c4d70
Add a config option for disabling the nil XML-RPC extension.
2025-03-10 12:48:13 +00:00
Sadie Powell
b96dbfc9ba
Fix a memory leak in the xmlrpc module.
2025-03-10 11:07:29 +00:00
Sadie Powell
b8c28419da
Add a missing override keyword.
2025-03-09 19:49:28 +00:00
Sadie Powell
1c4f9042e7
Simplify some weird logic in bs_bot.
2025-03-09 19:31:58 +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
1e8ac58bb4
Sync the chanserv defaults between the code and config.
2025-03-09 14:33:29 +00:00
Sadie Powell
c98602bf19
Fix various webcpanel bugs relating to nickname protection.
2025-03-08 14:45:26 +00:00
Sadie Powell
62bfa33464
Rework how nickname protection works.
...
- Rename the command and module from kill to protect (this command
hasn't actually killed users in a long time).
- Replace QUICK/IMMED with a duration option.
2025-03-08 14:07:15 +00:00
Sadie Powell
b4ab7dadb9
Use a C++11 lambda instead of a channel sorting method.
2025-03-08 12:41:22 +00:00
Sadie Powell
df0cd3ef3e
Move some headers around.
2025-03-08 12:22:07 +00:00