49 Commits (ce9b86082c4824917023b1bb480648d0cc56dd04)

Author SHA1 Message Date
Ethan Koenig 817a405118 Fix paginater length (#1866) 7 years ago
Ethan Koenig b900c04316 Display draft releases (#1854)
* Display draft releases

* Include ctx.User in user cache

* Integration test
7 years ago
Bo-Yi Wu 75f1afd1fd fix: tag contain character ) will http 500 on release page (#1670) 7 years ago
Lunny Xiao 45a324b437 fix releases count and resolved #764 (#857) 8 years ago
Thomas Boerger 78535fb08e Allow custom public files (#782)
* Allow custom public files

* Gofmt code, lots of places not related to this pr
8 years ago
Philip Couling 64375d875b Attach to release (#673)
* Moved attachaments POST url from /issues/attachments to /attachments

* Implemented attachment upload on release page

* Implemented downloading attachments on the release page

* Added zip and gzip files to default allowed attachments

* Implemented uploading attachments on edit release

* Renamed UploadIssueAttachment to UploadAttachment
8 years ago
Lunny Xiao 7209917fd7 bug fix release 8 years ago
Lunny Xiao 61306fa737 Make releases faster than before and resolved #490 (#588)
* make releases faster than before and resolved #490

* fix comment
8 years ago
Lunny Xiao 3c7116382f change the default action when deleting a release to not delete tag 8 years ago
Lunny Xiao 2d1a1fce93 Cache users on list releases (#527) 8 years ago
Lunny Xiao 15c3d14d55 fixed vulnerabilities on deleting release (#399) 8 years ago
Lunny Xiao 3917ed45de golint fixed for routers (#208) 8 years ago
Sandro Santilli cd339263d9 Allow updating draft releases while keeping them as draft
Closes #162
8 years ago
Thibault Meyer ddee4c8b58
Normalize files with gofmt 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Kim "BKC" Carlbäcker 86fb1a0cb1 Add Pagination to Releases-page 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 3f7f4852ef #2246 fully support of webhooks for pull request 8 years ago
Thibault Meyer 53c573ed02 Fix #3314: Cannot edit release with tag name contains slash (#3434) 8 years ago
Thibault Meyer 30fda0f1ae Fix #3315: Release dont use tag creation date (#3374)
* Fix #3315: Release dont use tag creation date

* Simplify code and apply gofmt

* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost

* apply gofmt on modified files
8 years ago
마누엘 fe60ca408b routers/repo/release: Use correct branch reference (#3330)
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.

The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:

    master 1 - - - - - - - 6
            \             /
    branch   2 - 3 - 4 - 5

When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:

    1 commits to branch since this release

Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:

    0 commit to branch since this release

This fixes #3326
8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon c912494609 #3076 detect invalid tag name git error 8 years ago
Unknwon 514382e2eb Rename module: middleware -> context 8 years ago
Unknwon 9cf7f3e46f Remove duplicated of code 8 years ago
Unknwon d5a3021a7d Make markdown as an independent module 8 years ago
Martin Hartkorn 6b3e47b103 Removed HTTP 500 error on the release page when a user deleted their account 9 years ago
Unknwon 9a2e43bff2 move out git module and #1573 send push hook 9 years ago
Unknwon e538ff2770 fix #1829 and fix #890 9 years ago
Unknwon 987dcc5372 fix #1383 9 years ago
Unknwon 29ed7872f8 repo sidebar active class 9 years ago
Unknwon 18de67380c fix #1958 9 years ago
Unknwon 3a81fdf092 rename fields 9 years ago
Unknwon dea3a8c6a4 WIP: create PR - choose branch 9 years ago
Peter Smit ed89b39984 Updating context and fixing permission issues
The boolean flags in the repo context have been replaced with mode and two methods

Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
10 years ago
Unknwon bc8721fb6c Finish new UI for release page 10 years ago
Unknwon 23eec25274 Fix #605, fix #255, fix #101 10 years ago
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!! 10 years ago
Unknwon 8dd07c0ddd New UI merge in progress 10 years ago
Unknown 314193029a Use constants to name template file 10 years ago
Unknown e07674bff1 Support edit release and save as draft 10 years ago
Unknown fb0972afad Fix #199 10 years ago
Unknown 9961f9a53c Fix #197 10 years ago
slene 7d84cc96e8 update with git api 10 years ago
Unknown 2a9da4b8e5 Fix #92 10 years ago
Unknown f644cefa86 Finish release 10 years ago
slene 52b4ab2aa5 update with new git 10 years ago
FuXiaoHei 3ede496383 add release-new route 10 years ago
Unknown db66b8da72 Add release tmpl 10 years ago