]> Untitled Git - lemmy.git/commit
Move code to apub library (#1795)
authorNutomic <me@nutomic.com>
Wed, 6 Oct 2021 20:20:05 +0000 (20:20 +0000)
committerGitHub <noreply@github.com>
Wed, 6 Oct 2021 20:20:05 +0000 (16:20 -0400)
commitb96ce81f8937994f96cc67c401b670e255b6870d
treed84cb12c51489be343ef9c2797d605441df4e6c7
parentfe7c1b300b114bff5fca3b8b52d364ed926b9b77
Move code to apub library (#1795)

* Remove dependency of apub_lib on LemmyContext

* Move ApubObject trait to library

* Reorganize files in apub lib

* Move ActorType, signatures, activity_queue to apub library
78 files changed:
Cargo.lock
Cargo.toml
api_tests/prepare-drone-federation-test.sh
crates/api_crud/Cargo.toml
crates/api_crud/src/community/create.rs
crates/api_crud/src/community/read.rs
crates/api_crud/src/user/read.rs
crates/apub/Cargo.toml
crates/apub/src/activities/comment/create_or_update.rs
crates/apub/src/activities/comment/mod.rs
crates/apub/src/activities/community/add_mod.rs
crates/apub/src/activities/community/announce.rs
crates/apub/src/activities/community/block_user.rs
crates/apub/src/activities/community/mod.rs
crates/apub/src/activities/community/remove_mod.rs
crates/apub/src/activities/community/undo_block_user.rs
crates/apub/src/activities/community/update.rs
crates/apub/src/activities/deletion/delete.rs
crates/apub/src/activities/deletion/mod.rs
crates/apub/src/activities/deletion/undo_delete.rs
crates/apub/src/activities/following/accept.rs
crates/apub/src/activities/following/follow.rs
crates/apub/src/activities/following/undo.rs
crates/apub/src/activities/mod.rs
crates/apub/src/activities/post/create_or_update.rs
crates/apub/src/activities/private_message/create_or_update.rs
crates/apub/src/activities/private_message/delete.rs
crates/apub/src/activities/private_message/undo_delete.rs
crates/apub/src/activities/send/community.rs [deleted file]
crates/apub/src/activities/send/mod.rs [deleted file]
crates/apub/src/activities/send/person.rs [deleted file]
crates/apub/src/activities/undo_remove.rs
crates/apub/src/activities/voting/undo_vote.rs
crates/apub/src/activities/voting/vote.rs
crates/apub/src/context.rs [moved from crates/apub/src/extensions/context.rs with 100% similarity]
crates/apub/src/extensions/mod.rs [deleted file]
crates/apub/src/fetcher/community.rs
crates/apub/src/fetcher/deletable_apub_object.rs
crates/apub/src/fetcher/fetch.rs
crates/apub/src/fetcher/mod.rs
crates/apub/src/fetcher/object_id.rs
crates/apub/src/fetcher/objects.rs [deleted file]
crates/apub/src/fetcher/person.rs [deleted file]
crates/apub/src/fetcher/post_or_comment.rs
crates/apub/src/fetcher/search.rs
crates/apub/src/http/community.rs
crates/apub/src/http/mod.rs
crates/apub/src/http/person.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/person.rs
crates/apub/src/objects/post.rs
crates/apub/src/objects/private_message.rs
crates/apub_lib/Cargo.toml
crates/apub_lib/src/activity_queue.rs [moved from crates/apub/src/activity_queue.rs with 53% similarity]
crates/apub_lib/src/data.rs [new file with mode: 0644]
crates/apub_lib/src/lib.rs
crates/apub_lib/src/signatures.rs [moved from crates/apub/src/extensions/signatures.rs with 95% similarity]
crates/apub_lib/src/traits.rs [new file with mode: 0644]
crates/apub_lib/src/values.rs [moved from crates/apub_lib/src/values/mod.rs with 100% similarity]
crates/apub_lib/src/verify.rs [new file with mode: 0644]
crates/apub_lib_derive/src/lib.rs
crates/db_queries/src/lib.rs
crates/db_queries/src/source/comment.rs
crates/db_queries/src/source/community.rs
crates/db_queries/src/source/person.rs
crates/db_queries/src/source/post.rs
crates/db_queries/src/source/private_message.rs
crates/db_schema/Cargo.toml
crates/db_schema/src/source/comment.rs
crates/db_schema/src/source/community.rs
crates/db_schema/src/source/person.rs
crates/db_schema/src/source/post.rs
crates/db_schema/src/source/private_message.rs
docker/federation/docker-compose.yml
src/main.rs