summaryrefslogtreecommitdiffstats
path: root/templates/repo/bare.tmpl
Commit message (Collapse)AuthorAgeFilesLines
* Refactor repo.isBare to repo.isEmpty #5629 (#5714)zeripath2019-01-171-70/+0
| | | | | | | | * Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 writer cannot read bare repo guide (#4033)Lunny Xiao2018-05-241-1/+1
|
* Only show SSH clone URL if signed in (#2169) (#2170)Stefan Kalscheuer2017-07-151-3/+5
| | | | | | | | | | | | | | | | | | | * Add configuration flag SSH_EXPOSE_ANONYMOUS If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in. * Default SSH exposure set to false To match GitHub and for security reasons, SSH URL exposure is disabled by default. In addition to that. minor code changes have been applied. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de> * Add integration tests * Hide clone button neither HTTP and SSH is enabled Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* feat: Only use issue and wiki on repo. (#1297)Bo-Yi Wu2017-03-181-3/+4
|
* Can disable GIT interactions by HTTP protocolThibault Meyer2016-09-181-4/+10
|
* Remember last selected clone protocol, and establish uniform order (https, ssh)Florian Kaiser2016-02-011-5/+5
|
* Indent all templates with tabsAdam Strzelecki2015-12-081-49/+49
| | | | | | | | | | | | 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
* more HTTP clone word fixUnknwon2015-11-221-1/+1
|
* new quick start pageUnknwon2015-10-021-45/+51
|
* Remove SSH button when SSH is disabledGustavo Paes2015-08-091-5/+7
|
* #1082: missing link for helpUnknwon2015-03-181-1/+1
|
* changed repo-clone-url behaviour for bare repoStefan-Code2015-02-181-2/+2
|
* Add suburl supportUnknwon2014-09-191-1/+1
|
* Allow Gogs to run from a suburl behind a reverse proxy. e.g. ↵Martin van Beurden2014-09-181-1/+1
| | | | | | | | | | | | | | 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
* UI: SSH/HTTPS address switch and copyUnknwon2014-08-311-9/+9
|
* Removed trailing white spacesTristan Storch2014-08-301-1/+1
| | | | | | | | | | Removed trailing whitespaces with ```sh for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done ``` and some handwork.
* UI: Bare repository does not have visual link to settings pageUnknwon2014-08-091-1/+4
|
* New UI merge in progressUnknwon2014-07-261-0/+50