GTS: cherry-picks and collection usage #186

Merged
floatingghost merged 8 commits from gts-cherry-picks into develop 2022-08-27 18:05:48 +00:00
https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3725?commit_id=61254111e59f02118cad15de49d1e0704c07030e what is this, a yoink of a yoink? good times
floatingghost added 4 commits 2022-08-27 17:12:14 +00:00
d991a3eee0 HttpSignaturePlug: accept standard (request-target)
The (request-target) used by Pleroma is non-standard, but many HTTP
signature implementations do it this way due to a misinterpretation of
the draft 06 of HTTP signatures: "path" was interpreted as not having
the query, though later examples show that it must be the absolute path
with the query part of the URL as well.

This behavior is kept to make sure most software (Pleroma itself,
Mastodon, and probably others) do not break, but Pleroma now accepts
signatures for a (request-target) containing the query, as expected by
many HTTP signature libraries, and clarified in the draft 11 of HTTP
signatures.

Additionally, the new draft renamed (request-target) to @request-target.
We now support both for incoming requests' signatures.
2704a3dac5 ArticleNotePageValidator: fix replies fixing
Some software, like GoToSocial, expose replies as ActivityPub
Collections, but do not expose any item array directly in the object,
causing validation to fail via the ObjectID validator. Now, Pleroma will
drop that field in this situation too.
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
21245e7323
Remove circular dependency between common_fixes and transmogrifier
floatingghost added 1 commit 2022-08-27 17:23:05 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
a5e09da80b
include query string checks for aliases
floatingghost added 1 commit 2022-08-27 17:24:39 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
a3d4e61459
mix format
floatingghost added 1 commit 2022-08-27 17:41:07 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline failed Details
0ad42bddee
allow items to just be an array
floatingghost added 1 commit 2022-08-27 17:43:37 +00:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details
7cbdf819f6
mix format
floatingghost merged commit 772c209914 into develop 2022-08-27 18:05:48 +00:00
floatingghost deleted branch gts-cherry-picks 2022-08-27 18:05:49 +00:00
Sign in to join this conversation.
No description provided.