mastodon/app/views
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
..
about Unify links container implementation in about pages (#6382) 2018-02-02 10:32:21 +01:00
accounts Revert #5772 (#6221) 2018-01-08 10:57:52 +01:00
admin Add option to show only local toots in timeline preview (#6292) 2018-02-04 06:00:10 +01:00
admin_mailer Make salutation of email localizable (#4454) 2017-07-31 00:18:44 +02:00
application
auth Fix password recovery (#6459) 2018-02-10 17:09:44 +01:00
authorize_follows Resolve URL for local account in follow authorization success view (#6324) 2018-01-22 14:22:14 +01:00
errors New error page graphic. Other error page improvements (#5099) 2017-09-25 23:05:54 +02:00
follower_accounts
following_accounts
home Add ServiceWorker caching for static assets (#5524) 2017-10-31 12:25:51 +01:00
invites Fix invites form path (#5861) 2017-12-01 12:26:57 +01:00
kaminari
layouts Add direction tags to HTML e-mails for RTL languages (#6373) 2018-01-29 00:22:20 +01:00
media Save video metadata and improve video OpenGraph tags (#6481) 2018-02-16 07:22:20 +01:00
notification_mailer Add direction tags to HTML e-mails for RTL languages (#6373) 2018-01-29 00:22:20 +01:00
oauth Oauth code in input form and add description message (#4986) 2017-09-17 15:23:44 +02:00
remote_follow
settings Account archive download (#6460) 2018-02-21 23:21:32 +01:00
shared fix presented og:url is incorrect (#5320) 2017-10-11 19:22:21 +02:00
shares Add protocol handler. Handle follow intents (#4511) 2017-08-14 04:53:31 +02:00
stream_entries Save video metadata and improve video OpenGraph tags (#6481) 2018-02-16 07:22:20 +01:00
tags Back to Web UI from tag page when signed in (#5943) 2017-12-09 14:19:07 +01:00
user_mailer Account archive download (#6460) 2018-02-21 23:21:32 +01:00
well_known Remove rabl dependency (#5894) 2017-12-06 15:04:49 +09:00