]> cat aescling's git repositories - mastodon.git/commit
Change local media attachments to perform heavy processing asynchronously (#13210)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 8 Mar 2020 22:56:18 +0000 (23:56 +0100)
committerGitHub <noreply@github.com>
Sun, 8 Mar 2020 22:56:18 +0000 (23:56 +0100)
commit9660aa4543deff41c60d131e081137f84e771499
tree8809339341484045802fa46526c798ad0e68fb2c
parent764b89939fe2fcb8c4389738af8685949104c144
Change local media attachments to perform heavy processing asynchronously (#13210)

Fix #9106
15 files changed:
app/controllers/api/v1/media_controller.rb
app/controllers/api/v2/media_controller.rb [new file with mode: 0644]
app/javascript/mastodon/actions/compose.js
app/models/concerns/attachmentable.rb
app/models/media_attachment.rb
app/serializers/rest/media_attachment_serializer.rb
app/services/post_status_service.rb
app/workers/backup_worker.rb
app/workers/post_process_media_worker.rb [new file with mode: 0644]
config/application.rb
config/locales/en.yml
config/routes.rb
db/migrate/20200306035625_add_processing_to_media_attachments.rb [new file with mode: 0644]
db/schema.rb
lib/paperclip/attachment_extensions.rb [new file with mode: 0644]