catstodon/app/controllers/settings
Andrew 0401a24558 Add support for multiple themes (#4959)
* Add support for selecting a theme

* Fix codeclimate issues

* Look up site default style if current user is not available due to e.g. not being logged in

* Remove outdated comment in common.js

* Address requested changes in themes PR

* Fix codeclimate issues

* Explicitly check current_account in application controller and only check theme availability if non-nil

* codeclimate

* explicit precedence with &&

* Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml

* codeclimate: indentation + return
2017-09-19 16:36:23 +02:00
..
exports Remove exports/base controller in favor of shared concern (#3444) 2017-05-30 19:06:01 +02:00
two_factor_authentication 2FA controller cleanup (#2296) 2017-04-22 04:23:17 +02:00
applications_controller.rb Use checkboxes for application scope setting (#4671) 2017-08-23 15:16:20 +02:00
deletes_controller.rb setting-for-account-deletable (#3852) 2017-06-19 15:12:31 +02:00
exports_controller.rb Settings export refactor (#1646) 2017-04-13 13:02:02 +02:00
follower_domains_controller.rb change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00
imports_controller.rb Simplify render in controllers (#2144) 2017-04-19 15:37:42 +02:00
preferences_controller.rb Add support for multiple themes (#4959) 2017-09-19 16:36:23 +02:00
profiles_controller.rb authorize-follow-requests-after-unlocking (#4658) 2017-08-26 12:40:03 +02:00
sessions_controller.rb Add feature to revoke sessions (#4259) 2017-07-19 04:59:04 +02:00
two_factor_authentications_controller.rb Fix #4026 - Accept backup codes for disabling 2FA (#4382) 2017-07-26 23:36:33 +02:00