1
0
Fork 0
forked from fedi/mastodon
mastodon/app/javascript/images
Eugen Rochko 61ed133fea
Account archive download (#6460)
* Fix #201: Account archive download

* Export actor and private key in the archive

* Optimize BackupService

- Add conversation to cached associations of status, because
  somehow it was forgotten and is source of N+1 queries
- Explicitly call GC between batches of records being fetched
  (Model class allocations are the worst offender)
- Stream media files into the tar in 1MB chunks
  (Do not allocate media file (up to 8MB) as string into memory)
- Use #bytesize instead of #size to calculate file size for JSON
  (Fix FileOverflow error)
- Segment media into subfolders by status ID because apparently
  GIF-to-MP4 media are all named "media.mp4" for some reason

* Keep uniquely generated filename in Paperclip::GifTranscoder

* Ensure dumped files do not overwrite each other by maintaing directory partitions

* Give tar archives a good name

* Add scheduler to remove week-old backups

* Fix code style issue
2018-02-21 23:21:32 +01:00
..
mailer Account archive download (#6460) 2018-02-21 23:21:32 +01:00
elephant-fren.png Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
elephant_ui_disappointed.svg Fix home regeneration (#6251) 2018-01-17 23:56:03 +01:00
elephant_ui_greeting.svg Restore onboarding modal (#6303) 2018-01-20 01:32:37 +01:00
elephant_ui_plane.svg Replace drawer elephant graphic with a vector image (#6286) 2018-01-19 15:25:27 +01:00
elephant_ui_working.svg Fix home regeneration (#6251) 2018-01-17 23:56:03 +01:00
icon_cached.svg Use better reblog icon and improve contrast in HTML e-mails (#6272) 2018-01-17 14:12:59 +01:00
icon_done.svg Replace tutorial modal with welcome e-mail (#6273) 2018-01-18 19:17:25 +01:00
icon_email.svg HTML e-mails for UserMailer (#6256) 2018-01-16 03:29:11 +01:00
icon_file_download.svg Account archive download (#6460) 2018-02-21 23:21:32 +01:00
icon_grade.svg HTML e-mails for NotificationMailer (#6263) 2018-01-16 20:20:15 +01:00
icon_lock_open.svg HTML e-mails for UserMailer (#6256) 2018-01-16 03:29:11 +01:00
icon_person_add.svg HTML e-mails for NotificationMailer (#6263) 2018-01-16 20:20:15 +01:00
icon_reply.svg HTML e-mails for NotificationMailer (#6263) 2018-01-16 20:20:15 +01:00
logo.svg Remove redundant width/height values from SVGs to fix Safari bug (#4956) 2017-09-15 00:51:00 +02:00
logo_alt.svg Remove redundant width/height values from SVGs to fix Safari bug (#4956) 2017-09-15 00:51:00 +02:00
logo_full.svg Remove redundant width/height values from SVGs to fix Safari bug (#4956) 2017-09-15 00:51:00 +02:00
logo_transparent.svg HTML e-mails for UserMailer (#6256) 2018-01-16 03:29:11 +01:00
preview.jpg Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
void.png Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00