wxiaoguang
|
df64fa4865
|
Decouple unit test code from business code (#17623)
|
3 years ago |
Lunny Xiao
|
33fca2b537
|
Move webhook into models/webhook/ (#17579)
|
3 years ago |
Lunny Xiao
|
a4bfef265d
|
Move db related basic functions to models/db (#17075)
* Move db related basic functions to models/db
* Fix lint
* Fix lint
* Fix test
* Fix lint
* Fix lint
* revert unnecessary change
* Fix test
* Fix wrong replace string
* Use *Context
* Correct committer spelling and fix wrong replaced words
Co-authored-by: zeripath <art27@cantab.net>
|
3 years ago |
Lunny Xiao
|
42354dfe45
|
Move webhook type from int to string (#13664)
* Move webhook type from int to string
* rename webhook_services
* finish refactor
* Fix merge
* Ignore unnecessary ci
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
|
4 years ago |
S7evinK
|
7af2ccd511
|
Avoid sending "0 new commits" webhooks (#12212)
* Avoid sending "0 new commits" webhook
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* Revert "Avoid sending "0 new commits" webhook"
This reverts commit 1f47ccfacd81470e2c33a02bb8d255172aa4ec08.
* Move commit count check to more central place
* Make tests pass
* Update modules/webhook/webhook.go
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
|
4 years ago |
Lunny Xiao
|
a966a0298e
|
Move more webhook codes from models to webhook module (#8802)
* Move more webhook codes from models to webhook module
|
5 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
|
5 years ago |