You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
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>
1 year ago
..
api Fix issue attachment handling (#24202) 1 year ago
common Editor preview support for external renderers (#23333) 1 year ago
install Refactor cookie (#24107) 1 year ago
private add CLI command to register runner tokens (#23762) 1 year ago
utils Implement FSFE REUSE for golang files (#21840) 2 years ago
web Fix issue attachment handling (#24202) 1 year ago
init.go Allow adding new files to an empty repo (#24164) 1 year ago