Carlos Alcaide Corvo
6d97b15591
fix: 🐛 appUpdater support ARM64 ( #2327 )
...
Add ARM64 support for the appUpdater
2024-06-25 12:50:17 -07:00
Cameron Perera and Zhihe Li
2f27a4cfc0
chore: 🤖 Update electron version ( #2332 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13697
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-06-21 18:40:46 -04:00
Zhihe Li
355ebb12db
feat: 🎸 Add more logging for desktop client ( #2344 )
2024-06-17 18:18:58 -04:00
Zhihe Li
0094cef9f5
refactor: 💡 Rename client daemon to cache daemon ( #2346 )
2024-06-17 17:16:07 -04:00
Zhihe Li
bca65d8d5a
feat: 🎸 Fix text and persist windows notification ( #2330 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13977
2024-06-12 16:40:19 -04:00
Zhihe Li
8788b5ec9a
feat: 🎸 Add support for polling transparent sessions ( #2304 )
...
* feat: 🎸 Add support for polling transparent sessions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13831
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13830
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13832
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13833
2024-06-12 16:40:19 -04:00
Zhihe Li
7e89f28949
Icu 13451 desktop client logging ( #2318 )
...
* feat: 🎸 Add initial logging for desktop client
2024-06-07 12:12:28 -04:00
Dharini Jeeva
9b1f052a56
chore: Update desktop client license from MPL to BSL ( #2307 )
...
* chore: 🤖 license
2024-05-31 11:29:24 -07:00
Zhihe Li
6bbddc56b1
fix: 🐛 Fix windows being unable to search client daemon ( #2245 )
...
When using the client daemon to search on windows, we use
the CLI instead of the unix socket for our requests.
Unfortunately that means we spawn a separate process to
retrive the results and one idiosyncracy of this is that
`spawnSync` buffers its outputs which means we were hitting
the default max buffer size. `spawn` doesn't have this
issue because it streams its outputs and we didn't previously
use `spawnSync` for any command that produced large amounts
of output.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13466
2024-04-17 07:40:09 -07:00
Johan Brandhorst-Satzkorn and Zhihe Li
ac5110d94a
feat: 🎸 authenticate to ferry on authentication ( #2203 )
...
* feat: 🎸 authenticate to ferry on authentication
Replace the 'boundary daemon add-token' command with a simple
'boundary auth-tokens read -id <token_id>', relying on the boundary
CLI to do the work of sending the token to the client and Ferry
daemons.
* refactor: 💡 Use CLI to add tokens to daemons for all platforms
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-04-03 12:41:13 -04:00
Cameron Perera
82ea70f44b
fix: 🐛 update destination path for autoUpdater workflow ( #2179 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12878
2024-03-13 10:46:22 -05:00
Lisbet Alvarez
4be8d10323
Icu 12557 refresh not working as intended on windows ( #2133 )
...
* fix: 🐛 add flag
* refactor: 💡 add true val
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12557
2024-02-09 11:58:41 -08:00
Cameron Perera
08d9801829
refactor: 💡 add -addr flag to add-token command ( #2118 )
...
* refactor: 💡 add -addr flag to add-token command
* style: 💄 remove old comment
2024-01-29 14:44:50 -06:00
Zhihe Li and Cameron Perera
3721f63edf
fix: 🐛 Fix client daemon usage on windows ( #2115 )
...
* fix: 🐛 Fix client daemon usage on windows
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12365
* refactor: 💡 Fix error handling
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12365
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2024-01-26 16:57:15 -06:00
Zhihe Li
3f4beaada8
feat: 🎸 Add warning when upgrading to 2.0 for desktop client ( #2101 )
2024-01-22 19:06:01 -05:00
Zhihe Li
f71fc3a0a4
fix: 🐛 Fix errors not getting propagated up from client daemon ( #2099 )
2024-01-19 18:13:33 -05:00
Cameron Perera
1488bdf95e
Icu 12027 let the user know if the dc isnt compatible with the controller and link them to the previous version ( #2073 )
...
* chore: 🤖 allow use of hashicorp release endpoints in desktop
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 use page_size to bypass pagination in query adapter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 add list_token mirage scopes list response
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* feat: 🎸 add logic for unsupported controllers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 add comment to application adapter change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 rename scopes controller method
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove scopes controller
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 use beforeModel and setupController hook for scopes
along with converting scopes model back to original state
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove styling to hide modal dismiss button
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 update comment for opening external links
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 revert model hook changes for scopes
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 remove target connect test from scopes acceptance tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 add tests for unsupported controller logic
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 update modal test to waitFor elements to render
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 remove use of set and get from scopes router
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* refactor: 💡 default isPaginationSupported to false
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 remove unsupported controller tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 add tests back but skip them
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
* test: 💍 fix failing tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12027
2024-01-16 10:17:47 -05:00
Zhihe Li
2e36d3c3e2
feat: 🎸 Add fallback if client daemon is down or errors ( #2085 )
...
* feat: 🎸 Add fallback if client daemon is down or errors
* test: 💍 Add tests for client daemon being down
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12026
2024-01-16 10:17:46 -05:00
Zhihe Li
15d815c271
feat: 🎸 Add pagination component to targets ( #2023 )
...
* feat: 🎸 Add pagination component to targets
* test: 💍 Fix tests and add helper for client daemon search
* refactor: 💡 Update the returns from client daemon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11905
2024-01-16 10:17:45 -05:00
Zhihe Li
50e4a2adbc
feat: 🎸 Do not stop client daemon if it was already started ( #2021 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11932
2024-01-16 10:17:45 -05:00
221ab1f7bd
Icu 11748 add free search for targets ( #1995 )
...
* refactor: 💡 fix how we access socket_address from status call
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* feat: 🎸 add free search capability to targets list
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* test: 💍 update test asserts to look for hds appl state title
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 remove filtering for yes, no, & narrow-results
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 add aria-label to dropdown search input
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 add to handleInput signature comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 move buildQuery to client daemon handler
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 Add new parser for MQL expressions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* refactor: 💡 use queryParams for searching
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* fix: 🐛 Fix some MQL expressions not being properly filtered
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* style: 💄 update handleSearchInput comment signature
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11748
* Update addons/api/addon/utils/mqlQuery.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2024-01-16 10:17:45 -05:00
Zhihe Li
4bf1a88764
feat: 🎸 Add handler to make search requests to client daemon ( #1989 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11691
2024-01-16 10:17:45 -05:00
Zhihe Li
b8b970ce4d
feat: 🎸 Add initial setup for client daemon integration ( #1987 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11702
2024-01-16 10:17:45 -05:00
Zhihe Li
bcf004b8a4
Reformat codebase with trailing commas in functions ( #2006 )
...
* style: 💄 Update trailing commas in API
* style: 💄 Update trailing commas in core
* style: 💄 Update trailing commas in rose
* style: 💄 Update trailing commas in admin
* style: 💄 Update trailing commas in desktop
2023-11-22 14:07:41 -05:00
Carlos Alcaide Corvo
cb3a9e3bdc
chore: 🤖 Add custom key handler for windows ( #2001 )
...
* chore: 🤖 Add custom key handler for windows
Add custom key handler only for Windows OS so we achieve Ctrl+C to copy
within the embedded terminal
* Await for clipboard promise to complete
2023-11-22 09:21:25 -08:00
Zhihe Li
666491548d
fix: 🐛 Fix broken hot reloading for desktop client ( #1992 )
2023-11-10 14:23:32 -05:00
Dharini Jeeva
e2487b7e98
Fix electron clipboard action ( #1976 )
...
* fix: 🐛 allow clipboard write action
2023-11-01 10:06:03 -07:00
Zhihe Li
4a3d8eee63
feat: 🎸 Allow auto connect to SSH targets on windows ( #1971 )
2023-10-30 18:16:40 -04:00
hashicorp-copywrite[bot]
297db470bd
[COMPLIANCE] Add Copyright and License Headers ( #1953 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-10-16 13:29:31 -04:00
Zhihe Li
2e7399f293
fix: 🐛 Fix electron not inheriting path variable in production ( #1948 )
2023-10-10 20:16:34 -04:00
Zhihe Li
f6e7529b38
fix: 🐛 Stop sending ssh command when session initiated in CLI ( #1925 )
...
✅ Closes: ICU-11209
2023-09-26 16:36:13 -04:00
Zhihe Li
11dc3fb9c8
fix: 🐛 Fix usage of spawn statements with boundary and node-pty ( #1917 )
2023-09-22 18:58:15 -04:00
Zhihe Li
2a8ebe88de
feat: 🎸 Prevent automatically sending SSH command on windows ( #1906 )
...
✅ Closes: ICU-11109
2023-09-22 18:58:14 -04:00
Carlos Alcaide Corvo and Zhihe Li
1f3689ffdf
Chore terminal tweaks ( #1890 )
...
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-09-22 18:58:14 -04:00
85913acc61
Desktop Client Session Terminal ( #1884 )
...
* refactor: 💡 Turn on sandboxing for renderer process (#1870 )
* chore: 🤖 add tabs for details and terminal view (#1871 )
* feat: 🎸 Allow creating multiple terminals (#1872 )
* chore: 🤖 add remove method to terminal (#1875 )
* feat: 🎸 Clean up terminal tab (#1876 )
* feat: 🎸 Handle resizing xterm and node-pty (#1879 )
* feat: 🎸 Clean up killing terminals (#1881 )
* refactor: 💡 Rename tabs component (#1882 )
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-09-22 18:58:14 -04:00
Dharini Jeeva
12a8ef3ad3
chore: 🤖 remove devtron ( #1880 )
2023-09-06 10:01:58 -07:00
Dharini Jeeva
ed51b6b3a9
fix: 🐛 replace deprecated substr with substring ( #1820 )
2023-08-03 15:05:52 -07:00
Dharini Jeeva
cc3c4b2720
update electron version on desktop client ( #1815 )
...
* chore: 🤖 upgrade electron
2023-08-02 15:57:17 -07:00
hashicorp-copywrite[bot] and Cameron Perera
3d610427d0
[COMPLIANCE] Add Copyright and License Headers ( #1617 )
...
* [COMPLIANCE] Add Copyright and License Headers
* chore: 🤖 update Copyright headers to satisfy our lint rules
---------
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2023-03-01 09:39:41 -06:00
mcollao-hc
7661a77824
[ICU-6448] Update CSP to add frame-ancestors: self ( #1367 )
...
* update csp
* add csp for ui
2022-10-06 14:23:14 -05:00
Zhihe Li
b55c50cf64
Chore/update linter ( #1355 )
...
* chore: 🤖 Update editor config settings
* chore: 🤖 Add back ember-template-lint-plugin-prettier
* style: 💄 Format admin
* style: 💄 Format desktop
* style: 💄 Format rose
* style: 💄 Format core
* style: 💄 Format api
2022-10-06 11:41:12 -04:00
Zhihe Li and Carlos Alcaide Corvo
4c4d4e2351
Fix bug dc token env ( #1350 )
...
* Add Boundary password as env variable. WIP
* Add Boundary password as env variable to the spawn process
* fix: 🐛 Fix token flag when connecting a target
Fix a token flag when connecting to a target. Now it uses an env
variable
* Add rest env variables to child processes
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
2022-09-26 12:39:49 -04:00
Carlos Alcaide Corvo
04d14005c0
Fix runtime-settings to not access directly the private variable ( #1220 )
2022-07-27 11:14:59 -07:00
Carlos Alcaide Corvo
4fcb005a1f
Refactor origin to cluster ( #1210 )
2022-07-27 10:25:01 -07:00
Carlos Alcaide Corvo
923526ad26
chore: 🤖 Update electron to v15 ( #1172 )
2022-07-07 11:03:50 -07:00
Zhihe Li
df609dcf2c
refactor: 💡 Update deprecated new window handler ( #1111 )
...
✅ Closes: ICU-4037
2022-05-20 12:53:52 -04:00
Randall Morey
509215f787
chore: 🤖 display auth method names in auth form, if available ( #1113 )
2022-05-19 15:56:48 -04:00
aa52b6f9bc
fix: 🐛 Update validateOrigin to throw error on bad request ( #1107 )
...
* fix: 🐛 Update validateOrigin to throw error on bad request
If the result from netRequestPromise is successful but a not a 200
response, validateOrigin will throw an error
✅ Closes: ICU-4238
* Update ui/desktop/electron-app/src/models/runtime-settings.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 Add comment as to why we don't throw error for 3xxs
* Update ui/desktop/electron-app/src/models/runtime-settings.js
Co-authored-by: Randall Morey <randall@randallmorey.com >
* Update ui/desktop/electron-app/src/models/runtime-settings.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Randall Morey <randall@randallmorey.com >
2022-05-16 12:20:56 -05:00
Zed
75ef323e6d
fix: 🐛 Desktop client not correctly loading ember app url ( #1090 )
2022-04-29 13:38:25 -04:00
Carlos Alcaide Corvo
ccde5e88da
fix: 🐛 Mac os window lifecycle ( #1067 )
2022-04-29 09:03:40 -07:00