]> cat aescling's git repositories - mastodon.git/commit
Prevent selection of unacceptable Content-Type files (#2910)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Mon, 8 May 2017 14:49:53 +0000 (23:49 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 8 May 2017 14:49:53 +0000 (16:49 +0200)
commit459bbfa4b21c20809a142c41c389b7a5edd28bd8
treea6ae031077452d36fd743873da888054e8f9034b
parent7140def5c9e49535d8ea13c8061a55588a348fda
Prevent selection of unacceptable Content-Type files (#2910)

* Prevent selection of unacceptable Content-Type files

* replace hard code

* media_attachments accept content-types in initial state
app/javascript/mastodon/features/compose/components/upload_button.js
app/javascript/mastodon/reducers/index.js
app/javascript/mastodon/reducers/media_attachments.js [new file with mode: 0644]
app/views/home/initial_state.json.rabl
app/views/settings/profiles/show.html.haml