You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
blob.go Swagger info corrections (#9441) 5 years ago
branch.go Swagger info corrections (#9441) 5 years ago
collaborators.go Swagger info corrections (#9441) 5 years ago
commits.go Swagger info corrections (#9441) 5 years ago
file.go [API] Extend contents with dates (#9464) 5 years ago
fork.go Swagger info corrections (#9441) 5 years ago
git_hook.go Swagger info corrections (#9441) 5 years ago
git_ref.go Swagger info corrections (#9441) 5 years ago
hook.go Swagger info corrections (#9441) 5 years ago
hook_test.go API endpoint for testing webhook (#3550) 6 years ago
issue.go Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) 5 years ago
issue_comment.go Swagger info corrections (#9441) 5 years ago
issue_label.go Swagger info corrections (#9441) 5 years ago
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
issue_stopwatch.go Swagger info corrections (#9441) 5 years ago
issue_subscription.go Swagger info corrections (#9441) 5 years ago
issue_tracked_time.go [API] Extend times API (#9200) 5 years ago
key.go Swagger info corrections (#9441) 5 years ago
label.go Swagger info corrections (#9441) 5 years ago
main_test.go API endpoint for testing webhook (#3550) 6 years ago
milestone.go Swagger info corrections (#9441) 5 years ago
pull.go Fix #9189 - API Allow only specific Colums to be updated on Issue (#9539) 5 years ago
release.go Swagger info corrections (#9441) 5 years ago
release_attachment.go Swagger info corrections (#9441) 5 years ago
repo.go Swagger info corrections (#9441) 5 years ago
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 5 years ago
star.go Swagger info corrections (#9441) 5 years ago
status.go Swagger info corrections (#9441) 5 years ago
subscriber.go Swagger info corrections (#9441) 5 years ago
tag.go Swagger info corrections (#9441) 5 years ago
topic.go Swagger info corrections (#9441) 5 years ago
tree.go Swagger info corrections (#9441) 5 years ago