For merging F3 and the ForgeFed vocabulary, I propose that we start with F3 and make the following changes to make F3 Activity Streams-compatible:
type
fields to all the F3 objectsid
fields for the IRI of the objectI tried out merging the F3, ForgeFed, and Forgejo API formats for issues, and this is what I came up with: (One observation: a lot of fields are in both F3 and ForgeFed, but have different names)
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://forgefed.org/ns"
],
"type": "Ticket",
"id": "https://example.dev/alice/myrepo/issues/42",
"context": "https://example.dev/alice/myrepo",
"attributedTo": "https://dev.community/bob", // poster_id in F3
"name": "#42", // index in F3
"summary": "Nothing works!", // title in F3
"content": "Please fix. *Everything* is broken!", // content in F3
"mediaType": "text/markdown; variant=CommonMark",
"assignedTo": ["https://example.dev/alice"], // assignees in F3
"isResolved": false, // state in F3
"isLocked": false,
"published": "2019-07-11T12:34:56Z", // created in F3
"updated": "2019-07-11T12:34:56Z",
"resolved": "2020-07-11T12:34:56Z", // closed in F3
"labels": ["bug", "wontfix"],
"reactions": [],
"milestone": null,
"comments": [],
"dueDate": null
}
It would be useful to create a pull request at the Gitea repo reusing the work from this merge request. It does not do much but it is an essential building block.
Sure, I'm happy to help with this merge request. I'll be busy with exams next week but after that I'll have a whole summer to work on federation.
Anthony Wang (aa962c6e) at 26 Apr 23:54
Add actor IRI and remote interaction URL to WebFinger response
... and 29 more commits
Anthony Wang (83834581) at 26 Apr 23:42
Add following and follower ActivityStreams endpoints
... and 33 more commits
Anthony Wang (43d82e1c) at 26 Apr 23:21
Add actor IRI and remote interaction URL to WebFinger response
... and 29 more commits
Anthony Wang (ced7fdc8) at 26 Apr 23:14
Merge branch 'go-gitea:main' into feature-manual-inbox-outbox
... and 207 more commits
Anthony Wang (a9fa8251) at 26 Apr 23:14
Merge branch 'go-gitea:main' into feature-activitypub
... and 31 more commits
Anthony Wang (ce2075fb) at 26 Apr 23:10
Created by: imgbot[bot]
Your image file size has been reduced by 17%
File | Before | After | Percent reduction |
---|---|---|---|
/public/vendor/plugins/pdfjs/web/images/annotation-noicon.svg | 0.15kb | 0.08kb | 46.84% |
/modules/avatar/testdata/avatar.jpeg | 0.51kb | 0.28kb | 44.91% |
/public/img/emoji/git.png | 4.89kb | 2.95kb | 39.58% |
/public/img/emoji/gitlab.png | 6.71kb | 4.62kb | 31.24% |
/public/vendor/plugins/pdfjs/web/images/annotation-note.svg | 1.02kb | 0.70kb | 31.12% |
/public/img/emoji/gogs.png | 11.52kb | 8.34kb | 27.56% |
/public/img/wechatwork.png | 9.12kb | 6.65kb | 27.14% |
/public/img/failed.png | 10.75kb | 8.18kb | 23.89% |
/public/vendor/plugins/pdfjs/web/images/annotation-check.svg | 0.41kb | 0.31kb | 22.65% |
/public/vendor/plugins/pdfjs/web/images/annotation-newparagraph.svg | 0.42kb | 0.32kb | 22.54% |
/web_src/svg/gitea-gogs.svg | 6.23kb | 4.84kb | 22.39% |
/public/img/emoji/codeberg.png | 8.12kb | 6.32kb | 22.14% |
/public/vendor/plugins/pdfjs/web/images/annotation-insert.svg | 0.40kb | 0.31kb | 22.06% |
/public/img/auth/mastodon.png | 4.99kb | 3.95kb | 20.79% |
/docs/static/authorize.png | 18.51kb | 14.79kb | 20.10% |
/public/vendor/plugins/pdfjs/web/images/annotation-comment.svg | 0.86kb | 0.73kb | 15.63% |
/docs/static/cloudron.svg | 15.26kb | 12.96kb | 15.09% |
/public/img/matrix.svg | 1.22kb | 1.06kb | 13.09% |
/public/vendor/plugins/pdfjs/web/images/annotation-paragraph.svg | 1.12kb | 0.97kb | 12.69% |
/public/img/emoji/github.png | 13.78kb | 12.44kb | 9.76% |
/public/img/auth/azuread.png | 3.03kb | 2.75kb | 9.26% |
/public/img/auth/azureadv2.png | 3.03kb | 2.75kb | 9.26% |
/public/vendor/plugins/pdfjs/web/images/annotation-help.svg | 2.12kb | 1.96kb | 7.29% |
/public/vendor/plugins/pdfjs/web/images/annotation-key.svg | 1.42kb | 1.33kb | 6.47% |
/assets/logo.svg | 2.55kb | 2.41kb | 5.40% |
/public/img/emoji/gitea.png | 12.62kb | 12.02kb | 4.72% |
/web_src/svg/fontawesome-windows.svg | 0.28kb | 0.27kb | 3.50% |
/public/vendor/plugins/pdfjs/web/images/secondaryToolbarButton-selectTool@2x.png | 1.04kb | 1.01kb | 3.47% |
/web_src/svg/fontawesome-openid.svg | 0.38kb | 0.37kb | 2.54% |
/web_src/svg/gitea-gitlab.svg | 0.40kb | 0.40kb | 0.98% |
/web_src/svg/gitea-git.svg | 0.67kb | 0.67kb | 0.58% |
/public/vendor/plugins/pdfjs/web/images/loading-icon.gif | 2.49kb | 2.48kb | 0.35% |
/web_src/svg/gitea-github.svg | 2.42kb | 2.42kb | 0.16% |
/public/img/auth/microsoftonline.png | 0.77kb | 0.77kb | 0.13% |
/public/img/auth/openid_connect.svg | 5.30kb | 5.29kb | 0.02% |
Total : | 154.49kb | 127.69kb | 17.34% |
~Imgbot - Part of Optimole family
Anthony Wang (83834581) at 26 Apr 23:09
Closing because I renamed some branches.
Anthony Wang (046d3633) at 26 Apr 23:09
Send a remote follow in PersonInboxGet
... and 24 more commits
Anthony Wang (83834581) at 26 Apr 23:02
Add following and follower ActivityStreams endpoints
... and 10 more commits
My go-fed activity/pub
code is in the feature-inbox-outbox
branch. That file is for database persistence for the inbox and outbox, although I'll also have to create a file to actually create the tables storing the inbox and outbox.
Anthony Wang (6a038906) at 26 Apr 21:22
Customize homepage description for my exogit instance
... and 6 more commits