Commit Graph
64 Commits
Author SHA1 Message Date
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
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
hashicorp-copywrite[bot] e8f15e2eab [COMPLIANCE] Add Copyright and License Headers 2023-06-19 16:23:53 +00: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 55f7406576 chore: 🤖 Update storage buckets to handle new api changes (#266) 2023-05-22 17:28:48 -04:00
Zhihe Li 62ec3fe914 refactor: 💡 Add channel ability for asciicasts (#174) 2023-03-31 21:19:46 +00:00
Zhihe Li 1e7268ff54 feat: 🎸 Add mirage data for ascii casts and use fetch (#129)
* feat: 🎸 Add mirage data for ascii casts and use fetch

✅ Closes: ICU-8189
2023-03-21 15:52:58 -04:00
Zhihe Li 5992829fa2 feat: 🎸 Add serializer and adapter for storage bucket (#117)
* feat: 🎸 Add serializer and adapter for storage bucket

✅ Closes: ICU-8358
2023-03-15 15:18:02 -04: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 e0989fffe3 test: 💍 add missing adapter test 2022-02-14 17:10:54 -05:00
Randall Morey 021097ad44 fix: append ?plugin_name to dynamic host catalog create requests 2022-02-14 14:57:34 -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 ebf129d35b refactor: 💡 implement new pathing for hosts 2020-09-10 17:59:31 -04:00
Randall Morey 2d29d2216f refactor: 💡 implement new pathing for host sets 2020-09-10 16:57:11 -04:00
Randall Morey e359473811 refactor: 💡 implement new pathing for host catalogs 2020-09-10 16:19:27 -04:00
Randall Morey 76fe50c9e3 refactor: 💡 implement new pathing for roles 2020-09-10 11:03:44 -04:00
Randall Morey 4a63c6484f refactor: 💡 implement new pathing for users 2020-09-09 16:53:41 -04:00
Randall Morey e80708eeb4 refactor: 💡 implement new pathing for groups 2020-09-09 16:24:48 -04:00
Randall Morey a368d65d10 refactor: 💡 implement new pathing for auth methods 2020-09-09 12:24:01 -04:00
Randall Morey 48d4857821 fix: 🐛 pass scope_id in scope payload rather than query string 2020-09-08 11:58:01 -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 b86f05e977 feat: 🎸 add host API support and mocks 2020-08-14 15:16:35 -04:00
Randall Morey 2c1ff699f6 chore: 🤖 add adapter to generate URLs for host sets 2020-08-14 10:29:24 -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 d08d52e090 refactor: send scope_id query param on scope create, rather than serializing into the payload 2020-07-23 19:01:31 -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 9261941c1b chore: rip out scope service 2020-07-15 11:08:59 -04:00
Susmitha Girumala f8be2f381e Merge branch 'develop' into ICU-349-groups-basic-views 2020-06-29 13:03:08 -04:00
Susmitha Girumala f52539aabd Merge branch 'develop' into ICU-350-users-crud 2020-06-29 10:40:09 -04:00
Susmitha Girumala d65c68182b Merge remote-tracking branch 'origin/develop' into ICU-349-groups-basic-views 2020-06-29 10:26:57 -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