Commit Graph
37 Commits
Author SHA1 Message Date
Dharini Jeeva 9b1f052a56 chore: Update desktop client license from MPL to BSL (#2307)
* chore: 🤖 license
2024-05-31 11:29:24 -07: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 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 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
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
dharini 25c6ed6100 chore: 🤖 fieldname update 2024-01-16 10:17:45 -05:00
Lisbet Alvarez 776c46f129 refactor: 💡 replace store.findAll with store.query (#2002)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11825
2024-01-16 10:17:45 -05:00
Dharini Jeeva 459029530b chore: 🤖 Add support for pagination in query method (#1991)
* chore: 🤖 Add support for pagination in query method
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
hashicorp-copywrite[bot]andCameron 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
Zhihe Li f8429b15e9 Chore/cleanup filter attribute (#1500)
* refactor: 💡 Rename attributes called filter

* refactor: 💡 Remove adapter handling of old attribute errors

* refactor: 💡 Check for undefined in serializer instead of falsy
2022-12-02 13:44:11 -05:00
Randall Morey d70ff06891 chore: 🤖 add support for nested attributes errors 2022-01-18 14:32:03 -05:00
Randall Morey 9ad9bdbf5e refactor: 💡 remove dependency on ember-get-config 2021-11-05 11:52:12 -04:00
Randall Morey 66d16d84d0 fix: 🐛 use flattened attrs to capture oidc field errors 2021-06-02 14:23:54 -04:00
Randall Morey 9d847348a0 chore: 🤖 remove getwithdefault 2021-03-12 16:06:08 -05:00
Randall Morey 4f2ec5044b chore: 🤖 upgrade api addon to ember lts 3.20 2020-10-06 10:31:00 -04:00
Susmitha Girumala ec870acba8 style: format addons/api 2020-09-16 14:29:02 -04:00
Randall Morey a13e93ec55 fix: 🐛 tweak validation error schema to match API 2020-09-11 12:01:56 -04:00
Randall Morey 795f3f5839 refactor: 💡 do not scope-prefix paths by default 2020-09-10 19:02:53 -04:00
Randall Morey 2eeb73b622 test: 💍 add tests for adapter and serializer scope options 2020-09-03 14:48:59 -04:00
Randall Morey bce27df1f4 refactor: 💡 update to unprefixed target pathing 2020-09-03 14:35:05 -04:00
Randall Morey 3b09ec80cd chore: 🤖 change custom method requests to use POST on update 2020-08-07 16:29:56 -04:00
Randall Morey 26388b8527 refactor: deduce scope path prefix in adapter rather than passing it via the model save method 2020-07-23 19:31:34 -04:00
Randall Morey b7996f6271 fix: normalize embedded scope IDs and ensure scope resources do not receive scope-prefixed URLs like other resources do 2020-07-23 10:34:31 -04:00
Randall Morey 81011b92e3 refactor: scopes prefix includes a /scopes/ part before ID 2020-07-22 13:12:05 -04:00
Randall Morey 45b419e641 chore: rename adapterOptions.scope_id to adapterOptions.scopeID 2020-07-16 18:22:44 -04:00
Randall Morey 9f48f8c85e chore: add support for scope_id in URL prefixes and method in URL suffixes 2020-07-15 16:23:38 -04:00
Randall Morey 89b736744f chore: add support for prefix and suffix with enhanced API 2020-07-15 15:52:21 -04:00
Randall Morey dbe07cf235 chore: 🤖 postivize the name of payloadIsNotBlank to ...isBlank 2020-06-25 16:17:46 -04:00
Randall Morey de8d912410 fix: 🐛 prenormalize findAll responses in application adapter
Ember Data fetch-manager will throw an error if an array resposne is an
empty object before it reaches the serializer.  Thus we need to
intercept the response in the adapter and "prenormalize" it to contain
an empty items array `{items: []}`.
2020-06-25 14:13:52 -04:00
Randall Morey dc20d6ef02 chore: 🤖 add convenience identifiers to error objects 2020-06-17 12:12:32 -04:00
Randall Morey 9ae5389ff2 Merge branch 'develop' into chore-errors 2020-06-05 13:27:34 -04:00
Randall Morey 5bb12f677d chore: 🤖 add host-catalog mock API 2020-06-04 16:53:37 -04:00
Randall Morey d2e55b19a1 chore: 🤖 add error handling support to API 2020-06-03 17:58:24 -04:00
Randall Morey ebdb938ca6 chore: 🤖 improve adapters and serializers to match API 2020-05-21 09:22:56 -04:00
Randall Morey e6bbdcbcf4 chore: 🤖 add support for API_HOST build-time config 2020-05-20 11:47:31 -04:00
Randall Morey ae535c607e chore: 🤖 setup API concerns for project resource 2020-05-19 16:33:31 -04:00