]> Untitled Git - lemmy.git/commit
Rewrite collections to use new fetcher (#1861)
authorNutomic <me@nutomic.com>
Wed, 27 Oct 2021 16:03:07 +0000 (16:03 +0000)
committerGitHub <noreply@github.com>
Wed, 27 Oct 2021 16:03:07 +0000 (12:03 -0400)
commit61189efe7206add1cdf3bcf8649736b0bbb5a757
tree54944630d4ea357df226db59c577ef7ce954d7a1
parentd9ecabee87a82dbc7f9284a5c87ba4ed5a2e67ca
Rewrite collections to use new fetcher (#1861)

* Merge traits ToApub and FromApub into ApubObject

* Rewrite community outbox to use new fetcher

* Rewrite community moderators collection

* Rewrite tombstone
31 files changed:
.cargo-husky/hooks/pre-commit
Cargo.lock
crates/apub/Cargo.toml
crates/apub/src/activities/comment/create_or_update.rs
crates/apub/src/activities/community/update.rs
crates/apub/src/activities/post/create_or_update.rs
crates/apub/src/activities/private_message/create_or_update.rs
crates/apub/src/collections/community_moderators.rs [new file with mode: 0644]
crates/apub/src/collections/community_outbox.rs [new file with mode: 0644]
crates/apub/src/collections/mod.rs [new file with mode: 0644]
crates/apub/src/fetcher/community.rs [deleted file]
crates/apub/src/fetcher/fetch.rs [deleted file]
crates/apub/src/fetcher/mod.rs
crates/apub/src/fetcher/object_id.rs
crates/apub/src/fetcher/post_or_comment.rs
crates/apub/src/fetcher/search.rs
crates/apub/src/http/comment.rs
crates/apub/src/http/community.rs
crates/apub/src/http/person.rs
crates/apub/src/http/post.rs
crates/apub/src/http/routes.rs
crates/apub/src/lib.rs
crates/apub/src/objects/comment.rs
crates/apub/src/objects/community.rs
crates/apub/src/objects/mod.rs
crates/apub/src/objects/person.rs
crates/apub/src/objects/post.rs
crates/apub/src/objects/private_message.rs
crates/apub/src/objects/tombstone.rs [new file with mode: 0644]
crates/apub_lib/src/traits.rs
crates/db_schema/src/impls/community.rs