Merge branch 'mastodon:main' into main

This commit is contained in:
John Haugabook 2024-02-23 12:15:21 -05:00 committed by GitHub
commit f4f5cbeea5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 0 deletions

View File

@ -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.
@ -852,6 +861,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`