6543 c620eb5b2d Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539)
* dont insert "-1" in any case to issue.poster_id

* Make sure API cant override importand fields

* code format

* fix lint

* WIP test

* add missing poster_id

* fix test

* user.IsGhost handle nil

* CI.restart()

* make sure no -1 is realy added

* CI.restart()

* @lunny suggestion remove some not allowed fields

* seperate issue.LoadMilestone

* load milestone and return it on IssueEdit via API

* extend Test for TestAPIEditIssue

* fix fixtures

* declare allowedColumnsUpdateIssueByAPI only once

* Update Year

* no var just write id drecty into func cal

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-01 17:51:10 -05:00
..
2019-12-22 08:29:26 +00:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-09-24 21:22:39 +08:00
2019-12-27 20:30:58 +00:00
2019-12-27 20:30:58 +00:00
2019-12-15 16:57:34 -05:00
2019-10-17 11:26:49 +02:00
2019-12-15 11:06:31 +00:00
2019-11-11 23:15:29 +08:00
2019-12-15 11:06:31 +00:00
2019-10-17 11:26:49 +02:00
2019-06-12 15:41:28 -04:00
2019-10-17 11:26:49 +02:00
2019-08-23 12:40:29 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00