Lunny Xiao
67b316a954
Refactor comment ( #9330 )
...
* Refactor comment
* fix test
* improve code
5 years ago
Lunny Xiao
ef98b168f7
Move UpdateIssuesCommit from models to repofiles ( #9276 )
5 years ago
zeripath
722a7c902d
Add Close() method to gogitRepository ( #8901 )
...
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.
This PR adds this Close function and adds the Close functions as necessary.
In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.
Fixes #7947
5 years ago
Lunny Xiao
8a84d82d53
Move repofiles webhooks to notification ( #8807 )
5 years ago
Lunny Xiao
022d2d8beb
Move push commits events to notification ( #8783 )
...
* Move push commits events to notification
* Update modules/notification/base/null.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
5 years ago
Lunny Xiao
f518fe6662
Rename HookQueue to hookQueue ( #8778 )
...
* Rename HookQueue to hookQueue
* fix lint
5 years ago
Lunny Xiao
0e7f7df3cf
Move webhook to a standalone package under modules ( #8747 )
...
* Move webhook to a standalone package under modules
* fix test
* fix comments
5 years ago
Lunny Xiao
09ca391230
Add file status on API ( #7671 )
...
* add file status on API
* fix tests
* fix tests
* fix tests
5 years ago
Lunny Xiao
e7d4895732
Move commit repo action from models to repofiles package ( #7645 )
...
* move commit repo action from models to repofiles package
* fix unit tests
5 years ago