Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Refactoring: rename package routers -> routes | Unknwon | 2017-06-11 |
| | |||
* | Refactoring: rename ctx -> c | Unknwon | 2017-06-03 |
| | |||
* | Refactoring: rename and simplify pkg/tool functions | Unknwon | 2017-04-06 |
| | |||
* | 2fa: initial support (#945) | Unknwon | 2017-04-06 |
| | |||
* | Refactoring: rename pkg/base -> pkg/tool | Unknwon | 2017-04-05 |
| | |||
* | models/mirror: feed git.IsRepoURLAccessible with raw mirror address | Unknwon | 2017-04-04 |
| | |||
* | repo/http: fix client is not informed to provide credentials | Unknwon | 2017-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 -> pkg | Unknwon | 2017-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) | Unknwon | 2017-03-24 |
| | |||
* | error: move ErrRepoNotExist -> errors.RepoNotExist | Unknwon | 2017-03-23 |
| | |||
* | models: rename ErrUserNotExist -> errors.UserNotExist | Unknwon | 2017-03-16 |
| | |||
* | git_hook: add new env var 'GOGS_AUTH_USER_EMAIL' (#4252) | Unknwon | 2017-03-06 |
| | |||
* | routers/repo/http: only prompt HTTP Basic Authentication when intended | Unknwon | 2017-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 object | Unknwon | 2017-02-23 |
| | |||
* | Initial version of protected branches (#776) | Unknwon | 2017-02-17 |
| | | | | | - Able to restrict force push and deletion - Able to restrict direct push | ||
* | Security: fix XSS attack on milestone | Unknwon | 2017-02-17 |
| | | | | Reported by Miguel Ángel Jimeno. | ||
* | refactoring: SSH and HTTP push procees is now unified | Unknwon | 2017-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.v1 | Unknwon | 2017-02-09 |
| | |||
* | Code fix for PR #3748 | Unknwon | 2016-12-23 |
| | |||
* | Use temporary file to avoid out-of-memory when receiving big chunks. (#3748) | typeless | 2016-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 #3667 | Unknwon | 2016-12-22 |
| | |||
* | Feature #2583: Disable HTTP cloning (#3667) | Thibault Meyer | 2016-12-22 |
| | | | | | | | | * Can disable GIT interactions by HTTP protocol * rename variable + fix wiki link * missing space | ||
* | General code quality improvement | Unknwon | 2016-08-16 |
| | |||
* | Replace convert.To with APIFormat calls | Unknwon | 2016-08-14 |
| | |||
* | #2246 fully support of webhooks for pull request | Unknwon | 2016-08-14 |
| | |||
* | Refactor User.Id to User.ID | Unknwon | 2016-07-24 |
| | |||
* | Fixes #3110 (#3136) | Franz Schmidt | 2016-06-27 |
| | |||
* | repo/http: clean code | Unknwon | 2016-06-01 |
| | |||
* | Add route for #2846 | Unknwon | 2016-03-21 |
| | |||
* | Rename module: middleware -> context | Unknwon | 2016-03-11 |
| | |||
* | #2650 fix possbility that use email as pusher user name | Unknwon | 2016-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.HTTPBackend | Florian Kaiser | 2016-02-02 |
| | |||
* | typo fix | zhuharev | 2016-01-06 |
| | |||
* | #2311 improve HTTP auth error message | Unknwon | 2015-12-30 |
| | |||
* | #2114 External URL for wiki | Unknwon | 2015-12-11 |
| | |||
* | finish wiki | Unknwon | 2015-11-30 |
| | |||
* | introduce git-shell | Unknwon | 2015-11-26 |
| | |||
* | #1681 some fixes for builtin SSH server on Windows | Unknwon | 2015-11-23 |
| | |||
* | go vet and fix #1890 | Unknwon | 2015-11-08 |
| | |||
* | New push to head repo of head branch: regenerate patch and retest apply | Unknwon | 2015-10-24 |
| | |||
* | #842 able to use access token replace basic auth | Unknwon | 2015-09-02 |
| | |||
* | token recent activity | Unknwon | 2015-08-19 |
| | |||
* | try to fix HTTP ops not GC | Unknwon | 2015-08-17 |
| | |||
* | work on #1493 | Unknwon | 2015-08-17 |
| | |||
* | WIP: create PR - choose branch | Unknwon | 2015-08-08 |
| | |||
* | allow anonymous SSH clone | Unknwon | 2015-08-05 |
| | |||
* | #835: Realtime webhooks | Unknwon | 2015-07-25 |
| | |||
* | Set Content-Type to text/plain for http status 401 | Linquize | 2015-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 missing | Unknwon | 2015-03-16 |
| | |||
* | fix HTTP/HTTPS push update func call panic #1037 and `http: multiple ↵ | Unknwon | 2015-03-12 |
| | | | | response.WriteHeader calls` |