Commit Graph

348 Commits

Author SHA1 Message Date
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