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
dependabot[bot] and Zhihe Li
9bd45164bf
chore(deps): bump tar from 6.1.11 to 6.2.1 in /ui/desktop/electron-app ( #2230 )
...
Bumps [tar](https://github.com/isaacs/node-tar ) from 6.1.11 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases )
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md )
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.11...v6.2.1 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-04-11 14:05:30 -04: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
798cfc6828
chore: 🤖 Update desktop client changelog ( #2183 )
...
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
2024-03-19 12:23:50 -07: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
002f64d676
update cli version and update changelog ( #2165 )
...
* docs: ✏️ update cli version and update changelog
2024-02-28 10:31:34 -08:00
dependabot[bot] and Zhihe Li
912be13744
chore(deps): bump ip from 1.1.8 to 1.1.9 in /ui/desktop/electron-app ( #2155 )
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2024-02-22 15:28:18 -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
Lisbet Alvarez
b63ddadf45
chore: 🤖 update changelog and version for v2.0.0 ( #2117 )
...
* chore: 🤖 update changelog and version for v2.0.0
* chore: 🤖 add pr link
2024-01-26 15:43:57 -08: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
Carlos Alcaide Corvo
66eca93f56
chore: 🤖 Upgrade electron-forge ( #2031 )
...
Upgrade electron-forge to the latest version
2023-12-05 14:11:02 -08: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
Lisbet Alvarez and Zhihe Li
f593e6a8b1
chore: 🤖 update cli version & changelog in desktop ( #1985 )
...
* chore: 🤖 update cli version in desktop
* docs: ✏️ update changelog
* Update ui/desktop/CHANGELOG.md
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-11-03 16:03:07 -07: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
Cameron Perera
b3c976bf19
chore: 🤖 add post-connection workflow to desktop CHANGELOG ( #1923 )
...
* chore: 🤖 add post-connection workflow to desktop CHANGELOG
✅ Closes: ICU-11079
* chore: 🤖 remove electron upgrade entry
* chore: 🤖 update CLI version to 0.14.0
* chore: 🤖 update desktop release date
2023-10-10 15:31:26 -05:00
dependabot[bot]
9017f8b74f
chore(deps-dev): bump electron in /ui/desktop/electron-app ( #1940 )
...
Bumps [electron](https://github.com/electron/electron ) from 26.2.1 to 26.2.4.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v26.2.1...v26.2.4 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 15:05:22 -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
674fb44c75
feat: 🎸 Enabled ASAR for desktop client builds ( #1914 )
2023-09-22 18:58:14 -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
Carlos Alcaide Corvo
7175bb58ea
chore: 🤖 Upgrade Electron to 26.x ( #1904 )
2023-09-19 15:28:17 -07:00
Carlos Alcaide Corvo
3cb8417a89
fix: 🐛 Fix outdated yarn lock ( #1896 )
2023-09-12 14:42:21 -07:00
Carlos Alcaide Corvo
8b0aa4532b
Chore icu 9090 audit resolutions desktop ( #1888 )
...
* chore: 🤖 Delete plist from desktop resolutions
* chore: 🤖 Delete plist from resolutions
* chore: 🤖 Delete lzma-native from resolutions
* chore: 🤖 Delete minimist from desktop resolutions
* chore: 🤖 Delete got from desktop resolutions
* Modify got resolution
2023-09-12 09:20:10 -07:00
Carlos Alcaide Corvo
f4c153a132
Chore icu 9089 audit resolutions desktop ( #1886 )
...
* chore: 🤖 Modify electron-app resolutions for jsonpointer
* chore: 🤖 Delete from electron-app resolutions node-fetch
2023-09-06 14:40:07 -07:00
dependabot[bot]
1875ae34db
chore(deps-dev): bump electron in /ui/desktop/electron-app ( #1885 )
...
Bumps [electron](https://github.com/electron/electron ) from 25.3.2 to 25.5.0.
- [Release notes](https://github.com/electron/electron/releases )
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md )
- [Commits](https://github.com/electron/electron/compare/v25.3.2...v25.5.0 )
---
updated-dependencies:
- dependency-name: electron
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 15:42:41 -05: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
dependabot[bot] and Carlos Alcaide Corvo
b82d316e9b
chore(deps): bump word-wrap in /ui/desktop/electron-app ( #1790 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
2023-07-21 14:50:59 -07:00
Zhihe Li
66fc50bf9e
Chore/update ember intl ( #1773 )
...
* Revert "chore: 🤖 Add patch-package to fix ember-intl for windows builds (#1742 )"
This reverts commit cd557a86cc .
* chore: 🤖 Update ember-intl
2023-07-14 11:04:01 -04:00
Carlos Alcaide Corvo
5bf50eba79
Chore icu 9087 audit resolutions electron app ( #1765 )
...
* chore: 🤖 Delete normalize-url from electron-app resolutions
* chore: 🤖 Delete jszip from electron-app resolutions
* chore: 🤖 Delete path-parse from electron-app resolutions
2023-07-12 14:35:05 -07:00
Lisbet Alvarez
56e8a73100
refactor: 💡 update accounts model with ldap account attributes ( #1766 )
...
✅ Closes: ICU-10050
2023-07-12 10:57:14 -07:00
Carlos Alcaide Corvo
e5688ffc95
Chore icu 9088 desktop audit resolutions ( #1757 )
...
* chore: 🤖 Delete ansi-regex from resolutions
* chore: 🤖 Delete tar from resolutions in electron-app
* chore: 🤖 Delete nth-check from resolutions electron-app
2023-07-10 10:07:22 -07:00