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
4 years ago
guillep2k
8282f26250
Don't send notification on pending reviews (#8943)
4 years ago
Lunny Xiao
aaeef295bb
Move pull webhook to notification (#8805)
* Move pull webhook to notification
* fix fmt
4 years ago
Lunny Xiao
f518fe6662
Rename HookQueue to hookQueue (#8778)
* Rename HookQueue to hookQueue
* fix lint
4 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
4 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>
4 years ago
John Olheiser
7c4c01c0fd
Fix review webhooks (#8570)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
4 years ago
Lunny Xiao
eb11ca6847
Extract actions on new pull request from models to pulls service and move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218)
* extract actions on new pull request from models to pulls service
* improve code
* move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull
* fix fmt
* Rename pulls.go to pull.go
4 years ago
Lunny Xiao
c021890930
move CreateReview to moduels/pull (#7841)
4 years ago