]> cat aescling's git repositories - mastodon.git/commit
Allow import/export of mutes list (#1541)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Wed, 12 Apr 2017 16:20:44 +0000 (12:20 -0400)
committerEugen <eugen@zeonfederated.com>
Wed, 12 Apr 2017 16:20:44 +0000 (18:20 +0200)
commit7f0a865b05628fa82ac692ec9a21c418e30dac14
tree9c6e38bf2a644bcf9aab6f1fdc7f275cb380891a
parent08fce0821706a3c84b70fd513eb75c0ad7014c04
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
13 files changed:
app/controllers/settings/exports/base_controller.rb [new file with mode: 0644]
app/controllers/settings/exports/blocked_accounts_controller.rb
app/controllers/settings/exports/following_accounts_controller.rb
app/controllers/settings/exports/muted_accounts_controller.rb [new file with mode: 0644]
app/controllers/settings/exports_controller.rb
app/models/import.rb
app/views/settings/exports/show.html.haml
app/workers/import_worker.rb
config/locales/en.yml
config/routes.rb
spec/controllers/settings/exports/blocked_accounts_controller_spec.rb
spec/controllers/settings/exports/following_accounts_controller_spec.rb
spec/controllers/settings/exports/muted_accounts_controller_spec.rb [new file with mode: 0644]