mastodon-docker-playground/app/controllers
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
..
activitypub Fix response of signature_verification_failure_reason (#6441) 2018-02-08 05:00:45 +01:00
admin Add option to show only local toots in timeline preview (#6292) 2018-02-04 06:00:10 +01:00
api add parameter locked to /api/v1/update_credentials (#6506) 2018-02-18 22:57:53 +01:00
auth CAS + SAML authentication feature (#6425) 2018-02-04 05:42:13 +01:00
concerns Allow retrieval of private statuses (single or in outbox) using HTTP signatures (#6225) 2018-02-02 10:19:59 +01:00
oauth Fix #1165 - before_action was called before protect_from_forgery 2017-04-08 02:30:50 +02:00
settings Account archive download (#6460) 2018-02-21 23:21:32 +01:00
well_known Make host_meta/webfinger replies cacheable (fixes #6100) (#6101) 2017-12-27 18:21:12 +01:00
about_controller.rb Add option to show only local toots in timeline preview (#6292) 2018-02-04 06:00:10 +01:00
account_follow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
account_unfollow_controller.rb Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
accounts_controller.rb Cache JSON of immutable ActivityPub representations (#6171) 2018-01-04 01:21:38 +01:00
application_controller.rb pam authentication (#5303) 2018-02-02 10:18:55 +01:00
authorize_follows_controller.rb Rename ResolveRemoteAccountService to ResolveAccountService (#6327) 2018-01-22 14:25:09 +01:00
emojis_controller.rb Cache JSON of immutable ActivityPub representations (#6171) 2018-01-04 01:21:38 +01:00
follower_accounts_controller.rb Encode custom emojis as resolveable objects in ActivityPub (#5243) 2017-10-07 17:43:42 +02:00
following_accounts_controller.rb Encode custom emojis as resolveable objects in ActivityPub (#5243) 2017-10-07 17:43:42 +02:00
home_controller.rb When web UI URL used while logged out, redirect to static page (#4954) 2017-09-15 00:57:08 +02:00
intents_controller.rb Add protocol handler. Handle follow intents (#4511) 2017-08-14 04:53:31 +02:00
invites_controller.rb Add consumable invites (#5814) 2017-11-27 16:07:59 +01:00
manifests_controller.rb Make Chrome splash screen same color as web UI's background color (#5169) 2017-10-02 01:23:32 +02:00
media_controller.rb Save video metadata and improve video OpenGraph tags (#6481) 2018-02-16 07:22:20 +01:00
media_proxy_controller.rb Fix incomplete account records being read (#4998) 2017-09-19 06:53:16 +02:00
remote_follow_controller.rb Show mastodon on modal (#6129) 2018-01-02 05:07:56 +01:00
shares_controller.rb implement web share target (#6278) 2018-01-17 17:08:10 +01:00
statuses_controller.rb Allow retrieval of private statuses (single or in outbox) using HTTP signatures (#6225) 2018-02-02 10:19:59 +01:00
stream_entries_controller.rb Allow HTTP caching of atom-rendered public toots (OStatus compatibility) (#6207) 2018-02-02 10:54:04 +01:00
tags_controller.rb Redesign public hashtag pages (#5237) 2017-10-07 20:00:35 +02:00