akkoma/test
Oneric b0a46c1e2e Normalise public adressing to fix federation
Due to JSON-LD compaction 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 of repeatedly checking for all
variants internally, normalise 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 field
existed before, I excluded this case and thus the later fixing had to be
kept as well.

Fixes: AkkomaGang/akkoma#670
2024-04-25 18:45:16 +02: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 Merge pull request 'Read image description from EXIF data' (#744) from timorl/akkoma:elseinspe into develop 2024-04-25 12:52:31 +00:00
instance_static URL encode remote emoji pack names (#362) 2023-01-15 18:14:04 +00:00
mix Fix the one test that wasn't just being flaky 2024-04-21 19:43:26 +02:00
pleroma Normalise public adressing to fix federation 2024-04-25 18:45:16 +02:00
support Merge branch 'develop' into elseinspe 2024-04-19 17:11:55 +02:00
test_helper.exs Always insert Dedupe upload filter 2024-03-18 22:33:10 -01:00