Lunny Xiao
dad67cae54
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
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
ac6accef09
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
0a004a69cd
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
061388379a
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
c03d75fbd5
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