Commit Graph

4 Commits (6ea6e2b4eb339f58f805783532f1b481fec67375)

Author SHA1 Message Date
6543 00a806de68
[API] Milestone endpoints accept names too ()
* API: Milestone endpoints accept names too

* add test

* rename

Co-authored-by: Lauris BH <lauris@nix.lv>
6543 8bdc9795d8
Add name filter to API for GetMilestoneList ()
Adds a name filter to the API for GetMilestoneList

Includes a small refactor: merge GetMilestones and GetMilestonesByRepoID

Close 

Needed for https://gitea.com/gitea/go-sdk/issues/383 and https://gitea.com/gitea/tea/pulls/149
6543 1ac46186ff
API allow to create closed milestones ()
* API allow to create closed milestones

* set CloseDate too

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao c09e020558
Fix milestone API state parameter unhandled ()
* Fix milestone API state parameter unhandled

* Fix test