summaryrefslogtreecommitdiffstats
path: root/cmd/serv.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix SSH auth lfs locks (#3152)Antoine GIRARD2018-01-271-2/+6
| | | | | | | | | | * Fix SSH auth LFS locks * Activate SSH/lock test * Remove debug * Follow @lunny recommendation for AfterLoad method
* Improvements for supporting UI Location (#3146)Lunny Xiao2017-12-141-2/+3
| | | | | | * improvements for supporting UI Location * improved the comment
* Remove GetRepositoryByRef and add GetRepositoryByOwnerAndName (#3043)Lunny Xiao2017-12-021-11/+3
| | | | | | | | | | * remove GetRepositoryByRef and add GetRepositoryByOwnerAndName * fix tests * fix tests bug * some improvements
* Set session and indexers' data files rel to AppDataPath (#2192)Guillaume Dube2017-11-031-3/+3
| | | | | | | | | | * Set session and indexers' data files rel to AppDataPath The setting AppDataPath is now relative to the working directory. The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions. The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves. * fix bug
* feat: add check misspelling (#1877)Bo-Yi Wu2017-06-051-1/+1
|
* fix admin lost permission caused by #947Lunny Xiao2017-05-191-1/+1
|
* Add units to team (#947)Lunny Xiao2017-05-181-0/+8
| | | | | | | | | | | | | | | | | | * add units to team * fix lint * finish team setting backend * finished permission controll on routes * fix import blank line * add unit check on ssh/http pull and push and fix test failed * fix fixtures data * remove unused code
* Remove env user salt since no need to use (#1515)Lunny Xiao2017-05-061-2/+0
| | | | | | * remove env user salt since no need to use * remove unused variable from update.go
* Add internal routes for ssh hook comands (#1471)Lunny Xiao2017-04-191-1/+2
| | | | | | | | | | | | | | | | * add internal routes for ssh hook comands * fix lint * add comment on why package named private not internal but the route name is internal * add comment above package private why package named private not internal but the route name is internal * remove exp time on internal access * move routes from /internal to /api/internal * add comment and defer on UpdatePublicKeyUpdated
* refactor: show command help message. (#1486)Bo-Yi Wu2017-04-121-1/+3
|
* refactor update ssh key use time (#1466)Lunny Xiao2017-04-071-7/+1
|
* LFS: Fix SSH authentication for trailing arguments (#1328)Fabian Zaremba2017-03-221-3/+5
| | | Fixes #1296
* Allow push to init a wiki repo (#1279)Lunny Xiao2017-03-171-0/+6
| | | | | | * allow push to init a wiki repo * compact error check
* Refactor and fix incorrect comment (#1247)Ethan Koenig2017-03-151-1/+1
|
* Move push update to post-receive and protected branch check to pre-receive ↵Lunny Xiao2017-02-251-63/+13
| | | | | | | | | | | | (#1030) * move all push update to git hook post-receive and protected branch check to git hook pre-receive * add SSH_ORIGINAL_COMMAND check back * remove all unused codes * fix the import
* Take back control of hooks (#1006)Lunny Xiao2017-02-231-0/+373
* git: delegate all server-side Git hooks (#1623) * create hooks directories * take control hooks back * fix lint * bug fixed and minor changes * fix imports style * fix migration scripts