You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/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
7 years ago
..
exports Remove exports/base controller in favor of shared concern (#3444) 8 years ago
two_factor_authentication 2FA controller cleanup (#2296) 8 years ago
applications_controller.rb Use checkboxes for application scope setting (#4671) 7 years ago
deletes_controller.rb setting-for-account-deletable (#3852) 7 years ago
exports_controller.rb Settings export refactor (#1646) 8 years ago
follower_domains_controller.rb change sidekiq queueing to bulk push (#3536) 7 years ago
imports_controller.rb Simplify render in controllers (#2144) 8 years ago
preferences_controller.rb Add support for multiple themes (#4959) 7 years ago
profiles_controller.rb authorize-follow-requests-after-unlocking (#4658) 7 years ago
sessions_controller.rb Add feature to revoke sessions (#4259) 7 years ago
two_factor_authentications_controller.rb Fix #4026 - Accept backup codes for disabling 2FA (#4382) 7 years ago