Automatically switch from open to approved registrations in absence of moderators (#29318)

This commit is contained in:
Claire 2024-02-21 18:45:06 +01:00 committed by GitHub
parent 08342ad40c
commit 2751acb6cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 109 additions and 0 deletions

View file

@ -966,6 +966,9 @@ en:
title: Webhooks
webhook: Webhook
admin_mailer:
auto_close_registrations:
body: Due to a lack of recent moderator activity, registrations on %{instance} have been automatically switched to requiring manual review, to prevent %{instance} from being used as a platform for potential bad actors. You can switch it back to open registrations at any time.
subject: Registrations for %{instance} have been automatically switched to requiring approval
new_appeal:
actions:
delete_statuses: to delete their posts

View file

@ -63,3 +63,7 @@
interval: 30 minutes
class: Scheduler::SoftwareUpdateCheckScheduler
queue: scheduler
auto_close_registrations_scheduler:
interval: 1 hour
class: Scheduler::AutoCloseRegistrationsScheduler
queue: scheduler