Manually approves followers (#146)

* update go-fed

* update go-fed

* manuallyapprovesfollowers

* serialize manuallyApprovesFollowers
This commit is contained in:
tobi
2021-08-23 12:46:05 +02:00
committed by GitHub
parent 4920229a3b
commit 071eca20ce
44 changed files with 931 additions and 308 deletions

View File

@ -17,8 +17,8 @@ import (
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
// "context": "https://example.dev/luke/myrepo",
// "id": "https://example.dev/luke/myrepo/branches/master",
// "context": "https://example.org/luke/myrepo",
// "id": "https://example.org/luke/myrepo/branches/master",
// "name": "master",
// "ref": "refs/heads/master",
// "type": "Branch"

View File

@ -19,17 +19,17 @@ import (
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
// "attributedTo": "https://example.dev/bob",
// "attributedTo": "https://example.org/bob",
// "committed": "2019-07-26T23:45:01Z",
// "committedBy": "https://example.dev/alice",
// "context": "https://example.dev/alice/myrepo",
// "committedBy": "https://example.org/alice",
// "context": "https://example.org/alice/myrepo",
// "created": "2019-07-11T12:34:56Z",
// "description": {
// "content": "It's about time people can install on their computers!",
// "mediaType": "text/plain"
// },
// "hash": "109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
// "id": "https://example.dev/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
// "id": "https://example.org/alice/myrepo/commits/109ec9a09c7df7fec775d2ba0b9d466e5643ec8c",
// "summary": "Add an installation script, fixes issue #89",
// "type": "Commit"
// }

View File

@ -15,17 +15,17 @@ import (
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
// "actor": "https://example.dev/aviva",
// "context": "https://example.dev/aviva/myproject",
// "id": "https://example.dev/aviva/outbox/reBGo",
// "actor": "https://example.org/aviva",
// "context": "https://example.org/aviva/myproject",
// "id": "https://example.org/aviva/outbox/reBGo",
// "object": {
// "items": [
// {
// "attributedTo": "https://example.dev/aviva",
// "context": "https://example.dev/aviva/myproject",
// "attributedTo": "https://example.org/aviva",
// "context": "https://example.org/aviva/myproject",
// "created": "2019-11-03T13:43:59Z",
// "hash": "d96596230322716bd6f87a232a648ca9822a1c20",
// "id": "https://example.dev/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20",
// "id": "https://example.org/aviva/myproject/commits/d96596230322716bd6f87a232a648ca9822a1c20",
// "summary": "Provide hints in sign-up form fields",
// "type": "Commit"
// }
@ -35,12 +35,12 @@ import (
// },
// "summary": "\u003cp\u003eAviva pushed a commit to
// myproject\u003c/p\u003e",
// "target": "https://example.dev/aviva/myproject/branches/master",
// "target": "https://example.org/aviva/myproject/branches/master",
// "to": [
// "https://example.dev/aviva/followers",
// "https://example.dev/aviva/myproject",
// "https://example.dev/aviva/myproject/team",
// "https://example.dev/aviva/myproject/followers"
// "https://example.org/aviva/followers",
// "https://example.org/aviva/myproject",
// "https://example.org/aviva/myproject/team",
// "https://example.org/aviva/myproject/followers"
// ],
// "type": "Push"
// }

View File

@ -17,12 +17,12 @@ import (
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
// "assignedTo": "https://example.dev/alice",
// "attributedTo": "https://dev.community/bob",
// "assignedTo": "https://example.org/alice",
// "attributedTo": "https://example.com/bob",
// "content": "\u003cp\u003ePlease fix.
// \u003ci\u003eEverything\u003c/i\u003e is broken!\u003c/p\u003e",
// "context": "https://example.dev/alice/myrepo",
// "id": "https://example.dev/alice/myrepo/issues/42",
// "context": "https://example.org/alice/myrepo",
// "id": "https://example.org/alice/myrepo/issues/42",
// "isResolved": false,
// "mediaType": "text/html",
// "source": {

View File

@ -18,12 +18,12 @@ import (
// "https://www.w3.org/ns/activitystreams",
// "https://forgefed.peers.community/ns"
// ],
// "attributedTo": "https://example.dev/alice",
// "id": "https://example.dev/ticket-deps/2342593",
// "object": "https://dev.community/bob/coolproj/issues/85",
// "attributedTo": "https://example.org/alice",
// "id": "https://example.org/ticket-deps/2342593",
// "object": "https://example.com/bob/coolproj/issues/85",
// "published": "2019-07-11T12:34:56Z",
// "relationship": "dependsOn",
// "subject": "https://example.dev/alice/myproj/issues/42",
// "subject": "https://example.org/alice/myproj/issues/42",
// "summary": "Alice's ticket depends on Bob's ticket",
// "type": [
// "Relationship",