aboutsummaryrefslogtreecommitdiff
path: root/modules/context/context.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
* modules/context: add *Context. ServerError methodUnknwon2017-04-04
| | | | Also use constants from net/http to replace raw integers.
* user/setting: preserve user input with validation error (#1123)Unknwon2017-03-30
|
* explore: able list and search for private but accessible repositories (#3088)Unknwon2017-03-17
|
* 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
* refactoring: modules/auth/*_form.go -> modules/formUnknwon2017-02-27
|
* Improve error handlingUnknwon2017-02-17
|
* 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.
* 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'.
* router/repo: code refactoringUnknwon2016-08-30
|
* #1601 support delete issue commentUnknwon2016-07-26
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* Convert all API handers to use *context.APIContextUnknwon2016-03-13
|
* Add APIContextUnknwon2016-03-13
|
* Rename module: middleware -> contextUnknwon2016-03-11