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.
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
..
components Use same action status svg icons on actions list as on action page (#24178) 1 year ago
features Fix issue attachment handling (#24202) 1 year ago
markup Fix math and mermaid rendering bugs (#24049) 1 year ago
modules Use 1.18's aria role for dropdown menus (#24144) 1 year ago
standalone Add new JS linter rules (#17699) 3 years ago
test Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2 years ago
utils Improve markdown editor: width, height, preferred (#23895) 1 year ago
webcomponents Refactor locale number (#24134) 1 year ago
bootstrap.js Show friendly 500 error page to users and developers (#24110) 1 year ago
index.js Use auto-updating, natively hoverable, localized time elements (#23988) 1 year ago
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 4 years ago
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 4 years ago
svg.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 1 year ago
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 1 year ago
utils.js Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 1 year ago
utils.test.js Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 1 year ago