-
Couldn't load subscription status.
- Fork 11
feat: basic vm controls #1293
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
feat: basic vm controls #1293
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
df429f5
chore: lint
elibosley d9dbb6e
fix: build
elibosley 13cdbf9
chore: lint
elibosley eeab410
chore: fix explicit type imports on array mutaitons
elibosley 6e8e74f
feat: move resolvers to nested fields, add placeholder resolvers for …
elibosley c085b6b
chore: lint
elibosley dfe57dd
fix: array resolver missing
elibosley 2e0226b
feat: add basic controls for vm start stop
elibosley 0d1bc27
feat: massive vm cleanup and testing
elibosley 9e92c09
fix: index file error
elibosley 54b795f
feat: vm unit testing improvements
elibosley 3950e27
fix: libvirt new binaries
elibosley 5e77060
chore: update libvirt to the latest
elibosley dae7a0d
chore: lint
elibosley bb8661e
feat: setup libvirt in GHA
elibosley d656d66
chore: create libvirt pidfile path
elibosley 906582f
fix: type check
elibosley 73c8e75
chore: fix prebuilt libvirt binary selection
elibosley 5db3917
chore: update libvirt to fix build issue
elibosley fde5434
feat: vm controls and new permission decorator
elibosley e62f422
chore: lint
elibosley 1c49bbc
chore: fix generated schema and schema generation call
elibosley f33f21c
chore: test file cleanup
elibosley 15e6f20
chore: add unit test around auth schema
elibosley 1d80119
chore: fix tests
elibosley 108ac5f
chore: fix return
elibosley 3f47764
chore: fix a couple of lint errors
elibosley 698ebb3
fix: disable decorator and fix unit tests
elibosley a45850b
chore: fix type-check
elibosley a36bdba
chore: remove unused array logic and fix flaky test
elibosley 48ab2a2
chore: fix log on vm URI
elibosley a7cc7d3
fix: update patch file
elibosley 1a32fb6
chore: update generated schema
elibosley c0a0803
chore: allowed origins test fixed
elibosley 784c27c
chore: lint
elibosley 0118144
Update api/src/unraid-api/auth/auth.interceptor.ts
elibosley 6c491e1
Update api/src/unraid-api/graph/resolvers/array/array.service.ts
elibosley 730c1d8
chore: lint
elibosley b18d625
chore: fix type error
elibosley 4efb8e7
chore: lint
elibosley d2c27e1
chore: resolve issues with network test
elibosley 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
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 |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| [api] | ||
| version="4.4.1" | ||
| extraOrigins="https://google.com,https://test.com" | ||
| [local] | ||
| sandbox="yes" | ||
| [remote] | ||
| wanaccess="yes" | ||
| wanport="8443" | ||
| upnpEnabled="no" | ||
| apikey="_______________________BIG_API_KEY_HERE_________________________" | ||
| localApiKey="_______________________LOCAL_API_KEY_HERE_________________________" | ||
| email="test@example.com" | ||
| username="zspearmint" | ||
| avatar="https://via.placeholder.com/200" | ||
| regWizTime="1611175408732_0951-1653-3509-FBA155FA23C0" | ||
| accesstoken="" | ||
| idtoken="" | ||
| refreshtoken="" | ||
| dynamicRemoteAccessType="DISABLED" | ||
| ssoSubIds="" |
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.
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.
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.
💡 Verification agent
🧩 Analysis chain
Validate environment variable for the Mothership GraphQL link.
Ensure
process.env.MOTHERSHIP_GRAPHQL_LINKis set in all relevant environments for successful client generation.🏁 Script executed:
Length of output: 94
Action Required: Define MOTHERSHIP_GRAPHQL_LINK Environment Variable
The GraphQL client configuration in
api/codegen.ts(lines 85-104) relies onprocess.env.MOTHERSHIP_GRAPHQL_LINK. The verification script indicates that this variable is currently not set, which may lead to client generation failures. Please ensure that the environment variable is defined across all relevant environments (development, CI, production) or implement a fallback mechanism.