Commit Graph

322 Commits

Author SHA1 Message Date
Matthew Irish
a863af5c26 ui - add force option when promoting a replication secondary (#5438) 2018-10-01 15:58:43 -05:00
Matthew Irish
a3d9c17e0e UI - fix the top level polling and use ember-concurrency (#5433)
* fix the top level pollling and use ember-concurrency

* make suggested changes
2018-10-01 13:04:34 -05:00
Matthew Irish
bf3d2185c4 UI aws engine tweaks (#5294)
* allow passing a path for options so that it can be extracted from the model

* add cred type selector for the aws generate form

* style hint text on generate creds form

* add tests for aws-credential adapter

* allow for the case where we might have zero ttl

* show error for TTL picker if a non-number is entered for the duration part of the TTL

* fix positioning of tooltips

* fix ttl rendering with invalid input for initialValue
2018-09-28 16:45:30 -05:00
Matthew Irish
d438d2fb13 UI - ent init (#5428)
* allow for enterprise init attributes

* allow moving from init to auth in the init flow on the tutorial machine

* show loading spinner while cluster is unsealing

* use seal-status type to determine the init attrs

* add init acceptance tests

* stored_shares should always be 1

* fix lint

* format template

* remove explicity model attr from init controller
2018-09-28 09:36:18 -05:00
Matthew Irish
6f89952767 Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00
Joshua Ogle
e38bc6b5c8 Fix arrows on select inputs (#5282) 2018-09-06 10:56:09 -04:00
Matthew Irish
6f309304a8 ui - fix auth form so that it will preference path'd auth methods instead of token (#5281) 2018-09-05 14:28:10 -05:00
Matthew Irish
4bca5689c7 UI - azure secrets alicloud auth (#5278)
* add alicloud auth method in the UI along with onboarding component

* hide dismiss menu on tutorial paused state

* add ability to enable azure secrets engine
2018-09-05 11:21:29 -05:00
Matthew Irish
11377636bd UI - don't coerce JSON input to an Object (#5271)
* have fromJSON throw if trying to convert non-object to a KVObject

* catch the fromJSON error in secret-edit, display an error, and disabled the submit button
2018-09-05 11:07:39 -05:00
Joshua Ogle
73fd997467 Merge branch 'master' into ui-wizards-updates 2018-09-04 13:15:30 -06:00
Joshua Ogle
67ce775ba5 Address PR feedback for Guide style updates 2018-09-04 13:15:14 -06:00
Joshua Ogle
5defddfd73 Add AD logo 2018-09-04 10:22:57 -06:00
Joshua Ogle
4d3c22ea6d Add logos for Azure and AliCloud 2018-09-04 10:21:05 -06:00
Joshua Ogle
2061120c17 Fix wizard header button 2018-08-29 20:40:32 -06:00
Joshua Ogle
5bd2fc34fb Make wizard header line up with page header 2018-08-29 18:30:00 -06:00
Joshua Ogle
7db55408fc Fix auth form icons 2018-08-29 17:27:05 -06:00
Joshua Ogle
33053dee50 Animate wizard trigger, move instructions text to make things clearer 2018-08-29 17:16:50 -06:00
Brian Shumate
bcaff384ef Minor grammar edits (#5212) 2018-08-28 12:33:48 -07:00
madalynrose
f913d4c1d7 UI Onboarding Wizards (#5196) 2018-08-28 00:03:55 -05:00
Joel Thompson
e53560f27a Fix default TTL for AWS secrets (#5203)
The default TTL was being offered as 30 minutes, and when unchanged, the
UI wouldn't send the TTL back to the backend, causing it to use the
default of 60m. Fix the TTL to default back to 1 hour.
2018-08-27 23:30:17 -05:00
Matthew Irish
3437e82e54 refactor aws secret ui (#5193)
Update UI for AWS secret backend refactor

* Support empty AWS policy documents
* Try to make ARN input multiple
* move aws-role serializer to use the application serializer as the base
* support editing strings as JSON in the form field component
* update model, form and show to use form-component component, and swap fields based on credential type
* fix tests
* unify credential generation for aws and remove the STS specific action in the UI
* add label to the new json string form field
2018-08-27 19:54:30 -05:00
Matthew Irish
389d4a90a1 fix page reloading when using the replication navigation (#5162) 2018-08-22 14:08:43 -05:00
Matthew Irish
d6ab7bcd54 UI namespace additions (#5150)
* add switch link on namespace link page if user has access to the namespace
* refresh list when you delete, only show manage if you can list
* fix bug where disconnected namespaces wouldn't show the picker properly
* namespaces list should end in a slash
* end full namespace paths with a /
* shorten pop up menu link
2018-08-22 11:13:28 -05:00
Joel Thompson
f88c1b37b7 Remove reference to bower in UI README (#5137)
@meirish removed Bower in #4526 but the references to it in the README
were still intact.
2018-08-19 10:21:22 -04:00
Matthew Irish
c3e733623e UI namespaces (#5119)
* add namespace sidebar item

* depend on ember-inflector directly

* list-view and list-item components

* fill out components and render empty namespaces page

* list namespaces in access

* add menu contextual component to list item

* popup contextual component

* full crud for namespaces

* add namespaces service and picker component

* split application and vault.cluster templates and controllers, add namespace query param, add namespace-picker to vault.namespace template

* remove usage of href-to

* remove ember-href-to from deps

* add ember-responsive

* start styling the picker and link to appropriate namespaces, use ember-responsive to render picker in different places based on the breakpoint

* get query param working and save ns to authdata when authenticating, feed through ns in application adapter

* move to observer on the controller for setting state on the service

* set state in the beforeModel hook and clear the ember data model cache

* nav to secrets on change and make error handling more resilient utilizing the method that atlas does to eagerly update URLs

* add a list of sys endpoints in a helper

* hide header elements if not in the root namespace

* debounce namespace input on auth, fix 404 for auth method fetch, move auth method fetch to a task on the auth-form component and refretch on namespace change

* fix display of supported engines and exclusion of sys and identity engines

* don't fetch replication status if you're in a non-root namespace

* hide seal sub-menu if not in the root namespace

* don't autocomplete auth form inputs

* always send some requests to the root namespace

* use methodType and engineType instead of type in case there it is ns_ prefixed

* use sys/internal/ui/namespaces to fetch the list in the dropdown

* don't use model for namespace picker and always make the request to the token namespace

* fix header handling for fetch calls

* use namespace-reminder component on creation and edit forms throughout the application

* add namespace-reminder to the console

* add flat

* add deepmerge for creating the tree in the menu

* delayed rendering for animation timing

* design and code feedback on the first round

* white text in the namespace picker

* fix namespace picker issues with root keys

* separate path-to-tree

* add tests for path-to-tree util

* hide picker if you're in the root ns and you can't access other namespaces

* show error message if you enter invalid characters for namespace path

* return a different model if we dont have the namespaces feature and show upgrade page

* if a token has a namespace_path, use that as the root user namespace and transition them there on login

* use token namespace for user, but use specified namespace to log in

* always renew tokens in the token namespace

* fix edition-badge test
2018-08-16 12:48:24 -05:00
Joshua Ogle
c5a8d73c71 Fix footer upgrade link 2018-08-16 10:43:46 -06:00
Joshua Ogle
c622aeafe5 Merge branch 'master' into ui-tier-icons 2018-08-16 10:11:04 -06:00
Adam Medziński
cfd09d9767 Change selected text color in code editor (#4860)
This commit changes the selected text background color to a more
contrasting one. It also unifies colors of focused/not focused editor.
Focused editor is now indicated by the blinking cursor, which is a
more popular solution.
2018-08-16 11:07:19 -05:00
Matthew Irish
95ba500136 UI unauthed auth methods fix (#5113)
* lowercase auth method type so that hardcoded and unauthed methods both use the same key

* don't rely on top level data for capabilities serializer
2018-08-16 08:16:24 -05:00
Joshua Ogle
ef98c46283 Don't float tag in sidebar unless fullhd 2018-08-15 13:55:20 -06:00
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