Commit graph

7 commits

Author SHA1 Message Date
Armaël Guéneau
f8375ca188 Perform destructive actions only when ACTUALLY_BAN_USERS=true 2024-12-20 21:35:33 +01:00
Armaël Guéneau
dcbe528c64 Move "lock account + send email" to a worker with retries 2024-12-20 20:48:16 +01:00
Armaël Guéneau
4f896d8ada run workers on startup instead of sleeping first 2024-12-20 10:19:56 +01:00
Armaël Guéneau
d4af61fb35 WIP: lock spam accounts then delete after a grace period 2024-12-19 15:47:32 +01:00
Armaël Guéneau
45ff1f3ea5 cargo fmt 2024-12-19 12:50:16 +01:00
Armaël Guéneau
8f2bc7ebc6 Store the tim a user was classified as spam in the database 2024-12-19 12:23:54 +01:00
Armaël Guéneau
6a23483073 refactor: move the refresh job to a separate file 2024-12-18 17:05:43 +01:00