catstodon/app
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
..
assets Update fr.jsx "clear" (Nettoyer peut-être ambigu) (#1987) 2017-04-17 15:15:14 +02:00
controllers Improve handling of HTTP_ACCEPT for webfinger (#2008) 2017-04-17 19:58:03 +02:00
helpers Add Brazilian Portuguese and fix European Portuguese (#1966) 2017-04-17 10:38:27 +02:00
lib Fix #1870 - Strip control characters out of strings in AtomSerializer (#1876) 2017-04-16 20:32:27 +02:00
mailers I18n health warnings (#1949) 2017-04-16 19:37:01 +02:00
models Required foreign keys (#2003) 2017-04-17 15:54:33 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
services Fix nil query_username (#2013) 2017-04-17 19:57:02 +02:00
validators Organize coverage dirs (#1695) 2017-04-13 16:00:31 +02:00
views Add mask-icon.svg (#1572) (#1585) 2017-04-17 10:39:54 +02:00
workers Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00