activitypub-academy/app
unarist c8580eb806 Use file extensions in addition to MIME types for file picker (#5029)
Currently we're using a list of MIME types for `accept` attribute on `input[type="file"]` for filter options of file picker, and actual file extensions will be infered by browsers. However, infered extensions may not include our expected items. For example, "image/jpeg" seems to be infered to
only ".jfif" extension in Firefox.

To ensure common file extensions are in the list, this PR adds file extensions in addition to MIME types. Also having items in both format is encouraged by HTML5 spec.

https://www.w3.org/TR/html5/forms.html#file-upload-state-(type=file)
2017-09-20 19:07:23 +02:00
..
controllers Use OrderedCollectionPage to return followers/following list (#4949) 2017-09-19 16:37:06 +02:00
helpers Fix filterable_languages method of SettingsHelper (#4966) 2017-09-16 14:59:41 +02:00
javascript Remove unnecessary css property (#5025) 2017-09-20 15:26:22 +02:00
lib Fix race condition when processing incoming OStatus messages (#5013) 2017-09-19 21:44:18 +02:00
mailers Set default From address in config (#3756) 2017-07-07 00:12:12 +02:00
models Use file extensions in addition to MIME types for file picker (#5029) 2017-09-20 19:07:23 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Use OrderedCollectionPage to return followers/following list (#4949) 2017-09-19 16:37:06 +02:00
serializers Use file extensions in addition to MIME types for file picker (#5029) 2017-09-20 19:07:23 +02:00
services Change IDs to strings rather than numbers in API JSON output (#5019) 2017-09-20 14:53:48 +02:00
validators Fix #4918 - Limit pinned toots to 5 (#4923) 2017-09-13 11:04:32 +02:00
views Add support for multiple themes (#4959) 2017-09-19 16:36:23 +02:00
workers Fix an error in ReplyDistributionWorker when replied status was deleted (#4974) 2017-09-16 18:18:00 +02:00