Commit Graph

292 Commits

Author SHA1 Message Date
Joshua Ogle
aa1b3bab12 Update Edition Tier Icons 2018-08-15 13:41:43 -06:00
Stephen J. Butler
b65961e3b6 Add tokenGroups and tokenGroupsGlobalAndUniversal (#4936) 2018-08-13 14:57:10 -07:00
Matthew Irish
aeef351629
e.errors not e.error (#4990) 2018-07-24 23:16:03 -05:00
Matthew Irish
754fd0b7c8
UI - add JWT auth, remove alias metadata (#4986)
* remove the ability to edit metadata on entity aliases
* add JWT auth method in the UI
2018-07-24 17:35:31 -05:00
Matthew Irish
42c767da14
UI - fix kv object so that falsey values don't get coerced to empty strings (#4977)
* fix kv object so that falsey values don't get coerced to empty strings
* equal for string compare
2018-07-23 16:57:35 -05:00
Matthew Irish
eb4ad42eba
UI unauthenticated auth method login (#4972)
* fix unauthenticated auth form
* make sure to redirect if you're already authed
* add the ability to build in a welcome message at build time
2018-07-20 16:48:25 -05:00
Matthew Irish
8a8c932ea2
UI - control groups (#4947)
* add routes for control groups in tools, settings, access (#4718)
* UI control group - storage, request, authorization, and unwrapping (#4899)
* UI control groups config (#4927)
2018-07-18 20:59:04 -05:00
Matthew Irish
7af1c09e72
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
bd9ba940ef
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
34672c7775 Fix mobile display of info table row 2018-07-10 15:48:36 -06:00
Joshua Ogle
e3178685e5 Fix info-table-row in alias metadata 2018-07-10 14:09:54 -06:00
Joshua Ogle
5615ce00f6 Move back to linked-block 2018-07-10 14:04:50 -06:00
Joshua Ogle
95d1d9ce4c Adjust primary button colors 2018-07-10 09:24:08 -06:00
Joshua Ogle
62adf73bcf 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
f834437e0a
Merge branch 'master' into ui-input-styles 2018-07-09 13:22:23 -06:00
Joshua Ogle
dfb1a543c9 Add new styles for file upload 2018-07-09 12:20:09 -06:00
Joshua Ogle
b7655d7880 Add better Structure colors 2018-07-05 18:14:22 -06:00
Matthew Irish
87d70fbe5b
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
65a9ed9c8a Split grays into UI and Vault Grays 2018-07-02 17:44:54 -06:00
Matthew Irish
36efaa781f
UI - fix cubbyhole (#4851)
* fix cubbyhole and add acceptance test for it
2018-06-28 15:54:02 -05:00
Adam Medziński
7bf1047992 Restore is-word-break class in masked input template (#4849) 2018-06-28 11:08:07 -05:00
Matthew Irish
c8b64523ee
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
2a3ee08dfa
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
3c6bec9113
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
00bd282590
Masked input (#4759)
* create masked-input component
2018-06-14 14:52:00 -04:00
Matthew Irish
f7b2a823ab 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
85d7ffea83
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
7b10e8527a
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
3a2ab5a764
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
1b785835b7 trim extensions from filename when uploading a policy file (#4693) 2018-06-05 10:30:32 -05:00
Matthew Irish
688091c2df fix route name (#4690) 2018-06-04 14:38:35 -04:00
Matthew Irish
7de8cfd808
put modal over the nav (#4685) 2018-06-02 21:34:50 -05:00
Matthew Irish
f046445dac
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
33ec066278 Custom extended key usage for PKI. (#4667)
Custom extended key usage for PKI
2018-06-01 09:13:54 -04:00
Matthew Irish
2b7440524e
UI - don't re-throw error when fetching features (#4669) 2018-05-31 16:22:49 -05:00
Matthew Irish
af1ad4e0f1
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
61501209ae
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
c1d4243a95
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
2f67754951
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
ec58e39598
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
c87f6ea62a Fix upgrade link 2018-05-25 16:23:54 -06:00
Joshua Ogle
0a598dd37b
Merge branch 'master' into jo-upgrade-copy 2018-05-25 15:51:57 -06:00
Joshua Ogle
51c69f734a Add shadow to console 2018-05-25 15:29:58 -06:00
Joshua Ogle
2d58fe9c93
Merge branch 'master' into ui-styles-update 2018-05-25 15:28:57 -06:00
madalynrose
b41b07a373
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
1dbfa9f553 Simpler type tags 2018-05-25 13:55:07 -06:00
Joshua Ogle
90a9a9a0ba Update upgrade link 2018-05-25 13:17:02 -06:00
Joshua Ogle
e8d3c00090
Merge branch 'master' into jo-upgrade-copy 2018-05-25 12:59:50 -06:00
Joshua Ogle
da127b0a23 Make popup menus consistent 2018-05-25 12:05:20 -06:00
Joshua Ogle
5240c1df59 Update styles for popover menus 2018-05-25 12:05:20 -06:00
Joshua Ogle
eca0ca264d Update styles for tabs 2018-05-25 12:05:20 -06:00
Joshua Ogle
bf04c73593 Update styles for list row hover 2018-05-25 12:05:20 -06:00
Joshua Ogle
0cb9c5e515 Update styles for box shadows 2018-05-25 12:05:20 -06:00
Joshua Ogle
fcdf8a5ac1 UI: Update copy for upgrade modal 2018-05-25 11:36:08 -06:00
Matthew Irish
3bc90acdf5
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
c722bc0e39
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
42b329eb25
fix issue where unwrapping a response with an auth block wouldn't work (#4611) 2018-05-22 16:49:29 -05:00
madalynrose
6888781969
update hmac form and component to use 'algorithm' instead of 'hash-algorithm' (#4604) 2018-05-21 14:50:54 -04:00
Jeff Mitchell
cd46a01f24
Update command in UI DR guide to non-deprecated version (#4588) 2018-05-18 09:43:12 -07:00
Peter Schultz
a84362531d 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
dee9f11655
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
b5a39d422a
Ember cli update to 2.15 (#4526)
* update ember-cli to 2.15

* remove bower

* update ivy-codemirror

* update build and ci to not use bower or phantomjs
2018-05-08 10:43:20 -05:00
Matthew Irish
ffbb76a429
Ember cli sass update (#4496)
* update ember-cli-sass

* update :not syntax to not use strings
2018-05-02 09:09:41 -05:00
Tobias Bieniek
e9c9fe0ee1 ui: Use qunit-dom for DOM assertions (#4455) 2018-04-27 11:33:19 -05:00
Matthew Irish
5bf6e8bb37
don't check capabilities before rendering the credentials route (#4446) 2018-04-24 22:22:18 -05:00
Matthew Irish
1489293ada
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
b0fc932564
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
037b3c3603
Update seal wrap text in UI (#4416) 2018-04-21 11:09:39 -04:00
Matthew Irish
7763007cf5
UI - Login fix (#4403)
* fix login

* add tests for login submission
2018-04-20 15:39:45 -05:00
Matthew Irish
9b1923ac5e
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
1ad67cba78
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
2cca85572c
update the readme to be more useful for UI development (#4399) 2018-04-19 16:08:41 -05:00
Matthew Irish
3a5a069fcd
fix item popup for aws backend (#4371) 2018-04-18 15:34:35 -05:00
Joshua Ogle
981427cbff
Merge branch 'master' into jo-ie11-fixes 2018-04-17 18:44:59 -06:00
Matthew Irish
f7e886f29d
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
3c3dbd9e6f
Merge branch 'master' into jo-ie11-fixes 2018-04-17 14:07:05 -06:00
Matthew Irish
fc8241584c
use ms-specific api for saving Blobs instead of using the File constructor (#4376) 2018-04-17 15:02:37 -05:00
Joshua Ogle
fe2b0ceb90 Move styles out of loading svg 2018-04-17 10:24:13 -06:00
Joshua Ogle
13e2041ec2 Update autoprefixer list to defaults + ie11 2018-04-17 10:10:08 -06:00
Joshua Ogle
86d85c4e27 Fix logo position in IE11 2018-04-16 19:39:07 -06:00
Joshua Ogle
47bbbdb144 Fix shadow on user icon 2018-04-16 17:41:10 -06:00
Matthew Irish
54fdaa8c82
UI - KV capabilities fix (#4343)
* fix capability lookup for kv backends

* remove list capabilities call and gating UI parts on capabilities.canCreate

* remove capabilities on create and update tests

* run dev server with no colors and use readline to log stdout stream

* fix + skip lease tests

* remove space on mounts list
2018-04-16 17:18:46 -05:00
Joshua Ogle
3c9010a6fd Add loading alternate for IE11 2018-04-16 15:04:43 -06:00
Andrei Burd
ad8f715ac6 UI: marking deprecated DB engines (#4364) 2018-04-15 20:53:40 -05:00
Joshua Ogle
aa4efd8306 Update loading animation 2018-04-13 14:04:33 -06:00
Matthew Irish
542db41315
UI - transit update (#4298)
* use waitForEvent for the CSP service as @alisdair suggested
* Secrets engine not secret engine
* move algorithm -> hash_algorithm and add support for picking signature_algorithm for RSA keys when signing or verifying in transit
2018-04-09 16:50:36 -05:00
Matthew Irish
222b540c56
Update ui to reflect config changes for kv. versioned -> version (#4310)
* update ui to reflect config changes for kv. versioned -> version
* options not config
* tweak version display in the ui
2018-04-09 16:49:52 -05:00
Matthew Irish
1aaac4086b
UI - new backends (#4302)
* allow mounting of gcp secrets engine

* add models for azure auth method

* add azure as a mountable auth method

* make dev CSP more like built-in CSP

* id -> ID
2018-04-09 14:44:53 -05:00
Matthew Irish
fec8f13955
UI - pki updates (#4291)
* add require_cn to pki roles
* add policy_identifiers and basic_constraints_valid_for_non_ca to pki role form
* add new fields to the PKI docs
* add add_basic_constraints field
2018-04-08 21:09:29 -05:00
Matthew Irish
e4144585bd
Ui request forwarding error (#4275)
* add ember-cli-content-security-policy
* only enable client side CSP when not in production - the go side handles this otherwise
* add service that handles and stores CSP violations via the securitypolicyviolation event
* update auth form component to show a specialized message when there's a CSP error
* move to computed prop for showing the CSP error message
* fix typos
2018-04-05 16:36:33 -05:00
Matthew Irish
5162ce8156
UI - first RC feedback (#4278)
* add hasSentinel to the version service
* use hasSentinel instead of features directly
* type='button' strikes again
* pass url param in tab links to ensure hrefs are updated
* 404 when the item_type is invalid for the identity route
2018-04-05 16:08:18 -05:00
Matthew Irish
2c2f0d853f Moving UI assets to OSS 2018-04-03 09:16:57 -05:00