mastodon/spec/models
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
..
admin Add logging of admin actions ()
concerns Allow hiding of reblogs from followed users ()
form Improve admin page ()
web Web Push Notifications ()
account_domain_block_spec.rb Spec AccountDomainBlock ()
account_filter_spec.rb Add coverage for ReportFilter and AccountFilter ()
account_moderation_note_spec.rb Lists ()
account_spec.rb Rename ResolveRemoteAccountService to ResolveAccountService ()
backup_spec.rb Account archive download ()
block_spec.rb Cover Block more ()
conversation_mute_spec.rb Feature conversations muting ()
conversation_spec.rb Add conversation model, <ostatus:conversation /> ()
custom_emoji_spec.rb Add tests for CustomEmoji#local? and #object_type ()
domain_block_spec.rb Cover DomainBlock more ()
email_domain_block_spec.rb Add uniqueness to block email domains ()
export_spec.rb Cover Export more ()
favourite_spec.rb Cover Favourite more ()
follow_request_spec.rb Revert ()
follow_spec.rb Introduce recent to Follow ()
home_feed_spec.rb Lists ()
identity_spec.rb CAS + SAML authentication feature ()
import_spec.rb Validate data of Imports ()
invite_spec.rb Add consumable invites ()
list_account_spec.rb Lists ()
list_spec.rb Lists ()
media_attachment_spec.rb Save video metadata and improve video OpenGraph tags ()
mention_spec.rb
mute_spec.rb
notification_spec.rb Fix N+1 at notification ()
preview_card_spec.rb
remote_follow_spec.rb Remove empty strings ()
remote_profile_spec.rb Add tests for RemoteProfile ()
report_filter_spec.rb Add coverage for ReportFilter and AccountFilter ()
report_spec.rb Feat add validation for report comment: characters under 1000 valid ()
session_activation_spec.rb Add tests for SessionActivation ()
setting_spec.rb Isolate each specs for cache store ()
site_upload_spec.rb Add a test for SiteUpload#cache_key ()
status_pin_spec.rb Pinned statuses ()
status_spec.rb Add tests for Status#title ()
stream_entry_spec.rb Add tests for StreamEntry ()
subscription_spec.rb
tag_spec.rb Add a test for Tag#to_param ()
user_spec.rb Fix email confirmation link not updating email ()