Dharini Jeeva
879a58dcb8
feat: 🎸 mirage support and initial route for aliases ( #2181 )
...
* feat: 🎸 mirage support and initial route for aliases
2024-03-15 14:24:20 -07:00
Dharini Jeeva
5c6c9bb69f
fix: 🐛 move config processing to mirage serializer ( #2163 )
2024-02-27 11:25:51 -08:00
Dharini Jeeva
3fc865d226
Fix credential library mocks ( #2161 )
...
* fix: 🐛 vault cred library mocks
2024-02-27 09:41:28 -08:00
Dharini Jeeva
93c8d481fd
Icu 12567 add new field credential mapping overrides ( #2156 )
...
* chore: 🤖 add credential type select list
2024-02-23 10:07:52 -08:00
Dharini Jeeva
592bb15022
chore: 🤖 add credential type select list ( #2144 )
...
* chore: 🤖 add credential type select list
2024-02-16 15:57:14 -08:00
Dharini Jeeva
786e6130cd
feat: 🎸 allow session recording deletion ( #2132 )
...
* feat: 🎸 allow session recording deletion
2024-02-13 13:26:23 -08:00
Lisbet Alvarez
4d3c993b0f
refactor: 💡 move token call to be inside try-catch ( #2123 )
2024-01-30 16:01:00 -08:00
Cameron Perera
cb972cfc8a
refactor: 💡 update how we determine is pagination is supported ( #2122 )
2024-01-30 17:41:57 -06:00
Cameron Perera
f366f0a858
fix: 🐛 update id to ids for target onboarding creation ( #2120 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12412
2024-01-30 09:13:20 -06:00
Zhihe Li and Cameron Perera
3721f63edf
fix: 🐛 Fix client daemon usage on windows ( #2115 )
...
* fix: 🐛 Fix client daemon usage on windows
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12365
* refactor: 💡 Fix error handling
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12365
---------
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com >
2024-01-26 16:57:15 -06:00
Zhihe Li
5f9a66e421
fix: 🐛 Handle when requests to client daemon are returning 403 ( #2105 )
2024-01-23 16:31:21 -05:00
Dharini Jeeva
db50bfc9df
fix: 🐛 delete and retain_until should be readonly and Scope level policies ( #2104 )
...
* fix: 🐛 delete and retain_until should be readonly
* fix: 🐛 global scope should have policies from self and orgs
2024-01-23 11:31:43 -08:00
hashicorp-copywrite[bot]
314c1b36f4
[COMPLIANCE] Add Copyright and License Headers ( #2100 )
...
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2024-01-22 12:12:44 -05:00
Cameron Perera
3f2fc63b5b
fix: 🐛 remove client daemon params and pass remaining params ( #2097 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12301
2024-01-19 11:44:01 -06:00
Zhihe Li
c0793cd254
test: 💍 Add tests for MQL expression generator ( #2096 )
2024-01-18 11:39:29 -05:00
Dharini Jeeva and Lisbet Alvarez
fb9a080d2e
feat: reapply storage policies to session recording ( #2095 )
...
* refactor: 💡 add global settings link
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12257
* fix: 🐛 route
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12257
* fix: 🐛 comment
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12257
* feat: 🎸 add reapply sp to session recording page
* fix: 🐛 normalize
* feat: 🎸 upates
* fix: 🐛 logs
* fix: 🐛 comment
* test: 💍 add tests
* fix: 🐛 normalizer, style
* fix: 🐛 normalize
* fix: 🐛 normalizw
* fix: 🐛 normalize
* test: 💍 add tests for serializer n normalizer
* fix: 🐛 name
* fix: 🐛 do not delete, send null
* fix: 🐛 return
---------
Co-authored-by: Lisbet Alvarez <lisbet.alvarez@hashicorp.com >
2024-01-17 14:37:54 -05:00
Lisbet Alvarez
9e0467cbf0
refactor: 💡 add global settings link ( #2093 )
...
refactor: 💡 add global settings link (#2093 )
2024-01-17 08:37:09 -08: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
Zhihe Li
2e36d3c3e2
feat: 🎸 Add fallback if client daemon is down or errors ( #2085 )
...
* feat: 🎸 Add fallback if client daemon is down or errors
* test: 💍 Add tests for client daemon being down
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12026
2024-01-16 10:17:46 -05:00
Lisbet Alvarez
c7483e5602
feat: 🎸 filter sessions by status & scope ( #2058 )
...
* feat: 🎸 filter sessions by status
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-12067
2024-01-16 10:17:46 -05:00
Zhihe Li
47cf7995d3
feat: 🎸 Add active session filter ( #2052 )
...
* feat: 🎸 Add active session filter
* fix: 🐛 Fix tests and verify client daemon calls are correct
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11803
2024-01-16 10:17:46 -05:00
Zhihe Li
1122735b87
fix: 🐛 Fix returning mirage data from client daemon mock ( #2050 )
2024-01-16 10:17:46 -05:00
Zhihe Li
15d815c271
feat: 🎸 Add pagination component to targets ( #2023 )
...
* feat: 🎸 Add pagination component to targets
* test: 💍 Fix tests and add helper for client daemon search
* refactor: 💡 Update the returns from client daemon
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11905
2024-01-16 10:17:45 -05:00
Zhihe Li
dfd484dbca
fix: 🐛 Add support for not equals in MQL expression parsing ( #2029 )
2024-01-16 10:17:45 -05:00
Zhihe Li
7bc2ccb5ae
refactor: 💡 Use a native class for the client daemon handler ( #2026 )
2024-01-16 10:17:45 -05:00
Zhihe Li
3f11019ef0
feat: 🎸 Add pagination support to client daemon handler ( #2016 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11743
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
b8b970ce4d
feat: 🎸 Add initial setup for client daemon integration ( #1987 )
...
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11702
2024-01-16 10:17:45 -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
7dbd581a37
feat: 🎸 Add setup for api handlers
2024-01-16 10:17:45 -05:00
Dharini Jeeva
ba786d2172
policy association form ( #2089 )
...
* feat: 🎸 add storage policy api and mirage
2024-01-12 15:01:16 -08:00
Dharini Jeeva
eefb9eba4f
feat: 🎸 scope policy association api changes ( #2086 )
...
scope policy association API changes
2024-01-12 11:29:19 -08:00
Dharini Jeeva
1cb3b708a2
feat: 🎸 create storage policy ( #2079 )
...
* feat: 🎸 add storage policy
2024-01-12 11:07:18 -08:00
Dharini Jeeva
3f178363d9
chore: 🤖 add attach and detach storage policy permissions ( #2080 )
...
* chore: 🤖 add attach and detach storage policy permissions
2024-01-09 11:39:28 -08:00
Dharini Jeeva
b79eebf73a
feat: storage policies list view ( #2071 )
...
policies list view
2024-01-08 15:12:49 -08:00
Dharini Jeeva
f40878034d
fix: 🐛 transform ( #2069 )
...
* fix: 🐛 transform
* fix: 🐛 return null if undefined
* fix: 🐛 return null if no object
2024-01-03 17:37:14 -08:00
Dharini Jeeva
e3406d9a95
feat: storage policy API and mirage changes ( #2054 )
...
* feat: 🎸 add storage policy API and mirage
2024-01-03 11:52:17 -08:00
Carlos Alcaide Corvo
b51c8203ee
chore: 🤖 Upgrade eslint-plugin-qunit ( #2011 )
...
* chore: 🤖 Upgrade eslint-plugin-qunit
* Delete unnecessary assert.expect from tests
2023-12-08 12:56:00 -08:00
Dharini Jeeva
751b5bef78
chore: 🤖 add skip prompts toggle ( #2036 )
...
* chore: 🤖 add skip prompts toggle
2023-12-08 09:17:36 -08:00
9782f7e243
feat: 🎸 Implement time-remaining helper into desktop UI ( #2018 )
...
* feat: 🎸 implement helper
Implement `time-remainig` helper to display duration of a session for
desktop app.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 Refactored scenarios
Refactored `ipc.js` scenario to include `expiration_time` for a new
session.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* fix: 🐛 Fix add expiration_time when user has no grants to read (#2024 )
* refactor: 💡 refactor styles
Removed `div` and added `Hds::Badge` to `h1` element. Condensed and
renamed styling for title to `session-details-info`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Refactored `projects/targets` controller to return the correct `expiration_time` field returned from CLI. Cleaned up CSS for `session-details-info` attribute and wrapped `@model.displayname` in span tag.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* Update ui/desktop/app/controllers/scopes/scope/projects/targets/index.js
mixed naming expiration field on payload to store
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* refactor: 💡 refactored page header
Refactored `sessions` header to use `<Hds::Text::Dislpay/>` instead of a
span.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor cli response
Refactor `expiration` field from CLI response to be the correct
definition
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
* refactor: 💡 refactor sessions layout
Removed span as parent of header information, and pushed styles to
yielded page.header. Fixed stub in test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10487
---------
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com >
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
2023-12-07 16:01:57 -05:00
Devon Anderson
f282dbb5b1
feat: 🎸 Create time-remaining helper ( #2012 )
...
* feat: 🎸 create helper
Create `time-remaining` helper to track remaining session time.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 Clean up code for time-remaining helper
Moved time remaining helper into `core` addons folder. Cleaned up the
`time-remaining` helper to use the `DurationUnitFormat` service.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* Update session.hbs
removed test implementation
* refactor: 💡 files added for helper
files added for helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* Update session.hbs
fix linting
* refactor: 💡 fix uneeded spacing
Fix spacing on hbs file used for testing time-remaining helper
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 refactor time-remaining helper
Cleaned up code that was returning a string if `differenceInSeconds` was
less than or equal to zero. Code is now conditionally checking in the
`differenceInSeconds` variable if the `difference` is greater than zero.
If it is not then it will return zero and let the `DurationUnitFormat`
handle the rest.
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
* refactor: 💡 fix failing test
Fix failing `time-remaining` test
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-10519
2023-11-28 17:42:22 -05:00
Dharini Jeeva
3f2f2ba756
feat: 🎸 Allow prompts in oidc auth method form ( #2007 )
...
* feat: 🎸 Allow prompts in OIDC auth method form
2023-11-28 11:59:16 -08:00
Carlos Alcaide Corvo
02a89bd7ba
Chore upgrade eslint and deps ( #2010 )
...
* chore: 🤖 Upgrade eslint
* chore: 🤖 Upgrade eslint-config-prettier
* chore: 🤖 Upgrade eslint-plugin-ember
* chore: 🤖 Upgrade eslint-plugin-n
2023-11-27 15:31:39 -08: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
Devon Anderson
2558ee1353
chore: 🤖 Upgrading to Ember 4.12.2 ( #1988 )
...
* chore: 🤖 Upgrading to Ember 4.12.2
Upgrading `admin/ui` to Ember 4.12.2
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
* refactor: 💡 Removed unused package
Removed unused `stylelint` package for `css`
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
* refactor: 💡 removed unused dependency
Removed `stylelint-prettier` dependency
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11330
2023-11-10 11:21:52 -05:00
0129784322
fix url when user tries to access resource with incorrect url ( #1958 )
...
* refactor: 💡 auth-method, account, & managed abilities & routes
* refactor: 💡 credential store resources abilities & routes
* refactor: 💡 group abilities & routes
* refactor: 💡 host-catalog resources abilities & routes
* refactor: 💡 role abilities & routes
* test: 💍 fix route-info-test
* test: 💍 fix host serializer tests
* test: 💍 fix create-test for host-sets
* refactor: 💡 session recording resources abilities & routes
* refactor: 💡 storage bucket abilities & routes
* refactor: 💡 target abilities & routes
* refactor: 💡 user abilities & routes
* refactor: 💡 worker abilities & routes
* refactor: 💡 remove ability changes and add comments
* Update ui/admin/app/utils/route-info.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
* test: 💍 add test cases and rename util file
* refactor: 💡 remove dup file and update imports
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* docs: ✏️ update comments & remove console.log
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-11282
* Update ui/admin/app/routes/scopes/scope/auth-methods/auth-method.js
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
---------
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com >
Co-authored-by: Dharini Jeeva <dharini@hashicorp.com >
2023-11-02 16:08:25 -07:00
Zhihe Li
1ddabf4980
feat: 🎸 Add checks for cancel permissions in desktop sessions ( #1980 )
...
* feat: 🎸 Add checks for cancel permissions in desktop sessions
* chore: 🤖 Move model hook from session to session.index
2023-11-02 13:42:51 -04:00