summaryrefslogtreecommitdiffstats
path: root/routers/repo/release.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing branch in release bug (#3108) (#3117)Ethan Koenig2017-12-081-0/+1
|
* Add init support of orgmode document type on file view and readme (#2525)Lunny Xiao2017-09-211-1/+1
| | | | | | | | | | | | | | * add init support of orgmode document type on file view and readme * fix imports * fix imports and readmeExist * fix imports order * fix format * remove unnecessary convert
* Sync releases table with tags on push and for mirrors (#2459)Lauris BH2017-09-201-45/+53
| | | | | | | | | | | | | | | * Sync releases table with tags on push and for mirrors * Code style fixes * Fix api to return only releases * Optimize release creation and update Minimize posibility of race conditions * Fix release lower tag name updating * handle tag reference update by addionally comparing commit id
* Fix release display and correct paging (#2080)Lauris BH2017-06-291-8/+7
|
* Pagination on releases page (#2035)iszla2017-06-281-2/+8
| | | | | | | | | | | | | | | | | | | | | | * Added count to GetReleasesByRepoID so pagination will work * Separated it out to a new function, can then also leave the API part unaffected * Remove extra whitespace added in untouched function * Added comment and corrected name in error handler * Account for if the user is owner or not in the count * Also check if repo is draft * revert back to the correct count in the ReleasesToDisplay loop * Fixed lint error regarding else with return statement * Use Cond struct instead of string, corrected name in error handler * Removed unused return variable names
* Let not-logged-in users view releases (#1999)Ethan Koenig2017-06-181-1/+4
|
* Fix paginater length (#1866)Ethan Koenig2017-06-041-1/+1
|
* Display draft releases (#1854)Ethan Koenig2017-06-031-75/+23
| | | | | | | | * Display draft releases * Include ctx.User in user cache * Integration test
* fix: tag contain character ) will http 500 on release page (#1670)Bo-Yi Wu2017-05-041-0/+1
|
* fix releases count and resolved #764 (#857)Lunny Xiao2017-02-071-1/+1
|
* Allow custom public files (#782)Thomas Boerger2017-01-281-2/+2
| | | | | | * Allow custom public files * Gofmt code, lots of places not related to this pr
* Attach to release (#673)Philip Couling2017-01-151-2/+21
| | | | | | | | | | | | | | * 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
* bug fix releaseLunny Xiao2017-01-091-0/+5
|
* Make releases faster than before and resolved #490 (#588)Lunny Xiao2017-01-061-56/+46
| | | | | | * make releases faster than before and resolved #490 * fix comment
* change the default action when deleting a release to not delete tagLunny Xiao2017-01-031-1/+2
|
* Cache users on list releases (#527)Lunny Xiao2016-12-291-14/+22
|
* fixed vulnerabilities on deleting release (#399)Lunny Xiao2016-12-161-1/+1
|
* golint fixed for routers (#208)Lunny Xiao2016-11-241-10/+16
|
* Allow updating draft releases while keeping them as draftSandro Santilli2016-11-141-0/+1
| | | | Closes #162
* Normalize files with gofmtThibault Meyer2016-11-111-1/+1
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-6/+6
| | | | | | | - 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
* Add Pagination to Releases-pageKim "BKC" Carlbäcker2016-11-071-1/+8
|
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-6/+6
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-141-2/+2
|
* Fix #3314: Cannot edit release with tag name contains slash (#3434)Thibault Meyer2016-08-111-2/+2
|
* Fix #3315: Release dont use tag creation date (#3374)Thibault Meyer2016-08-061-0/+10
| | | | | | | | | | * 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
* routers/repo/release: Use correct branch reference (#3330)마누엘2016-07-271-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Refactor User.Id to User.IDUnknwon2016-07-241-1/+1
|
* #3076 detect invalid tag name git errorUnknwon2016-07-231-3/+6
|
* Rename module: middleware -> contextUnknwon2016-03-111-8/+8
|
* Remove duplicated of codeUnknwon2016-03-061-53/+48
|
* Make markdown as an independent moduleUnknwon2016-02-201-2/+3
|
* Removed HTTP 500 error on the release page when a user deleted their accountMartin Hartkorn2016-02-101-4/+12
|
* move out git module and #1573 send push hookUnknwon2015-12-091-14/+14
|
* fix #1829 and fix #890Unknwon2015-12-041-2/+2
|
* fix #1383Unknwon2015-11-201-2/+15
|
* repo sidebar active classUnknwon2015-11-161-0/+5
|
* fix #1958Unknwon2015-11-151-44/+27
|
* rename fieldsUnknwon2015-11-031-3/+3
|
* WIP: create PR - choose branchUnknwon2015-08-081-6/+6
|
* Updating context and fixing permission issuesPeter Smit2015-02-161-5/+5
| | | | | | 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.
* Finish new UI for release pageUnknwon2014-12-101-38/+54
|
* Fix #605, fix #255, fix #101Unknwon2014-11-061-13/+36
|
* Huge updates!!!!! Be careful to merge!!!!Unknwon2014-07-261-218/+216
|
* New UI merge in progressUnknwon2014-07-261-217/+217
|
* Use constants to name template fileUnknown2014-06-221-4/+15
|
* Support edit release and save as draftUnknown2014-06-121-39/+97
|
* Fix #199Unknown2014-06-121-1/+6
|
* Fix #197Unknown2014-06-121-2/+8
|
* update with git apislene2014-05-101-2/+1
|