Commit Graph

143 Commits (2d43dcfc0cc3a98103d14c529cfc2992bee9bdcf)

Author SHA1 Message Date
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
James Phillips f23786cd5a
Fixes JS exception when there are no coordinates present. 2016-08-08 17:38:22 -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
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
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
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
Mike Oswell c1803c5a48 Add the token to /v1/internal/ui/nodes. (issue #1071) 2015-12-16 12:32:56 -08:00
Andy Lo-A-Foe 85d0f4b9ef Propagate token in UI 2015-11-18 08:29:01 +01:00
Matthew Irish dd1796b99a Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05: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
Jack Pearkes 00e35cdc41 revert 8bf8871, fc2aad3, 503d338.
some misplaced UI development changes
2015-08-07 16:40:49 -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
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
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
lalyos 05cb20f829 Change default token to empty string instead of undefined
fixes #329
2014-09-08 15:21:54 +02: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 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 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 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