Commit Graph
100 Commits
Author SHA1 Message Date
Zhihe Li e9d2f249b8 fix: 🐛 Fix unzipping changing cli permissions (#2356) 2024-06-20 10:59:52 -04:00
Zhihe Li ff6f1ab2ff chore: 🤖 Update CLI version (#2354) 2024-06-18 14:50:34 -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 f20723df37 fix: 🐛 Fix session erroring out when getting session from ferry (#2315) 2024-06-12 16:40:19 -04:00
Zhihe Li 3f238140b4 feat: 🎸 Change the default notification on mac to be alert (#2311)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13931
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 fc82980d68 fix: 🐛 Fix active session display in targets table (#2321)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13981
2024-06-10 17:14:40 -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
Zhihe Li 2666ec8244 fix: 🐛 Fix account password not being properly set (#2275) 2024-04-26 13:40:30 -04:00
Zhihe Li dccf06cb0c fix: 🐛 Fix error when deleting auth method (#2273)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13624
2024-04-25 11:48:55 -04:00
Zhihe Li 3e9a06a5b5 fix: 🐛 Fix adding host set error in targets (#2267) 2024-04-23 10:49:33 -04:00
Zhihe Li 19908768a4 fix: 🐛 Fix HDS labels and helpers in host sets (#2266)
* fix: 🐛 Fix HDS labels and helpers in host sets
2024-04-22 20:56:26 -04:00
Zhihe Li 79a932bebb feat: 🎸 Add aliases to list view (#2256)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13487
2024-04-19 16:18:32 -04: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
Zhihe LiandCameron Perera 9156c8612e fix: 🐛 Add back scope_id as part of request query parameter (#2246)
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
2024-04-16 11:15:16 -05:00
Zhihe Liandcameronperera 33d359e692 Fix tests from rebase (#2233)
* fix: 🐛 Fix tests broken by rebase onto main

---------

Co-authored-by: cameronperera <cameron.perera@hashicorp.com>
2024-04-12 14:55:34 -04:00
Zhihe Li 5d32d987bc feat: 🎸 Update how we store tokens in indexed-db (#2223)
Added logic to make the list tokens stored in indexed DB more granular.
I get a hash of the query parameters that will get sent to the controller
and use that as the id for the token. This also means extra logic for when
a token is invalid as we will need to delete all tokens of the same
resource type.
2024-04-12 14:55:34 -04:00
Zhihe Li a39b208b48 Icu 12781 add filtering pagination support for host catalogs (#2213)
* feat: 🎸 Add searching for host catalogs

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12781
2024-04-12 14:55:33 -04:00
Zhihe Li 9f11e8a25d fix: 🐛 Fix setting up indexed db when user logins first time (#2211) 2024-04-12 14:55:33 -04:00
Zhihe LiandLisbet Alvarez a26662eca5 feat: 🎸 Add filtering/pagination for admin ui targets (#2072)
* feat: 🎸 Add filtering/pagination for admin ui targets

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12193

* test: 💍 add acceptance test cases

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12193

* test: 💍 cleanup tests and add controller tests

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12193

---------

Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com>
2024-04-12 14:55:33 -04:00
Zhihe LiandLisbet Alvarez d72fa0d6e3 feat: 🎸 Add indexedDb parser (#2068)
* feat: 🎸 Add indexedDb parser

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12164

---------

Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com>
2024-04-12 14:55:33 -04:00
Zhihe Li bd5e3da1f4 feat: 🎸 Initial setup of IndexedDB (#2064)
* feat: 🎸 Initial setup of IndexedDB

* fix: 🐛 Rethrow errors up from indexed db handler
2024-04-12 14:55:33 -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
Zhihe Li f8b5dcd824 fix: 🐛 Add error notification if adding token to daemon fails (#2127)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12488
2024-02-05 14:21:13 -05:00
Zhihe Li 06cc64e6af fix: 🐛 Add refresh button back (#2124) 2024-01-30 19:54:34 -05:00
Zhihe LiandCameron 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 5f9a66e421 fix: 🐛 Handle when requests to client daemon are returning 403 (#2105) 2024-01-23 16:31:21 -05: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
Zhihe Li c0793cd254 test: 💍 Add tests for MQL expression generator (#2096) 2024-01-18 11:39:29 -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 ba0c7d5683 feat: 🎸 Add loading indicators for initial loads of resources (#2074)
* feat: 🎸 Add loading indicators for initial loads of resources

* refactor: 💡 Use HDS application state component

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12025
2024-01-16 10:17:46 -05:00
Zhihe Li 16a054519f fix: 🐛 Fix display of no results from type filter (#2075) 2024-01-16 10:17:46 -05:00
Zhihe Li 47cf7995d3 feat: 🎸 Add active session filter (#2052)
* feat: 🎸 Add active session filter

* fix: 🐛 Fix tests and verify client daemon calls are correct

✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11803
2024-01-16 10:17:46 -05:00
Zhihe Li 1122735b87 fix: 🐛 Fix returning mirage data from client daemon mock (#2050) 2024-01-16 10:17:46 -05:00
Zhihe Li 916b261cdf refactor: 💡 Optimize the retrieval of targets for scopes filter (#2047) 2024-01-16 10:17:46 -05:00
Zhihe Li 15da4ea69f fix: 🐛 Fix failing tests from rebase onto main (#2045) 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 dfd484dbca fix: 🐛 Add support for not equals in MQL expression parsing (#2029) 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
Zhihe Li 7bc2ccb5ae refactor: 💡 Use a native class for the client daemon handler (#2026) 2024-01-16 10:17:45 -05:00
Zhihe Li 3f11019ef0 feat: 🎸 Add pagination support to client daemon handler (#2016)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11743
2024-01-16 10:17:45 -05:00
Zhihe Li 1135f88cb7 feat: 🎸 Add debouncing for the search bar (#2008)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11851
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 7dbd581a37 feat: 🎸 Add setup for api handlers 2024-01-16 10:17:45 -05:00
Zhihe Li b3abb658ab chore: 🤖 Fix breaking change in labeler when upgrading to v5 (#2078) 2024-01-08 15:06:46 -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
Zhihe Li 666491548d fix: 🐛 Fix broken hot reloading for desktop client (#1992) 2023-11-10 14:23:32 -05:00
Zhihe Li 7317ca2ff5 fix: 🐛 Fix issue with brokered credentials that overflow (#1982)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11368
2023-11-02 15:16:22 -04:00
Zhihe Li 1ddabf4980 feat: 🎸 Add checks for cancel permissions in desktop sessions (#1980)
* feat: 🎸 Add checks for cancel permissions in desktop sessions

* chore: 🤖 Move model hook from session to session.index
2023-11-02 13:42:51 -04:00
Zhihe Li 933e272764 fix: 🐛 Add read:self permission for sessions in ability check (#1974) 2023-11-01 12:06:40 -04:00
Zhihe Li 4a3d8eee63 feat: 🎸 Allow auto connect to SSH targets on windows (#1971) 2023-10-30 18:16:40 -04:00
Zhihe Li 63be0f3aec chore: 🤖 Update commitizen hook to add jira link automatically (#1959) 2023-10-24 13:07:27 -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 7ac7843f5e backport: 🤖 Fix usage of deprecated hub cli (#1944) 2023-10-06 15:56:34 -04:00
Zhihe Li 4693689f21 fix: 🐛 Fix an issue with HDS css causing scrollbars/whitespace (#1942)
✅ Closes: ICU-11292
2023-10-05 18:11:14 -04:00
Zhihe Li 262df46fac fix: 🐛 Fix edge case with showing host modal (#1939)
✅ Closes: ICU-11285
2023-10-04 18:57:17 -04:00
Zhihe Li 4de41763b7 fix: 🐛 Fix polyfill not working correctly (#1932)
✅ Closes: ICU-11211
2023-09-27 17:45:53 -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 16f8b6d4fb fix: 🐛 Fix not calling logout properly in OIDC (#1921) 2023-09-26 10:40:36 -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 513e5847f0 feat: 🎸 Resize terminal container dynamically (#1910)
✅ Closes: ICU-11108
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
Zhihe Li 5aa425ee05 feat: 🎸 Add flag to ssh command to not prompt for known hosts (#1894) 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
Zhihe Li fab566714a chore: 🤖 Change port to be set in package script (#1858) 2023-08-22 13:01:44 -04:00
Zhihe Li 5cfd841c41 chore: 🤖 Remove extra file that got added from ember upgrade (#1854) 2023-08-21 14:31:34 -04:00
Zhihe Lianddharini 0e9042f588 Upgrade api to ember 4.12 (#1833) (#1839)
* chore: 🤖 Upgrade API layer to ember 4.12

* chore: 🤖 Upgrade ember-data to 4.12

* fix: 🐛 Fix breaking change from usage of internal method

* chore: 🤖 Remove stylelint in API addon

* test: 💍 Fix broken API tests

* chore: 🤖 get rid of toArray

* test: 💍 Fix tests broken by ember data changes

---------

Co-authored-by: dharini <dharini@hashicorp.com>
2023-08-14 17:03:59 -04:00
Zhihe Li 0c49790fa1 chore: 🤖 Update prepare-commit-msg to not execute when rebasing (#1827) 2023-08-04 14:37:55 -04:00
Zhihe Li 5f4abea78d chore: 🤖 Point ember-pollster to new hashicorp repo (#1796) 2023-07-25 12:11:37 -04: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
Zhihe Li c86e232eaa chore: 🤖 Update semver (#1750) 2023-06-29 12:53:03 -04:00
Zhihe Li 3c2b74684a fix: 🐛 Add header for dynamic host catalog hosts page (#1743)
✅ Closes: ICU-9629
2023-06-26 11:55:39 -04:00
Zhihe Li cd557a86cc chore: 🤖 Add patch-package to fix ember-intl for windows builds (#1742)
✅ Closes: ICU-9914
2023-06-23 14:35:18 -04:00
Zhihe Li 2680301f98 chore: 🤖 Update changelog and version for desktop (#1712) 2023-06-12 16:29:50 -07:00
Zhihe Li 178e92a812 fix: 🐛 Fix asciicast errors not being shown properly (#333)
✅ Closes: ICU-9673
2023-06-08 19:13:34 -04:00
Zhihe Li 1409ec9fa5 fix: 🐛 Fix deep linked channels not loading data correctly (#315)
✅ Closes: ICU-9562
2023-06-02 17:48:34 -04:00
Zhihe Li de10b275d3 chore: 🤖 Update worker binary name to just boundary (#1704)
✅ Closes: ICU-9570
2023-06-02 13:33:51 -04:00
Zhihe Li 34b3b04e76 chore: 🤖 Remove artifact builds for session recording branch (#314) 2023-06-01 17:52:52 -04:00
Zhihe Li 15b738d4ad Merge pull request #313 from hashicorp/session-recording
Merge session recording feature branch
2023-06-01 16:06:28 -04:00
Zhihe Li d8b73c253a Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-06-01 15:00:26 -04:00
Zhihe Liandcameronperera 204d2537d7 refactor: 💡 Add loading substate for channels (#303)
* refactor: 💡 Add loading substate for channels

* refactor: 💡 Use conditional block for session recording player

* style: 💄 Use a unicode ellipsis instead of periods

* refactor: 💡 rename asciiCast to asciicast (#307)

---------

Co-authored-by: cameronperera <cameron.perera@hashicorp.com>
2023-06-01 14:15:38 +00:00
Zhihe Li e36ee56de1 Merge from main (#305)
Merge from main
2023-05-31 17:13:56 -07:00
Zhihe Li 963b5d465d feat: 🎸 Add default client port to targets (#1700)
* feat: 🎸 Add default client port to targets

✅ Closes: ICU-9299
2023-05-31 18:33:27 -04:00
Zhihe Li 4ac6259d2a fix: 🐛 Fix isAsciicast check (#301)
✅ Closes: ICU-9511
2023-05-31 15:27:30 -04:00
Zhihe Li 2a11d75ccf fix: 🐛 Fix serializing client secrets in oidc auth methods (#1698) 2023-05-26 14:14:58 -04:00
Zhihe Li c63c95fd51 chore: 🤖 Update serializer for storage buckets (#282) 2023-05-24 21:57:30 +00:00
Zhihe Li 67a23a50fe Merge pull request #285 from hashicorp/merge-from-main
Merge from main
2023-05-24 17:37:38 -04:00
Zhihe Li 3170d52090 Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into merge-from-main 2023-05-24 15:18:02 -04:00
Zhihe Li fd6931108d chore: 🤖 Update times/durations to more accurately reflect api (#277) 2023-05-23 18:57:47 -04:00
Zhihe Li 55f7406576 chore: 🤖 Update storage buckets to handle new api changes (#266) 2023-05-22 17:28:48 -04:00
Zhihe Li a03202f51c chore: 🤖 Include created_time as part of session recordings (#260) 2023-05-18 17:27:32 -04:00
Zhihe Li ed5416477d chore: 🤖 More updates for models and mirage (#253) 2023-05-17 12:01:34 -04:00
Zhihe Li 57cb86acad Merge branch 'main' of https://github.com/hashicorp/boundary-ui-enterprise into session-recording 2023-05-10 10:53:20 -04:00
Zhihe Li 03fd24f1ec chore: 🤖 Update storage bucket aws plugin name (#245) 2023-05-08 18:25:42 +00:00
Zhihe Li 0dee7b5a02 chore: 🤖 Update session recording API (#243)
* chore: 🤖 Update session recording API

* chore: 🤖 Update usage of scope id for targets

* chore: 🤖 Update scope id usage for user in session recordings
2023-05-08 18:05:01 +00:00