Carlos Alcaide Corvo
19b6e5154f
Fix locationType deprecations. ( #2721 )
...
* Deprecated usage of locationType auto to history. Define locationType before setting configuration
2025-03-12 16:16:33 -07:00
Lisbet Alvarez
89263918ea
Icu 16534 refactor usage of tracked using this args ( #2711 )
...
* refactor: 💡 remove tracked usage with this.args
2025-03-12 10:09:16 -07:00
Carlos Alcaide Corvo
e8fc6d163b
Deprecate import inject from @ember/service ( #2716 )
...
* Deprecate usage of import inject
2025-03-12 08:29:54 -07:00
hashicc
6a46e2dd57
chore: 🤖 add chrome flags to keep from backgrounding ( #2714 )
...
There was an issue in tests where events fired in
Hds::FlyOut and Hds::Modal were not being dispatched.
These close events were depended on by test waiters
to know when the element was removed. In recent
versions of chrome, when ran headless and on macos,
these events were not firing. This meant the tests
waited indefinitely on developers local machines,
until the tests timed out. This issue was seen
across multiple macbooks and even on the hds repo.
This issue was *only* experienced in headless
chrome on recent macos.
It was **not** happening in:
* macos chrome headed locally
* linux chrome headless in CI
This made the issue only impact people running tests
locally, getting obscure timeouts. This issue is fixed
by the addition of this flag:
--disable-backgrounding-occluded-windows
The other flags added in this commit are not required
for the fix but should help keep a browser "active",
which was loosely what researching this bug hinted at
the cause of finding the issue fix.
2025-03-11 13:29:19 -04:00
Lisbet Alvarez and Zhihe Li
29bde998ed
refactor: 💡 remove usage of ember/runloop & ember-pollster ( #2705 )
...
* refactor: 💡 remove usage of ember/runloop & ember-pollster
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2025-03-06 12:20:48 -08:00
Carlos Alcaide Corvo
f58d345b63
Refactor unnecessary curly parenthese ( #2699 )
...
* Refactor unnecessary curly parentheses
2025-03-03 09:42:38 -08:00
Cameron Perera
f35382a4e0
refactor: 💡 update adapter when transforming filter error ( #2702 )
...
* refactor: 💡 update adapter when transforming filter error
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* style: 💄 add comment about adapter changes for translated field
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* style: 💄 move comment to adapter
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* style: 💄 update old comment about model fragments
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
* refactor: 💡 use extractErrors in serializers
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16580
2025-03-03 09:58:45 -06:00
Dharini Jeeva
8087430dd2
chore: upgrade to yarn 4 ( #2697 )
2025-02-28 14:19:35 -08:00
Cameron Perera
750cc1ecae
feat: 🎸 add logging to notifyError decorator ( #2694 )
...
* feat: 🎸 add logging to notifyError decorator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 update reference to global electronLog
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 update __electronLog global references
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 add log to other cluster URL actions
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 update how we trigger electron log in notifyError
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
* refactor: 💡 minor log change
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16334
2025-02-21 10:01:48 -06:00
hashicc
c5fdbfd62d
chore: fix eslint-related issues ( #2690 )
...
* chore: 🤖 add .eslintignore for e2e-tests directory
* chore: 🤖 add auto-fixable eslint changes
* chore: 🤖 make js tasks more explicit to avoid race conditions
avoid having js files be in two separate concurrent branches where tasks
could result in race-condition writes
* chore: 🤖 expand .eslintignore to include more generated dirs
* chore: 🤖 fix additional lint-staged tasks
Fix additional lint-staged tasks that could result in race conditions
2025-02-13 17:09:10 -05:00
Zhihe Li
20c4bbcee2
feat: 🎸 Add migration check to delete index DB when updating ( #2241 )
...
* feat: 🎸 Add migration check to delete index DB when updating
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-13223
2025-02-13 11:00:19 -05:00
Lauren
e8cc22879f
[ICU-15403] Trim whitespace on storage buckets and host sets json attrs serializers ( #2636 )
...
* trim whitespace on json attrs in storage bucket serializer
* add test for storage bucket serializer
* move trimWhitespace check to application level
* add trimWhitespace to preferred_endpoints attr
* add conditional for string arr
* trim whitespace on str arr
* add check for null val
* refactor, move logic
* relocate comment
* add unit test for application serializer
2025-02-11 18:31:01 -05:00
Carlos Alcaide Corvo
48db68e7ac
Upgrade node engines to work with node 20 and 22 ( #2486 )
...
* Upgrade node engines to work with node 20 and 22
2025-02-10 17:37:04 -08:00
Lisbet Alvarez
c9a74f2800
fix: 🐛 reapply storage policy errors out after a failed delete ( #2674 )
...
* fix: 🐛 reapply storage policy errors out after a failed delete
* refactor: 💡 hide delete button when policy is retain forever
* refactor: 💡 pr feedback (move check to model)
2025-02-04 14:09:10 -08:00
Cameron Perera
cb895024e0
fix: 🐛 update hidden secrets and flatten-nested-object logic ( #2672 )
2025-01-30 18:00:26 -06:00
Lisbet Alvarez
639aa47e19
refactor: 💡 Update text for fields in AWS & GCP host catalogs ( #2667 )
2025-01-27 15:36:30 -08:00
Dharini Jeeva
deff38de56
fix: 🐛 include GCP plugin text ( #2662 )
...
* fix: 🐛 include GCP plugin text
2025-01-23 13:34:33 -08:00
Zhihe Li
390d179917
feat: 🎸 Added GCP host sets and hosts ( #2655 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15994
2025-01-10 14:18:48 -08:00
Dharini Jeeva
3b6a421af2
chore: Updates to gcp hc form ( #2649 )
...
* chore: 🤖 add worker_filter field, updates to helper text
2025-01-10 14:18:48 -08:00
Dharini Jeeva
dfa62dd04b
chore: 🤖 gcp plugin creation in the UI ( #2645 )
...
gcp plugin creation and mirage changes
2025-01-10 14:18:48 -08:00
Dharini Jeeva
520020f2c6
Chore: refactor host catalog model and serializer to accommodate GCP plugin ( #2627 )
...
* chore: 🤖 GCP plugin support
2025-01-10 14:18:48 -08:00
Lisbet Alvarez
862ce645cf
fix: 🐛 hds dialog text wrong color when system mode is dark ( #2651 )
2025-01-09 15:30:06 -08:00
Lisbet Alvarez
9eccbb91db
refactor: 💡 Update name radio option label & set toggle default to on ( #2652 )
...
* refactor: 💡 Update name radio option label & default toggle on
2025-01-09 15:18:17 -08:00
Lisbet Alvarez
faf4ecfac6
Fix memory leak issue when using fetch in oidc authentication ( #2640 )
...
* test: 💍 test 1
* chore: 🤖 remove waitForPromise use
* chore: 🤖 remove all other waitforpromise usage
* test: 💍 turn down polling
* test: 💍 use .json
* refactor: 💡 add waitForPromise back in & consume response body
* test: 💍 some testing
* test: 💍 more testing
* refactor: 💡 clean-up a bit
* refactor: 💡 use head method request & clean up comments
* refactor: 💡 use get method & consume response body
* test: 💍 fix token validation test cases
2025-01-03 14:06:27 -08:00
Lauren
422cff4547
[ICU-15647] Replace Rose::Dialog with Hds::Modal in admin ui only ( #2623 )
...
* sort list
* refactor: 💡 Replace Rose::Dialog with Hds::Modal
✅ Closes: ICU-15647
* refactor targets-host-sources-test
* refactor update-test
* update test selectors
* refactor delete test
* refactor org scope test
* refactor delete scope and auth-method tests
* refactor update host catalogs tests
* refactor credential-stores credential update tests
* refactor credential-stores credentials delete tests
* refactor scopes update tests
* refactor storage buckets delete test
* refactor storage buckets delete test
* refactor credential library update test
* refactor targest workers test
* refactor workers create tags test
* refactor global scope test
* refactor users update test
* refactor host catalogs delete test
* refactor credential-store update tests
* refactor host catalogs, hosts and sets update tests
* remove unused vars
* rename selectors, remove attrs
* add @onDismiss callback
2024-12-20 14:16:43 -05:00
Lisbet Alvarez
6d2f1dcbbf
Cleanup worker filter translations ( #2621 )
...
* refactor: 💡 clean-up worker filter translations
2024-12-12 16:06:38 -08:00
Dharini Jeeva
6de20b03ef
chore: handle nested data from static json credentials ( #2611 )
2024-12-11 15:08:51 -08:00
2869020e65
Llb/worker filter improvements ( #2614 )
...
* test: 💍 clean up worker filter component tests (#2559 )
* Icu 15741 add show filter generator toggle to worker filter component (#2562 )
* feat: 🎸 add filter generator to worker filter component
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15741
* feat: 🎸 show add worker filter when none set for targets (#2564 )
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15760
* Icu 15743 tag workflow (#2565 )
* feat: 🎸 add tag generator workflow
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* test: 💍 add test cases
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* refactor: 💡 update selected type name to selectedGeneratorType
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
* Apply suggestions from code review
minor translation change
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* refactor: 💡 update id for generated-value
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15743
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* Icu 15744 name workflow (#2566 )
* feat: 🎸 add name workflow
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* test: 💍 add "name" workflow tests for filter generator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* refactor: 💡 use const test selectors for filter generator
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* refactor: 💡 add default option
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
* docs: ✏️ fix comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15744
---------
Co-authored-by: cameronperera <cameron.perera@hashicorp.com >
* refactor: 💡 move worker filter generator outside of rose::form (#2574 )
* refactor: 💡 move worker filter generator outside of rose::form
* [ICU-15718] Add worker filter route, template for empty state (#2576 )
* feat: 🎸 Vault Credential Store Worker Filter
The Worker Filters tab will display the associated worker filter and
have an empty state for when there is no worker filter assigned.
* add template
* Add missing copyright headers
* update styling, remove Rose component
* color primary is already default, remove
* add rose component, remove custom css
* fix test
* singularize lang
---------
Co-authored-by: laurenolivia <laurenolivia@users.noreply.github.com >
* feat: 🎸 update worker filter field to use code editor (#2578 )
* feat: 🎸 update worker filter field to use code editor
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15737
* test: 💍 fix failing storage bucket tests
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15737
* test: 💍 update tests for new worker filter field (#2580 )
* test: 💍 update tests for new worker filter field
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15739
* Update ui/admin/tests/acceptance/storage-buckets/update-test.js
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
* [ICU-15719] Create edit worker filter route and template (#2582 )
* add codeblock to template
* add cancel btn fn
* add controller test
* add save fn
* display formatted worker filter text inside codeblock
* move codeblock component outside rose::layout::centered
* remove console.log
* remove router.refresh() and refactor translations yaml
* refactor translations, add breadcrumb::item
* replace html elements with hds
* move component, delete file
* [ICU-15720] Add edit worker filter action to manage dropdown (#2593 )
* add acceptance test file
* delete test file
* add edit option to manage dropdown
* update route in dropdown
* add check for model isVault
* add acceptance test file
* delete test file
* remove data test selectors, fix syntax
* [ICU-15721] Remove worker filter input field (#2596 )
* remove worker filter input field from vault credential store form
* revert yaml
* [ICU-15838] Add vault credential store worker filter tests (#2595 )
* add data test elements
* add subtests to update-test.js
* add subtext to check for .hasText()
* add subtest when worker filter exists
* update subtest name
* remove console.log
* clean up
* add new selectors
* refactor: 💡 worker filter clean-up (#2592 )
* refactor: 💡 worker filter clean-up
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* refactor: 💡 add aria labels & missing can save check
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* refactor: 💡 pr feedback of using uuid
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
* Add missing copyright headers
* refactor: 💡 use unique-id helper for aria labels (pr feedback)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15816
---------
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
* refactor: 💡 update icon logic for egress worker filter (#2612 )
* refactor: 💡 update worker_filter help translation
* refactor: 💡 add maxHeight to worker filter code blocks
* refactor: 💡 use existing default option for dropdowns
* refactor: 💡 hide copy button when no result to copy
and remove unused styles
---------
Co-authored-by: Lisbet Alvarez <107949262+lisbet-alvarez@users.noreply.github.com >
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
Co-authored-by: Lauren <lauren.burwell@hashicorp.com >
Co-authored-by: laurenolivia <laurenolivia@users.noreply.github.com >
Co-authored-by: lisbet-alvarez <lisbet-alvarez@users.noreply.github.com >
2024-12-11 14:00:27 -06:00
Cameron Perera
078e36f9b8
fix: 🐛 update @name attribute for RadioCard Groups ( #2617 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15676
2024-12-10 14:12:43 -06:00
Lauren
85a2684532
refactor: 💡 Replace rose::separator comp with hds::separator ( #2613 )
...
* refactor: 💡 Replace rose::separator comp with hds::separator
This PR replaces the rose::separator with the hds::separator and removes
an integration test that is no longer needed
✅ Closes: ICU-15646
* retire rose::separator and remove styling
* remove separator import
* remove separator.js
2024-12-06 12:54:47 -05:00
Carlos Alcaide Corvo
f9a7864b07
fix: 🐛 Delete peerDeps within our addons ( #2605 )
...
* fix: 🐛 Delete peerDeps within our addons
2024-12-04 17:17:51 -08:00
Lisbet Alvarez
371301b4ba
refactor: 💡 use hds::applicationstate instead of rose::message ( #2577 )
...
* refactor: 💡 use hds::applicationstate instead of rose::message
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15639
2024-12-04 14:16:05 -08:00
Carlos Alcaide Corvo
018d879a0a
fix: 🐛 Fix addons/auth yarn warning ( #2604 )
...
Fix unmet peer dep within addons/auth
2024-12-03 13:35:01 -08:00
Lisbet Alvarez
2f8a53e3ea
refactor: 💡 remove rose table references ( #2589 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15644
2024-12-02 12:22:01 -08:00
Carlos Alcaide Corvo
443f230251
refactor: 💡 Migrate ember-uuid to uuid ( #2597 )
...
* refactor: 💡 Migrate ember-uuid to uuid
2024-12-02 11:36:25 -08:00
Carlos Alcaide Corvo
8c6b1aa69a
Clean up auto-generated TODO comments ( #2607 )
2024-12-02 09:02:44 -08:00
Dharini Jeeva
36c2aee271
fix vault brokered credentials display ( #2583 )
...
* fix: 🐛 brokered credential display in credential panel
2024-11-26 14:34:10 -08:00
Carlos Alcaide Corvo
42dd029611
refactor: 💡 Remove rose:linkbutton ( #2590 )
...
Remove rose:linkbutton references and tests
2024-11-26 08:58:09 -08:00
Carlos Alcaide Corvo
e02c50aef8
chore: 🤖 Upgrade sinon ( #2585 )
...
Upgrade sinon to v19
2024-11-26 08:41:23 -08:00
Lisbet Alvarez
543cf4697f
refactor: 💡 remove rose::notification in favor of hds ( #2557 )
...
* refactor: 💡 remove rose::notification in favor of hds
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15634
2024-11-19 15:18:18 -08:00
Carlos Alcaide Corvo
66e9e971a1
Upgrade ember-simple-auth to latest ( #2573 )
...
Upgrade ember-simple-auth to latest
* Change ember-auto-import from devDependencies to dependencies
2024-11-19 13:47:36 -08:00
Dharini Jeeva
f8796b362e
chore: 🤖 remove ember radio btn, update it with hds ( #2556 )
...
* chore: 🤖 remove ember radio btn, update it with hds
2024-11-19 13:03:29 -08:00
Carlos Alcaide Corvo
4523615829
chore: 🤖 Upgrade ember-cookies ( #2572 )
...
* chore: 🤖 Upgrade ember-cookies
2024-11-18 12:28:18 -08:00
Carlos Alcaide Corvo
0095c5c666
chore: 🤖 Upgrade qunit-dom ( #2552 )
...
* chore: 🤖 Upgrade qunit-dom and qunit
2024-11-08 09:09:22 -08:00
Carlos Alcaide Corvo
37482c0b36
chore: 🤖 Upgrade Concurrently ( #2547 )
...
Upgrade Concurrently from 8.2.0 to 9.1.0
✅ Closes: ICU-15651
2024-11-06 09:27:11 -08:00
Carlos Alcaide Corvo
b9e9fd21ee
Chore icu 15637 upgrade ember test helpers ( #2545 )
...
* Upgrade ember-test helpers
* Upgrade ember-int and ember-cli-clipboard, as ember-test-helpers introduces a breaking change
2024-11-04 09:57:07 -08:00
Zack Moore
6eb83b2a25
Upgrade HDS dependency to 4.13 & migrate FlightIcon to Hds::Icon ( #2540 )
...
* updated hds and replaced deprecated flight-icon
* removed code trying to import from ember-flight-icons
* fixing linting issue
* fixing linting issue
* fixing dropdown test selectors
* updated dropdown selectors
* updated dropdown selectors
* updated dropdown selectors
* addressing pr feedback
* fixing linting error
* updating dropdown selectors
2024-11-04 11:29:56 -06:00
Lisbet Alvarez
390f051e43
chore: 🤖 audit most recent resolutions ( #2531 )
...
* chore: 🤖 audit most recent resolutions
2024-10-28 16:28:26 -07:00
Lisbet Alvarez
01a2d8e9a6
refactor: 💡 remove route-action usage in admin ui ( #2534 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12945
2024-10-28 09:23:08 -07:00
Cameron Perera
b494a703eb
chore: 🤖 upgrade ember-cli version ( #2533 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15393
2024-10-23 09:40:45 -05:00