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/spec/controllers
Claire 49219508bc
Fix anonymous access to outbox not being cached by the reverse proxy (#16458)
* Fix anonymous access to outbox not being cached by the reverse proxy

Up until now, anonymous access to outbox was marked as public, but with a
0 duration for caching, which means remote proxies would only serve from cache
when the server was completely overwhelmed.

Changed that cache duration to one minute, so that repeated anonymous access
to one account's outbox can be appropriately cached.

Also added `Signature` to the `Vary` header in case a page is requested, so
that authenticated fetches are never served from cache (which only contains
public toots).

* Remove Vary: Accept header from webfinger controller

Indeed, we have stopped returning xrd, and only ever return jrd, so the
Accept request header does not matter anymore.

* Cache negative webfinger hits for 3 minutes
4 years ago
..
activitypub Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
admin Add Ruby 3.0 support (#16046) 4 years ago
api Fix app name, website and redirect URIs not having a maximum length (#16042) 4 years ago
auth Change confirmations controller to redirect to / for approved users (#16151) 4 years ago
concerns Fix cache_collection crashing when given an empty collection (#15921) 4 years ago
oauth Bump doorkeeper from 5.3.3 to 5.4.0 (#13733) 5 years ago
settings Update Mastodon to Rails 6.1 (#15910) 4 years ago
well_known Fix anonymous access to outbox not being cached by the reverse proxy (#16458) 4 years ago
about_controller_spec.rb Compensate for scrollbar disappearing when media modal visible (#8100) 7 years ago
account_follow_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
account_unfollow_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
accounts_controller_spec.rb Prepare Mastodon for Rails 6 (#15911) 4 years ago
application_controller_spec.rb Update Mastodon to Rails 6.1 (#15910) 4 years ago
authorize_interactions_controller_spec.rb Change ResolveAccountService's handling of skip_webfinger (#15750) 4 years ago
emojis_controller_spec.rb Misc. typos (#8694) 6 years ago
follower_accounts_controller_spec.rb Fix serialization of followers/following counts when user hides their network (#16418) 4 years ago
following_accounts_controller_spec.rb Fix serialization of followers/following counts when user hides their network (#16418) 4 years ago
home_controller_spec.rb Fix blurhash and autoplay not working on public pages (#11585) 5 years ago
intents_controller_spec.rb Add remote interaction dialog for toots (#8202) 6 years ago
invites_controller_spec.rb Lint pass (#8876) 6 years ago
manifests_controller_spec.rb Use raw status code on have_http_status (#7214) 7 years ago
media_controller_spec.rb Fix media attachments enumeration (#14254) 5 years ago
media_proxy_controller_spec.rb Fix media attachments enumeration (#14254) 5 years ago
relationships_controller_spec.rb Remove PubSubHubbub-related columns from accounts table (#16170) 4 years ago
remote_follow_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
remote_interaction_controller_spec.rb Add specs for RemoteInteractionController (#9524) 6 years ago
shares_controller_spec.rb Fix blurhash and autoplay not working on public pages (#11585) 5 years ago
statuses_controller_spec.rb Add support for reversible suspensions through ActivityPub (#14989) 4 years ago
tags_controller_spec.rb Redesign public hashtag page to use a masonry layout (#9822) 6 years ago