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
6543
00a806de68
[API] Milestone endpoints accept names too ( #12649 )
...
* API: Milestone endpoints accept names too
* add test
* rename
Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
6543
8bdc9795d8
Add name filter to API for GetMilestoneList ( #12336 )
...
Adds a name filter to the API for GetMilestoneList
Includes a small refactor: merge GetMilestones and GetMilestonesByRepoID
Close #12260
Needed for https://gitea.com/gitea/go-sdk/issues/383 and https://gitea.com/gitea/tea/pulls/149
4 years ago
6543
1ac46186ff
API allow to create closed milestones ( #11745 )
...
* API allow to create closed milestones
* set CloseDate too
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
Lunny Xiao
c09e020558
Fix milestone API state parameter unhandled ( #10049 )
...
* Fix milestone API state parameter unhandled
* Fix test
5 years ago