Commit Graph

85 Commits

Author SHA1 Message Date
Matthew Irish 3e5731a7b8
UI: ember-auto-import (#4933)
* add auto-import
* remove imports that we can and get rid of autosize shim
* remove items from eslinrc
* import base64js in shamir key
2018-07-18 09:13:39 -05:00
Matthew Irish 25cafba848
UI - disable JSON toggle when data is not only strings (#4913)
* disable JSON toggle when data is not only strings
* add tests
2018-07-12 21:35:58 -05:00
Joshua Ogle 50e2065bec Fix mobile display of info table row 2018-07-10 15:48:36 -06:00
Joshua Ogle 2b34025f12 Fix info-table-row in alias metadata 2018-07-10 14:09:54 -06:00
Joshua Ogle 471fe3f03b Move back to linked-block 2018-07-10 14:04:50 -06:00
Joshua Ogle d453125feb Adjust primary button colors 2018-07-10 09:24:08 -06:00
Joshua Ogle a971450557 Simpler list item rows
- Makes list items flush with sides, expands into gutter on hover
- Makes unclickable row items more distinguishable
2018-07-10 08:18:25 -06:00
Joshua Ogle 28c782bd70
Merge branch 'master' into ui-input-styles 2018-07-09 13:22:23 -06:00
Joshua Ogle a090e75555 Add new styles for file upload 2018-07-09 12:20:09 -06:00
Joshua Ogle 4ea53bbdbd Add better Structure colors 2018-07-05 18:14:22 -06:00
Matthew Irish f38a50b6b2
UI - unauthed login methods (#4854)
* fetch auth methods when going to the auth route and pass them to the auth form component

* add boolean editType for form-fields

* look in the data hash in the serializer

* remove renderInPlace for info-tooltips as it does something goofy with widths

* add new fields for auth methods

* fix console refresh command on routes that use lazyPaginatedQuery

* add wrapped_token param that logs you in via the token backend and show other backends if your list contains supported ones

* handle casing when looking up supported backends

* change listingVisibility to match the new API

* move wrapped_token up to the vault route level so it works from the app root
2018-07-05 13:28:12 -05:00
Joshua Ogle efa779c005 Split grays into UI and Vault Grays 2018-07-02 17:44:54 -06:00
Matthew Irish e3ddddf3a5
UI - fix cubbyhole (#4851)
* fix cubbyhole and add acceptance test for it
2018-06-28 15:54:02 -05:00
Adam Medziński e3bf33b5c7 Restore is-word-break class in masked input template (#4849) 2018-06-28 11:08:07 -05:00
Matthew Irish d93c92e4f5
UI - guard page redesign (#4779)
* add NavHeader component
* use NavHeader in SplashPage component and application.hbs
* let download button take a block
* add RadialProgress component
* use RadialProgress in ShamirFlow component
* style up the RadialProgress component
* update ember-basic-dropdown, ember-basic-dropdown-hover
* rework operation token generation workflow
* directly depend on ember-maybe-in-element
2018-06-26 16:35:47 -05:00
Matthew Irish 30daed5716
UI ensure trailing slash (#4828)
* add make targets to build the ui without minifying the source
* add polyfill for string.prototype.endswith and move to npm version of string.prototype.startswith
* replace the current history state with a / on the list secrets endpoint
* add test for list with id
2018-06-25 15:30:11 -05:00
Matthew Irish 96277531eb
UI - auth method edit (#4770)
* add configuration tab for ldap, okta, radius auth methods
* add tests to assert that configuration tabs show on supported auth methods
2018-06-15 12:53:21 -05:00
madalynrose 9fb8be5a72
Masked input (#4759)
* create masked-input component
2018-06-14 14:52:00 -04:00
Matthew Irish be6827feaa Skip flakey UI test (#4762)
* skip flakey ui test

* only show failures in JS test output
2018-06-14 09:43:38 -04:00
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 1fd6119a51 Fix upgrade link 2018-05-25 16:23:54 -06: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