Anthony Wang
|
c64d3fa195
|
Implement commenting on issues from Mastodon
|
2022-11-27 22:30:00 +00:00 |
|
Anthony Wang
|
f5a50ce457
|
Add Note object endpoint
|
2022-11-27 19:29:03 +00:00 |
|
Anthony Wang
|
3e690fbae2
|
Federated issue creation
|
2022-11-27 19:09:10 +00:00 |
|
Anthony Wang
|
77896f1a50
|
Save issue IRIs when creating them from AS objects
|
2022-11-27 18:38:20 +00:00 |
|
Anthony Wang
|
1066cfe785
|
Implement commenting and fix lint errors
|
2022-11-27 04:18:39 +00:00 |
|
Anthony Wang
|
3f5f626264
|
Fix AppSubURL -> AppURL typo
|
2022-11-27 03:51:09 +00:00 |
|
Anthony Wang
|
a666eefe8f
|
Rewrite createPullRequest and add createPersonFromIRI
|
2022-11-27 02:05:36 +00:00 |
|
Anthony Wang
|
c982b67626
|
Set issue Index, not ID, when creating issues from an AS object
|
2022-11-27 01:44:02 +00:00 |
|
Anthony Wang
|
2d74e4f555
|
Delete fork code and move createPullRequest to create.go
|
2022-11-27 01:40:15 +00:00 |
|
Anthony Wang
|
fd4d0e730e
|
Move AS object processing to routers/api/v1/activitypub, move AP transport and IRI code to services/activitypub
This is to follow https://docs.gitea.io/en-us/guidelines-backend/ and avoid import cycles.
|
2022-11-27 00:34:24 +00:00 |
|
Anthony Wang
|
41e9a10763
|
make fmt
|
2022-11-26 18:30:01 +00:00 |
|
Anthony Wang
|
d22dab748f
|
Add custom NotEmpty function to handle ForgeFed types
|
2022-11-26 17:34:43 +00:00 |
|
Anthony Wang
|
19af0c9267
|
Implement loading remote tickets
|
2022-11-25 18:45:06 +00:00 |
|
Anthony Wang
|
5612130bcf
|
Merge remote-tracking branch 'upstream/main'
|
2022-10-27 00:28:53 +00:00 |
|
delvh
|
0ebb45cfe7
|
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)
Found using
`find . -type f -name '*.go' -print -exec vim {} -c
':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
2022-10-24 20:29:17 +01:00 |
|
Anthony Wang
|
f133e9ca11
|
Implement sending follow activities
I moved around a lot of files to fix import cycles
|
2022-10-21 21:06:59 +00:00 |
|
Anthony Wang
|
cbc2a970be
|
Set isResolved to true for closed issues
|
2022-09-29 01:59:55 +00:00 |
|
Anthony Wang
|
f9d9019720
|
Fix Comment permission checking
|
2022-09-23 17:30:44 +00:00 |
|
Anthony Wang
|
379b9a7dce
|
Serve issues as ForgeFed tickets
|
2022-09-23 17:25:13 +00:00 |
|
Anthony Wang
|
f0269889c0
|
Fix build errors
|
2022-09-05 16:37:56 -05:00 |
|
John Olheiser
|
a48d6ba4b4
|
Go 1.19 format (#20758)
* 1.19 gofumpt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Change CSV test
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Commit whitespace fixes from @zeripath
Co-authored-by: zeripath <art27@cantab.net>
* Update emoji
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* bump swagger & fix generate-swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lauris BH <lauris@nix.lv>
|
2022-08-30 21:15:45 -05:00 |
|
Gusted
|
45324e169f
|
Add todo
|
2022-08-22 19:50:47 +02:00 |
|
Gusted
|
2373b4177a
|
Add paginition to Person's outbox
|
2022-08-22 19:37:04 +02:00 |
|
Anthony Wang
|
73284dbf0b
|
Add authorize_interaction case for Tickets
|
2022-08-22 12:29:16 -05:00 |
|
Gusted
|
1bc8e67e9c
|
Fix linting errors (errcheck)
|
2022-08-22 18:59:45 +02:00 |
|
Gusted
|
b9dd4a2f5f
|
Make revive linter happy
|
2022-08-22 18:31:39 +02:00 |
|
Gusted
|
18809f811d
|
Make the frontend linter happy
|
2022-08-22 18:29:08 +02:00 |
|
Anthony Wang
|
b3c065ce80
|
Refactor RepoInbox to use On functions instead of type assertions
|
2022-08-21 10:22:42 -05:00 |
|
Anthony Wang
|
6b73c097ed
|
Download avatar from URL and set it with user_service.UploadAvatar
|
2022-08-15 12:00:14 -05:00 |
|
Anthony Wang
|
d945e6ac72
|
Start working on Ticket object endpoint implementation
|
2022-08-15 11:15:21 -05:00 |
|
Anthony Wang
|
0b97c6aa69
|
Cache remote user public keys
|
2022-08-15 11:14:48 -05:00 |
|
Anthony Wang
|
c94a891aad
|
Process Like activities for starring repos
|
2022-07-27 14:18:30 -05:00 |
|
Anthony Wang
|
d909c97da9
|
Move models/forgefed to modules/forgefed
|
2022-07-27 10:25:40 -05:00 |
|
Anthony Wang
|
f0cded88bf
|
Start cleaning up fork.go
|
2022-07-27 10:24:04 -05:00 |
|
Anthony Wang
|
38a687c60e
|
Replace GetID() with GetLink()
See https://lists.sr.ht/~mariusor/activitypub-go/%3CNXRUnlucUSX8FL9I57dimPx4dpMKz01JDjKXqeHC8V9Z7pSTnjoZyV8ukearYJOq4IDogmpDLoEK-ScPDKs_egPnFGcAAO4XqHbj2rTUm-E%3D%40proton.me%3E for more details
|
2022-07-25 15:45:15 -05:00 |
|
Anthony Wang
|
30b431da49
|
Set ap.ItemTyperFunc to correctly unmarshal JSON
|
2022-07-25 15:43:20 -05:00 |
|
Anthony Wang
|
bffb682117
|
Fix a bunch of lint errors (still 10 more to fix 🙁)
|
2022-07-23 22:12:09 -05:00 |
|
Anthony Wang
|
ab540d07be
|
Create new federated users in reqsignature.go
|
2022-07-23 21:27:20 -05:00 |
|
Anthony Wang
|
763f98b517
|
Create user at /authorize_interaction?uri= endpoint
|
2022-07-23 16:34:06 -05:00 |
|
Anthony Wang
|
5196dcd9a5
|
Check if httpsig keyID matches actor and attributedTo
|
2022-07-20 18:57:19 -05:00 |
|
Anthony Wang
|
c100b8e1e0
|
Apply suggestions from code review
|
2022-07-17 11:19:48 -05:00 |
|
Anthony Wang
|
48deb8e1f5
|
Fix repo AP outbox path typo
|
2022-07-16 21:10:28 -05:00 |
|
Anthony Wang
|
705706bc00
|
Generate person outbox for only repo creates and stars
|
2022-07-16 20:33:28 -05:00 |
|
Anthony Wang
|
56717396fd
|
Big refactor: Improve inbox handling logic, move some IRI stuff to iri.go
|
2022-07-13 22:10:03 -05:00 |
|
Anthony Wang
|
63aa270a2e
|
Initial implementation of federated pull requests
|
2022-07-13 12:14:14 -05:00 |
|
Anthony Wang
|
1b39e39fc1
|
Add basic implementation of federated commenting
|
2022-07-11 18:24:15 -05:00 |
|
Anthony Wang
|
79a59bd75b
|
Use a replace in go.mod to point to Ta180m/activitypub fork instead of modifying the include everywhere
|
2022-07-11 17:27:57 -05:00 |
|
Anthony Wang
|
d016dbbe70
|
Switch to using gitea.com/Ta180m/activitypub fork of the go-ap/activitypub module since we need more Write and Load functions exported
|
2022-07-11 12:45:00 -05:00 |
|
Anthony Wang
|
fa72294f64
|
Fix build errors and start working on constructing outbox activities for the various action types
|
2022-07-07 13:11:59 -05:00 |
|
Anthony Wang
|
786ee03f57
|
Merge remote-tracking branch 'upstream/main'
|
2022-06-25 21:41:59 -05:00 |
|