Commit Graph

7 Commits (7d2cd7195bfc53a3bf2b57359fcfcb570813fe3d)

Author SHA1 Message Date
ThibG 96c1e71329
Add import/export feature for bookmarks ()
* Add ability to export bookmarks

* Add support for importing bookmarks

* Add bookmark import tests

* Add bookmarks export test
Eugen Rochko 4e4b3a0c8e
Refactor settings controllers ()
- Disallow suspended accounts from revoking sessions and apps
- Allow suspended accounts to access exports
Eugen Rochko 7fc7437d05
Add CSV export for lists and domain blocks ()
Fix 
Fix 
Matt Jankowski 0ebe7d6d23 Remove exports/base controller in favor of shared concern ()
Matt Jankowski 0e39cc6a35 Settings export refactor ()
* Refactor Export to take an account and know about the export types

* Use Export instance in settings/exports#show
Matt Jankowski 7f0a865b05 Allow import/export of mutes list ()
* Allow export of mutes list

* Allow importing of mutes list

* Refactor to use Settings::Exports::BaseController and DRY up exports code
Matt Jankowski 3ddd936b03 Refactor exports controller ()
* Add basic coverage for settings/exports controller

* Remove unused @account variable from settings/exports controller

* Add coverage for download export actions

* Remove deprecated `render :text` in favor of `send_data` for csv downloads

* Add model to handle exports

* Use Export class in settings/exports controller

* Simplify settings/exports controller methods

* Move settings/export to more restful routes