gogs/models
Unknwon d521e716dd
refactoring: SSH and HTTP push procees is now unified
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.
2017-02-16 16:33:49 -05:00
..
migrations migration.v15: don't generate hook file if wiki not exist (#1623) 2017-02-15 05:45:15 -05:00
access.go refactoring: SSH and HTTP push procees is now unified 2017-02-16 16:33:49 -05:00
action.go refactoring: SSH and HTTP push procees is now unified 2017-02-16 16:33:49 -05:00
admin.go log: start using gopkg.in/clog.v1 2017-02-09 19:29:59 -05:00
attachment.go Some file refactoring 2017-02-10 16:51:09 -05:00
comment.go Some file refactoring 2017-02-10 16:51:09 -05:00
error.go models/login_source: code improvement 2016-08-31 01:22:41 -07:00
git_diff.go log: start using gopkg.in/clog.v1 2017-02-09 19:29:59 -05:00
git_diff_test.go Fix git diff tests 2016-08-16 07:45:06 -07:00
issue.go api/issue: minor code refactor (#3688) 2017-02-12 19:46:38 -05:00
issue_label.go Some code renaming 2016-12-22 19:58:30 -05:00
issue_mail.go log: start using gopkg.in/clog.v1 2017-02-09 19:29:59 -05:00
login_source.go log: start using gopkg.in/clog.v1 2017-02-09 19:29:59 -05:00
milestone.go Some file refactoring 2017-02-10 16:51:09 -05:00
mirror.go Some file refactoring 2017-02-10 16:51:09 -05:00
models.go refactoring: SSH and HTTP push procees is now unified 2017-02-16 16:33:49 -05:00
models_sqlite.go go vet 2014-04-13 03:14:43 -04:00
models_test.go #3442 add test suites 2016-08-12 02:56:50 -07:00
org.go log: start using gopkg.in/clog.v1 2017-02-09 19:29:59 -05:00
org_team.go org/team: make 'new' as reserved for team name (#3789) 2017-02-14 03:16:02 -05:00
pull.go Minor improve on error handling 2017-02-10 00:11:51 -05:00
release.go Some code renaming 2016-12-22 19:58:30 -05:00
repo.go models/repo: UpdateLocalCopy should always aceept valid branch name 2017-02-16 06:28:37 -05:00
repo_branch.go Minor fix for #2506 2016-02-02 17:07:40 -05:00
repo_collaboration.go Implement list/check/delete Repo Collaborator (#3689) 2017-02-14 18:45:08 -05:00
repo_editor.go log: start using gopkg.in/clog.v1 2017-02-09 19:29:59 -05:00
repo_test.go The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246) 2016-07-09 13:22:28 +08:00
ssh_key.go models/ssh_key: fix SSH_KEYGEN_PATH not working (#3770) 2017-02-10 02:26:55 -05:00
ssh_key_test.go Code clean up for new config options 2016-08-14 23:52:24 -07:00
token.go Some code renaming 2016-12-22 19:58:30 -05:00
update.go refactoring: SSH and HTTP push procees is now unified 2017-02-16 16:33:49 -05:00
user.go Improve Open Graph Meta tags (#3664) 2017-02-11 00:03:10 -05:00
user_mail.go Fix create user can use user email which is used (#4016) 2017-01-29 18:29:53 -05:00
webhook.go webhook: remove bad characters of Slack-type webhook for Discord (#4088) 2017-02-11 16:31:58 -05:00
webhook_slack.go webhook: remove bad characters of Slack-type webhook for Discord (#4088) 2017-02-11 16:31:58 -05:00
wiki.go models/repo: UpdateLocalCopy should always aceept valid branch name 2017-02-16 06:28:37 -05:00