Commit Graph
5732 Commits
Author SHA1 Message Date
Devon Anderson c4e9f383a1 fix: 🐛 Fix translations (#1930)
Fix translations for `role_external_id` helper text

✅ Closes: ICU-11217
2023-09-27 14:20:56 -04:00
Lisbet Alvarez db4a693951 fix: 🐛 add polyfill for randomUUID (#1926) 2023-09-26 14:21:20 -07: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
Lisbet Alvarez f4768c69a5 chore: 🤖 enable ldap feature flag for all envs (#1924) 2023-09-26 10:04:49 -07:00
Zhihe Li 16f8b6d4fb fix: 🐛 Fix not calling logout properly in OIDC (#1921) 2023-09-26 10:40:36 -04:00
hashicorp-copywrite[bot] 2fd45c552f [COMPLIANCE] Add Copyright and License Headers (#1920)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2023-09-25 14:22:44 -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
Lisbet AlvarezandZhihe Li 5666564b05 refactor: 💡 Simplify cannot-connect message (#1918)
* refactor: 💡 Simplify cannot-connect message

✅ Closes: ICU-11155

* Update addons/core/translations/resources/en-us.yaml

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-09-22 18:58:15 -04:00
Lisbet Alvarez 0a8d14b53f test: 💍 update acceptance tests in desktop UI (#1916)
* test: 💍 update acceptance tests in desktop UI

✅ Closes: ICU-11130

* test: 💍 move tests to target-test.js

* test: 💍 add another test case for targets list view
2023-09-22 18:58:15 -04:00
Lisbet Alvarez 3740bb079a Icu-11111 don't display empty modal when a target has no target address and no host sources (#1909)
* fix: 🐛 disable connect buttons & add message

✅ Closes: ICU-11111

* test: 💍 add test cases

* fix: 🐛 buttons on list view & add getter to target model

* refactor: 💡 use can ability instead and remove Promise.all

* test: 💍 fix expect number
2023-09-22 18:58:15 -04:00
Cameron Perera 3d0a57d459 refactor: 💡 remove custom xterm styles (#1915) 2023-09-22 18:58:14 -04:00
Zhihe Li 674fb44c75 feat: 🎸 Enabled ASAR for desktop client builds (#1914) 2023-09-22 18:58:14 -04:00
Cameron Perera 7afd7f7e0d refactor: 💡 update styles for canvas elements (#1912) 2023-09-22 18:58:14 -04:00
Cameron Perera 22059e0aa0 Icu 10981 show host address in host details sidebar (#1913)
* refactor: 💡 update yarn.lock

* feat: 🎸 show host address if present

✅ Closes: ICU-10981
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
Cameron Perera a4a48a9108 fix: 🐛 xterm csp policy violation (#1911)
* fix: 🐛 xterm csp policy violation

* refactor: 💡 add newline for lint rule
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
Cameron Perera f3c72b0100 refactor: 💡 add host modal hover indication (#1902)
✅ Closes: ICU-11063
2023-09-22 18:58:14 -04:00
Cameron Perera c5cffd5137 feat: 🎸 create Host Modal for connecting to specific modal (#1898)
✅ Closes: ICU-10432
2023-09-22 18:58:14 -04:00
Cameron Perera 02ce3341bd Icu 11057 update shell styles (#1900)
* refactor: 💡 add border-radius and padding to desktop shell

✅ Closes: ICU-11057

* refactor: 💡 update padding to padding-left
2023-09-22 18:58:14 -04:00
Cameron Perera a6b497cacd fix: 🐛 fix cancel session failing after shell has started (#1899)
✅ Closes: ICU-11035
2023-09-22 18:58:14 -04:00
Cameron Perera ed1d73d29c feat: 🎸 display target address in sidebar if present (#1895)
✅ Closes: ICU-10980
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
Cameron Perera 6d7624bc9f refactor: 💡 fix proxy-url to render above body and sidebar (#1893) 2023-09-22 18:58:14 -04:00
Cameron Perera 1102c94875 refactor: 💡 move sidebar into session details tab (#1892)
✅ Closes: ICU-10961
2023-09-22 18:58:14 -04:00
Carlos Alcaide CorvoandZhihe Li 1f3689ffdf Chore terminal tweaks (#1890)
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2023-09-22 18:58:14 -04:00
Cameron Perera edd42ee927 feat: 🎸 add host details to session details screen if present (#1889)
* feat: 🎸 add host details to session details screen if present

✅ Closes: ICU-10282

* refactor: 💡 update style for host details

* refactor: 💡 update styles for sidebar details

* refactor: 💡 remove unneeded class selector
2023-09-22 18:58:14 -04:00
Cameron Perera f0a848721a feat: 🎸 allow for connection for target with single host (#1887)
* feat: 🎸 allow for connection for target with single host

✅ Closes: ICU-10431

* refactor: 💡 small code clean up

* refactor: 💡 move host fetch to model hook
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
Cameron Perera 374b21bcff feat: 🎸 update connect logic for targets with static addresses (#1874)
* feat: 🎸 update connect logic for targets with static addresses

✅ Closes: ICU-10430

* refactor: 💡 remove console logs

* refactor: 💡 add missing awaits
2023-09-22 18:58:14 -04:00
Cameron Perera 8f043e8cf5 refactor: 💡 update how proxy-url determins default proxy info (#1869) 2023-09-22 18:58:14 -04:00
Cameron Perera a831bd06a5 feat: 🎸 add Proxy URL info to session detail screen (#1868)
* feat: 🎸 add Proxy URL info to session detail screen

✅ Closes: ICU-10311

* chore: 🤖 add setupIntl to proxy-url tests

* refactor: 💡 update styles for proxy-url component

* refactor: 💡 display proxy info based on target type

* refactor: 💡 move proxy-url into session specific directory

* refactor: 💡 change template logic for which command to show

* refactor: 💡 remove isSSH getter for session/proxy-url
2023-09-22 18:58:14 -04:00
Cameron Perera 9ce79b3d14 feat: 🎸 redirect to targets list when canceling (#1866)
from the sessions detail screen

✅ Closes: ICU-10760
2023-09-22 18:58:13 -04:00
Cameron Perera 4dcf1675ba refactor: 💡 add loading indicator to connect and cancel actions (#1867)
✅ Closes: ICU-10677
2023-09-22 18:58:13 -04:00
Cameron Perera 2544493b06 fix: 🐛 add flex-shrink to flight-icon to avoid icon shrinking (#1859) 2023-09-22 18:58:13 -04:00
Cameron PereraandDharini Jeeva d5d2045fb5 Icu 10315 add credentials panel (#1855)
* feat: 🎸 add credentials panel for session detail screen

✅ Closes: ICU-10315

* fix: 🐛 remove use of A in sessions list array

* refactor: 💡 fix class name to apply style to both detail screen

* refactor: 💡 add comment to resetController on session route

* refactor: 💡 add @value to HDS Toggle in session detail page

* refactor: 💡 class name refactor for credential panel

* refactor: 💡 remove unneeded div around CodeEditor

* refactor: 💡 change border units from rem to px

* feat: 🎸 create CredentialsPanel component

* Update ui/desktop/tests/integration/components/credentials-panel-test.js

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>

* refactor: 💡 update credential panel styles

* style: 💄 fix lint error for desktop styles

* chore: 🤖 yarn.lock update

---------

Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
2023-09-22 18:58:13 -04:00
Cameron Perera b300e898ff refactor: 💡 initial change to target connect workflow (#1840)
* refactor: 💡 initial change to target connect workflow

✅ Closes: ICU-10605

* refactor: 💡 change back to findRecord for a session
2023-09-22 18:58:13 -04:00
Cameron Perera d55c563004 Icu 10495 session detail sidebar content (#1837)
* chore: 🤖 fix model hook signature

* feat: 🎸 add target details to session details page

✅ Closes: ICU-10495

* style: 💄 fix missing "}" in model signature
2023-09-22 18:58:13 -04:00
Cameron Perera 340429fdb5 Icu 10521 add route logic from sessions list to session detail screen (#1834)
* feat: 🎸 add canRead ability for session model

* refactor: 💡 create constant values for session status types

* feat: 🎸 add link to session detail from sessions list

✅ Closes: ICU-10521
2023-09-22 18:58:13 -04:00
Cameron Perera 0100f8b497 feat: 🎸 add target details sidebar panel to target detail page (#1832)
✅ Closes: ICU-10302
2023-09-22 18:58:13 -04:00
Cameron Perera 4b9496b4f2 Icu 10491 create route for session/session-id (#1825)
* fix: 🐛 call displayName on model

* feat: 🎸 add sessions/session-id route and base layout

✅ Closes: ICU-10491
2023-09-22 18:58:13 -04:00
Cameron Perera 4b68ea0fa4 refactor: 💡 remove unneeded div for layout of target details (#1821)
✅ Closes: ICU-10513
2023-09-22 18:58:13 -04:00
Cameron Perera e7ec4dd25e refactor: 💡 add "Connect for more info" panel to target details (#1819)
✅ Closes: ICU-10283
2023-09-22 18:58:13 -04:00
Cameron Perera f83d214524 refactor: 💡 Update Target Details header (#1818)
✅ Closes: ICU-10243
2023-09-22 18:58:13 -04:00
Cameron Perera 1b1e002581 refactor: 💡 add base layout to target details screen (#1812)
✅ Closes: ICU-10280
2023-09-22 18:58:13 -04:00
Cameron Perera 55eca5037e refactor: 💡 Remove targets/target-id/hosts route and tests (#1810)
* refactor: 💡 Remove targets/target-id/hosts route and tests

✅ Closes: ICU-10316

* refactor: 💡 Remove targets/target-id/sessions route and tests (#1811)

* refactor: 💡 Remove targets/target-id/sessions route and tests

✅ Closes: ICU-10317

* refactor: 💡 remove targets/target-id/sessions controller
2023-09-22 18:58:13 -04:00
Cameron Perera 3af58204ba refactor: 💡 remove unused template code (#1803)
✅ Closes: ICU-10422
2023-09-22 18:58:13 -04:00
Cameron Perera 0b2ac7f676 chore: 🤖 add post connection workflow feature flag (#1799)
✅ Closes: ICU-10269
2023-09-22 18:58:13 -04:00
Dharini Jeeva d0a505558b refactor: 💡sb dynamic credential type secret fields and how we serialize (#1907)
* refactor: 💡 secret fields and how we serialize
2023-09-20 14:55:05 -07:00
Dharini Jeeva 1b84a70ca0 feat: (LDAP) add attributes to model and component (#1908)
* feat: 🎸 add two new fields to LDAP form
2023-09-20 09:18:30 -07:00