Commit Graph

61 Commits

Author SHA1 Message Date
Matthew Irish 4d29d70b98
UI - upgrading generic secret engines to v2 format (#4750)
* remove dev-leased-kv flag, handle non-secret responses in the console

* skip lease tests for now

* use the newer collection api for ember-page-object

* include generic in types that can have a v2

* add tests for generic v2

* isolate kv v2 logic in the secret-engine model and add unit tests
2018-06-13 23:06:19 -05:00
Matthew Irish 924d1b4ddc
UI - code cleanup (#4699)
* use lazyCapabilities macro in models

* use expandAttributeMeta and fieldToAttrs everywhere

* add angle bracket component polyfill

* use PageHeader component throughout
2018-06-12 16:06:37 -05:00
Matthew Irish 9c6a5a807f
fix inlined SVG fill for Firefox (#4722)
* fix inlined SVG fill for Firefox

* rename bulma in-repo-addon to css

* add sass-svg-uri

* get rid of bespoke variable and use sass-svg-uri module
2018-06-07 15:08:53 -05:00
madalynrose 08c7cddef9 trim extensions from filename when uploading a policy file (#4693) 2018-06-05 10:30:32 -05:00
Matthew Irish 32fd7be4ac fix route name (#4690) 2018-06-04 14:38:35 -04:00
Matthew Irish c2f34dcc79
put modal over the nav (#4685) 2018-06-02 21:34:50 -05:00
Matthew Irish a2fb9ae331
UI - console refresh (#4679)
* add router service polyfill
* add refresh command
* move async code into ember-concurrency task and implement refresh that way
* use ember-concurrency derived state to show a loading spinner when the task is running
* scroll after appending to log too
2018-06-01 17:18:31 -05:00
Alex Ionescu 7c31dacea2 Custom extended key usage for PKI. (#4667)
Custom extended key usage for PKI
2018-06-01 09:13:54 -04:00
Matthew Irish 4d5713d090
UI - don't re-throw error when fetching features (#4669) 2018-05-31 16:22:49 -05:00
Matthew Irish 85d7412107
UI access sidebar (#4658)
* add error template to access so that we can see the sidebar even if you don't have permissions

* identity template cleanup

* make the token expiry warning friendlier and style it
2018-05-30 12:26:54 -05:00
Matthew Irish 96c1e547f0
UI identity lists (#4655)
* add new key_info to the list models for identity endpoints

* add details to group and show pages

* add parent groups to group tabs

* render alias the same everywhere

* space tab subnav more like the designs

* fix tests

* pull tabs in and remove padding
2018-05-29 21:56:15 -05:00
Matthew Irish e35ec4b6d6
UI - strip secret slash (#4649)
* remove unused didError

* error should fall back to message if the errors array is empty

* strip leading slash when saving a secret
2018-05-29 14:48:55 -05:00
Matthew Irish b383874a76
UI - Active Directory secrets (#4647)
* add AD secrets in the ui and move deprecated engines to the bottom of the list

* fix tools tests

* prettier
2018-05-29 09:14:31 -05:00
Matthew Irish a8d1031392
UI - wrapping lookup path (#4644)
* add creation path to the display on wrapping lookup

* fix z-index issue with console-panel and the subnav on smaller viewports

* use position:fixed for all of the global flash stuff

* tweaks for the console on mobile devices
2018-05-28 21:50:37 -05:00
Joshua Ogle 962dbe1dcb
Merge branch 'master' into jo-upgrade-copy 2018-05-25 15:51:57 -06:00
Joshua Ogle e760e9725a Add shadow to console 2018-05-25 15:29:58 -06:00
Joshua Ogle b44fa640f5
Merge branch 'master' into ui-styles-update 2018-05-25 15:28:57 -06:00
madalynrose 2b41283a91
UI console (#4631)
* adding columnify and ember-cli-cjs-transform

* add yargs-parser

* remove vendored yargs-parser tokenizer and use cjs transform to import it from actual yargs-parser

* add clear command that clears the log, but maintains history

* make codemirror have no gutter and be auto-height when rendered in the console output log

* add fullscreen command and hook up fullscreen toggle button

* hook up copy button
2018-05-25 16:33:22 -04:00
Joshua Ogle 2500d89938 Simpler type tags 2018-05-25 13:55:07 -06:00
Joshua Ogle 9bce97eb0a Update upgrade link 2018-05-25 13:17:02 -06:00
Joshua Ogle 80262092af
Merge branch 'master' into jo-upgrade-copy 2018-05-25 12:59:50 -06:00
Joshua Ogle 406b73d22c Make popup menus consistent 2018-05-25 12:05:20 -06:00
Joshua Ogle bea0a1d01e Update styles for popover menus 2018-05-25 12:05:20 -06:00
Joshua Ogle f55a6edac9 Update styles for tabs 2018-05-25 12:05:20 -06:00
Joshua Ogle b24dbc2f50 Update styles for list row hover 2018-05-25 12:05:20 -06:00
Joshua Ogle 2377e2769d Update styles for box shadows 2018-05-25 12:05:20 -06:00
Joshua Ogle 0e0a5e65fc UI: Update copy for upgrade modal 2018-05-25 11:36:08 -06:00
Matthew Irish 463a3ebea9
UI - identity details (#4502)
* add popups
* add ability to disable entity and banner when entity is disabled
* re-add alias-popup template
* add accpetance tests for creating entities
* add more entity creation acceptance tests
* add delete to edit-form
* add more identity tests and associated selectors
* add onSuccess hook and use UnloadModel route mixins
* add ability to toggle entity disabling from the popover
* fix store list cache because unloadAll isn't synchronous
* fill out tests for identity items and aliases
* add ability to enable entity from the detail page
* toArray on the peekAll
* fix other tests/behavior that relied on a RecordArray
* adjust layout for disabled entity and label for disabling an entity on the edit form
* add item-details integration tests
* move disable field on the entity form
* use ghost buttons for delete in identity and policy edit forms
* adding computed macros for lazy capability fetching and using them in the identity models
2018-05-23 22:10:21 -05:00
Matthew Irish 23778935b0
UI - make engine list more consistent with the auth method list (#4598)
* remove expanding behavior from engines list and add a configuration route

* use page header component, secret tab component for the template on the secret engine configuration route

* move abstraction to secret-list-header and remove secret-tabs

* add attrs to secret engine model and adjust mount controller code to support that

* fix top level nav so that we can use the back button properly

* fix tests
2018-05-23 11:25:52 -05:00
Matthew Irish c283930983
fix issue where unwrapping a response with an auth block wouldn't work (#4611) 2018-05-22 16:49:29 -05:00
madalynrose e42a99ced3
update hmac form and component to use 'algorithm' instead of 'hash-algorithm' (#4604) 2018-05-21 14:50:54 -04:00
Jeff Mitchell c42276bc3a
Update command in UI DR guide to non-deprecated version (#4588) 2018-05-18 09:43:12 -07:00
Peter Schultz a786ef8a4a Fix capability test for policies in UI (#4566)
Fix incorrect path for capability check in the policies UI.

Fixes #4564.
2018-05-14 17:20:07 -05:00
Matthew Irish aea5894f11
Enterprise version detection fix (#4547)
* fix version service parsing of .hsm in a version string

* remove race condition where the replication menu would show the enterprise upsell in an enterprise binary

* fix styling and layout of replication status menu

* move version check to beforeModel
2018-05-10 16:44:17 -05:00
Matthew Irish 4c21392884
Ember cli sass update (#4496)
* update ember-cli-sass

* update :not syntax to not use strings
2018-05-02 09:09:41 -05:00
Matthew Irish 8d820fd02e
don't check capabilities before rendering the credentials route (#4446) 2018-04-24 22:22:18 -05:00
Matthew Irish 7bf3476be9
Ui kv preflight endpoints (#4439)
* remove unused response-wrapping route and controller

* move to using the internal mounts endpoint for the secrets list and individual engine lookup

* remove errors about sys/mounts access because we don't need it anymore 🎉

* use modelFor instead of peekRecord for looking up the secret-engine

* remove test because we removed that error page - in the worst case scenario, a user will only have access to cubbyhole, but will see that in the secrets engines list

* make the dev CSP the same as the Go CSP

* update serializer to handle SSH responses as well as new engine fetches

* back out some changes to ttl-picker and field test object so that tests pass

* get rid of trailing space in the secret engine link

* add secrets-engine  adapater tests for new query behavior
2018-04-24 16:30:44 -05:00
Matthew Irish ca872c5de1
UI: Mount tune fix (#4431)
* serialize instead of toJSON when mount tuning

* add tests

* remove model unit test

* fix typo
2018-04-23 15:32:43 -05:00
Jeff Mitchell ceb39c0da7
Update seal wrap text in UI (#4416) 2018-04-21 11:09:39 -04:00
Matthew Irish 08c9bf3940
UI - Login fix (#4403)
* fix login

* add tests for login submission
2018-04-20 15:39:45 -05:00
Matthew Irish 7f4dbe3fd2
Ui kv v2 redux (#4393)
* remove header used for backwards compatibility in KV mounts, and use v1 paths for v1, v2 paths for v2

* make the model hook always run

* simplify adapter & serializer code for secrets

* update tests

* fix lease tests

* address review feedback
2018-04-19 21:26:25 -05:00
Matthew Irish 0e25096665
use an array to lookup capabilities paths so that commas aren't an issue (#4398) 2018-04-19 20:51:41 -05:00
Matthew Irish cfdb54cc5a
fix item popup for aws backend (#4371) 2018-04-18 15:34:35 -05:00
Joshua Ogle 3d9e9b7b6a
Merge branch 'master' into jo-ie11-fixes 2018-04-17 18:44:59 -06:00
Matthew Irish 1f4f2b2f0f
Ui ie11 button form attr (#4378)
* move submit buttons in auth-form into a form tag because IE11 is sad

* add acceptance test for auth-method clearing

* update ember-cli-page-object

* actually remove the form attr on the auth-form component

* remove form attribute on init form

* remove form attribute from shamir-flow component

* stringify not strigify
2018-04-17 17:04:34 -05:00
Joshua Ogle 7bb9490403
Merge branch 'master' into jo-ie11-fixes 2018-04-17 14:07:05 -06:00
Matthew Irish 04003aefbf
use ms-specific api for saving Blobs instead of using the File constructor (#4376) 2018-04-17 15:02:37 -05:00
Joshua Ogle f063649131 Move styles out of loading svg 2018-04-17 10:24:13 -06:00
Joshua Ogle 07012e3f54 Fix logo position in IE11 2018-04-16 19:39:07 -06:00
Joshua Ogle 854d56ae45 Fix shadow on user icon 2018-04-16 17:41:10 -06:00