Commit Graph

8 Commits

Author SHA1 Message Date
Gusted b89242ee66
Refactoring
- Add extra code paths where `ctx` can be passed and used.
- Remove useless `id` path to get comment note.
- Add extra checks in note API.
- Use `ctx.ParamsInt64` to get the ID from the request.
- Handle `GetXXX` more gracefully by returning 404 when appropiate.
2023-01-13 15:53:46 +01:00
Anthony Wang 72247b8d49
Fix lint errors 2023-01-12 21:48:05 +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 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 1066cfe785
Implement commenting and fix lint errors 2022-11-27 04:18:39 +00:00