akkoma/test
Oneric 505e498b1a
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build-arm64 unknown status
ci/woodpecker/pr/build-amd64 unknown status
ci/woodpecker/pr/docs unknown status
Normalise public adressing to fix federation
Due to JSON LD compacting the full address of public scope
may also occur in shorter forms and the spec requires us to treat them
all equivalently. To save us the pain internally, normalise all inbound
data to just one form.
See note at: https://www.w3.org/TR/activitypub/#public-addressing

This needs to happen very early, even before the other addressing fixes
else an earlier validator will reject the object. This in turn required
to move the list-tpye normalisation earlier as well, but since I was
unsure about putting empty lists into the data when no such filed
existed before, I excluded this case and thus the later fixing had to be
kept as well.

Fixes: #670
2024-02-19 19:37:24 +01:00
..
config remove default emoji file 2022-08-11 19:05:41 +01:00
credo/check/consistency giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
fixtures Add XML matcher 2023-08-07 11:12:14 +01:00
instance_static URL encode remote emoji pack names (#362) 2023-01-15 18:14:04 +00:00
mix Drop Chat tables 2024-02-11 05:15:08 +01:00
pleroma Normalise public adressing to fix federation 2024-02-19 19:37:24 +01:00
support Prune old Update activities 2024-02-17 16:57:40 +01:00
test_helper.exs Use finch everywhere (#33) 2022-07-04 16:30:38 +00:00