Skip to content
代码片段 群组 项目
提交 5c6a601d 编辑于 作者: kik's avatar kik 提交者: Patrick Cyiza
浏览文件

ADD controller for ActivityPub subscription to releases actor

This is the third and last part of the merging the overarching
subscription MR at
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/132460 .

This provides the controller, route and service used to create
subscriptions.

We add the `inbox` endpoint as specified by ActivityPub on our
`releases` actor to receive various post requests. The only requests we
accept are Follow and unfollow (Undo > Follow) ones. If we receive an
other kind of activity (that could be, for example, that someone
commented on our release post in the Fediverse), we silently discard it.

The service's role is to create the blank subscription and to queue the
background job that will resolve the various URLs and prepare the
subscription.
上级 809c1912
No related branches found
No related tags found
加载中
显示
643 个添加16 个删除
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册