Commit Graph
8 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
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
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
6543andGitHub 51578d6418 Calculate label URL on API (#16186)
close #8028
2021-09-10 18:03:16 +02:00
1ea1cade85 Add Created & Updated to Milestone (#12662)
* Add Created and Updated to Milestone table and expose via API

* Expose to UI - To Overloaded ?!?

* fix unit test

Co-authored-by: techknowlogick <[email protected]>
2020-09-05 13:38:54 -04:00
6543andGitHub 7257c39ddf Refactor Milestone related (#11225) 2020-05-12 22:54:35 +01:00
7e8cdba181 [Refactor] move APIFormat() of Issue and Label to convert package (#10423)
* Label: delete .APIFormat() and use convert.ToLabel()

* move issue APIFormat too

* add missing one

* move TEST too

* handle error -> return empty APIIssue

* Apply suggestions from code review

Co-Authored-By: guillep2k <[email protected]>

Co-authored-by: zeripath <[email protected]>
Co-authored-by: guillep2k <[email protected]>
2020-02-28 23:49:50 -03:00