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
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)
7 years ago
..
controllers Use OrderedCollectionPage to return followers/following list (#4949) 7 years ago
helpers Fix filterable_languages method of SettingsHelper (#4966) 8 years ago
javascript Remove unnecessary css property (#5025) 7 years ago
lib Fix race condition when processing incoming OStatus messages (#5013) 7 years ago
mailers Set default From address in config (#3756) 8 years ago
models Use file extensions in addition to MIME types for file picker (#5029) 7 years ago
policies Add status destroy authorization to policy (#3453) 8 years ago
presenters Use OrderedCollectionPage to return followers/following list (#4949) 7 years ago
serializers Use file extensions in addition to MIME types for file picker (#5029) 7 years ago
services Change IDs to strings rather than numbers in API JSON output (#5019) 7 years ago
validators Fix #4918 - Limit pinned toots to 5 (#4923) 8 years ago
views Add support for multiple themes (#4959) 7 years ago
workers Fix an error in ReplyDistributionWorker when replied status was deleted (#4974) 8 years ago