]> Untitled Git - lemmy.git/commit
Reorganize federation tests (#2092)
authorNutomic <me@nutomic.com>
Thu, 17 Feb 2022 22:04:01 +0000 (22:04 +0000)
committerGitHub <noreply@github.com>
Thu, 17 Feb 2022 22:04:01 +0000 (22:04 +0000)
commit762b85b27e812856f65933a182188e7102617aae
treef7f01b58bad7e7c54e46acaa4351ee4283024a37
parente094989a4c6baaa637a0ab1c63179706c5a3bc6c
Reorganize federation tests (#2092)

* Reorganize apub protocol tests

* Reorder apub protocol struct members to clarify mandatory/optional fields
47 files changed:
crates/apub/assets/lemmy/objects/instance.json
crates/apub/assets/lemmy/objects/person.json
crates/apub/assets/mastodon/activities/create_note.json
crates/apub/assets/mastodon/activities/follow.json [new file with mode: 0644]
crates/apub/assets/mastodon/activities/undo_follow.json [new file with mode: 0644]
crates/apub/assets/smithereen/objects/note.json
crates/apub/src/collections/community_moderators.rs
crates/apub/src/objects/comment.rs
crates/apub/src/objects/community.rs
crates/apub/src/objects/instance.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/protocol/activities/block/block_user.rs
crates/apub/src/protocol/activities/block/mod.rs
crates/apub/src/protocol/activities/block/undo_block_user.rs
crates/apub/src/protocol/activities/community/add_mod.rs
crates/apub/src/protocol/activities/community/announce.rs
crates/apub/src/protocol/activities/community/mod.rs
crates/apub/src/protocol/activities/community/remove_mod.rs
crates/apub/src/protocol/activities/community/report.rs
crates/apub/src/protocol/activities/community/update.rs
crates/apub/src/protocol/activities/create_or_update/comment.rs
crates/apub/src/protocol/activities/create_or_update/mod.rs
crates/apub/src/protocol/activities/create_or_update/post.rs
crates/apub/src/protocol/activities/create_or_update/private_message.rs
crates/apub/src/protocol/activities/deletion/delete.rs
crates/apub/src/protocol/activities/deletion/mod.rs
crates/apub/src/protocol/activities/deletion/undo_delete.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/apub/src/protocol/activities/voting/mod.rs
crates/apub/src/protocol/activities/voting/undo_vote.rs
crates/apub/src/protocol/activities/voting/vote.rs
crates/apub/src/protocol/collections/mod.rs
crates/apub/src/protocol/mod.rs
crates/apub/src/protocol/objects/chat_message.rs
crates/apub/src/protocol/objects/group.rs
crates/apub/src/protocol/objects/instance.rs
crates/apub/src/protocol/objects/mod.rs
crates/apub/src/protocol/objects/note.rs
crates/apub/src/protocol/objects/page.rs
crates/apub/src/protocol/objects/person.rs