]> cat aescling's git repositories - mastodon.git/commit
Fix #431 - convert gif to webm during upload. Web UI treats them like it did
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 4 Mar 2017 21:17:10 +0000 (22:17 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 4 Mar 2017 22:02:24 +0000 (23:02 +0100)
commitcaf5b8e9757679b93b9a34b0c55f43cb47910201
tree6d1dde88a9e086190dea20a3d8b7935afe8ae71c
parent4cbeb9a7eb4d24cfa1fd2ce6e4a2e731c486925d
Fix #431 - convert gif to webm during upload. Web UI treats them like it did
before. In the API, attachments now can be either image, video or gifv. Gifv
is to be treated like images in terms of behaviour, but are videos by file
type.
17 files changed:
app/assets/javascripts/components/actions/accounts.jsx
app/assets/javascripts/components/components/extended_video_player.jsx [new file with mode: 0644]
app/assets/javascripts/components/components/media_gallery.jsx
app/assets/javascripts/components/components/status.jsx
app/assets/javascripts/components/components/video_player.jsx
app/assets/javascripts/components/features/status/components/detailed_status.jsx
app/assets/javascripts/components/features/ui/containers/modal_container.jsx
app/assets/stylesheets/stream_entries.scss
app/models/media_attachment.rb
app/views/api/v1/media/create.rabl
app/views/stream_entries/_detailed_status.html.haml
app/views/stream_entries/_media.html.haml [new file with mode: 0644]
app/views/stream_entries/_simple_status.html.haml
config/application.rb
db/migrate/20170304202101_add_type_to_media_attachments.rb [new file with mode: 0644]
db/schema.rb
lib/paperclip/gif_transcoder.rb [new file with mode: 0644]