hometown/app/controllers/settings
Eugen Rochko 61ed133fea
Account archive download ()
* Fix : 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
..
exports Remove exports/base controller in favor of shared concern () 2017-05-30 19:06:01 +02:00
two_factor_authentication Redirect to 2FA creation page when otp_secret is not available () 2018-01-21 13:21:28 +01:00
applications_controller.rb Use checkboxes for application scope setting () 2017-08-23 15:16:20 +02:00
deletes_controller.rb setting-for-account-deletable () 2017-06-19 15:12:31 +02:00
exports_controller.rb Account archive download () 2018-02-21 23:21:32 +01:00
follower_domains_controller.rb Fix order of paginated accounts in FollowerDomainsController and spec () 2017-09-30 23:06:09 +02:00
imports_controller.rb Simplify render in controllers () 2017-04-19 15:37:42 +02:00
migrations_controller.rb Fix - Prevent nested migrated accounts, or migrations to self () 2017-12-14 21:35:30 +01:00
notifications_controller.rb Add option to block direct messages from people you don't follow () 2017-11-14 21:12:57 +01:00
preferences_controller.rb Add preference to always display sensitive media () 2018-02-09 00:26:57 +01:00
profiles_controller.rb authorize-follow-requests-after-unlocking () 2017-08-26 12:40:03 +02:00
sessions_controller.rb Add feature to revoke sessions () 2017-07-19 04:59:04 +02:00
two_factor_authentications_controller.rb Fix - Accept backup codes for disabling 2FA () 2017-07-26 23:36:33 +02:00