mirror of
https://github.com/go-gitea/gitea
synced 2025-08-07 01:58:19 +00:00
* 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>
This commit is contained in:
@@ -547,7 +547,8 @@
|
||||
is_private: false
|
||||
num_stars: 0
|
||||
num_forks: 0
|
||||
num_issues: 0
|
||||
num_issues: 1
|
||||
num_milestones: 1
|
||||
is_mirror: false
|
||||
|
||||
-
|
||||
@@ -588,7 +589,7 @@
|
||||
is_mirror: false
|
||||
status: 0
|
||||
|
||||
-
|
||||
-
|
||||
id: 46
|
||||
owner_id: 26
|
||||
lower_name: repo_external_tracker
|
||||
@@ -600,7 +601,7 @@
|
||||
is_mirror: false
|
||||
status: 0
|
||||
|
||||
-
|
||||
-
|
||||
id: 47
|
||||
owner_id: 26
|
||||
lower_name: repo_external_tracker_numeric
|
||||
@@ -612,7 +613,7 @@
|
||||
is_mirror: false
|
||||
status: 0
|
||||
|
||||
-
|
||||
-
|
||||
id: 48
|
||||
owner_id: 26
|
||||
lower_name: repo_external_tracker_alpha
|
||||
|
Reference in New Issue
Block a user