Lunny Xiao
4b64bf07c1
Refactor pull request review ( #8954 )
* refactor submit review
* remove unnecessary code
* remove unused comment
* fix lint
* remove duplicated actions
* remove duplicated actions
* fix typo
* fix comment content
5 years ago
zeripath
7934fe5925
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
1ca5eb7766
Move webhook codes from service to webhook notification ( #8712 )
* Move webhook codes from service to webhook notification
* move deletecomment webhook to notifications
* fix notification
5 years ago
John Olheiser
a84e831d35
Improve webhooks ( #8583 )
* Improve webhooks
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update MSTeams and ReviewPayload comment
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Add repo.FullName to comments
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
Lunny Xiao
a4ee6f9b60
Move create issue comment to comments package ( #8212 )
* move create issue comment to comments package
* extract actions on update/delete comment from models to comment service
* fix lint
* fix lint
5 years ago
Lunny Xiao
c09ca7ea8b
Move git diff codes from models to services/gitdiff ( #7889 )
* move git diff codes from models to services/gitdiff
* fix template
* fix test
* fix template
5 years ago