Refactor Follows/Followers counter syncronization
authorrinpatch <rinpatch@sdf.org>
Sat, 13 Jul 2019 16:17:57 +0000 (19:17 +0300)
committerrinpatch <rinpatch@sdf.org>
Sat, 13 Jul 2019 16:27:49 +0000 (19:27 +0300)
commite8fa477793e1395664f79d572800f11994cdd38d
tree56f2fac12d6034bf79e802f9a4783226edec4202
parent02cdedbf9fdf27d8dca78caf75f6413cd2566e3e
Refactor Follows/Followers counter syncronization

- Actually sync counters in the database instead of info cache (which got
overriden after user update was finished anyway)
- Add following count field to user info
- Set hide_followers/hide_follows for remote users based on http status
codes for the first collection page
config/test.exs
lib/pleroma/object/fetcher.ex
lib/pleroma/user.ex
lib/pleroma/user/info.ex
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/transmogrifier.ex
test/web/activity_pub/transmogrifier_test.exs