Zhihe Li
7bc2ccb5ae
refactor: 💡 Use a native class for the client daemon handler ( #2026 )
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
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 and cameronperera
3f8e39d0e1
Host set permission issue ( #1968 )
...
* refactor: 💡 allow for graceful error handling when connecting
to a target where host-sets cannot be fetched
* refactor: 💡 update for loop to for...of loop
* Move fetching host from target to session domain
* Decouple getting target host-sets and getting hosts from the host-sets, now this code is extracted in 2 methods. Now if the user does not have permissions to fetch host or host-sets we do not show an error and we allow for quick-connect approach
* Fix a check within getHostsFromHostSets
* Change a for loop for Promise.all within getTargetHostSets
* Change a for loop for Promise.All within getHostsFromHostSets
* Delete unnecessary condition
* Delete unnecessary condition
* chore: 🤖 remove host sources from target mirage factory
by default it uses address when using 'withAssociations'
* test: 💍 update target address tests to use 'withOneHost'
* test: 💍 remove connect tests from scopes acceptance tests
* refactor: 💡 remove can initiate connect target ability
and associated code and tests
* refactor: 💡 update target model afterModel hook, and preconnect
* refactor: 💡 revert 'withAssociations' mirage change
* test: 💍 add tests for permissions issues for host-sets and host
* test: 💍 visiting session without permissions to read hosts
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
2023-10-30 12:54:37 -05: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
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
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
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
NatashaKab
964423c35c
Icu 10368 use hds table in desktop targets list ( #1817 )
...
* refactor: 💡 Use HDS tables in user accounts
* refactor: 💡 Use HDS tables in desktop targets list
* refactor: 💡 Fixed indentantion problem suggested by cameron
2023-08-03 11:20:49 -04:00
Randall Morey
863c080196
Optimise Desktop API queries ( #1707 )
...
* fix: 🐛 increase auth form width, which was too narrow
* chore: 🤖 optimize targets route queries
* chore: 🤖 optimize sessions route queries
* chore: 🤖 disable polling in sessions route
* chore: 🤖 disable polling in targets route
* refactor: 💡 update tests for new queries and removing timing
2023-06-07 18:28:33 -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
c21f011bb2
Refactor upgrade ember 4 ( #1501 )
...
Upgrade Ember 4
Co-authored-by: Randall Morey <randall@randallmorey.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-01-09 08:48:49 -08:00
Carlos Alcaide Corvo
4fcb005a1f
Refactor origin to cluster ( #1210 )
2022-07-27 10:25:01 -07:00
Carlos Alcaide Corvo
6f8afbb7af
Chore update eslint and plugins update ( #1171 )
2022-07-07 11:18:51 -07:00
Susmitha Girumala
28a4a7304e
feat: Add credential library add and remove methods to target
2021-07-21 15:46:21 -04:00
Randall Morey
3f04c209f3
chore: tweak dialog styles and language
2021-06-09 10:36:15 -07:00
Carlos Alcaide
db2a40b58f
feat: 🎸 Modify test to fit latest changes
...
Modify tests to fit the latest changes within the confirmation/success
dialog and the brand new conection dialog
2021-06-09 10:31:26 -07:00
Susmitha Girumala
180b74cc98
test: 💍 Add scopes test in desktop
2021-03-22 20:32:11 -04:00