Commit Graph

505 Commits

Author SHA1 Message Date
John Cowen 30da884d55
ui: Delete old yarn lock file (#9046)
* Update the make file to look for node_modules in the workspace

* Delete old travis file
2020-10-27 14:26:42 +00:00
Kenia cdf5ba703f
ui: Remove downstream dc filter (#9040)
* Remove datacenter filter and update props passed down

* Merging changes fixed

* Fixup tests for metrics link
2020-10-27 10:25:23 -04:00
Kenia ed6a2c150f
ui: Topology limited access banner (#9041)
* Add limited access banner to Topology tab based on ACLs

* Update to folder structure
2020-10-27 10:04:22 -04:00
John Cowen 827e53694c
ui: Upgrade consul-api-double to fix datacenter mocks (#9045) 2020-10-27 13:31:57 +00:00
Paul Banks 52d7283cd6
UI metrics provider dc (#9001)
* Plumb Datacenter and Namespace to metrics provider in preparation for them being usable.

* Move metrics loader/status to a new component and show reason for being disabled.

* Remove stray console.log

* Rebuild AssetFS to resolve conflicts

* Yarn upgrade

* mend
2020-10-26 19:48:23 +00:00
John Cowen c4f027fa0d
ui: Upgrade the rest of the UI to use the new Notice component (#9035) 2020-10-26 16:51:53 +00:00
John Cowen 948917c6b0
ui: Intention Custom Resource Banners (#9018) 2020-10-26 09:30:07 +00:00
John Cowen eedee07e7c
ui: Initial Intention Permission Integration and acceptance testing (#9003) 2020-10-23 17:26:06 +01:00
John Cowen 7559f64d01
ui: Fixup CSS for create pages (#9019) 2020-10-23 15:41:36 +01:00
Kenia 2a8a80638a
ui: Fix the pointer events to view the tooltips when hovering over the icons (#9014)
* Fix the pointer events to view the tooltips when hovering over the icons

* Update to use class instead of id
2020-10-23 09:45:39 -04:00
Kenia 92abbbacc1
ui: Prevent redirect to topology url and hide Topology tab if service has no services (#9008)
* Prevent redirect to topology url and hide Topology tab if service has no proxies

* Remove unused computed function from topology model

* Fix up tests

* Remove use of Exists computed function

* Add tests for hiding topology tab
2020-10-23 09:45:10 -04:00
Kenia 05411303b4
ui: Update Topology metrics dashboard and configuration links (#9002)
* Update Topology metrics dashboard and configuration links

* Fixup tests

* Remove Dashboard Link from settings page

* Removing use of settings Dashboard links
2020-10-23 09:44:38 -04:00
John Cowen 45554e4e9c
ui: Notice component (#9011)
Add simple Notice template only glimmer component
2020-10-23 09:26:32 +01:00
John Cowen 6589cbbd0d
ui: Move to Workspaced Structure (#8994)
* ui: Add the most basic workspace root in /ui

* We already have a LICENSE file in the repository root

* Change directory path in build scripts ui-v2 -> ui

* Make yarn install flags configurable from elsewhere

* Minimal workspace root makefile

* Call the new docker specific target

* Update yarn in the docker build image

* Reconfigure the netlify target and move to the higher makefile

* Move ui-v2 -> ui/packages/consul-ui

* Change repo root to refleect new folder structure

* Temporarily don't hoist consul-api-double

* Fixup CI configuration

* Fixup lint errors

* Fixup Netlify target
2020-10-21 15:23:16 +01:00
Freddy b2c12550d7
Remove old UI, option to use it, and its build processes 2019-04-12 09:02:27 -06:00
Hans Hasselberg ee36591242
update ffi to dodge CVE-2018-1000201 (#4670) 2018-09-14 11:22:48 +02:00
John Cowen bd0c9b32b9 Remove upgrade banner html from v1 ui 2018-06-22 17:51:43 +01:00
Paul Banks 863ac12811
v1.1.0 UI Build 2018-05-11 17:05:20 +01:00
John Cowen e5eeb0aa7c
UI V2 (#4086)
* Move settings to use the same service/route API as the rest of the app

* Put some ideas down for unit testing on adapters

* Favour `Model` over `Entity`

* Move away from using `reopen` to using Mixins

* Amend messages, comment/document some usage

* Make sure the returns are consistent in normalizePayload, also

Add some todo's in to remind me to think consider this further at a
later date. For example, is normalizePayload to be a hook or an
overridable method

* Start stripping back the HTML to semantics

* Use a variable rather than chaining

* Remove unused helpers

* Start picking through the new designs, start with listing pages

* First draft HTML for every page

* Making progress on the CSS

* Keep plugging away at the catalog css

* Looking at scrolling

* Wire up filtering

* Sort out filter counting, more or less done a few outstanding

* Start knocking the forms into shape

* Add in codemirror

* Keep moving forwards with the form like layouts

* Start looking at ACL editing page, add footer in

* Pull the filters back in, look at an autoresizer for scroll views

* First draft toggles

* 2nd draft healthcheck icons

* Tweak node healthcheck icons

* Looking at healthcheck detail icons

* Tweak the filter-bar and add selections to the in content tabs

* Add ACL create, pill-like acl type highlight

* Tweaking the main nav some more

* Working on the filter-bar and freetext-filter

* Masonry layout

* Stick with `checks` instead of healthy/unhealthy

* Fix up the filter numbers/counts

* Use the thead for a measure

* First draft tomography back in

* First draft DC dropdown

* Add a temporary create buttong to kv's

* Move KV and ACL to use a create page

* Move tags

* Run through old tests

* Injectable server

* Start adding test attributes

* Add some page objects

* More test attributes and pages

* Acl filter objects

* Add a page.. page object

* Clickable items in lists

* Add rest/spread babel plugin, remove mirage for now

* Add fix for ember-collection

* Keep track of acl filters

* ember-cli-page-object

* ember-test-selectors

* ui: update version of ui compile deps

* Update static assets

* Centralize radiogroup helper

* Rejig KV's and begin to clean it up

* Work around lack of Tags for the moment..

* Some little css tweaks and start to remove possibles

* Working on the dc page and incidentals

1. Sort the datacenter-picker list
2. Add a selected state to the datacenter-picker
3. Make dc an {Name: dc}
4. Add an env helper to get to 'env vars' from within templates

* Click outside stuff for the datacenter-picker, is-active on nav

* Make sure the dropdown CTA can be active

* Bump ember add pluralize helper

* Little try at sass based custom queries

* Rejig tablular collection so it deals with resizing, actions

1. WIP: start building actions dropdowns
2. Move tabular collection to deal with resizing to rule out differences

* First draft actions dropdowns

* Add ports, selectable IP's

* Flash messages, plus general cleanup/consistency

1. Add ember-cli-flash for flash messages
2. Move everything to get() instead of item.get
3. Spotted a few things that weren't consistent

* DOn't go lower than zero

* First draft vertical menu

* Missed a get, tweak dropmenu tick

* Big cleanup

1. this.get(), this.set() > get(), set()
2. assign > {...{}, ...{}}
3. Seperator > separator

* WIP: settings

* Moved things into a ui-v2 folder

* Decide on a way to do the settings page whilst maintaining the url + dc's

* Start some error pages

* Remove base64 polyfill

* Tie in settings, fix atob bug, tweak layout css

* Centralize confirmations into a component

* Allow switching between the old and new UI with the CONSUL_UI_BETA env var

Currently all the assets are packaged into a single AssetFS and a prefix is configured to switch between the two.

* Attempt at some updates to integrate the v2 ui build into the main infrastructure

* Add redirect to index.html for unknown paths

* Allow redictor to /index.html for new ui when using -ui-dir

* Take ACLs to the correct place on save

* First pass breadcrumbs

* Remove datacenter selector on the index page

* Tweak overall layout

* Make buttons 'resets'

* Tweak last DC stuff

* Validations plus kv keyname viewing tweaks

* Pull sessions back in

* Tweak the env vars to be more reusable

* Move isAnon to the view

* No items and disabled acl css

* ACL and KV details

1. Unauthorized page
2. Make sure the ACL is always selected when it needs it
3. Check record deletion with a changeset

* Few more acl tweaks/corrections

* Add no items view to node > services

* Tags for node > services

* Make sure we have tags

* Fix up the labels on the tomography graph

* Add node link (agent) to kv sessions

* Duplicate up `create` for KV 'root creation'

* Safety check for health checks

* Fix up the grids

* Truncate td a's, fix kv columns

* Watch for spaces in KV id's

* Move actions to their own mixins for now at least

* Link reset to settings incase I want to type it in

* Tweak error page

* Cleanup healthcheck icons in service listing

* Centralize errors and make getting back easier

* Nice numbers

* Compact buttons

* Some incidental css cleanups

* Use 'Key / Value' for root

* Tweak tomography layout

* Fix single healthcheck unhealthy resource

* Get loading screen ready

* Fix healthy healthcheck tick

* Everything in header starts white

* First draft loader

* Refactor the entire backend to use proper unique keys, plus..

1. Make unique keys form dc + slug (uid)
2. Fun with errors...

* Tweak header colors

* Add noopener noreferrer to external links

* Add supers to setupController

* Implement cloning, using ember-data...

* Move the more expensive down the switch order

* First draft empty record cleanup..

* Add the cusomt store test

* Temporarily use the htmlSafe prototype to remove the console warning

* Encode hashes in urls

* Go back to using title for errors for now

* Start removing unused bulma

* Lint

* WIP: Start looking at failing tests

* Remove single redirect test

* Finish off error message styling

* Add full ember-data cache invalidation to avoid stale data...

* Add uncolorable warning icons

* More info icon

* Rearrange single service, plus tag printing

* Logo

* No quotes

* Add a simple startup logo

* Tweak healthcheck statuses

* Fix border-color for healthchecks

* Tweak node tabs

* Catch 401 ACL errors and rethrow with the provided error message

* Remove old acl unauth and error routes

* Missed a super

* Make 'All' refer to number of checks, not services

* Remove ember-resizer, add autoprefixer

* Don't show tomography if its not worth it, viewify it more also

* Little model cleanup

* Chevrons

* Find a way to reliably set the class of html from the view

* Consistent html

* Make sure session id's are visible as long as possible

* Fix single service check count

* Add filters and searchs to the query string

* Don't remember the selected tab

* Change text

* Eror tweaking

* Use chevrons on all breadcrumbs even in kv's

* Clean up a file

* Tweak some messaging

* Makesure the footer overlays whats in the page

* Tweak KV errors

* Move json toggle over to the right

* feedback-dialog along with copy buttons

* Better confirmation dialogs

* Add git sha comment

* Same title as old UI

* Allow defaults

* Make sure value is a string

* WIP: Scrolling dropdowns/confirmations

* Add to kv's

* Remove set

* First pass trace

* Better table rows

* Pull over the hashi code editor styles

* Editor tweaks

* Responsive tabs

* Add number formatting to tomography

* Review whats left todo

* Lint

* Add a coordinate ember data triplet

* Bump in a v2.0.0

* Update old tests

* Get coverage working again

* Make sure query keys are also encoded

* Don't test console.error

* Unit test some more utils

* Tweak the size of the tabular collections

* Clean up gitignore

* Fix copy button rollovers

* Get healthcheck 'icon icons' onto the text baseline

* Tweak healthcheck padding and alignment

* Make sure commas kick in in rtt, probably never get to that

* Improve vertical menu

* Tweak dropdown active state to not have a bg

* Tweak paddings

* Search entire string not just 'startsWith'

* Button states

* Most buttons have 1px border

* More button tweaks

* You can only view kv folders

* CSS cleanup reduction

* Form input states and little cleanup

* More CSS reduction

* Sort checks by importance

* Fix click outside on datacenter picker

* Make sure table th's also auto calculate properly

* Make sure `json` isn't remembered in KV editing

* Fix recursive deletion in KV's

* Centralize size

* Catch updateRecord

* Don't double envode

* model > item consistency

* Action loading and ACL tweaks

* Add settings dependencies to acl tests

* Better loading

* utf-8 base64 encode/decode

* Don't hang off a prototype for htmlSafe

* Missing base64 files...

* Get atob/btoa polyfill right

* Shadowy rollovers

* Disabled button styling for primaries

* autofocuses only onload for now

* Fix footer centering

* Beginning of 'notices'

* Remove the isLocked disabling as we are letting you do what the API does

* Don't forget the documentation link for sessions

* Updates are more likely

* Use exported constant

* Dont export redirectFS and a few other PR updates

* Remove the old bootstrap config which was used for the old UI skin

* Use curlies for multiple properties
2018-05-10 19:52:53 +01:00
John Cowen 4b4ae97d94 Fix typo ot > to 2018-05-10 18:51:13 +01:00
John Cowen 296552d67d Add v2 notification banner at the top of the page 2018-05-10 17:17:12 +01:00
Kyle Havlovitz 2a636275ad
Update static assets 2018-04-13 10:05:30 -07:00
Jack Pearkes 58da0bc7dc ui: update version of ui compile deps 2018-04-13 09:40:46 -07:00
Josh Soref 94835a2715 Spelling (#3958)
* spelling: another

* spelling: autopilot

* spelling: beginning

* spelling: circonus

* spelling: default

* spelling: definition

* spelling: distance

* spelling: encountered

* spelling: enterprise

* spelling: expands

* spelling: exits

* spelling: formatting

* spelling: health

* spelling: hierarchy

* spelling: imposed

* spelling: independence

* spelling: inspect

* spelling: last

* spelling: latest

* spelling: client

* spelling: message

* spelling: minimum

* spelling: notify

* spelling: nonexistent

* spelling: operator

* spelling: payload

* spelling: preceded

* spelling: prepared

* spelling: programmatically

* spelling: required

* spelling: reconcile

* spelling: responses

* spelling: request

* spelling: response

* spelling: results

* spelling: retrieve

* spelling: service

* spelling: significantly

* spelling: specifies

* spelling: supported

* spelling: synchronization

* spelling: synchronous

* spelling: themselves

* spelling: unexpected

* spelling: validations

* spelling: value
2018-03-19 16:56:00 +00:00
John Cowen b3fc258315 Fixes erroneous closed <p> tag 2018-01-16 11:29:55 +00:00
James Phillips 410b9fcce9
Manually patches handlebars JS to escape = to prevent XSS. 2017-12-20 19:49:06 -08:00
James Phillips b81b078463
Fixes a JS error that came in as part of #3760. 2017-12-20 17:40:47 -08:00
James Phillips 7ee0e750a4
Wraps the key in a property that URL encodes it. 2017-12-20 10:19:50 -08:00
James Phillips a373c7357a
Delete development_config.json 2017-11-08 23:43:40 -08:00
James Phillips f25c66dfd9 Fixes an XSS issue with unescaped node names. (#3578)
* Fixes an XSS issue with node names in the tomography graph.

* Updates built-in static web assets.

* Updates the change log.
2017-10-16 09:12:36 -07:00
James Phillips b34d576193
Updates checked in web assets to pick up CSS change.
Closes #3521
2017-10-04 09:52:15 -07:00
Cyril Gaudin b523a01ac1 ui: Use monospace font for textarea controls. 2017-10-02 15:49:20 +02:00
Kyle Havlovitz 21513b0393
Update coord display in ui to account for segments 2017-08-30 11:58:29 -07:00
James Phillips 7200b8cda8 UI cleanup follow up from #3245. (#3251)
* Removes unnecessary set for model component which will be null.

* Returns a 404 for a missing node, not a 200 with an empty response.

* Updates built-in web assets.
2017-07-10 09:40:00 -07:00
James Phillips aa11956d63 Changes the default ACL token type to "client" in web UI. (#3246)
* Changes the default ACL token type to "client".

* Updates built-in web assets.
2017-07-08 17:28:04 -07:00
James Phillips 86b1e64a33 Cleans up web UI and fixes ACL token "stuckness" issue. (#3245)
* Removes GitHub reference.

* Doesn't display ACL token on the unauthorized page.

* Removes useless fetch for nodes and cleans up comments.

* Provides a path to reset the ACL token when it's invalid.

This included making the settings page global so it's reachable, and adding
some more information about an error on the error page.

* Updates built-in web assets.
2017-07-08 17:16:05 -07:00
James Phillips fa8a26ad54
Updates static assets to latest. 2017-06-07 21:16:59 -07:00
James Phillips 9843c2e872 Merge pull request #2812 from naaaargle/master
UI Improvement: Add sticky scroll to side panel
2017-05-18 10:28:28 -04:00
Brian Shumate 51ead36100
Use updated ACL guide URL instead 2017-05-05 11:43:06 -04:00
Brian Shumate 4944bb66be
UI: open docs links in new tab
- set `target="_blank"` on all docs URLs
2017-05-05 11:19:53 -04:00
James Phillips c5cc1fdba6 Revert "UI: remove ACL ID from the left list" 2017-05-02 14:28:56 -07:00
Seth Vargo 0639e7c018 Merge pull request #2517 from bhuisgen/feature/ui-remove-acl-id-from-list
UI: remove ACL ID from the left list
2017-05-02 13:12:57 -07:00
James Phillips 6382f95898
Updates static assets to pick up #2712. 2017-05-02 10:52:06 -07:00
Jack efb905c707 Add JSON validation to update view
JSON validation has now been added to the update view following the same format
as create. Since 'valueDecoded' does not have the ability to check if the value
is base64 before decoding then this must be checked first; if it is base64 then
use the decoded one, if not just get the value.

Change incorrect trailing span close to label.
2017-05-02 17:20:36 +09:00
Jack a7d65fd3a2 Add JSON validation to UI
JSON validation added to UI. This has been implemented through the use of a flag
to enable/disable the functionality with a watcher on the value to set the
success/error class on the textarea itself.

No hard validation added to the field.
2017-05-02 17:20:35 +09:00
Brian Shumate f97051e269
ui: Add favicon.png for Chrome
- This completes all favicon related additions and
  completely resolves error in Chrome
2017-04-25 16:11:19 -04:00
Brian Shumate b5eadeb942 ui: Update index to fix #2945 (#2956) 2017-04-25 10:00:19 -07:00
Brian Shumate 2fc6541fd3 ui: Add and update favicons (#2948)
ui: Add and update favicons

* Add most popular device/size favicon combinations
* Update existing favicons
* Change permissions to 0644 on static assets

Fixes #2945
2017-04-25 09:23:34 -07:00
James Phillips 4de270326e
Updates static assets to pick up #2899. 2017-04-13 14:40:16 -07:00
Brian Shumate 6716a5b286
Everything is pink now 2017-04-13 09:27:32 -04:00
Brian Shumate c0b3e99c46
Pink cylon image! 2017-04-12 20:21:51 -04:00
Brian Shumate e9f97375bf
UI: use new pink hues for active/primary btns 2017-04-12 19:32:10 -04:00
Brian Shumate 6ab19b9f84
UI updates for new Consul logo
- Update consul-logo.png
- Update all favicons
- Update UI README
2017-04-12 18:58:06 -04:00
Terror e3c2c6ae08 Update index.html
Correct link to the ACL guide.
2017-04-10 13:32:33 +12:00
Seth Vargo 7779c5942c
Link to new api 2017-04-04 12:52:00 -04:00
Mary Nagle 8cd7fb54ed Add sticky scroll to side panel 2017-03-21 14:39:57 -04:00
Brian Shumate 256372b8b4
UI: add notification for disabled JavaScript 2017-01-05 09:10:58 -05:00
Brian Shumate f333392a3d
Remove Deregister from UI for #2541
- Remove Deregister button
- Remove Deregister functionality
2016-11-30 11:07:04 -05:00
Brian Shumate 967b777d2a
Bootstrap w/o Glyphicons (resolves #2485)
- Remove reference to Glyphicon Halflings @fontface
- Remove unused Glphyicon related classes
2016-11-21 18:08:17 -05:00
Boris HUISGEN 3036726ea1 Remove ACL ID from the left list 2016-11-18 03:18:37 +01:00
James Phillips c798e32d20 Merge pull request #2340 from kushniro/b-ui-tags-commas
UI: remove redundant commas in tags list (services view)
2016-11-17 16:36:15 -08:00
Blake Walters c3109072f5 properly escape session and acl data in UI (#2456)
* update libv8 gem to something that compiles

* properly escape session and acl data in UI

fixes an XSS vulnerability caused by having the sessionName, sessionMeta, and aclName blindly returning data as Handlebars.SafeStrings
2016-10-31 18:16:43 -07:00
Omer Kushnir 1bc030ecba UI: remove redundant commas in tags list (services view)
When some services had no tags(Tags is null) and some did have tags redundant commas were added to the tags list.
2016-09-15 11:37:45 +03:00
James Phillips 3f50b9599a
Updates built-in UI static assets to latest. 2016-08-12 18:01:59 -07:00
James Phillips ecd24b4171 Merge pull request #2055 from patrickbaber/master
Removes fixed height of node/service boxes.
2016-08-10 16:03:18 -07:00
James Phillips f23786cd5a
Fixes JS exception when there are no coordinates present. 2016-08-08 17:38:22 -07:00
James Phillips 518e122053 Updates web assets to pull in RTT viz. 2016-06-07 09:32:44 -07:00
Ross McFarland 5d564acfa3 Implement a first-pass of tomography node hover
Not at all using Emeber's facilities and no clue how to do so with this.
2016-05-18 10:05:16 -07:00
Ross McFarland 773db64ffc Rework sampling to avoid 0 case and always include min and max 2016-05-18 09:50:30 -07:00
Ross McFarland 73ac76bfe5 Sample tomography distances to cap number around 360 2016-05-17 12:57:02 -07:00
Ross McFarland 4062920969 Switch tomography to median rather than avg 2016-05-17 10:43:50 -07:00
Patrick Baber 9960b996cf remove fixed height 2016-05-16 11:29:40 +02:00
Ross McFarland 811c77c1b2 Handle no peers in tomography graph 2016-05-15 06:30:37 -07:00
Ross McFarland 885dd87fec Don't include self in tomography 2016-05-15 06:13:52 -07:00
Ross McFarland ba6d402e85 Implementation of a per-node tomography graph
Adds a new section to the node information, Network Tomography. There's a radar
plot of the distances (in ms) between the current node and its peers as well as
min, avg, and max.
2016-05-14 18:35:09 -07:00
James Phillips 043c031ad1 Merge pull request #1702 from far-blue/ui-configurable-api-url
Configurable consul host address
2016-03-18 21:05:00 -07:00
James Phillips 98784c6416 Updates to latest compiled ui assets. 2016-03-07 13:49:08 -08:00
captainill 293aba329f add announcement banner for Consul Enterprise launch 2016-03-03 12:23:30 -08:00
Robert Goldsmith 795554e7a4 Included support to override the assumed location of the consul so you can run the UI on a normal web server potentially on a different host to your consul servers. 2016-02-09 13:26:48 +00:00
Sean Chittenden 71d02d2a32 Acknowledge that we're using GNU make's dialect and rename appropriate
Makefiles to GNUmakefiles so that non-GNU make(1) will error out.  This
should be a transparent change to the universe of people using GNU make.
2016-02-05 14:24:26 -08:00
James Phillips f24a044755 Fixes the static asset generator for new pkg path, updates assets. 2016-01-15 10:21:42 -08:00
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
James Phillips 4a9a074f83 Fixes a bad merge in the UI. 2016-01-02 06:58:21 -08:00
James Phillips 4248e7659c Merge pull request #1422 from railsguru/master
Propagate token in UI
2016-01-02 06:55:14 -08:00
Ryan Uber c3e7c98da2 agent: compile web assets into consul binary 2015-12-24 22:21:34 -05:00
Mike Oswell c1803c5a48 Add the token to /v1/internal/ui/nodes. (issue #1071) 2015-12-16 12:32:56 -08:00
Matthew Irish fba54c3f7f ui: swap unicode glyph with inline svg for the settings icon 2015-12-04 10:36:55 -06:00
Andy Lo-A-Foe 85d0f4b9ef Propagate token in UI 2015-11-18 08:29:01 +01:00
James Phillips be4d2ff659 Moves the static assets into a subfolder where index.html expects them. 2015-10-27 18:19:17 -07:00
Matthew Irish 2aca5a94e2 Merge pull request #1338 from hashicorp/js-cleaning
Clean up the JS a bit and make Ember code more idiomatic
2015-10-26 13:24:06 -05:00
Matthew Irish 657b5b4a04 Show node status as failing if a service on the node is failing 2015-10-26 10:26:16 -05:00
Matthew Irish dd1796b99a Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
Seth Vargo 6c528f0ff2 Use gox for building 2015-10-22 14:16:01 -04:00
David Adams 75ded76e44 UI formatURL: render null token correctly
If the token argument to formatURL is null, it should be rendered as the
empty string and not the string 'null'.

Should fix #1316 in which Safari gets a 403 error when visiting the
key/value page in the web UI.
2015-10-19 22:18:19 -05:00
Ryan Uber 4adc0b5c66 website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Jack Pearkes 00e35cdc41 revert 8bf8871, fc2aad3, 503d338.
some misplaced UI development changes
2015-08-07 16:40:49 -07:00
Jack Pearkes 8bf88712a1 ui: update development config to not use ACLs to simplify life 2015-08-07 16:36:39 -07:00
Jack Pearkes fc2aad3cf8 ui: update gems for development 2015-08-07 16:36:29 -07:00
Jack Pearkes 503d3384d4 ui: add 'map' route and button, tighten up the nav to give space 2015-08-07 16:36:02 -07:00
孔晨 6b4cdc3c4d fix base64 issue 2015-07-23 15:56:23 +08:00
孔晨 9e1106dda2 fix 中文乱码问题 2015-07-23 14:47:32 +08:00
Rafik Salama d3cf967977 UI: Fix restoring state for service names containing slashes 2015-05-29 18:35:39 -04:00
Blake Walters 02232c3aae make sure button text overflow is set to ellipsis
fixes #549
2015-03-10 10:48:02 -07:00
Ryan Breen b78eb40ef4 s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Jack Pearkes 2b7297c81d ui: fix listener on dc controller content
fixes #694
2015-02-19 11:48:03 -08:00
Armon Dadgar ee5153067a Change tabs to spaces 2015-02-18 15:09:48 -08:00
Armon Dadgar 39013bbe6a ui: Only set blank token if none set 2015-02-18 14:44:52 -08:00
Jack Pearkes a82bbb6561 ui: add session behavior and ttl to UI
fixes #649
2015-02-11 18:51:30 -08:00
Jack Pearkes 2f541b5ef7 ui: update gemfile 2015-02-11 18:41:40 -08:00
Jack Pearkes 255d358643 ui: add service address
fixes #686
2015-02-11 18:18:31 -08:00
Armon Dadgar f86d7c3a09 Merge pull request #558 from ceh/http-api-response-headers
add ability to specify response headers on the HTTP API
2015-01-05 11:36:08 -08:00
Seth Vargo 49d29bc937 Update titles to be consistent with other sites 2014-12-30 13:18:25 -05:00
Emil Hessman cb764c35e5 add ability to specify response headers on the HTTP API
Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
Marin d0994d2fce ui: confirm dialog only when deleting key directories #521 2014-12-06 12:00:51 -08:00
Marin 99e572cffb ui: ask for confirmation before deleting keys #520 2014-12-05 17:14:11 -08:00
Veres Lajos 3b1068387a typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
Jack Pearkes d24764dd83 ui: fix session name overflow
fixes #353
2014-10-15 16:19:14 -07:00
Jack Pearkes cc8c3bbd98 ui: reload acls after creating
fixes #323
2014-10-15 15:55:53 -07:00
William Tisäter 509820be45 Remove node from node list after deregristration 2014-10-04 18:14:36 +02:00
William Tisäter 68bf19dcdb Drop debug `console.log` 2014-10-04 11:52:27 +02:00
William Tisäter ce149be9a9 Fix leaking `objs` variables 2014-10-04 11:45:09 +02:00
William Tisäter d9d5e03188 Add deregister node button 2014-10-04 11:44:50 +02:00
William Tisäter e87504dbca Hide vertical scrollbar in Safari 2014-09-19 11:07:15 +02:00
William Tisäter 1856ee3104 UI fix for OS X when having scrollbars `always on`
Resolves #343.
2014-09-19 10:52:31 +02:00
lalyos 05cb20f829 Change default token to empty string instead of undefined
fixes #329
2014-09-08 15:21:54 +02:00
Jack Pearkes a4de2ef2ac ui: add footer 2014-09-05 15:56:50 -04:00
Armon Dadgar e47fbd34a8 website: implicit -> explicit 2014-09-02 20:48:25 -07:00
Jack Pearkes e6f9edffed ui: ambient dc failing checks 2014-08-25 12:40:53 -07:00
Jack Pearkes 29762e80bc ui: use ACLs everywhere 2014-08-25 11:48:42 -07:00
Jack Pearkes 62a5c89820 ui: don't uppercase acl id 2014-08-25 11:27:46 -07:00
Jack Pearkes 48ad11d599 ui: remove stray debugging 2014-08-22 17:31:07 -07:00
Jack Pearkes cfb11f7a6a ui: small acl mobile fix 2014-08-22 17:30:25 -07:00
Jack Pearkes 1d34ede602 ui: mobile fixes for acl 2014-08-22 17:22:21 -07:00
Jack Pearkes 2e088af833 ui: more touches on create acl 2014-08-22 17:22:14 -07:00
Jack Pearkes 9eedf3b001 ui: acl edit and creation 2014-08-22 17:22:10 -07:00
Jack Pearkes bc0339bd13 ui: add notification system 2014-08-22 17:22:06 -07:00
Jack Pearkes f581c94b39 ui: initial settings ui 2014-08-22 17:22:02 -07:00
Jack Pearkes e970ea8ddf ui: more acl integration, condensing top bar 2014-08-22 17:21:57 -07:00
Jack Pearkes a133d9ecba ui: use ember object to wrap localstorag 2014-08-22 17:21:48 -07:00
Jack Pearkes c2830c0f74 ui: update readme for dev confi 2014-08-22 17:21:27 -07:00
Jack Pearkes 2f9f1afa10 ui: add a development config 2014-08-22 17:21:20 -07:00
Jack Pearkes 70f7073e01 ui: remove useless file 2014-08-22 17:21:16 -07:00
Jack Pearkes 420af735d6 ui/acls: compact nav, add ACL and url helpers 2014-08-22 17:21:06 -07:00
Jack Pearkes 1080cb398a ui/acls: initial commit 2014-08-22 17:21:00 -07:00
Jack Pearkes d9802428f7 ui/views: jshint 2014-08-21 12:31:39 -07:00
Jack Pearkes 2e6a585843 ui/routes: jshint 2014-08-21 12:14:33 -07:00
Jack Pearkes bcff0c6700 ui/models: jshint 2014-08-21 11:32:14 -07:00
Jack Pearkes ab0c397439 ui/controllers: jshint 2014-08-20 16:51:40 -07:00
Jack Pearkes 436cd144a5 ui: add tests param to readme 2014-07-22 13:32:05 -04:00
Gavin M. Roy 615792c1b8 Add the logo favicon to the webui 2014-07-22 12:42:24 -04:00
Jack Pearkes be215e6717 ui: scroll extra items on nodes/services
fixes #232
2014-07-17 09:48:38 -04:00
Jack Pearkes 26a9edff4c ui: display session name on list of sessions under locked key 2014-06-19 17:00:16 -04:00
Jack Pearkes 1c9275f37e ui: show service level tags, remove Node.nodeTags 2014-06-11 17:14:20 -04:00
Jack Pearkes 25db24ef75 ui: show tags inline in list of services in node view 2014-06-11 16:54:03 -04:00
Jack Pearkes 22ed633825 ui: add nodeShow test 2014-06-10 16:36:06 -04:00
Jack Pearkes de24b2a91e ui: add some basic tests 2014-06-10 16:36:06 -04:00
Jack Pearkes 0f7792bc27 ui: show session name if there is one 2014-06-09 14:59:06 -04:00
Jack Pearkes 71a654a81e ui: fix padding on panel bodies to align 2014-06-09 12:01:17 -04:00
Jack Pearkes 142db4a9e1 ui: bump padding on double line list 2014-06-09 11:28:35 -04:00
Jack Pearkes 3efe6201b5 ui: add checks for sessions and a double line list 2014-06-09 11:12:41 -04:00
Jack Pearkes 9c07ea5adc ui: properly close h4 panel title 2014-06-06 15:14:33 -04:00
Jack Pearkes a881adf0e9 ui: list sessions on the nodes and allow invalidation 2014-06-06 15:11:26 -04:00
Jack Pearkes ace41460e3 ui: add locking session below lock 2014-06-06 14:26:30 -04:00
Jack Pearkes 2226255832 ui: show isLocked for key 2014-06-06 12:21:36 -04:00
Jack Pearkes e54026cebc ui: remove components from index 2014-06-05 16:29:08 -04:00
Jack Pearkes 937274657b ui: remove components from compile 2014-06-05 16:28:28 -04:00
Jack Pearkes b18d05353c ui: clean up comments and old file 2014-06-05 15:55:04 -04:00
Jack Pearkes b1ce4f8c9a ui: remove debugging statement 2014-06-05 15:46:46 -04:00
Jack Pearkes 3a25b1796e ui: improve kv mobile view 2014-06-05 15:44:36 -04:00
Jack Pearkes 13ccbbdb2e ui: improve mobile scaling 2014-06-05 15:38:22 -04:00
Jack Pearkes 237b3c5d0b ui: condense and improve UI for check display under services 2014-06-05 14:28:40 -04:00
Jack Pearkes c3cbe998fa ui: show and hide list view on mobile 2014-06-05 13:24:03 -04:00
Jack Pearkes d8d79fbe1a ui: don't record characters for search filter in browser histroy 2014-06-04 17:15:10 -04:00
Jack Pearkes 7370026c19 ui: make 2nd pane scrollable 2014-06-04 17:15:00 -04:00
Jack Pearkes df949c4d06 ui: kv layout improvements 2014-06-04 16:57:37 -04:00
Jack Pearkes de6aac89fb ui: further compression of the nav 2014-06-04 16:37:18 -04:00
Jack Pearkes 5a036bb47c ui: pad service view in the middle 2014-06-04 16:26:37 -04:00
Jack Pearkes b46b2ea76b ui: expanded view collection height for services 2014-06-04 16:22:25 -04:00
Jack Pearkes 317f827ad7 ui: remove nodes debugging 2014-06-04 16:20:32 -04:00
Jack Pearkes 406fc3a157 ui: scrub out scrollable classes 2014-06-04 16:08:54 -04:00
Jack Pearkes 766212b181 ui: upgrade handlebars and use query params 2014-06-04 16:04:45 -04:00
Jack Pearkes 5174cbfff9 ui: add version tags to ember files 2014-06-04 15:57:09 -04:00
Jack Pearkes 3795fd77e7 ui: ember to canary for query params, add query params 2014-06-04 15:56:00 -04:00
Jack Pearkes 6c4c2b3761 ui: change ember to debug build, add list-view 2014-06-04 15:44:17 -04:00
Jack Pearkes c2b014a608 ui: compile in list view 2014-06-04 15:42:59 -04:00
Jack Pearkes 86c9022ce9 ui: upgrade to ember 1.6.0 beta5, add list-view 2014-06-04 15:39:09 -04:00
Jack Pearkes 7090c9b9b9 ui: fix missing div in healthchecks 2014-06-04 14:13:31 -04:00
Jack Pearkes 487b0dc39b ui: can't check if notes/output on run loop 2014-06-04 13:18:39 -04:00
Jack Pearkes 1f447b4a41 ui: improve health check formatting 2014-06-03 14:45:49 -04:00
Jack Pearkes 3092e81eaa ui: call tags "service tags" 2014-06-03 14:36:37 -04:00
Jack Pearkes 5908b675b7 ui: show tags on node view 2014-06-03 13:53:22 -04:00
Jack Pearkes 1df877a634 ui: condense entire layout, remove middle gap, kv condense 2014-06-03 11:32:22 -04:00
Jack Pearkes b112db8f65 ui: action bar layout adjustments, "no results" text 2014-06-02 12:40:52 -04:00
Jack Pearkes d6ca0b12e9 ui: filter nodes/services by passing/failing statuses 2014-06-02 12:05:13 -04:00
Jack Pearkes 2ed76d0a27 ui: default to condensed view, add secondary actions 2014-06-02 11:49:01 -04:00
Jack Pearkes 851b210487 ui: fix list border radi 2014-06-02 10:50:24 -04:00
Jack Pearkes a0c07c5e3d ui: initial pass at filtering and condensed view for nodes/services 2014-06-02 10:35:46 -04:00
Jack Pearkes 92f4a3f466 ui: add condensed node view 2014-05-30 14:26:11 -04:00
Andrew Watson 2552706acf Minor Typo 2014-05-29 15:15:13 -04:00
Jack Pearkes 9832cce4c5 ui: add a create key shortcut into breadcrumbs
this fixes #100
2014-05-16 13:38:45 -07:00
William Tisäter 25d092e592 Fix parentKey transitions to root
Previously, deleting a key in `/dc1/kv/` would transition to
`/dc1/kv//` on success. A refresh at this stage would lead to `404`,
this commit will fix this and generate the correct route key in a
helper function.
2014-05-05 21:32:39 +02:00
Jack Pearkes b0c7fa7749 ui: actually render an error message, hide delete on root
cc/ @tiwilliam
2014-05-05 10:20:57 -04:00
William Tisäter 0a1c719bcb Rename `KvHelpController` to `KvBaseController` 2014-05-05 16:09:18 +02:00
William Tisäter 60f1d74012 Drop duplicate isLoading set to false 2014-05-05 16:09:18 +02:00
William Tisäter 941a1e3910 Transition to nearest parent on key delete 2014-05-05 16:09:18 +02:00
William Tisäter e587297ed2 Clean up root check 2014-05-05 16:09:18 +02:00
William Tisäter 17e3756200 Redirect to correct root path when deleting keys 2014-05-05 16:09:18 +02:00
William Tisäter d40b3ae6a6 Revert modifications to `getParentAndGrandparent` 2014-05-05 16:09:18 +02:00
William Tisäter 5089be1af0 Add delete folder button to web UI 2014-05-05 16:09:18 +02:00
William Tisäter 255ec7b803 Add cancel button to key edit 2014-05-05 01:03:47 +02:00
Jack Pearkes 34d5c94e5f Merge pull request #119 from tiwilliam/dash-in-keys
Allow keys with dashes in web UI
2014-05-04 17:37:17 -04:00
William Tisäter b5c29e103b Rename root variable 2014-05-04 23:07:41 +02:00
William Tisäter bf3b65e907 Allow using dashes in keys 2014-05-04 23:05:00 +02:00
William Tisäter ae083d7e16 Fix broken paths to vendor minified JS 2014-05-04 12:29:22 +02:00
Jack Pearkes 127d89faf0 ui: pre-minify JS libs 2014-05-02 14:08:47 -04:00
darron froese 45fb056790 Fix typo. 2014-05-02 06:41:02 -06:00
Jack Pearkes 97541402be ui: fix responsiveness for medium-sm screens 2014-05-01 17:22:16 -04:00
Mitchell Hashimoto 1ee4726073 ui: delete backup files 2014-05-01 12:45:15 -07:00
Mitchell Hashimoto 085b26410c ui: slight typo in makefile 2014-05-01 12:44:18 -07:00
Mitchell Hashimoto b16ba9da0a ui: README 2014-05-01 12:43:49 -07:00
Mitchell Hashimoto b26b774689 ui: Automatically replace assets 2014-05-01 12:43:16 -07:00
Jack Pearkes 48cdc8c586 ui: improve build instructions 2014-05-01 15:34:25 -04:00
Jack Pearkes 309f5b3cf6 ui: fix dc # of failing checks 2014-05-01 13:19:43 -04:00
Jack Pearkes c0372ddf18 ui: add panelbar helper 2014-05-01 13:15:33 -04:00
Jack Pearkes a40a845f91 ui: see warning as failing 2014-05-01 12:52:03 -04:00
Jack Pearkes 17423ea654 ui: fix index page to show sleect 2014-05-01 12:48:29 -04:00
Jack Pearkes f57b490975 ui: show services and then checks 2014-05-01 12:35:01 -04:00
Jack Pearkes ad53ca1315 ui: hide dropdown when activating route 2014-05-01 12:25:12 -04:00
Jack Pearkes 35675c53eb ui: hide dropdown after switching dc 2014-05-01 12:21:59 -04:00
Jack Pearkes 1697f5f2b3 ui: fix link to services in header nav 2014-05-01 12:17:06 -04:00
Jack Pearkes 15dfd502d8 ui: more loading indicators 2014-05-01 12:17:06 -04:00
Jack Pearkes 2d4d77f486 ui: loading 2014-05-01 12:17:06 -04:00
Jack Pearkes 0c77661285 ui: fix datacenter route typo 2014-05-01 12:17:05 -04:00
Jack Pearkes dcdc4e7d68 ui: better error handling 2014-05-01 11:40:14 -04:00
Jack Pearkes f0d66ceed5 ui: clean with makefile 2014-05-01 11:39:56 -04:00
Jack Pearkes a952631a2f ui: add default js path for dist 2014-05-01 11:32:40 -04:00
Jack Pearkes f0e3619666 ui: pre fixes, dist build changes 2014-05-01 11:31:56 -04:00
Jack Pearkes 437fe2ffb1 ui: ignore compiled js, dist 2014-05-01 11:22:30 -04:00
Jack Pearkes 936fa026a6 ui: update ember, dist steps 2014-05-01 11:21:55 -04:00
Jack Pearkes f820c5eda4 ui: mobile improvements 2014-05-01 10:40:31 -04:00
Jack Pearkes 05d7c22fd8 ui: better error handling 2014-05-01 10:25:38 -04:00
Jack Pearkes 96919f0da2 ui: refactor kv controllers, finish multi-dc support 2014-05-01 10:00:36 -04:00
Jack Pearkes f829065436 ui: improve mobile view 2014-04-30 23:44:32 -04:00
Jack Pearkes f7d04c3124 ui: more fixes around the readme 2014-04-30 23:44:31 -04:00
Jack Pearkes fe71cd62df ui: update readme 2014-04-30 23:44:31 -04:00
Jack Pearkes 67df23c2b9 ui: button default focus states 2014-04-30 23:44:31 -04:00
Jack Pearkes b58a247714 ui: bump down the size on the health check name under service 2014-04-30 23:44:31 -04:00
Jack Pearkes cc24433dcb ui: error pages, help text 2014-04-30 23:44:31 -04:00
Jack Pearkes ec86d0fdc3 ui: refresh node list after create 2014-04-30 23:44:31 -04:00
Jack Pearkes 32d0374a5a ui: fix edit view breadcrumbs 2014-04-30 23:44:31 -04:00