akkoma/test/pleroma/web/activity_pub
Oneric 0f9c9aac38 Completely omit id for anonymous objects
Current AP spec demands anonymous objects to have an id value,
but explicitly set it to JSON null. Howeveras it turns out this is
incompatible with JSON-LD requiring `@id` to be a string and thus AP
spec is incompatible iwth the Ativity Streams spec it is based on.
This is an issue for (the few) AP implementers actually performing
JSON-LD processing, like IceShrimp.NET.
This was uncovered by IceShrimp.NET’s zotan due to our adoption of
anonymous objects for emoj in f101886709.

The issues is being discussed by W3C, and will most likely be resolved
via an errata redefining anonymous objects to completely omit the id
field just like transient objects already do. See:
https://github.com/w3c/activitypub/issues/476

Fixes: https://akkoma.dev/AkkomaGang/akkoma/issues/848
2024-11-09 19:29:29 +01:00
..
mrf mrf/steal_emoji: fix size limit check 2024-06-05 20:11:53 +02:00
object_validators Merge pull request 'Read image description from EXIF data' (#744) from timorl/akkoma:elseinspe into develop 2024-04-25 12:52:31 +00:00
side_effects Change user.deactivated field to user.is_active 2021-01-15 11:24:46 -06:00
transmogrifier Completely omit id for anonymous objects 2024-11-09 19:29:29 +01:00
views Completely omit id for anonymous objects 2024-11-09 19:29:29 +01:00
activity_pub_controller_test.exs Merge remote-tracking branch 'oneric/varfixes' into develop 2024-10-30 15:15:00 +00:00
activity_pub_test.exs use proper workers for fetching pins instead of an ad-hoc task (#788) 2024-05-31 08:58:52 +00:00
builder_test.exs turn inlineQuotePolicy on by default 2022-09-05 17:22:33 +01:00
mrf_test.exs Fix create processing in direct message disabled 2023-05-23 13:16:20 +01:00
pipeline_test.exs Refactor ES on top of search behaviour 2022-06-30 16:28:31 +01:00
publisher_test.exs mix format 2024-10-26 05:05:48 +01:00
relay_test.exs Hide logs during test unless a test fails 2024-06-27 18:29:45 +02:00
side_effects_test.exs Federate user profile background 2024-02-16 16:35:51 +01:00
transmogrifier_test.exs Hide logs during test unless a test fails 2024-06-27 18:29:45 +02:00
utils_test.exs Don't persist local undone follow (#194) 2022-08-31 18:00:36 +00:00
visibility_test.exs mix format 2022-06-22 17:20:55 +01:00