aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/http.go
Commit message (Collapse)AuthorAge
* Refactoring: rename package routers -> routesUnknwon2017-06-11
|
* Refactoring: rename ctx -> cUnknwon2017-06-03
|
* Refactoring: rename and simplify pkg/tool functionsUnknwon2017-04-06
|
* 2fa: initial support (#945)Unknwon2017-04-06
|
* Refactoring: rename pkg/base -> pkg/toolUnknwon2017-04-05
|
* models/mirror: feed git.IsRepoURLAccessible with raw mirror addressUnknwon2017-04-04
|
* repo/http: fix client is not informed to provide credentialsUnknwon2017-04-04
| | | | | | | When Git client has cached credentials for a site, missing response header 'WWW-Authenticate: Basic realm="."' will result in Git client does not prompt user to input credentials again but plain error message and halts push/pull process.
* 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
* milestone: only show issue-related count under issue list (#4316)Unknwon2017-03-24
|
* error: move ErrRepoNotExist -> errors.RepoNotExistUnknwon2017-03-23
|
* models: rename ErrUserNotExist -> errors.UserNotExistUnknwon2017-03-16
|
* git_hook: add new env var 'GOGS_AUTH_USER_EMAIL' (#4252)Unknwon2017-03-06
|
* routers/repo/http: only prompt HTTP Basic Authentication when intendedUnknwon2017-03-04
| | | | | | | | | Sometimes user could simply request wrong URL, but if that wrong URL has nothing related Git HTTP operations, HTTP Basic Authentication should not prompted. Instead, clean 404 page should be presented. The patch also supports Git HTTP operations without '.git' suffix to the repository name, which addresses #4226 and #4189.
* models/access: hasAccess only need userID not user objectUnknwon2017-02-23
|
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Security: fix XSS attack on milestoneUnknwon2017-02-17
| | | | Reported by Miguel Ángel Jimeno.
* 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.
* log: start using gopkg.in/clog.v1Unknwon2017-02-09
|
* Code fix for PR #3748Unknwon2016-12-23
|
* Use temporary file to avoid out-of-memory when receiving big chunks. (#3748)typeless2016-12-23
| | | | | | | | | | * Use temporary file to avoid out-of-memory when receiving big chunk. Not perfect but I think it's a reasonable solution. For small request bodies, I suppose performance wouldn't be an issue. For large ones, this seems to be a necessary evil. * Must close the open file to avoid fd leaks
* Minor fix for PR #3667Unknwon2016-12-22
|
* Feature #2583: Disable HTTP cloning (#3667)Thibault Meyer2016-12-22
| | | | | | | | * Can disable GIT interactions by HTTP protocol * rename variable + fix wiki link * missing space
* General code quality improvementUnknwon2016-08-16
|
* Replace convert.To with APIFormat callsUnknwon2016-08-14
|
* #2246 fully support of webhooks for pull requestUnknwon2016-08-14
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* Fixes #3110 (#3136)Franz Schmidt2016-06-27
|
* repo/http: clean codeUnknwon2016-06-01
|
* Add route for #2846Unknwon2016-03-21
|
* Rename module: middleware -> contextUnknwon2016-03-11
|
* #2650 fix possbility that use email as pusher user nameUnknwon2016-02-17
| | | | | | | | | | Remove the possibility of using email as user name when user actually push through combination of email and password with HTTP. Also refactor update action function to replcae tons of arguments with single PushUpdateOptions struct. And define the user who pushes code as pusher, therefore variable names shouldn't be confusing any more.
* Use pretty 404 pages in repo.HTTPBackendFlorian Kaiser2016-02-02
|
* typo fixzhuharev2016-01-06
|
* #2311 improve HTTP auth error messageUnknwon2015-12-30
|
* #2114 External URL for wikiUnknwon2015-12-11
|
* finish wikiUnknwon2015-11-30
|
* introduce git-shellUnknwon2015-11-26
|
* #1681 some fixes for builtin SSH server on WindowsUnknwon2015-11-23
|
* go vet and fix #1890Unknwon2015-11-08
|
* New push to head repo of head branch: regenerate patch and retest applyUnknwon2015-10-24
|
* #842 able to use access token replace basic authUnknwon2015-09-02
|
* token recent activityUnknwon2015-08-19
|
* try to fix HTTP ops not GCUnknwon2015-08-17
|
* work on #1493Unknwon2015-08-17
|
* WIP: create PR - choose branchUnknwon2015-08-08
|
* allow anonymous SSH cloneUnknwon2015-08-05
|
* #835: Realtime webhooksUnknwon2015-07-25
|
* Set Content-Type to text/plain for http status 401Linquize2015-03-28
| | | | This is because git command line shows the failure reason only if Content-Type is text/plain.
* #1040: dashboard no longer accessible when repo is missingUnknwon2015-03-16
|
* fix HTTP/HTTPS push update func call panic #1037 and `http: multiple ↵Unknwon2015-03-12
| | | | response.WriteHeader calls`