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
fa0c6ba821
Consistently use the same header layout on all files.
2025-11-12 19:49:59 +00:00
Sadie Powell
70de2b7de2
Move B64{Decode,Encode} to textproc and redesign their interface.
2025-08-08 12:27:28 +01:00
Sadie Powell
b2d40d4189
Improve how Anope formats C strings.
2025-08-02 18:17:01 +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
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
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
665b0fdef8
Refuse to import data that already exists in db_atheme.
2025-03-30 12:17:23 +01: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
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
Sadie Powell
b30bfb5d2b
Import misc channel and user metadata in db_atheme.
2025-03-07 12:31:42 +00:00
Sadie Powell
cccdf0431b
Don't warn when importing an external auth account from Atheme.
...
This happens when Atheme was using LDAP to authenticate users. We
will replace the temporary password at a later date if Anope is set
up to use LDAP too.
2025-03-06 23:31:56 +00:00
Sadie Powell
0005ebbbc3
Import logon and oper news from Atheme.
2025-03-06 23:05:38 +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
3af8f35d3a
Import more data from Atheme.
2025-02-05 00:46:52 +00:00
Sadie Powell
0a82366a6b
Merge branch '2.0' into 2.1.
2025-01-14 13:41:19 +00:00
Sadie Powell
347d82f59b
Qualify a use of auto in db_atheme.
2024-07-08 00:53:47 +01:00
Sadie Powell
a386439f86
Misc improvements to db_atheme.
2024-06-20 17:16:16 +01:00
Sadie Powell
016a5b3903
Fix importing Atheme mode locks.
2024-06-20 17:16:16 +01:00
Sadie Powell
60aeb2a71a
Silently ignore some Atheme metadata that we know we can't import.
2024-06-19 22:45:43 +01:00
Sadie Powell
54ea63df66
Avoid creating extra service references in db_atheme.
2024-06-19 22:44:31 +01:00
Sadie Powell
01fc3ea22e
Fix importing Atheme opers.
2024-06-19 22:44:31 +01:00
Sadie Powell
3388736fab
Use auto in more places in db_atheme.
2024-06-19 22:44:31 +01:00
Sadie Powell
0065a0f405
Only import clones from Atheme if we recognise the database version.
2024-06-19 22:44:16 +01:00
Sadie Powell
490f832dc0
Fix importing Atheme session limits.
2024-06-19 21:12:28 +01:00
Sadie Powell
a44acb6de5
Fix importing Atheme forbid reasons.
2024-06-19 20:31:55 +01:00
Sadie Powell
13e5ddf807
Fix importing Atheme akick reasons.
2024-06-19 20:22:57 +01:00
Sadie Powell
e42c728ab8
Log the channel that a mode lock was unable to be imported for.
2024-06-19 19:41:16 +01:00
Sadie Powell
4eec5c5435
Save the databases directly after importing.
2024-06-19 19:30:24 +01:00
Sadie Powell
4008e64f26
Store when the account name was registered in the NickCore.
2024-05-11 17:40:38 +01:00
Sadie Powell
fde3438ef2
Allow using absolute paths in more places.
2024-03-19 15:11:40 +00:00
Sadie Powell
5a72d8783e
Add verify-only support for POSIX crypt() hashes from Atheme.
2024-03-18 22:17:14 +00:00
Sadie Powell
753119c4a1
Use consistent casing when referring to vhosts and vidents.
2024-03-15 12:42:13 +00:00
Sadie Powell
29e7674e56
Replace convertTo/stringify with non-throwing alternatives.
...
Having these throw is terrible for ergonomics and there are loads
of places where the exception was either silently ignored or not
handled at all. Having a function which returns an optional and
another that returns a default works a lot better imo.
2024-03-11 19:17:29 +00:00
Sadie Powell
9a984a8148
Implement verify-only support for raw SHA-2 passwords.
2024-03-10 20:46:03 +00:00
Sadie Powell
9a8cac060d
Add support for encrypting passwords with the Argon2 algorithm.
...
Closes #369 .
2024-03-10 15:09:38 +00:00
Sadie Powell
12214bee72
Add the initial version of the Atheme database importer.
2024-03-07 18:50:36 +00:00