Merge branch 'main' into glitch-soc/merge-upstream

Conflicts:
- `README.md`:
  Discarded upstream changes: we have our own README
- `app/controllers/follower_accounts_controller.rb`:
  Port upstream's minor refactoring
This commit is contained in:
Claire
2022-12-15 20:25:25 +01:00
103 changed files with 1228 additions and 274 deletions

View File

@@ -93,6 +93,7 @@ module Mastodon
:fa,
:fi,
:fr,
:fy,
:ga,
:gd,
:gl,

View File

@@ -159,7 +159,7 @@ Devise.setup do |config|
# config.request_keys = []
# Configure which authentication keys should be case-insensitive.
# These keys will be downcased upon creating or modifying a user and when used
# These keys will be lowercased upon creating or modifying a user and when used
# to authenticate or find a user. Default is :email.
config.case_insensitive_keys = [:email]

View File

@@ -149,9 +149,19 @@ en:
scopes:
admin:read: read all data on the server
admin:read:accounts: read sensitive information of all accounts
admin:read:canonical_email_blocks: read sensitive information of all canonical email blocks
admin:read:domain_allows: read sensitive information of all domain allows
admin:read:domain_blocks: read sensitive information of all domain blocks
admin:read:email_domain_blocks: read sensitive information of all email domain blocks
admin:read:ip_blocks: read sensitive information of all IP blocks
admin:read:reports: read sensitive information of all reports and reported accounts
admin:write: modify all data on the server
admin:write:accounts: perform moderation actions on accounts
admin:write:canonical_email_blocks: perform moderation actions on canonical email blocks
admin:write:domain_allows: perform moderation actions on domain allows
admin:write:domain_blocks: perform moderation actions on domain blocks
admin:write:email_domain_blocks: perform moderation actions on email domain blocks
admin:write:ip_blocks: perform moderation actions on IP blocks
admin:write:reports: perform moderation actions on reports
crypto: use end-to-end encryption
follow: modify account relationships

View File

@@ -116,6 +116,8 @@ en:
redownloaded_msg: Successfully refreshed %{username}'s profile from origin
reject: Reject
rejected_msg: Successfully rejected %{username}'s sign-up application
remote_suspension_irreversible: The data of this account has been irreversibly deleted.
remote_suspension_reversible_hint_html: The account has been suspended on their server, and the data will be fully removed on %{date}. Until then, the remote server can restore this account without any ill effects. If you wish to remove all of the account's data immediately, you can do so below.
remove_avatar: Remove avatar
remove_header: Remove header
removed_avatar_msg: Successfully removed %{username}'s avatar image
@@ -555,13 +557,12 @@ en:
pending: Waiting for relay's approval
save_and_enable: Save and enable
setup: Setup a relay connection
signatures_not_enabled: Relays will not work correctly while secure mode or limited federation mode is enabled
signatures_not_enabled: Relays may not work correctly while secure mode or limited federation mode is enabled
status: Status
title: Relays
report_notes:
created_msg: Report note successfully created!
destroyed_msg: Report note successfully deleted!
today_at: Today at %{time}
reports:
account:
notes:
@@ -974,6 +975,9 @@ en:
email_below_hint_html: If the below e-mail address is incorrect, you can change it here and receive a new confirmation e-mail.
email_settings_hint_html: The confirmation e-mail was sent to %{email}. If that e-mail address is not correct, you can change it in account settings.
title: Setup
sign_in:
preamble_html: Sign in with your <strong>%{domain}</strong> credentials. If your account is hosted on a different server, you will not be able to log in here.
title: Sign in to %{domain}
sign_up:
preamble: With an account on this Mastodon server, you'll be able to follow any other person on the network, regardless of where their account is hosted.
title: Let's get you set up on %{domain}.

View File

@@ -1,5 +1,5 @@
---
:concurrency: 5
:concurrency: <%= ENV.fetch('SIDEKIQ_CONCURRENCY', 5) %>
:queues:
- [default, 8]
- [push, 6]

View File

@@ -34,6 +34,12 @@ module.exports = merge(sharedConfig, {
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
}),
new CompressionPlugin({
filename: '[path][base].br[query]',
algorithm: 'brotliCompress',
cache: true,
test: /\.(js|css|html|json|ico|svg|eot|otf|ttf|map)$/,
}),
new BundleAnalyzerPlugin({ // generates report.html
analyzerMode: 'static',
openAnalyzer: false,