gitea/routers/api/v1/repo
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
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
collaborators.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
commits.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
file.go [API] Extend contents with dates (#9464) 2019-12-24 10:33:52 +08:00
fork.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_ref.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_comment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 2019-12-31 03:21:21 -05:00
issue_stopwatch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_subscription.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_tracked_time.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue.go Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) 2020-01-01 17:51:10 -05:00
key.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
main_test.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00
milestone.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
pull.go Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) 2020-01-01 17:51:10 -05:00
release_attachment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
release.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
repo.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
star.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
status.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
subscriber.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tag.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
topic.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tree.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00