-
-
Notifications
You must be signed in to change notification settings - Fork 35
implement base CLI for Linux & Windows #949
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
Changes from 126 commits
Commits
Show all changes
136 commits
Select commit
Hold shift + click to select a range
e84725f
setup proto crate
wojcik91 36276c0
migrate proto conversion module
wojcik91 9fdc334
use new proto crate
wojcik91 cf5cc20
scaffold core crate
wojcik91 2f18bd7
migrate shared code to core crate
wojcik91 f63e445
extract version constants and into_location into core crate
wojcik91 b7aea8c
move app_config and wg_config into core, decouple AppHandle from conf…
wojcik91 d3fb797
extract proxy HTTP client
wojcik91 ff984ce
extract daemon gRPC client
wojcik91 8f944c8
extract non-macOS connection setup into core
wojcik91 82ea64d
split macOS-only extension management into a dedicated module in core
wojcik91 0109aeb
setup unified connection interface
wojcik91 3f47bea
setup entirprise crates directory and migrate posture checks
wojcik91 abf6282
migrate provisioning module
wojcik91 b864dd9
migrate config sync module to a crate
wojcik91 07d4e8c
migrate service locations
wojcik91 1481fa3
scaffold service daemon crate
wojcik91 7b8ee78
migrate service binary
wojcik91 28e39fd
cleanup
wojcik91 59368a5
fix tauri build
wojcik91 bc99b93
cleanup
wojcik91 d7cae12
merge nix package update from main
wojcik91 894ae75
cleanup
wojcik91 8c8e570
expose other binaries as nix packages
wojcik91 5552408
make config polling independent from tauri
wojcik91 a078f81
consolidate crate names and workspace dependencies
wojcik91 6211261
add a shared connection layer skeleton
wojcik91 e0ca2ad
migrate desktop client to shared interface
wojcik91 9b76d3e
add an active interface state command
wojcik91 057eae7
setup base CLI structure & status command
wojcik91 d70d72c
WIP: non-MFA connect/disconnect commands
wojcik91 c739c9a
update protos
wojcik91 dc8ff76
implement list_interfaces RPC
wojcik91 b40cad0
update protos
wojcik91 22fd81a
use new RPC to determine active state
wojcik91 c6315c1
configure logging verbosity
wojcik91 9e6006c
make the connect process idempotent
wojcik91 1298eaa
update disconnect logic
wojcik91 93a782b
clippy lint fixes
wojcik91 38fbe4a
attempt to fix pubkey matching
wojcik91 d823b8d
implement basic MFA handling
wojcik91 4bc29b1
handle no-argument disconnect
wojcik91 c69b5fa
fix list formatting
wojcik91 332dffd
update location list formatting
wojcik91 a59a8b7
adjust list formatting
wojcik91 d1e15d8
remove clippy warnings
wojcik91 a994b0e
cleanup
wojcik91 387065c
add new CLI as nix package output
wojcik91 3758afe
extract more shared methods
wojcik91 b5bb28d
use model methods instead of raw queries
wojcik91 2168855
remove more raw queries
wojcik91 7148474
wire up unimplemented flags
wojcik91 7865b97
respect configured MTU
wojcik91 8208493
support posture+MFA combined flow
wojcik91 151b03d
handle daemon unavailable error
wojcik91 f58a704
avoid exposing mfa codes
wojcik91 5f223aa
add a shared output trait
wojcik91 b2ee5f5
cleanup
wojcik91 fd59344
Merge remote-tracking branch 'origin/dev' into cli_interface
wojcik91 d82cbc7
refresh query cache
wojcik91 4b1aab3
add unit tests
wojcik91 29e025e
add mock proxy tests
wojcik91 93b25ae
add mock daemon test
wojcik91 bae1d73
initial review cleanup
wojcik91 8c088da
add macOS-specific temporary error messages
wojcik91 f8e24cb
handle routing override flags
wojcik91 72e279f
add find_by_name queries
wojcik91 b2e6132
add shortened command aliases
wojcik91 891def6
add CommandOutput trait
wojcik91 13f3ed3
migrate status command
wojcik91 ecf1874
migrate list command
wojcik91 cb33080
migrate connect command
wojcik91 d10d014
migrate disconnect command
wojcik91 c209493
migrate location list
wojcik91 76c45c3
migrate location set command
wojcik91 fda78f1
remove unused
wojcik91 d244e26
cleanup
wojcik91 cb0543c
add instance and tunnel commands
wojcik91 4b9b1b8
add missing connection type matching
wojcik91 48128f1
add missing const
wojcik91 4bae09b
add missing flags
wojcik91 332fec4
fix typo
wojcik91 4df227d
remove data dir override
wojcik91 d4d42e0
avoid holding read lock
wojcik91 98d5c35
will it compile on macOS?
wojcik91 fd580ed
Merge branch 'dev' into cli_interface
wojcik91 a97336d
linter fix
wojcik91 a094490
update nix flake inputs
wojcik91 a46619f
cleanup connect command
wojcik91 d6d8243
get the nix package to build with new ui
wojcik91 e30d446
cleanup disconnect
wojcik91 e4cfe5b
reenable tray behavior on linux
wojcik91 0e8d1e8
more cleaning up
wojcik91 ae36788
display new windows on linux
wojcik91 186915a
clarify const names
wojcik91 f564dcf
cleaning up, up, up
wojcik91 5461d6e
remove duplicate connect logic
wojcik91 caf03d7
suprise, more cleaning up
wojcik91 6883123
Merge branch 'dev' into cli_interface
wojcik91 1d6d938
update lockfile
wojcik91 4972a1e
macOS in not happy
wojcik91 e6c3aed
update proto submodule
wojcik91 883c6b1
support version subcommand
wojcik91 16c1c19
fix nix package
wojcik91 42bdba6
add flake output
wojcik91 b3cd1a1
macOS whoopsie
wojcik91 6652208
who knows, maybe this time
wojcik91 4e968a5
unused variables
wojcik91 2b75fcb
nix package fix
wojcik91 59d3ec9
hide unimplemented command
wojcik91 ef42759
add warning for non-https proxy
wojcik91 42f71b6
add invalid input error
wojcik91 d79832a
filter inactive peers
wojcik91 76edb67
add missing mapping
wojcik91 1f59cce
pass new frontend deps derivation for easier workflow integration
wojcik91 d1f0b68
restart service on update
wojcik91 f4f5893
add missing dir error
wojcik91 d6f0399
ensure proper json formatting in fallback
wojcik91 155e325
fail before I/O
wojcik91 b34af29
use shared label
wojcik91 b84b97c
cleaning up here and there
wojcik91 d07aa1d
improve mock test setup
wojcik91 c00304d
add comment
wojcik91 42b25d5
add banner
wojcik91 eb836ca
leave a fixme for reference
wojcik91 b1f1be7
fix ID overlap edge case
wojcik91 783a2ba
revert ui changes
wojcik91 979528c
update logs
wojcik91 dc4bced
review fixes
wojcik91 b240bbe
typo
wojcik91 d3721e1
update nix package
wojcik91 caf1303
adjust windows pipe concurrency limit
wojcik91 52b8c16
Merge branch 'dev' into cli_interface
wojcik91 21a1110
update hashes
wojcik91 b4a777d
add missing dependency
wojcik91 8e1d981
Merge branch 'dev' into cli_interface
wojcik91 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,3 +36,5 @@ src-tauri/gen/ | |
|
|
||
| # nix stuff | ||
| result | ||
|
|
||
| target | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -30,6 +30,7 @@ in | |
| rustToolchain | ||
| trunk | ||
| sqlx-cli | ||
| cargo-nextest | ||
| vtsls | ||
| trivy | ||
| ]; | ||
|
|
||
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.
Uh oh!
There was an error while loading. Please reload this page.