]> source.dussan.org Git - gitea.git/commit
Remove local clones & make hooks run on merge/edit/upload (#6672)
authorzeripath <art27@cantab.net>
Sat, 11 May 2019 15:29:17 +0000 (16:29 +0100)
committertechknowlogick <hello@techknowlogick.com>
Sat, 11 May 2019 15:29:17 +0000 (11:29 -0400)
commitce8de3533485eed0c56059d6334a5031a73eed67
tree2f8e5c84441467269a98fb450ddfaca236cfc2e7
parent34eee25bd42d19287e3e33afd169cc979ab61f37
Remove local clones & make hooks run on merge/edit/upload (#6672)

* Add options to git.Clone to make it more capable

* Begin the process of removing the local copy and tidy up

* Remove Wiki LocalCopy Checkouts

* Remove the last LocalRepo helpers

* Remove WithTemporaryFile

* Enable push-hooks for these routes

* Ensure tests cope with hooks

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove Repository.LocalCopyPath()

* Move temporary repo to use the standard temporary path

* Fix the tests

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Remove LocalWikiPath

* Fix missing remove

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use AppURL for Oauth user link (#6894)

* Use AppURL for Oauth user link

Fix #6843

* Update oauth.go

* Update oauth.go

* internal/ssh: ignore env command totally (#6825)

* ssh: ignore env command totally

* Remove commented code

Needed fix described in issue #6889

* Escape the commit message on issues update and title in telegram hook (#6901)

* update sdk to latest (#6903)

* improve description of branch protection (fix #6886) (#6906)

The branch protection description text were not quite accurate.

* Fix logging documentation (#6904)

* ENABLE_MACARON_REDIRECT should be REDIRECT_MACARON_LOG

* Allow DISABLE_ROUTER_LOG to be set in the [log] section

* [skip ci] Updated translations via Crowdin

* Move sdk structs to modules/structs (#6905)

* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor
34 files changed:
contrib/pr/checkout.go
integrations/api_repo_file_content_test.go
integrations/api_repo_file_create_test.go
integrations/api_repo_file_delete_test.go
integrations/api_repo_file_update_test.go
integrations/editor_test.go
integrations/integration_test.go
integrations/pull_create_test.go
integrations/pull_merge_test.go
integrations/pull_status_test.go
integrations/repo_activity_test.go
integrations/repo_branch_test.go
integrations/repofiles_delete_test.go [new file with mode: 0644]
integrations/repofiles_update_test.go [new file with mode: 0644]
models/helper_directory.go [new file with mode: 0644]
models/helper_environment.go [new file with mode: 0644]
models/pull.go
models/repo.go
models/repo_branch.go
models/repo_test.go
models/user.go
models/wiki.go
models/wiki_test.go
modules/git/command.go
modules/git/repo.go
modules/git/repo_branch.go
modules/git/repo_index.go [new file with mode: 0644]
modules/git/repo_object.go
modules/git/repo_tree.go
modules/repofiles/delete_test.go [deleted file]
modules/repofiles/temp_repo.go
modules/repofiles/update_test.go [deleted file]
modules/setting/repository.go
routers/repo/branch.go