akkoma/lib/pleroma/web
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
..
activity_pub Completely omit id for anonymous objects 2024-11-09 19:29:29 +01:00
admin_api Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
akkoma_api add selection UI 2023-03-28 12:44:52 +01:00
api_spec Fix voters count field 2024-06-27 18:29:45 +02:00
auth Support elixir1.15 2023-08-03 17:44:09 +01:00
common_api Don't try to handle non-media objects as media 2024-05-22 20:30:23 +02:00
fallback ensure we send the right files for preferred fe 2023-03-12 23:59:10 +00:00
federator Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
feed Don't strip newlines in the Atom feed 2024-03-11 12:50:14 +01:00
mailer
mastodon_api Fix voters count field 2024-06-27 18:29:45 +02:00
media_proxy
metadata check if data is visible before embedding it in OG tags 2024-04-12 05:16:47 +01:00
mongoose_im
nodeinfo Mix format 2023-04-14 17:56:34 +01:00
o_auth update tests for oauth consumer 2023-12-17 21:48:19 +00:00
o_status Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
pleroma_api mix format 2024-06-15 15:06:28 +01:00
plugs remove unused import 2024-10-26 07:42:43 +01:00
preload/providers
push Support elixir1.15 2023-08-03 17:44:09 +01:00
rich_media No need to spawn() any more 2024-06-12 02:09:24 +01:00
static_fe Fix Twitter metadata 2024-02-19 21:09:43 +00:00
templates cosmetic: fix elixir 1.17 compiler warnings in main application 2024-06-19 01:49:59 +02:00
twitter_api Accept body parameters for /api/pleroma/notification_settings 2024-04-09 04:11:28 +02:00
utils
views Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
web_finger
api_spec.ex
common_api.ex Support elixir1.15 2023-08-03 17:44:09 +01:00
controller_helper.ex
embed_controller.ex Add embed controller tests 2023-07-17 19:18:21 +01:00
endpoint.ex Fix swagger-ui 2024-06-27 18:29:45 +02:00
federator.ex
gettext.ex
instance_document.ex
manifest_controller.ex
masto_fe_controller.ex Migrate to phoenix 1.7 (#626) 2023-08-15 10:22:18 +00:00
media_proxy.ex remove prints 2024-06-09 18:52:09 +01:00
metadata.ex
o_auth.ex
pipelines.ex
plug.ex
preload.ex
push.ex Support elixir1.15 2023-08-03 17:44:09 +01:00
rel_me.ex Add more information about failed verifications 2023-03-10 03:51:24 +00:00
router.ex Allow unsigned fetches of a user's public key 2024-10-26 05:05:48 +01:00
streamer.ex Enforce unauth restrictions for public streaming endpoints 2023-06-14 22:45:19 +00:00
swagger.ex
telemetry.ex Formatting 2024-04-16 08:02:13 +02:00
translation_helpers.ex
uploader_controller.ex
web_finger.ex Merge remote-tracking branch 'oneric-sec/media-owner' into develop 2024-05-22 19:36:10 +01:00
xml.ex make xmerl shut up about markup 2024-04-16 10:19:30 +01:00