Commit Graph
7 Commits
Author SHA1 Message Date
Lunny XiaoandGitHub 719bddcd76 Move repository model into models/repo (#17933)
* Some refactors related repository model

* Move more methods out of repository

* Move repository into models/repo

* Fix test

* Fix test

* some improvements

* Remove unnecessary function
2021-12-10 09:27:50 +08:00
wxiaoguangandGitHub 750a8465f5 A better go code formatter, and now make fmt can run in Windows (#17684)
* go build / format tools
* re-format imports
2021-11-17 20:34:35 +08:00
81926d61db Decouple unit test, remove intermediate unittestbridge package (#17662)
Co-authored-by: Lunny Xiao <[email protected]>
2021-11-16 16:53:21 +08:00
wxiaoguangandGitHub df64fa4865 Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
Lunny XiaoandGitHub 33fca2b537 Move webhook into models/webhook/ (#17579) 2021-11-10 13:13:16 +08:00
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 <[email protected]>
2021-09-19 19:49:59 +08:00
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 <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-12-08 11:41:14 +01:00