forgejo/routers/api/v1
wxiaoguang de2268ffab
Fix issue attachment handling (#24202)
Close #24195

Some of the changes are taken from my another fix
f07b0de997
in #20147 (although that PR was discarded ....)


The bug is:

1. The old code doesn't handle `removedfile` event correctly
2. The old code doesn't provide attachments for type=CommentTypeReview


This PR doesn't intend to refactor the "upload" code to a perfect state
(to avoid making the review difficult), so some legacy styles are kept.

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-04-20 02:39:44 -04:00
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin Add login name and source id for admin user searching API (#23376) 2023-03-15 19:53:01 +08:00
misc Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
notify
org Fix admin team access mode value in team_unit table (#24012) 2023-04-13 21:06:10 +02:00
packages Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
repo Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
settings
swagger Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
user Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
utils Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00
api.go Add activity feeds API (#23494) 2023-04-04 21:35:31 +08:00
auth.go
auth_windows.go