-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Add Organization Wide Labels #10814
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
Merged
Merged
Add Organization Wide Labels #10814
Changes from 42 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
6548c80
Add organization wide labels
mrsdizzie b7dc22c
Add migration
mrsdizzie 350569a
remove comments
mrsdizzie c562eef
fix tests
mrsdizzie 140d87d
Update options/locale/locale_en-US.ini
mrsdizzie 00729a2
show org labels in issue search label filter
mrsdizzie 8af0f6c
Use more clear var name
mrsdizzie 1ac0851
Merge branch 'master' into organization-labels
mrsdizzie 101d4e7
rename migration after merge from master
mrsdizzie 33ca43e
comment typo
mrsdizzie adf4235
Merge branch 'master' into organization-labels
lafriks 76ae932
Merge branch 'master' into organization-labels
mrsdizzie 13fadae
update migration again after rebase with master
mrsdizzie a82a29b
check for orgID <=0 per guillep2k review
mrsdizzie 27209ee
fmt
mrsdizzie eae4724
Apply suggestions from code review
mrsdizzie a68f6f8
remove unused code
mrsdizzie 3a0b210
Make sure RepoID is 0 when searching orgID per code review
mrsdizzie f4afe50
more changes/code review requests
mrsdizzie 835ee95
More descriptive translation var per code review
mrsdizzie 503998b
func description/delete comment when issue label deleted instead of h…
mrsdizzie 007ff15
remove comment
mrsdizzie 88c37d1
Merge branch 'master' into organization-labels
mrsdizzie e4714fe
only use issues in that repo when calculating number of open issues f…
mrsdizzie 70529e2
Add integration test for IssuesSearch API with labels
mrsdizzie 967335e
Merge branch 'master' into organization-labels
mrsdizzie 2604c39
remove unused function
mrsdizzie 72b4c5c
Update models/issue_label.go
mrsdizzie 8c1f393
Use subquery in GetLabelIDsInReposByNames
mrsdizzie a8517ab
Fix tests to use correct orgID
mrsdizzie 5688933
Merge branch 'master' into organization-labels
mrsdizzie e5809c4
fix more tests
mrsdizzie 2ecf5d1
Merge branch 'master' into organization-labels
mrsdizzie 1b94717
Merge branch 'master' into organization-labels
mrsdizzie a01f7a9
IssuesSearch api now uses new BuildLabelNamesIssueIDsCondition. Add a…
mrsdizzie 47d1b8e
update comment for clarity
mrsdizzie d17c8c2
Revert previous code change now that we can use the new BuildLabelNam…
mrsdizzie 59f0586
Don't sort repos by date in IssuesSearch API
mrsdizzie 8887170
Merge branch 'master' into organization-labels
mrsdizzie a5bb033
linter is back!
mrsdizzie e4ed7ec
code review
mrsdizzie 893650b
remove now unused option
mrsdizzie 7e40622
Fix newline at end of files
mrsdizzie 235d420
more unused code
mrsdizzie fbee66a
Merge branch 'master' into organization-labels
mrsdizzie 731dd89
Merge branch 'master' into organization-labels
mrsdizzie 0013cd3
update to master
mrsdizzie f74a1b8
check for matching ids before query
mrsdizzie 551f3b5
Update models/issue_label.go
mrsdizzie d39f303
Update models/issue_label.go
mrsdizzie 0bddcf7
update comments
mrsdizzie 69cf00e
Update routers/org/setting.go
mrsdizzie aae5286
Merge branch 'master' into organization-labels
mrsdizzie 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,3 +12,8 @@ | |
| id: 3 | ||
| issue_id: 2 | ||
| label_id: 1 | ||
|
|
||
| - | ||
| id: 4 | ||
| issue_id: 2 | ||
| label_id: 4 | ||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.