Allow import/export of mutes list (#1541)
* Allow export of mutes list * Allow importing of mutes list * Refactor to use Settings::Exports::BaseController and DRY up exports code
This commit is contained in:
@ -76,6 +76,7 @@ en:
|
||||
x_seconds: "%{count}s"
|
||||
exports:
|
||||
blocks: You block
|
||||
mutes: You mute
|
||||
csv: CSV
|
||||
follows: You follow
|
||||
storage: Media storage
|
||||
@ -92,6 +93,7 @@ en:
|
||||
types:
|
||||
blocking: Blocking list
|
||||
following: Following list
|
||||
muting: Muting list
|
||||
upload: Upload
|
||||
landing_strip_html: <strong>%{name}</strong> is a user on <strong>%{domain}</strong>. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can <a href="%{sign_up_path}">sign up here</a>.
|
||||
media_attachments:
|
||||
|
@ -57,6 +57,7 @@ Rails.application.routes.draw do
|
||||
namespace :exports, constraints: { format: :csv } do
|
||||
resources :follows, only: :index, controller: :following_accounts
|
||||
resources :blocks, only: :index, controller: :blocked_accounts
|
||||
resources :mutes, only: :index, controller: :muted_accounts
|
||||
end
|
||||
|
||||
resource :two_factor_auth, only: [:show, :new, :create] do
|
||||
|
Reference in New Issue
Block a user