]> Untitled Git - lemmy.git/commit
GNU social compatibility (#2100)
authorNutomic <me@nutomic.com>
Thu, 24 Mar 2022 16:33:42 +0000 (16:33 +0000)
committerGitHub <noreply@github.com>
Thu, 24 Mar 2022 16:33:42 +0000 (16:33 +0000)
commitdfb0938738a5f85834654498d0b0969698eb1dae
tree799db9335454579b3363cf6e34e7e948ea1bc7bf
parent1e9f609cdb6585b2cffd2acf182f51ac46bc2c6d
GNU social compatibility (#2100)

* Use SourceCompat everywhere (better compat with other software)

* Name field should not be mandatory in Group

* also check page.cc field for community id

* add gnu social tests

* better to use option<sourcecompat>

* update gnu social tests, marked vote as "unlisted"
29 files changed:
crates/apub/assets/gnusocial/activities/create_note.json [new file with mode: 0644]
crates/apub/assets/gnusocial/activities/create_page.json [new file with mode: 0644]
crates/apub/assets/gnusocial/activities/like_note.json [new file with mode: 0644]
crates/apub/assets/gnusocial/objects/group.json [new file with mode: 0644]
crates/apub/assets/gnusocial/objects/note.json [new file with mode: 0644]
crates/apub/assets/gnusocial/objects/page.json [new file with mode: 0644]
crates/apub/assets/gnusocial/objects/person.json [new file with mode: 0644]
crates/apub/assets/lemmy/activities/voting/dislike_page.json
crates/apub/assets/lemmy/activities/voting/like_note.json
crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json
crates/apub/assets/lemmy/activities/voting/undo_like_note.json
crates/apub/src/activities/voting/undo_vote.rs
crates/apub/src/activities/voting/vote.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/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