From 96cd4f2173ef337e6162458de7a690c8ffedf5a6 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 23 Feb 2024 15:31:16 +0100 Subject: [PATCH 1/2] Add documentation for `ENABLE_SIDEKIQ_UNIQUE_JOBS_UI` (#1411) --- content/en/admin/config.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/content/en/admin/config.md b/content/en/admin/config.md index 39d29af7..92d8d7b6 100644 --- a/content/en/admin/config.md +++ b/content/en/admin/config.md @@ -852,6 +852,14 @@ This variable only has any effect when running `rake db:migrate` and it is extre #### `DEEPL_PLAN` +#### `ENABLE_SIDEKIQ_UNIQUE_JOBS_UI` + +Enable `sidekiq-unique-jobs`'s web interface. This can be used to review and clear the locks managed by this gem, but is rarely useful in practice and has had critical security vulnerabilities in the past. +If you only need to clear all locks, you can now use the newly-added `bundle exec rake sidekiq_unique_jobs:delete_all_locks`. + +**Version history:**\ +4.2.6 - added + #### `LIBRE_TRANSLATE_ENDPOINT` #### `LIBRE_TRANSLATE_API_KEY` From 899339ccad6ab1825a6cea773a0f4007dac95fa5 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 23 Feb 2024 15:31:36 +0100 Subject: [PATCH 2/2] Add documentation for `DISABLE_AUTOMATIC_SWITCHING_TO_APPROVED_REGISTRATIONS` (#1412) --- content/en/admin/config.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/en/admin/config.md b/content/en/admin/config.md index 92d8d7b6..dca13d17 100644 --- a/content/en/admin/config.md +++ b/content/en/admin/config.md @@ -86,6 +86,15 @@ As of Mastodon v4.0.0, the web app is now used to render all requests, even for If set to `true`, the front page of your Mastodon server will always redirect to the first profile in the database and registrations will be disabled. +#### `DISABLE_AUTOMATIC_SWITCHING_TO_APPROVED_REGISTRATIONS` + +In order to prevent abandoned Mastodon servers from being used for spam, harassment and other malicious activity, Mastodon will automatically switch new user registrations to require moderator approval whenever they are left open and no activity (including non-moderation actions from apps) from any logged-in user with permission to access moderation reports has been detected in a full week. When this happens, users with the permission to change server settings will receive an email notification. + +Setting `DISABLE_AUTOMATIC_SWITCHING_TO_APPROVED_REGISTRATIONS=true` disables this behavior. + +**Version history:**\ +4.2.8 - added + #### `DEFAULT_LOCALE` By default, Mastodon will automatically detect the visitor's language from browser headers and display the Mastodon interface in that language (if it's supported). If you are running a language-specific or regional server, that behavior may mislead visitors who do not speak your language into signing up on your server. For this reason, you may want to set this variable to a specific language.