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
Daniel Axtens 4d85c27d1a
Add 'private' to Cache-Control, match Rails expectations (#20608)
Several controlers set quite intricate Cache-Control headers in order to
hopefully not be cached by any intermediate proxies or local caches. Unfortunately,
these headers are processed by ActionDispatch::HTTP::Cache in a way that squashes
and discards any values set alongside no-store other than private:
8015c2c2cf/actionpack/lib/action_dispatch/http/cache.rb (L207-L209)

We want to preserve no-store on these responses, but we might as well remove
parts that are going to be dropped anyway. As many of the endpoints in these
controllers are private to a particular user, we should also add "private",
which will be preserved alongside no-store.
2 years ago
..
exports Add import/export feature for bookmarks (#14956) 4 years ago
migration Refactor settings controllers (#14767) 4 years ago
preferences Change /settings/preferences to redirect to appearance, add /settings/preferences/other (#10988) 6 years ago
two_factor_authentication Explicitly set userVerification to discoraged (#16545) 3 years ago
aliases_controller.rb Refactor settings controllers (#14767) 4 years ago
applications_controller.rb Refactor settings controllers (#14767) 4 years ago
base_controller.rb Add 'private' to Cache-Control, match Rails expectations (#20608) 2 years ago
deletes_controller.rb Remove setting that disables account deletes (#17683) 2 years ago
exports_controller.rb Refactor how Redis locks are created (#18400) 3 years ago
featured_tags_controller.rb Change featured hashtag deletion to be done synchronously (#19590) 2 years ago
imports_controller.rb Refactor settings controllers (#14767) 4 years ago
login_activities_controller.rb Add authentication history (#16408) 4 years ago
migrations_controller.rb Refactor settings controllers (#14767) 4 years ago
pictures_controller.rb Fix profile update not being sent on profile/header picture deletion (#15461) 4 years ago
preferences_controller.rb Remove digest e-mails (#17985) 2 years ago
profiles_controller.rb Add `/api/v1/accounts/familiar_followers` to REST API (#17700) 3 years ago
sessions_controller.rb Refactor settings controllers (#14767) 4 years ago
two_factor_authentication_methods_controller.rb Refactor settings controllers (#14767) 4 years ago