]> Untitled Git - lemmy.git/commit
Implement federated user following (fixes #752) (#2577)
authorNutomic <me@nutomic.com>
Wed, 23 Nov 2022 23:40:47 +0000 (23:40 +0000)
committerGitHub <noreply@github.com>
Wed, 23 Nov 2022 23:40:47 +0000 (18:40 -0500)
commitd20d2b9218235b46c6076554184052269c510ba3
tree4440e5f395698019cbb70e1e030902d0f1c626a8
parent4ddca46228cdbdfccfdc59b3295519a6da2d74fa
Implement federated user following (fixes #752) (#2577)

* Implement federated user following (fixes #752)

* rewrite send_activity_in_community and add docs, remove default for column pending

* improve migration

* replace null values in db migration
32 files changed:
crates/api/src/community/block.rs
crates/api/src/community/follow.rs
crates/apub/src/activities/block/block_user.rs
crates/apub/src/activities/block/undo_block_user.rs
crates/apub/src/activities/community/add_mod.rs
crates/apub/src/activities/community/mod.rs
crates/apub/src/activities/community/remove_mod.rs
crates/apub/src/activities/community/update.rs
crates/apub/src/activities/create_or_update/comment.rs
crates/apub/src/activities/create_or_update/post.rs
crates/apub/src/activities/deletion/mod.rs
crates/apub/src/activities/following/accept.rs
crates/apub/src/activities/following/follow.rs
crates/apub/src/activities/following/undo_follow.rs
crates/apub/src/activities/voting/undo_vote.rs
crates/apub/src/activities/voting/vote.rs
crates/apub/src/activity_lists.rs
crates/apub/src/fetcher/user_or_community.rs
crates/apub/src/objects/person.rs
crates/apub/src/protocol/activities/following/accept.rs
crates/apub/src/protocol/activities/following/follow.rs
crates/apub/src/protocol/activities/following/mod.rs
crates/apub/src/protocol/activities/following/undo_follow.rs
crates/apub/src/protocol/activities/mod.rs
crates/db_schema/src/impls/community.rs
crates/db_schema/src/impls/person.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/community.rs
crates/db_schema/src/source/person.rs
crates/db_schema/src/traits.rs
migrations/2022-11-21-204256_user-following/down.sql [new file with mode: 0644]
migrations/2022-11-21-204256_user-following/up.sql [new file with mode: 0644]