0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-15 06:02:34 +01:00
gitea/routers
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
..
admin
api/v1 Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) 2020-01-01 17:51:10 -05:00
dev
org
private
repo [Fix] Release attachment should use DownloadURL() not Name (#9529) 2019-12-28 23:33:13 +00:00
routes remove since it is there for 3years (#9538) 2019-12-29 12:32:31 +00:00
user [BugFix] use default avatar for ghost user (fix 500 error) (#9536) 2019-12-29 16:24:50 +02:00
utils
home.go
init.go
install.go
metrics.go
swagger_json.go