Use correct content-type headers for apub inbox (ref #1220) #150

Merged
dessalines merged 1 commits from inbox-headers into main 2020-12-17 14:44:10 +00:00
Owner

According to the ActivityPub spec: https://www.w3.org/TR/activitypub/#server-to-server-interactions

I tested compatibility by first changing the routing in federation.rs, while still sending the old (wrong) header in activity_queue.rs. Tests were passing, which indicates that this change is fully backwards compatible.

According to the ActivityPub spec: https://www.w3.org/TR/activitypub/#server-to-server-interactions I tested compatibility by first changing the routing in federation.rs, while still sending the old (wrong) header in activity_queue.rs. Tests were passing, which indicates that this change is fully backwards compatible.
nutomic added 11 commits 2020-12-16 15:34:13 +00:00
cf3a98afcc
Merge pull request #1308 from LemmyNet/update_cargo_deps
Updating cargo deps, fixing image if_some deprecation.
0a12cb0281
Update lemmy_council.md
added myself as a council member
9cc1cfc973
Apub local object handling (#1297)
* Limit visibility of some traits and methods

* WIP: alternative way to handle non-local object parsing

* finish this

* cleanup

* Move check for locked post into Comment::from_apub()

* Mark user as updated after fetching

* Should set last_refreshed_at, not updated

* Add ApubObject trait in DB, with method read_from_apub_id()

* Create shared, generic implementation for `FromApub`, prefer local data

* Check for community ban when parsing post/comment (fixes #1287)

* Fix tests (changes in get_object_from_apub() prevented `Update` from working)

* Support parsing `like.object` either as URL or object

* Send out like.object as URL, instead of full object (fixes #1283)

* add todo
Owner

Looks good.

Looks good.
dessalines merged commit 5b2fb07e44 into main 2020-12-17 14:44:10 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: LemmyNet/lemmy#150
No description provided.