Merge branch 'following-relationships-optimizations' into 'develop'
authorrinpatch <rinpatch@sdf.org>
Sat, 11 Apr 2020 19:46:04 +0000 (19:46 +0000)
committerrinpatch <rinpatch@sdf.org>
Fri, 1 May 2020 11:31:26 +0000 (14:31 +0300)
commit138e6ece1b4185fbe8d8a8f7873ae0c3ee0837e6
tree239b7e454bb684a7156ddbb918f4b0188276035c
parentfb9ec885cc96e51bd7703d98d8e41305ead56b9e
Merge branch 'following-relationships-optimizations' into 'develop'

FollowingRelationship storage & performance optimizations

See merge request pleroma/pleroma!2332
16 files changed:
lib/pleroma/ecto_enums.ex
lib/pleroma/following_relationship.ex
lib/pleroma/user.ex
lib/pleroma/user/query.ex
lib/pleroma/user_relationship.ex
lib/pleroma/web/activity_pub/transmogrifier.ex
lib/pleroma/web/common_api/common_api.ex
priv/repo/migrations/20200328124805_change_following_relationships_state_to_integer.exs [new file with mode: 0644]
priv/repo/migrations/20200328130139_add_following_relationships_following_id_index.exs [new file with mode: 0644]
test/following_relationship_test.exs
test/tasks/user_test.exs
test/user_test.exs
test/web/activity_pub/transmogrifier_test.exs
test/web/common_api/common_api_test.exs
test/web/mastodon_api/controllers/follow_request_controller_test.exs
test/web/streamer/streamer_test.exs