Commit Graph

20 Commits

Author SHA1 Message Date
Anthony Wang 3b547c695e
Fix some annoying segfaults 2023-03-15 20:14:00 +00:00
Anthony Wang dbc3eb7fa0
Merge remote-tracking branch 'origin/main' into forgejo-federation 2023-03-12 23:19:57 +00:00
Anthony Wang 5a9fe9adc4
Properly address outgoing activities 2023-01-22 19:49:28 +00:00
Anthony Wang 359be39430
Send out notes to followers when starring repos 2023-01-19 02:38:02 +00:00
Anthony Wang 9fc10ce83c
Refactor activitypub.RepositoryIRIToRepository to repo_model.GetRepositoryByIRI 2023-01-16 21:20:50 +00:00
Anthony Wang 72247b8d49
Fix lint errors 2023-01-12 21:48:05 +00:00
Anthony Wang 7853231ea1
Set user.FullName before creating user 2023-01-12 21:38:45 +00:00
Anthony Wang a5daa36573
Return if user does exist, not if does not exist 2023-01-12 21:35:11 +00:00
Anthony Wang bb38b9737f
Replace personIRIToUser with GetUserByIRI, do a WebFinger request to get correct username 2023-01-12 21:28:35 +00:00
Anthony Wang eabba0cf19
Add TODO not about fixing issue creation index 2023-01-01 18:46:42 +00:00
Anthony Wang 258fd151da
Fix lint errors 2022-12-31 17:58:01 +00:00
Anthony Wang e8c3886995
Merge remote-tracking branch 'origin/main' into forgejo-federation 2022-12-22 21:12:50 +00:00
Anthony Wang 439f6754ac
Don't send emails to federated users 2022-11-27 22:37:28 +00:00
Anthony Wang c64d3fa195
Implement commenting on issues from Mastodon 2022-11-27 22:30:00 +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 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