chinwagsocial/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
2017-04-17 19:58:03 +02:00
..
admin I18n health warnings (#1949) 2017-04-16 19:37:01 +02:00
api ActiveRecord::NotFound is not defined (#1864) 2017-04-15 21:17:59 +02:00
auth Assign user locale on signup (#1982) 2017-04-17 10:29:08 +02:00
concerns Improve i18n chooser (#1804) 2017-04-15 01:12:39 +02:00
oauth Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
settings Add recovery code support for two-factor auth (#1773) 2017-04-15 13:26:03 +02:00
well_known Improve handling of HTTP_ACCEPT for webfinger (#2008) 2017-04-17 19:58:03 +02:00
about_controller.rb Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
accounts_controller.rb Pagination improvements (#1445) 2017-04-11 01:11:41 +02:00
api_controller.rb Do not store last visited URL from API controllers (#1330) 2017-04-09 22:21:52 +02:00
application_controller.rb Make file attachment on MediaAttachment optional (#1865) 2017-04-16 12:51:30 +02:00
authorize_follow_controller.rb Add validation of media attachments, clean up mastodon-own exception classes 2017-02-26 23:23:06 +01:00
home_controller.rb Onboarding modal (#1883) 2017-04-16 20:32:00 +02:00
media_controller.rb Fix #416 - Generate random unique 14-byte (19 characters) shortcodes 2017-01-06 00:29:12 +01:00
remote_follow_controller.rb Clean up generation of account webfinger string (#1477) 2017-04-10 22:58:06 +02:00
statuses_controller.rb Prettier account and stream entry URLs 2017-03-22 19:55:14 +01:00
stream_entries_controller.rb Simplify the way the embed view is created (#1590) 2017-04-12 16:12:42 +02:00
tags_controller.rb Fix public tags page 2016-12-04 16:56:45 +01:00