aboutsummaryrefslogtreecommitdiff
path: root/modules/context/repo.go
Commit message (Collapse)AuthorAge
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* repo: cleanup some codeUnknwon2017-03-24
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* repo: fix unable to propose pull request from secondary fork (#4324)Unknwon2017-03-23
|
* error: move ErrRepoNotExist -> errors.RepoNotExistUnknwon2017-03-23
|
* repo: allow issues and wiki for bare repository (#4104)Unknwon2017-03-16
|
* models: rename ErrUserNotExist -> errors.UserNotExistUnknwon2017-03-16
|
* templates/repo: only show Git stats in repository home page (#3518)Unknwon2017-03-10
| | | | | | | | | Move 'Commits' and 'Releases' tabs down to body. This patch also reduces page load time for pages that do not need to use commits count anywhere. Get commits count can hurt performance badly for huge repositories that has tens of thousands commits like Linux Kernel.
* models/access: hasAccess only need userID not user objectUnknwon2017-02-23
|
* editor: fix cannot redirect to correct pull request URLUnknwon2017-02-23
| | | | | | | | Was only possible to correctly redirect to pull request page within same repository. And didn't take care of case when upstream has disabled pull request. Also add a new method 'PullRequestURL' to unify the code.
* router: fix 404 when repository name contains dotUnknwon2017-02-20
| | | | E.g. atomi.github.io
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Improve Open Graph Meta tags (#3664)Unknwon2017-02-11
|
* Add more details on error reportUnknwon2017-02-10
| | | | [CI SKIP]
* Minor improve on error handlingUnknwon2017-02-10
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Fix changed branch is not reflected when creating PR (#3604)Unknwon2017-01-27
|
* Feature #2583: Disable HTTP cloning (#3667)Thibault Meyer2016-12-22
| | | | | | | | * Can disable GIT interactions by HTTP protocol * rename variable + fix wiki link * missing space
* #2018 able to sync now for mirrorsUnknwon2016-08-30
| | | | | - Refactor code to use sync.UniqueQueue - Closes #3509
* router/repo: code refactoringUnknwon2016-08-30
|
* Web editor: improve code qualityUnknwon2016-08-24
|
* On showing diff/file, use the tab_width specified on .editorconfig, if any ↵Andrey Nering2016-08-11
| | | | | (#3241) Closes #3182
* #3233 code cleanup and minor issue fixUnknwon2016-08-11
|
* Wiki mirroring implementation (#3233)Andrew2016-08-11
| | | | | | | | | | | | | | | | | | | * Implement wiki mirroring, add Update mirrors operation to admin dashboard * bindata.go update after merge * Implement checking Git repo endpoint existence, support for BB included * Remove admin dashboard operation Fix bindata.go * Apply gofmt to repo model file * Try to remove bindata from PR * Revert accepted wiki names change in favor of better system * Remove unused imports
* #3399 500 for upstream pulls page if user has forked repositoryUnknwon2016-08-08
|
* #2825 early response 200 when ?go-get=1Unknwon2016-08-07
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* models/repo: remove redundant info for some repo methodsUnknwon2016-07-15
| | | | RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
* The pruning for the synchronized mirrors is a option now. Default value: ↵Pablo Saavedra2016-07-09
| | | | | | | | | | | | | enable_prune = true (#3246) Executed go fmt getEngine() not handles DB parameters (#2972) (#2974) Uses .AllCols() for Update in updateMirror() Spanish traslation removed Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
* Add APIContextUnknwon2016-03-13
|
* remove errant debug statementAlec S2016-03-11
|
* Rename module: middleware -> contextUnknwon2016-03-11