Lunny Xiao
d6a1c5a60c
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
2019-11-14 10:57:36 +08:00
zeripath
fcdf91b497
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
2019-11-13 07:01:19 +00:00
Lunny Xiao
cc25cc7002
Move webhook codes from service to webhook notification ( #8712 )
...
* Move webhook codes from service to webhook notification
* move deletecomment webhook to notifications
* fix notification
2019-10-30 12:02:46 +02:00
John Olheiser
9ea5e1db7f
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 >
2019-10-18 23:42:04 +01:00
Lunny Xiao
ce95624be8
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
2019-09-24 13:39:50 -04:00
Lunny Xiao
9e000f708d
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
2019-09-05 22:20:09 -04:00