akkoma/lib/pleroma/web
Oneric ed03eaade9 web/metadata: provide alternate link for ActivityPub
This allows discovering a page represents an ActivityPub object
and also where to find the underlying representation.
Other servers already implement this and some tools
came to rely or profit from it.

The alternate link is provided both with the "application/activity+json"
format as used by Mastodon and the standard-compliant media type.

Just like the feed provider, ActivityPub links are always enabled
unless access to local posts is restricted and not configurable.

The commit is based on earlier work by Charlotte 🦝 Deleńkec
but with fixes and some tweaks.

Co-authored-by: Charlotte 🦝 Deleńkec <lotte@chir.rs>
2025-04-27 00:35:02 +02:00
..
activity_pub elixir 1.18 formatting 2025-03-02 11:54:00 +00: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
feed Don't strip newlines in the Atom feed 2024-03-11 12:50:14 +01:00
mailer
mastodon_api api/statuses: allow expires_in to override user-level status_ttl_default 2025-04-08 23:43:59 +02:00
media_proxy
metadata web/metadata: provide alternate link for ActivityPub 2025-04-27 00:35:02 +02:00
mongoose_im argon2 password hashing (#406) 2022-12-30 02:46:58 +00:00
nodeinfo Fix NodeInfo content-type 2024-11-19 19:25:31 +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 Fix Content-Type sanitisation for emoji and local uploads 2025-03-10 19:45:26 +01:00
preload/providers
push Support elixir1.15 2023-08-03 17:44:09 +01:00
rich_media cosmetic/rich_media/parser: fix typo 2025-02-14 22:10:25 +01:00
static_fe Fix Twitter metadata 2024-02-19 21:09:43 +00:00
templates Merge branch 'develop' into oban_web 2025-02-23 16:16:48 +00: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 giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
api_spec.ex update references to pleroma in docs 2022-12-30 03:43:35 +00:00
common_api.ex Support elixir1.15 2023-08-03 17:44:09 +01:00
controller_helper.ex giant massive dep upgrade and dialyxir-found error emporium (#371) 2022-12-14 12:38:48 +00:00
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 Protected against counterfeit local docs being posted 2025-02-14 22:10:25 +01:00
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 Only proxy HTTP and HTTP urls via Media Proxy 2024-12-16 20:35:12 -06:00
metadata.ex web/metadata: provide alternate link for ActivityPub 2025-04-27 00:35:02 +02:00
o_auth.ex
pipelines.ex
plug.ex
preload.ex remove unused variable 2022-12-16 12:36:34 +00:00
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 force signatures for pinned posts 2025-03-01 17:27:45 +00:00
streamer.ex Enforce unauth restrictions for public streaming endpoints 2023-06-14 22:45:19 +00:00
swagger.ex
telemetry.ex Expose Port IO stats via Prometheus 2025-01-27 20:00:30 +01: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