0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-14 03:45:31 +01:00
gitea/routers/web
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
..
admin
auth
devtest
events
explore
feed
healthcheck
misc
org Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
repo Fix issue attachment handling (#24202) 2023-04-20 02:39:44 -04:00
shared
user Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
auth.go
auth_windows.go
base.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
webfinger.go