Merge branch 'main' into glitch-soc/merge-upstream
Conflicts: - `Gemfile.lock`: Not a real conflict, upstream-updated dependency (redis) textually too close to glitch-soc-only dependecy. Updated redis gem like upstream did.
This commit is contained in:
@@ -1254,6 +1254,7 @@ en:
|
||||
preferences: Preferences
|
||||
profile: Profile
|
||||
relationships: Follows and followers
|
||||
statuses_cleanup: Automated post deletion
|
||||
two_factor_authentication: Two-factor Auth
|
||||
webauthn_authentication: Security keys
|
||||
statuses:
|
||||
@@ -1305,6 +1306,40 @@ en:
|
||||
public_long: Everyone can see
|
||||
unlisted: Unlisted
|
||||
unlisted_long: Everyone can see, but not listed on public timelines
|
||||
statuses_cleanup:
|
||||
enabled: Automatically delete old posts
|
||||
enabled_hint: Automatically deletes your posts once they reach a specified age threshold, unless they match one of the exceptions below
|
||||
exceptions: Exceptions
|
||||
explanation: Because deleting posts is an expensive operation, this is done slowly over time when the server is not otherwise busy. For this reason, your posts may be deleted a while after they reach the age threshold.
|
||||
ignore_favs: Ignore favourites
|
||||
ignore_reblogs: Ignore boosts
|
||||
interaction_exceptions: Exceptions based on interactions
|
||||
interaction_exceptions_explanation: Note that there is no guarantee for posts to be deleted if they go below the favourite or boost threshold after having once gone over them.
|
||||
keep_direct: Keep direct messages
|
||||
keep_direct_hint: Doesn't delete any of your direct messages
|
||||
keep_media: Keep posts with media attachments
|
||||
keep_media_hint: Doesn't delete any of your posts that have media attachments
|
||||
keep_pinned: Keep pinned posts
|
||||
keep_pinned_hint: Doesn't delete any of your pinned posts
|
||||
keep_polls: Keep polls
|
||||
keep_polls_hint: Doesn't delete any of your polls
|
||||
keep_self_bookmark: Keep posts you bookmarked
|
||||
keep_self_bookmark_hint: Doesn't delete your own posts if you have bookmarked them
|
||||
keep_self_fav: Keep posts you favourited
|
||||
keep_self_fav_hint: Doesn't delete your own posts if you have favourited them
|
||||
min_age:
|
||||
'1209600': 2 weeks
|
||||
'15778476': 6 months
|
||||
'2629746': 1 month
|
||||
'31556952': 1 year
|
||||
'5259492': 2 months
|
||||
'63113904': 2 years
|
||||
'7889238': 3 months
|
||||
min_age_label: Age threshold
|
||||
min_favs: Keep posts favourited more than
|
||||
min_favs_hint: Doesn't delete any of your posts that has received more than this amount of favourites. Leave blank to delete posts regardless of their number of favourites
|
||||
min_reblogs: Keep posts boosted more than
|
||||
min_reblogs_hint: Doesn't delete any of your posts that has been boosted more than this number of times. Leave blank to delete posts regardless of their number of boosts
|
||||
stream_entries:
|
||||
pinned: Pinned post
|
||||
reblogged: boosted
|
||||
|
@@ -24,6 +24,7 @@ SimpleNavigation::Configuration.run do |navigation|
|
||||
|
||||
n.item :relationships, safe_join([fa_icon('users fw'), t('settings.relationships')]), relationships_url, if: -> { current_user.functional? }
|
||||
n.item :filters, safe_join([fa_icon('filter fw'), t('filters.index.title')]), filters_path, highlights_on: %r{/filters}, if: -> { current_user.functional? }
|
||||
n.item :statuses_cleanup, safe_join([fa_icon('history fw'), t('settings.statuses_cleanup')]), statuses_cleanup_url, if: -> { current_user.functional? }
|
||||
|
||||
n.item :security, safe_join([fa_icon('lock fw'), t('settings.account')]), edit_user_registration_url do |s|
|
||||
s.item :password, safe_join([fa_icon('lock fw'), t('settings.account_settings')]), edit_user_registration_url, highlights_on: %r{/auth/edit|/settings/delete|/settings/migration|/settings/aliases|/settings/login_activities}
|
||||
|
@@ -178,6 +178,7 @@ Rails.application.routes.draw do
|
||||
resources :invites, only: [:index, :create, :destroy]
|
||||
resources :filters, except: [:show]
|
||||
resource :relationships, only: [:show, :update]
|
||||
resource :statuses_cleanup, controller: :statuses_cleanup, only: [:show, :update]
|
||||
|
||||
get '/public', to: 'public_timelines#show', as: :public_timeline
|
||||
get '/media_proxy/:id/(*any)', to: 'media_proxy#show', as: :media_proxy
|
||||
|
@@ -57,3 +57,7 @@
|
||||
cron: '0 * * * *'
|
||||
class: Scheduler::InstanceRefreshScheduler
|
||||
queue: scheduler
|
||||
accounts_statuses_cleanup_scheduler:
|
||||
interval: 1 minute
|
||||
class: Scheduler::AccountsStatusesCleanupScheduler
|
||||
queue: scheduler
|
||||
|
Reference in New Issue
Block a user