[#1335] Refactored UserMute and UserBlock into UserRelationship, introduced EctoEnum.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 18 Nov 2019 17:38:56 +0000 (20:38 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 18 Nov 2019 17:38:56 +0000 (20:38 +0300)
commitaad6576130c3e47a5fcc102c736ce6414c0efd7a
tree192d52095e88bfe83196337dd5cfe7ccfaf3e13b
parent01d9c093c3fa06784ee24039c69b16e400dd0ebf
[#1335] Refactored UserMute and UserBlock into UserRelationship, introduced EctoEnum.
15 files changed:
lib/pleroma/ecto_enums.ex [new file with mode: 0644]
lib/pleroma/user.ex
lib/pleroma/user/search.ex
lib/pleroma/user_block.ex [deleted file]
lib/pleroma/user_mute.ex [deleted file]
lib/pleroma/user_relationship.ex [new file with mode: 0644]
lib/pleroma/web/streamer/worker.ex
mix.exs
mix.lock
priv/repo/migrations/20191108161911_create_user_blocks.exs [deleted file]
priv/repo/migrations/20191108173911_data_migration_populate_user_blocks.exs [deleted file]
priv/repo/migrations/20191112151559_create_user_mutes.exs [deleted file]
priv/repo/migrations/20191112151614_data_migration_populate_user_mutes.exs [deleted file]
priv/repo/migrations/20191118084425_create_user_relationships.exs [new file with mode: 0644]
priv/repo/migrations/20191118084500_data_migration_populate_user_relationships.exs [new file with mode: 0644]