Anthony Wang
|
d749f8ff4f
|
Rename pkey to pubKey
|
2022-06-13 20:51:49 -05:00 |
|
Anthony Wang
|
76f06cee31
|
Remove another LogSQL from ActivityPub person test
|
2022-06-11 21:18:15 -05:00 |
|
Anthony Wang
|
6074222377
|
Code cleanup
|
2022-06-11 21:15:45 -05:00 |
|
Anthony Wang
|
cf6aed386d
|
Use @mariusor's suggestions for idiomatic go-ap usage
|
2022-06-11 11:00:45 -05:00 |
|
Anthony Wang
|
66b1761738
|
Fix lint error
|
2022-06-10 13:28:50 -05:00 |
|
Anthony Wang
|
7428ff0736
|
Fix TestActivityPubPersonInbox segfault
|
2022-06-10 12:30:13 -05:00 |
|
Anthony Wang
|
d487a76572
|
Correctly decode JSON in api_activitypub_person_test.go
|
2022-06-10 11:19:23 -05:00 |
|
Anthony Wang
|
86a3221563
|
Fix CI errors by adding @context to Person() and making sure types match
|
2022-06-10 11:04:07 -05:00 |
|
Anthony Wang
|
a8cb4a80bf
|
Convert remaining code to go-ap
|
2022-06-09 17:59:43 -05:00 |
|
Anthony Wang
|
becdf5e1f1
|
Use go-ap instead of go-fed
|
2022-05-23 11:43:59 -05:00 |
|
Anthony Wang
|
702a963308
|
Move /#main-key to #main-key in tests
|
2022-04-26 18:52:18 -05:00 |
|
Anthony Wang
|
1da0d49de7
|
Clean up some variable declarations
|
2022-03-30 15:52:52 -05:00 |
|
Anthony Wang
|
ebef769703
|
Assert if json.Unmarshal succeeds
Signed-off-by: Anthony Wang <ta180m@pm.me>
|
2022-03-20 10:53:05 -05:00 |
|
Anthony Wang
|
d75809aeee
|
Remove LogSQL from ActivityPub person test
Signed-off-by: Anthony Wang <ta180m@pm.me>
|
2022-03-20 10:53:05 -05:00 |
|
Anthony Wang
|
456ed42d3e
|
Run make fmt again, fix err var redeclaration
Signed-off-by: Anthony Wang <ta180m@pm.me>
|
2022-03-20 10:52:49 -05:00 |
|
Anthony Wang
|
ea4129e888
|
Use Gitea JSON library, add assert for pkp
Signed-off-by: Anthony Wang <ta180m@pm.me>
|
2022-03-19 16:36:44 -05:00 |
|
Anthony Wang
|
b480c52f60
|
Change 2021 to 2022, properly format package imports
Signed-off-by: Anthony Wang <ta180m@pm.me>
|
2022-03-19 08:55:58 -05:00 |
|
Loïc Dachary
|
97fedf2616
|
activitypub: implement the ReqSignature middleware
Signed-off-by: Loïc Dachary <loic@dachary.org>
|
2022-03-18 17:34:09 -05:00 |
|
Loïc Dachary
|
678a56fbf8
|
activitypub: add the public key to Person (#14186)
Refs: https://github.com/go-gitea/gitea/issues/14186
Signed-off-by: Loïc Dachary <loic@dachary.org>
|
2022-03-18 17:34:09 -05:00 |
|
Loïc Dachary
|
4951af4d99
|
activitypub: implement /api/v1/activitypub/user/{username} (#14186)
Return informations regarding a Person (as defined in ActivityStreams
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-person).
Refs: https://github.com/go-gitea/gitea/issues/14186
Signed-off-by: Loïc Dachary <loic@dachary.org>
|
2022-03-18 17:33:29 -05:00 |
|