Lunny Xiao
42d1e4f65b
Extract createComment ( #9125 )
* Extract createComment
* fix lint
* fix lint
5 years ago
guillep2k
82a550eeda
Fix show single review comments in the PR page ( #9143 )
5 years ago
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
guillep2k
0ab5c7f2b3
Don't send notification on pending reviews ( #8943 )
5 years ago
Lunny Xiao
999f85c6cf
Move pull webhook to notification ( #8805 )
* Move pull webhook to notification
* fix fmt
5 years ago
Lunny Xiao
33914aee50
Rename HookQueue to hookQueue ( #8778 )
* Rename HookQueue to hookQueue
* fix lint
5 years ago
Lunny Xiao
a01023f251
Move webhook to a standalone package under modules ( #8747 )
* Move webhook to a standalone package under modules
* fix test
* fix comments
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
John Olheiser
8b9815fca8
Fix review webhooks ( #8570 )
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
Lunny Xiao
2753ddae39
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
5 years ago