forgejo/routers/api/v1/repo
wxiaoguang d5f2c9d74d
Fix issue attachment handling (#24202) (#24221)
Backport #24202

Close #24195

Fix the bug:

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

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-04-20 04:21:10 -04:00
..
blob.go
branch.go Fix protected branch for API (#24013) (#24027) 2023-04-10 14:48:02 +08:00
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go
issue_attachment.go Preserve file size when creating attachments (#23406) (#23426) 2023-03-12 12:45:39 +01:00
issue_comment.go Fix issue attachment handling (#24202) (#24221) 2023-04-20 04:21:10 -04:00
issue_comment_attachment.go Preserve file size when creating attachments (#23406) (#23426) 2023-03-12 12:45:39 +01:00
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go
label.go Add loading yaml label template files (#22976) (#23232) 2023-03-01 21:57:34 -05:00
language.go
main_test.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
migrate.go Match api migration behavior to web behavior (#23552) (#23573) 2023-03-19 15:30:02 +08:00
milestone.go
mirror.go
notes.go Fix panic when getting notes by ref (#23372) (#23377) 2023-03-08 15:17:31 -05:00
patch.go
pull.go Add force_merge to merge request and fix checking mergable (#23010) 2023-02-21 08:42:07 -06:00
pull_review.go
release.go
release_attachment.go Preserve file size when creating attachments (#23406) (#23426) 2023-03-12 12:45:39 +01:00
release_tags.go
repo.go Handle missing README in create repos API (#23387) (#23510) 2023-03-16 21:04:52 -04:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go