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 Use auto-updating, natively hoverable, localized time elements (#23988) 2023-04-11 01:01:20 +02:00
auth Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
devtest Remove untranslatable on_date key (#24106) 2023-04-15 13:01:54 +02:00
events
explore
feed User/Org Feed render description as per web (#23887) 2023-04-04 04:39:47 +01:00
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 Fix incorrect server error content in RunnersList (#24118) 2023-04-14 11:34:10 +08:00
user Localize activity heatmap (except tooltip) (#24131) 2023-04-17 14:26:01 -04:00
auth_windows.go
auth.go
base.go Improve Wiki TOC (#24137) 2023-04-17 15:05:19 -04:00
goget.go
home.go Refactor cookie (#24107) 2023-04-13 15:45:33 -04:00
metrics.go
nodeinfo.go
swagger_json.go Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
web.go Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
webfinger.go Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00