Commit Graph

57 Commits (2f90a38f44c9c414a2020b2a0031835f3335fea0)

Author SHA1 Message Date
Matt Jankowski ee0c897bba User settings mutation ()
* Add user spec for settings, highlight global default mutation issue

* Fix mutation issue caused by settings/preferences spec
Matt Jankowski 2dda356e3f Clean up settings/preferences controller ()
* Add missing fields group on preferences page

* Clean up settings/preferences controller

* Extract a UserSettingsDecorator
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
Matt Jankowski 89e8e110c8 Imports controller errors ()
* Add spec for settings/imports controller

* Add failing spec for settings/imports#create

* Fix broken imports

* Refactor ImportWorker
Eugen Rochko 7a6d95f70c E-mail preferences page