aboutsummaryrefslogtreecommitdiff
path: root/modules/context
Commit message (Collapse)AuthorAge
* api: make CORS work by handling preflight OPTIONS request (#4264)Girish Sonawane2017-03-11
| | | | | | * make CORS work by handling preflight OPTIONS request * Update api.go
* api/repo: fix cannot reponse branch with slashes (#4198)Unknwon2017-03-10
|
* 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.
* refactoring: modules/auth/*_form.go -> modules/formUnknwon2017-02-27
|
* 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
* Improve error handlingUnknwon2017-02-17
|
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* refactoring: SSH and HTTP push procees is now unifiedUnknwon2017-02-16
| | | | | | | | | | | | | | We used to handle SSH and HTTP push separately which produces duplicated code, but now with post-receive hook, the process is unified to one single place and much cleaner. Thus, UpdateTask struct is removed. Narrow down the range of Git HTTP routes to reduce condufsing HTTP Basic Authentication window popup on browser. By detecting <old-commit, new-commit, ref-name> inside post-receive hook, Git HTTP doesn't need to read the whole content body anymore, which completely solve the RAM problem reported in #636.
* 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
|
* Minor improve on error handlingUnknwon2017-02-10
|
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Able to set custom Access-Control-Allow-Origin header (#3987)Unknwon2017-01-28
| | | | Added new config option '[http] ACCESS_CONTROL_ALLOW_ORIGIN'.
* 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
|
* Minor naming improvementUnknwon2016-08-17
|
* 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
|
* #1601 support delete issue commentUnknwon2016-07-26
|
* Add org.getUserTeams to reduce redundant codeUnknwon2016-07-24
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* #2937 able to prohibit user loginUnknwon2016-07-16
|
* 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
* #1692 add admin APIs to add/remove a user from teamsUnknwon2016-03-25
|
* #1692 add CRUD issue APIsUnknwon2016-03-13
| | | | | - Fix go-gogs-client#10 - Related to #809
* Convert all API handers to use *context.APIContextUnknwon2016-03-13
|
* Add APIContextUnknwon2016-03-13
|
* remove errant debug statementAlec S2016-03-11
|
* Rename module: middleware -> contextUnknwon2016-03-11