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
Matt Jankowski 21a767dcfa Improve handling of HTTP_ACCEPT for webfinger (#2008)
This change includes:

- Improve the spec coverage for incoming request to the webfinger action
- For requests without an accept header (ie, what a browser might look like),
  return a JSON response.
- For requests with an explicit format of xml or json, return that format.
- For requests using an accept header, return that format.

Also adds failing spec showing webfinger does not return xml, which covers the
issue described in: https://github.com/tootsuite/mastodon/issues/1983
8 years ago
..
admin I18n health warnings (#1949) 8 years ago
api ActiveRecord::NotFound is not defined (#1864) 8 years ago
auth Assign user locale on signup (#1982) 8 years ago
concerns Improve i18n chooser (#1804) 8 years ago
oauth Fix #1165 - before_action was called before protect_from_forgery 8 years ago
settings Add recovery code support for two-factor auth (#1773) 8 years ago
well_known Improve handling of HTTP_ACCEPT for webfinger (#2008) 8 years ago
about_controller.rb Clean up about page (#1282) 8 years ago
accounts_controller.rb Pagination improvements (#1445) 8 years ago
api_controller.rb Do not store last visited URL from API controllers (#1330) 8 years ago
application_controller.rb Make file attachment on MediaAttachment optional (#1865) 8 years ago
authorize_follow_controller.rb Add validation of media attachments, clean up mastodon-own exception classes 8 years ago
home_controller.rb Onboarding modal (#1883) 8 years ago
media_controller.rb Fix #416 - Generate random unique 14-byte (19 characters) shortcodes 8 years ago
remote_follow_controller.rb Clean up generation of account webfinger string (#1477) 8 years ago
statuses_controller.rb Prettier account and stream entry URLs 8 years ago
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 8 years ago
tags_controller.rb Fix public tags page 8 years ago