]> cat aescling's git repositories - mastodon.git/commit
Do not autoplay videos, display play button instead. Use expiring links when using...
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 4 Dec 2016 11:26:12 +0000 (12:26 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 4 Dec 2016 11:28:10 +0000 (12:28 +0100)
commit80c44ed9c19855d494ab26011dca0f6fbc644d0c
treea14d280f0fa88bfa6e3ef97fff26d50a632471b3
parent290ffb63cdf4753bc30224619f182cc3db654e91
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also
make it private (aka only accessible via expiring links to prevent hotlinking)
18 files changed:
app/assets/javascripts/components/components/video_player.jsx
app/helpers/atom_builder_helper.rb
app/helpers/stream_entries_helper.rb
app/models/account.rb
app/models/media_attachment.rb
app/views/accounts/_grid_card.html.haml
app/views/accounts/_header.html.haml
app/views/accounts/show.atom.ruby
app/views/api/v1/accounts/show.rabl
app/views/api/v1/media/create.rabl
app/views/api/v1/statuses/_media.rabl
app/views/stream_entries/_status.html.haml
app/views/stream_entries/show.html.haml
config/initializers/paperclip.rb
public/avatars/medium/missing.png [deleted file]
public/avatars/original/missing.png [moved from public/avatars/large/missing.png with 100% similarity]
public/avatars/small/missing.png [deleted file]
spec/helpers/atom_builder_helper_spec.rb