Sadie Powell
e6fcf3ffb3
Make being unable to write the database fatal as it was in db_flatifle.
2026-02-06 17:17:08 +00:00
Sadie Powell
db3f60292f
Fix importing the last used time of nicks in db_atheme.
2026-01-16 23:43:13 +00:00
Sadie Powell
bfb47ab5a6
Rework the interface for service references.
2026-01-10 21:23:23 +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
0ae67cb371
Rename Serializable::id to object_id to avoid conflicts.
2025-12-20 00:13:35 +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
6ce719437f
Rename an event for consistency.
2025-11-21 00:56:30 +00:00
Sadie Powell
9cc2ea8a56
Don't reload the main database when reloading a module.
2025-11-20 20:09:09 +00:00
Sadie Powell
fa0c6ba821
Consistently use the same header layout on all files.
2025-11-12 19:49:59 +00:00
Sadie Powell
1ce39c8e76
Add an option to not preserve old data in db_json.
2025-11-10 17:16:21 +00:00
Sadie Powell
168a1173ed
Error out when db_json can't find the backup directory.
2025-08-25 20:01:02 +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
928d4260dc
Allow db_flatfile to be loadable first to import databases.
2025-08-07 10:03:34 +01:00
Sadie Powell
b2d40d4189
Improve how Anope formats C strings.
2025-08-02 18:17:01 +01:00
Sadie Powell
1245b43ade
Require that users have a non-deprecated database module loaded.
2025-08-01 13:28:29 +01:00
Sadie Powell
5a3f9f3f87
Warn when a user loads a deprecated module.
2025-08-01 13:08:22 +01:00
Sadie Powell
2c6f4d7c27
Make db_flatfile import-only.
2025-08-01 12:41:27 +01:00
Sadie Powell
64f8449bf4
Banish db_old and enc_old to the shadow realm.
2025-08-01 12:41:27 +01:00
Sadie Powell
97389cd105
Rename some fields to be more accurately named.
2025-07-07 11:51:10 +01:00
Sadie Powell
2850e3c65c
Implement serializer hashing in db_json.
2025-06-21 00:31:02 +01:00
Sadie Powell
8b37cdb5d5
Make the access description more useful when importing from Atheme.
2025-06-17 14:50:36 +01:00
Sadie Powell
c5bff3a099
Fix various issues with language strings.
2025-06-16 12:30:42 +01:00
Sadie Powell
96a503b4d9
Fix a memory leak in the db_json module.
...
This reworks the module to store Data instead of a yyjson document
which does not free until yyjson_doc_free even if an array is cleared
(which annoyingly was only documented using a single comment in the
yyjson docs).
2025-06-05 22:01:45 +01:00
Sadie Powell
7c5d2c09fa
Be more specific in the generator field in db_json.
2025-05-11 17:16:35 +01:00
Sadie Powell
41e702d853
Prefix the special db_json columns with an @.
2025-05-11 16:52:46 +01:00
Sadie Powell
19f83eaa34
Fix loading databases in db_json.
2025-05-11 16:45:44 +01:00
Sadie Powell
010beb52b1
Store the setter and ts for all modes and try to restore them.
...
This is mostly for preserving channel list mode info.
2025-05-03 21:28:56 +01:00
Sadie Powell
f0b26c9b44
Drop support for Bahamut as it has no non-DALnet users.
...
Closes #438 .
2025-05-03 18:41:59 +01:00
Sadie Powell
f5a85c69d2
Remove time from the name of some variables where its obvious.
2025-04-19 22:53:49 +01:00
Sadie Powell
70bf013ef0
Allow syntax messages to take a predicate.
2025-04-19 16:54:26 +01:00
Sadie Powell
d815906393
Get rid of the internal block wrapper.
...
This only existed for compatibility with old 2.0 modules and 2.1
has already broken compatibility with them.
2025-04-19 12:49:06 +01:00
Sadie Powell
5eb13f4420
Use Anope::Template in db_json.
2025-04-15 13:04:09 +01:00
Sadie Powell
bd9d3b0f7d
Add support for monthly backups to db_json.
2025-04-15 13:00:34 +01:00
Sadie Powell
4024598bd8
Execute SQL updates atomically.
...
If the Serialize call alters any tables they would have previously
been missed here.
2025-03-30 13:01:13 +01:00
Sadie Powell
665b0fdef8
Refuse to import data that already exists in db_atheme.
2025-03-30 12:17:23 +01:00
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
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
3187233783
Fix setting keepbackups to 0 in db_flatfile.
2025-03-13 13:37:54 +00:00
Sadie Powell
a357ba38fb
Fix deleting old db_flatfile database backups.
2025-03-13 12:14:17 +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
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
df0cd3ef3e
Move some headers around.
2025-03-08 12:22:07 +00:00
Sadie Powell
9e37a643f1
Fix some minor issues with db_atheme error messages.
2025-03-07 12:34:19 +00:00