summaryrefslogtreecommitdiffstats
path: root/templates/repo/release
Commit message (Collapse)AuthorAgeFilesLines
* [Fix] Release attachment should use DownloadURL() not Name (#9529)65432019-12-281-4/+4
| | | | | | | * Handle if two or more attachments have the same name * previously only the first could be downloaded - now each is downloadable * dos also take care of #6506 (fix was: #6512) * use func DownloadURL() at issue attatchments too
* Fix max length check and limit in multiple repo forms (#9148)Lauris BH2019-11-251-2/+2
| | | | | | * Fix input field max length for release, label and milestone forms * Add max length for isseu and PR title
* Add extra user information when migrating release (#8331)Lunny Xiao2019-10-051-0/+7
| | | | | | | | * add extra user information when migrating release * add migrations * fix tests
* Properly escape release attachment URL (#6512)mrsdizzie2019-04-051-1/+1
| | | | | | Make sure file attachments on a release get a properly escaped URL when linking. Fixes #6506
* Added URL mapping for Release attachments like on github.com (#1707)gdeverlant2019-01-061-9/+9
|
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* Fix some issues with special chars in branch names (#3767)nubenum2018-09-171-8/+8
| | | Signed-off-by: Robin Durner <github@nubenum.de>
* Responsive design fixes (#4508)kolaente2018-07-261-1/+1
| | | | | | | | * reset to master * build css * Fixed spacing
* Add `noreferrer` to rel='noopener` for <a> tags (#4328)cezar972018-07-031-1/+1
|
* Add Size column to attachment (#3734)Jonas Franz2018-03-311-1/+1
| | | | | | | | | | | | | | | * Add size column to attachment Migrate attachments by calculating file sizes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Calculate attachment size on creation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Log error instead of returning error Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Improve release page UI (#3693)Jonas Franz2018-03-191-3/+4
| | | | | | | | | | * Improve release page ui by adding size Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation to a.MustSize() Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix source download link when no code unit allowed (#3166)Lunny Xiao2017-12-121-0/+4
|
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-2/+2
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Make URL scheme unambiguous (#2408)Ethan Koenig2017-10-301-5/+5
| | | | | | | | | | * Make URL scheme unambiguous Redirect old routes to new routes * Fix redirects to new URL scheme, and update template * Fix branches/_new endpoints, and update integration test
* Sync releases table with tags on push and for mirrors (#2459)Lauris BH2017-09-201-13/+16
| | | | | | | | | | | | | | | * 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
* Attach to release (#673)Philip Couling2017-01-152-0/+13
| | | | | | | | | | | | | | * 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
* Allow updating draft releases while keeping them as draftSandro Santilli2016-11-141-3/+10
| | | | Closes #162
* Fix bug that tries to load mistyped templatesMatthias Loibl2016-11-101-1/+1
|
* Merge all pagination-templates into 'base/paginate'Kim "BKC" Carlbäcker2016-11-071-1/+1
| | | | to reduce code-duplicity
* Add Pagination to Releases-pageKim "BKC" Carlbäcker2016-11-071-0/+1
|
* #3348 always use relative avatar link in the templateUnknwon2016-08-051-1/+1
|
* #3076 detect invalid tag name git errorUnknwon2016-07-231-1/+1
|
* Upgrade octicon to 4.3.0Unknwon2016-07-161-2/+2
|
* #1146 finish new access rights for collaboratorsUnknwon2016-03-051-2/+2
|
* Indent all templates with tabsAdam Strzelecki2015-12-082-169/+169
| | | | | | | | | | | | This commit improves templates readability, since all of them use consistent indent with all template command blocks indented too. 1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks such as {{if}} {{with}} 2. Cleans all trailing white-space 3. Adds trailing last line-break to each file
* UI: Always show menu on repo pagesAdam Strzelecki2015-12-032-2/+0
| | | | | Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use middleware.RepoRef() necessary to display information on this menu.
* UI: Make repository menu divide header and contentAdam Strzelecki2015-12-022-2/+2
| | | | | This is more inline with way GitHub looks like and feels much more natural and in style with rest of the interface.
* fix #1383Unknwon2015-11-202-0/+17
|
* UI fixUnknwon2015-11-161-1/+1
|
* minor HTML fixUnknwon2015-11-151-1/+1
|
* fix #1958Unknwon2015-11-153-194/+157
|
* #1604 suburl for release md previewUnknwon2015-09-082-2/+2
|
* UI: issues - finish basic frameUnknwon2015-07-243-3/+3
|
* #1114 'New Release' always visibleUnknwon2015-03-241-0/+2
|
* fix #828, may cause unintentional break in other features, but security is no.1Unknwon2015-01-201-1/+1
|
* fix #735Unknwon2014-12-122-2/+2
|
* Finish new UI for release pageUnknwon2014-12-103-187/+183
|
* Fix user linksJames Cracknell2014-11-281-1/+1
|
* Fix download archive issueUnknwon2014-09-241-4/+4
|
* Add suburl supportUnknwon2014-09-191-2/+2
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-181-2/+2
| | | | | | | | | | | | | | http://mydomain.com/gogs/ Conflicts: modules/setting/setting.go Conflicts: templates/repo/release/list.tmpl templates/user/dashboard/dashboard.tmpl Conflicts: routers/repo/setting.go
* Fix TimeSince arguments error.Benjamin Peng2014-09-161-1/+1
|
* In progress of name template name constantUnknown2014-06-223-0/+202