1
0
puyopuyotetr.is/spec
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
..
controllers Fix response of signature_verification_failure_reason (#6441) 2018-02-08 05:00:45 +01:00
fabricators Account archive download (#6460) 2018-02-21 23:21:32 +01:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures Added FetchRemoteAccountService spec (#6456) 2018-02-10 17:10:57 +01:00
helpers Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
lib Improve performance of feed_manager_spec (#6517) 2018-02-20 16:50:12 +01:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Account archive download (#6460) 2018-02-21 23:21:32 +01:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
requests Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Added fetch_remote_status_service call spec case actibitypub (#6500) 2018-02-18 16:34:03 +01:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Count all URLs in text as 23 characters flat, do not count domain part of usernames (#4427) 2017-07-29 00:06:29 +02:00
views Uploads for admin site settings (#4913) 2017-09-14 00:04:30 +02:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb Isolate each specs for cache store (#6450) 2018-02-17 22:35:05 +01:00
spec_helper.rb Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00