1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00
mastodon/spec
Eugen Rochko a7d726c383
Improve counter caches on Status and Account (#7644)
Do not touch statuses_count on accounts table when mass-destroying
statuses to reduce load when removing accounts, same for
reblogs_count and favourites_count

Do not count statuses with direct visibility in statuses_count

Fix #828
2018-05-30 02:50:23 +02:00
..
controllers Add a test for emojis_controller (#7652) 2018-05-28 22:56:58 +09:00
fabricators Add tests for report notes controller (#7589) 2018-05-22 14:45:10 +02:00
features Add scenarios for log in (#3497) 2017-06-01 17:25:59 +02:00
fixtures Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
helpers Append '.test' to hostname in stub data (#7260) 2018-04-25 14:12:28 +02:00
lib Resolve unknown status from Add activity, skip Remove if unknown (#7526) 2018-05-18 11:33:56 +02:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Improve counter caches on Status and Account (#7644) 2018-05-30 02:50:23 +02: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 Use raw status code on have_http_status (#7214) 2018-04-21 21:35:07 +02:00
routing Move create/destroy actions for api/v1/statuses to namespace (#3678) 2017-06-10 09:39:26 +02:00
services Take the first recognized actor_type. (#7410) 2018-05-08 13:30:04 +02:00
support Remove empty strings (#5732) 2017-11-17 10:52:30 +09:00
validators Add a spec for UniqueUsernameValidator (#6927) 2018-03-27 05:22:58 +02:00
views Paginate descendant statuses in public page (#7148) 2018-04-23 19:27:35 +02:00
workers Lists (#5703) 2017-11-18 00:16:48 +01:00
rails_helper.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
spec_helper.rb Disable simplecov on CircleCI (#7416) 2018-05-09 16:59:58 +02:00