]> source.dussan.org Git - gitea.git/commit
Implement delete release attachments and update release attachments' name (#14130)
authorLunny Xiao <xiaolunwen@gmail.com>
Mon, 22 Mar 2021 16:09:51 +0000 (00:09 +0800)
committerGitHub <noreply@github.com>
Mon, 22 Mar 2021 16:09:51 +0000 (00:09 +0800)
commit8567cba0d978e6ab68c337c0a80244704a15718a
treedb8794db6a32057adadda9460bf5923aee9ae89f
parent1a03fa7a4f353eb2f965cdcac39f630c281eca1e
Implement delete release attachments and update release attachments' name (#14130)

* Implement delete release attachment

* Add attachments on release edit page

* Fix bug

* Finish del release attachments

* Fix frontend lint

* Fix tests

* Support edit release attachments

* Added tests

* Remove the unnecessary parameter isCreate from UpdateReleaseOrCreatReleaseFromTag

* Rename UpdateReleaseOrCreatReleaseFromTag to UpdateRelease

* Fix middle align
models/attachment.go
models/attachment_test.go
models/release.go
routers/api/v1/repo/release.go
routers/repo/release.go
services/release/release.go
services/release/release_test.go
templates/repo/release/list.tmpl
templates/repo/release/new.tmpl
web_src/js/index.js
web_src/less/_repository.less