]> Untitled Git - lemmy.git/commit
Breaking apub changes (#1859)
authorNutomic <me@nutomic.com>
Fri, 22 Oct 2021 16:21:26 +0000 (16:21 +0000)
committerGitHub <noreply@github.com>
Fri, 22 Oct 2021 16:21:26 +0000 (12:21 -0400)
commit149a4e0de88f82b6378c044423bf7d628108fc86
treeb59d669aa160e0532af6ae69426ca8cc4dff8636
parent23731cd49c96ceedc1499c35f3081ed778994ea0
Breaking apub changes (#1859)

* Remove CommentInReplyToMigration

* Remove compat for RemovePostCommentOrCommunity

* Remove PublicUrlMigration

* Change type of pm to ChatMessage from Pleroma, make pm.to array

* Use person.summary instead of person.content for pleroma compat

* Also change group.content to summary

* Rewrite apub object test json to serve as nice examples

* Also add test case for parsing pleroma private message
30 files changed:
api_tests/src/comment.spec.ts
api_tests/src/post.spec.ts
crates/apub/assets/lemmy-comment.json
crates/apub/assets/lemmy-community.json
crates/apub/assets/lemmy-person.json
crates/apub/assets/lemmy-post.json
crates/apub/assets/lemmy-private-message.json
crates/apub/assets/pleroma-comment.json
crates/apub/assets/pleroma-private-message.json [new file with mode: 0644]
crates/apub/src/activities/comment/create_or_update.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/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/undo_delete.rs
crates/apub/src/activities/mod.rs
crates/apub/src/activities/post/create_or_update.rs
crates/apub/src/activities/undo_remove.rs [deleted file]
crates/apub/src/activities/voting/undo_vote.rs
crates/apub/src/activities/voting/vote.rs
crates/apub/src/migrations.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