Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01:00
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>
2023-04-20 02:39:44 -04:00
..
api Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
common Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
install Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
private add CLI command to register runner tokens (#23762) 2023-04-17 13:07:13 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
init.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00