-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #9189 - API Allow only specific Colums to be updated on Issue #9539
Merged
techknowlogick
merged 25 commits into
go-gitea:master
from
6543-forks:fix-9189_API_dont-update-posterID-if-ghost-user
Jan 1, 2020
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e5c26f3
dont insert "-1" in any case to issue.poster_id
6543 4c8c595
Make sure API cant override importand fields
6543 27ceb65
code format
6543 c6b0666
fix lint
6543 06c0072
Merge branch 'master' into fix-9189_API_dont-update-posterID-if-ghost…
6543 65c3f67
WIP test
6543 651a357
Merge branch 'master' into fix-9189_API_dont-update-posterID-if-ghost…
lafriks 6d84cb1
add missing poster_id
6543 e7ef8d6
fix test
6543 695ca42
user.IsGhost handle nil
6543 aa0d09d
CI.restart()
6543 cb94942
make sure no -1 is realy added
6543 2244b58
CI.restart()
6543 1cc1831
@lunny suggestion remove some not allowed fields
6543 6442205
seperate issue.LoadMilestone
6543 6642286
load milestone and return it on IssueEdit via API
6543 45d8921
extend Test for TestAPIEditIssue
6543 245dd3c
fix fixtures
6543 8894b3a
Merge branch 'master' into fix-9189_API_dont-update-posterID-if-ghost…
6543 6cbeb66
declare allowedColumnsUpdateIssueByAPI only once
6543 d65920d
Merge branch 'master' into fix-9189_API_dont-update-posterID-if-ghost…
6543 ee1d278
Merge branch 'master' into fix-9189_API_dont-update-posterID-if-ghost…
6543 58a56d0
Update Year
6543 342f542
no var just write id drecty into func cal
6543 6416e81
Merge branch 'master' into fix-9189_API_dont-update-posterID-if-ghost…
6543 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I said on backport,
loadPoster
should not be removed.