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/models
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
..
concerns Fix #4908 - Do not keep remote file names, generate random (#4934) 7 years ago
form Default follows for new users (#4871) 7 years ago
web
account.rb Add instance search feature (#4925) 7 years ago
account_domain_block.rb
account_filter.rb
application_record.rb
block.rb
context.rb
conversation.rb
conversation_mute.rb
custom_emoji.rb Custom emoji (#4988) 7 years ago
domain_block.rb
export.rb
favourite.rb
feed.rb
follow.rb
follow_request.rb
import.rb
instance.rb
instance_filter.rb Add instance search feature (#4925) 7 years ago
media_attachment.rb Use file extensions in addition to MIME types for file picker (#5029) 7 years ago
mention.rb
mute.rb
notification.rb
preview_card.rb
remote_follow.rb
remote_profile.rb Introduce OStatus::TagManager (#5008) 7 years ago
report.rb
report_filter.rb
search.rb
session_activation.rb
setting.rb
site_upload.rb Uploads for admin site settings (#4913) 7 years ago
status.rb Custom emoji (#4988) 7 years ago
status_pin.rb
stream_entry.rb
subscription.rb
tag.rb
user.rb Add support for multiple themes (#4959) 7 years ago
web.rb