- Notifications
You must be signed in to change notification settings - Fork927
feat: Implement joins with golang templates#6429
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
43 commits Select commitHold shift + click to select a range
1979cde
feat: Implement view for workspace builds to include rbac info
Emyrk4c0cd84
chore: Use workspace build as RBAC object
Emyrkef9936f
Merge remote-tracking branch 'origin/main' into stevenmasley/rbac_views
Emyrk0b98766
Remove uneeded extra code
Emyrk8a26947
UsePostFilter
Emyrk6bee9af
Remove some db round trips
Emyrk81165d5
Fix dbgen unit test
Emyrke252c04
Fix compile issue
Emyrk961ffaf
Merge remote-tracking branch 'origin/main' into stevenmasley/rbac_views
Emyrkb698672
fix merge
Emyrk3ce72c5
rename migration file +1
Emyrkc3c2702
Merge remote-tracking branch 'origin/main' into stevenmasley/rbac_views
Emyrkc3218f7
fix fake
Emyrk67a5b4a
chore: Use golang templates instead of sqlc files
Emyrk6484021
Combine all queries into 1
Emyrka8ceb72
Refactor sqlx to it's own package
Emyrk29d41ab
Use sqlx for workspace build queries
Emyrkb46813f
Pass arguments
Emyrk8dc8c42
Handle nonzero limit
Emyrke907a0f
Fix sqlx unit test
Emyrk60871ab
Merge remote-tracking branch 'origin/main' into stevenmasley/build_wi…
Emyrkfe13549
Fix unit tests
Emyrke91476d
Fix unit tests
Emyrk03547a3
cleanup
Emyrk4495962
Test fixes
Emyrkfd867d0
remove unused function
Emyrk3a116ee
Rename back to WorkspaceBuild
Emyrkfc838bf
Make fmt
Emyrk4dc0a34
Make gens and make fmts
Emyrk95bda31
Merge remote-tracking branch 'origin/main' into stevenmasley/build_wi…
Emyrk98f8c56
Make gen
Emyrke0a09f0
fix linting errors
Emyrk7b448d1
Merge remote-tracking branch 'origin/main' into stevenmasley/build_wi…
Emyrk1eebb14
Make dump.sql
Emyrkb13f593
Handle transactions
Emyrk56b847e
Fix a unit ttest
Emyrk2cce422
Fix a unit ttest
Emyrkf5a87ca
Fix deadlock
Emyrkd80dd10
Panic instead of error
Emyrk2949513
Put back in error
Emyrk7f480fb
Remove generic function use
Emyrk7d6a0da
Panic when query loading fails
Emyrk91cf7a8
Merge remote-tracking branch 'origin/main' into stevenmasley/build_wi…
EmyrkFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletioncoderd/audit/diff.go
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
6 changes: 3 additions & 3 deletionscoderd/audit/request.go
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
4 changes: 2 additions & 2 deletionscoderd/autobuild/executor/lifecycle_executor.go
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
7 changes: 3 additions & 4 deletionscoderd/autobuild/executor/lifecycle_executor_test.go
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
12 changes: 12 additions & 0 deletionscoderd/database/db.go
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
86 changes: 25 additions & 61 deletionscoderd/database/dbauthz/querier.go
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.
Uh oh!
There was an error while loading.Please reload this page.
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.