Commit Graph

347 Commits

Author SHA1 Message Date
Brian Shumate dba25aacfa
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 71b97640df Remove ACL ID from the left list 2016-11-18 03:18:37 +01:00
James Phillips fb51976469 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 8d4433c88f 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 362967f0c9 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 8e8f840169
Updates built-in UI static assets to latest. 2016-08-12 18:01:59 -07:00
James Phillips c1f710755a Merge pull request #2055 from patrickbaber/master
Removes fixed height of node/service boxes.
2016-08-10 16:03:18 -07:00
James Phillips 2acb287690
Fixes JS exception when there are no coordinates present. 2016-08-08 17:38:22 -07:00
James Phillips 1955eadc12 Updates web assets to pull in RTT viz. 2016-06-07 09:32:44 -07:00
Ross McFarland c92f681944 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 4501904313 Rework sampling to avoid 0 case and always include min and max 2016-05-18 09:50:30 -07:00
Ross McFarland 559dc4599e Sample tomography distances to cap number around 360 2016-05-17 12:57:02 -07:00
Ross McFarland 58c3b08134 Switch tomography to median rather than avg 2016-05-17 10:43:50 -07:00
Patrick Baber 88ab00f468 remove fixed height 2016-05-16 11:29:40 +02:00
Ross McFarland d756a552eb Handle no peers in tomography graph 2016-05-15 06:30:37 -07:00
Ross McFarland 8a9fe0239d Don't include self in tomography 2016-05-15 06:13:52 -07:00
Ross McFarland ba3c4fc3e3 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 92040c2349 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 cb1bf35ce9 Updates to latest compiled ui assets. 2016-03-07 13:49:08 -08:00
captainill 95337b7211 add announcement banner for Consul Enterprise launch 2016-03-03 12:23:30 -08:00
Robert Goldsmith 6cb5fba792 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 c0046e0f30 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 0fcdd37107 Fixes the static asset generator for new pkg path, updates assets. 2016-01-15 10:21:42 -08:00
Seth Vargo dc9131a732 Use HTTPS + www. where appropriate 2016-01-13 17:44:01 -05:00
James Phillips 35ef5fa975 Fixes a bad merge in the UI. 2016-01-02 06:58:21 -08:00
James Phillips 9f4ac9adc7 Merge pull request #1422 from railsguru/master
Propagate token in UI
2016-01-02 06:55:14 -08:00
Ryan Uber a262115679 agent: compile web assets into consul binary 2015-12-24 22:21:34 -05:00
Mike Oswell 6e23083bbd Add the token to /v1/internal/ui/nodes. (issue #1071) 2015-12-16 12:32:56 -08:00
Matthew Irish c403745a55 ui: swap unicode glyph with inline svg for the settings icon 2015-12-04 10:36:55 -06:00
Andy Lo-A-Foe 3dd740577c Propagate token in UI 2015-11-18 08:29:01 +01:00
James Phillips 0f0736cb27 Moves the static assets into a subfolder where index.html expects them. 2015-10-27 18:19:17 -07:00
Matthew Irish bc79b65f3f 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 b45cde637f Show node status as failing if a service on the node is failing 2015-10-26 10:26:16 -05:00
Matthew Irish 2fe7dd1ea8 Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
Seth Vargo 7b2fc2f580 Use gox for building 2015-10-22 14:16:01 -04:00
David Adams 0c130994f7 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 10c38f8c3a website: document precedence of Atlas endpoint inputs 2015-08-27 17:54:56 -07:00
Jack Pearkes 1584b35e3b revert 8bf8871, fc2aad3, 503d338.
some misplaced UI development changes
2015-08-07 16:40:49 -07:00
Jack Pearkes 5bbc336a25 ui: update development config to not use ACLs to simplify life 2015-08-07 16:36:39 -07:00
Jack Pearkes 694285b596 ui: update gems for development 2015-08-07 16:36:29 -07:00
Jack Pearkes 2b05a38ede ui: add 'map' route and button, tighten up the nav to give space 2015-08-07 16:36:02 -07:00
孔晨 57dfd1f46a fix base64 issue 2015-07-23 15:56:23 +08:00
孔晨 3cd8a0c214 fix 中文乱码问题 2015-07-23 14:47:32 +08:00
Rafik Salama 479bc1c2db UI: Fix restoring state for service names containing slashes 2015-05-29 18:35:39 -04:00
Blake Walters 98f5d7f96e make sure button text overflow is set to ellipsis
fixes #549
2015-03-10 10:48:02 -07:00
Ryan Breen 53afd77e2d s/data center/datacenter/g 2015-02-19 17:45:47 -05:00
Jack Pearkes 96f1077d9d ui: fix listener on dc controller content
fixes #694
2015-02-19 11:48:03 -08:00
Armon Dadgar d51db8bf8e Change tabs to spaces 2015-02-18 15:09:48 -08:00
Armon Dadgar 8ee0b263e1 ui: Only set blank token if none set 2015-02-18 14:44:52 -08:00
Jack Pearkes df11bff8bb ui: add session behavior and ttl to UI
fixes #649
2015-02-11 18:51:30 -08:00
Jack Pearkes fd84191754 ui: update gemfile 2015-02-11 18:41:40 -08:00
Jack Pearkes e2b11a8e32 ui: add service address
fixes #686
2015-02-11 18:18:31 -08:00
Armon Dadgar 1088a5c170 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 b62eb18b38 Update titles to be consistent with other sites 2014-12-30 13:18:25 -05:00
Emil Hessman db23a3f0e9 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 781692e3a8 ui: confirm dialog only when deleting key directories #521 2014-12-06 12:00:51 -08:00
Marin bed14bb96f ui: ask for confirmation before deleting keys #520 2014-12-05 17:14:11 -08:00
Veres Lajos 850d5bdc32 typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
Jack Pearkes 0f62bed1e5 ui: fix session name overflow
fixes #353
2014-10-15 16:19:14 -07:00
Jack Pearkes 6b39687351 ui: reload acls after creating
fixes #323
2014-10-15 15:55:53 -07:00
William Tisäter 06bf0bb728 Remove node from node list after deregristration 2014-10-04 18:14:36 +02:00
William Tisäter 5ce77e0aee Drop debug `console.log` 2014-10-04 11:52:27 +02:00
William Tisäter cb74d3efbb Fix leaking `objs` variables 2014-10-04 11:45:09 +02:00
William Tisäter dfd8967843 Add deregister node button 2014-10-04 11:44:50 +02:00
William Tisäter b915a92982 Hide vertical scrollbar in Safari 2014-09-19 11:07:15 +02:00
William Tisäter 44b357c316 UI fix for OS X when having scrollbars `always on`
Resolves #343.
2014-09-19 10:52:31 +02:00
lalyos b03ce98749 Change default token to empty string instead of undefined
fixes #329
2014-09-08 15:21:54 +02:00
Jack Pearkes ae6c70a4de ui: add footer 2014-09-05 15:56:50 -04:00
Armon Dadgar 88b11fbdaf website: implicit -> explicit 2014-09-02 20:48:25 -07:00
Jack Pearkes 0f5136f776 ui: ambient dc failing checks 2014-08-25 12:40:53 -07:00
Jack Pearkes 9435313f0c ui: use ACLs everywhere 2014-08-25 11:48:42 -07:00
Jack Pearkes a6f76a15b3 ui: don't uppercase acl id 2014-08-25 11:27:46 -07:00
Jack Pearkes 2637c6a945 ui: remove stray debugging 2014-08-22 17:31:07 -07:00
Jack Pearkes 4610df9c17 ui: small acl mobile fix 2014-08-22 17:30:25 -07:00
Jack Pearkes df4c5e955d ui: mobile fixes for acl 2014-08-22 17:22:21 -07:00
Jack Pearkes 16494e0308 ui: more touches on create acl 2014-08-22 17:22:14 -07:00
Jack Pearkes 7b729e10da ui: acl edit and creation 2014-08-22 17:22:10 -07:00
Jack Pearkes 70888180a4 ui: add notification system 2014-08-22 17:22:06 -07:00
Jack Pearkes 888e97ef50 ui: initial settings ui 2014-08-22 17:22:02 -07:00
Jack Pearkes 7a40350311 ui: more acl integration, condensing top bar 2014-08-22 17:21:57 -07:00
Jack Pearkes d4d50862c8 ui: use ember object to wrap localstorag 2014-08-22 17:21:48 -07:00
Jack Pearkes 16445baf00 ui: update readme for dev confi 2014-08-22 17:21:27 -07:00
Jack Pearkes 960362698d ui: add a development config 2014-08-22 17:21:20 -07:00
Jack Pearkes 570ddff381 ui: remove useless file 2014-08-22 17:21:16 -07:00
Jack Pearkes 7a1cbbb5e5 ui/acls: compact nav, add ACL and url helpers 2014-08-22 17:21:06 -07:00
Jack Pearkes e00941fa44 ui/acls: initial commit 2014-08-22 17:21:00 -07:00
Jack Pearkes 80d2f84359 ui/views: jshint 2014-08-21 12:31:39 -07:00
Jack Pearkes 3bf92404fd ui/routes: jshint 2014-08-21 12:14:33 -07:00
Jack Pearkes eb1d11f948 ui/models: jshint 2014-08-21 11:32:14 -07:00
Jack Pearkes 3e3c9b89c4 ui/controllers: jshint 2014-08-20 16:51:40 -07:00
Jack Pearkes 98f72c2892 ui: add tests param to readme 2014-07-22 13:32:05 -04:00
Gavin M. Roy 69f5dcf8dd Add the logo favicon to the webui 2014-07-22 12:42:24 -04:00
Jack Pearkes a38eaa1e43 ui: scroll extra items on nodes/services
fixes #232
2014-07-17 09:48:38 -04:00
Jack Pearkes a721c818de ui: display session name on list of sessions under locked key 2014-06-19 17:00:16 -04:00
Jack Pearkes b514d2677d ui: show service level tags, remove Node.nodeTags 2014-06-11 17:14:20 -04:00
Jack Pearkes 0f7adbf639 ui: show tags inline in list of services in node view 2014-06-11 16:54:03 -04:00
Jack Pearkes 48eaada3ae ui: add nodeShow test 2014-06-10 16:36:06 -04:00
Jack Pearkes 5f98fccf72 ui: add some basic tests 2014-06-10 16:36:06 -04:00
Jack Pearkes e21b338a8b ui: show session name if there is one 2014-06-09 14:59:06 -04:00
Jack Pearkes c65d3fda9e ui: fix padding on panel bodies to align 2014-06-09 12:01:17 -04:00
Jack Pearkes 54b31f75b4 ui: bump padding on double line list 2014-06-09 11:28:35 -04:00
Jack Pearkes 1a94aa3fe5 ui: add checks for sessions and a double line list 2014-06-09 11:12:41 -04:00
Jack Pearkes 142ca6159d ui: properly close h4 panel title 2014-06-06 15:14:33 -04:00
Jack Pearkes 6cdd068c55 ui: list sessions on the nodes and allow invalidation 2014-06-06 15:11:26 -04:00
Jack Pearkes 23cc6a3a5e ui: add locking session below lock 2014-06-06 14:26:30 -04:00
Jack Pearkes 06f7630e29 ui: show isLocked for key 2014-06-06 12:21:36 -04:00
Jack Pearkes d6d2ae0a9e ui: remove components from index 2014-06-05 16:29:08 -04:00
Jack Pearkes e485747e1e ui: remove components from compile 2014-06-05 16:28:28 -04:00
Jack Pearkes 2e0380aea4 ui: clean up comments and old file 2014-06-05 15:55:04 -04:00
Jack Pearkes 2ba792bdc7 ui: remove debugging statement 2014-06-05 15:46:46 -04:00
Jack Pearkes 3fff027881 ui: improve kv mobile view 2014-06-05 15:44:36 -04:00
Jack Pearkes 833d6a435c ui: improve mobile scaling 2014-06-05 15:38:22 -04:00
Jack Pearkes ad438e86fa ui: condense and improve UI for check display under services 2014-06-05 14:28:40 -04:00
Jack Pearkes e94fc14b6a ui: show and hide list view on mobile 2014-06-05 13:24:03 -04:00
Jack Pearkes 3ad0fd922a ui: don't record characters for search filter in browser histroy 2014-06-04 17:15:10 -04:00
Jack Pearkes 904913f099 ui: make 2nd pane scrollable 2014-06-04 17:15:00 -04:00
Jack Pearkes 962421288b ui: kv layout improvements 2014-06-04 16:57:37 -04:00
Jack Pearkes 68b671ee19 ui: further compression of the nav 2014-06-04 16:37:18 -04:00
Jack Pearkes 805c47a044 ui: pad service view in the middle 2014-06-04 16:26:37 -04:00
Jack Pearkes 02ec81d252 ui: expanded view collection height for services 2014-06-04 16:22:25 -04:00
Jack Pearkes 04db1cbbe0 ui: remove nodes debugging 2014-06-04 16:20:32 -04:00
Jack Pearkes c7d4cf8cc7 ui: scrub out scrollable classes 2014-06-04 16:08:54 -04:00
Jack Pearkes 5010506222 ui: upgrade handlebars and use query params 2014-06-04 16:04:45 -04:00
Jack Pearkes 4ecc8f58c8 ui: add version tags to ember files 2014-06-04 15:57:09 -04:00
Jack Pearkes cfc7349751 ui: ember to canary for query params, add query params 2014-06-04 15:56:00 -04:00
Jack Pearkes b293c686fd ui: change ember to debug build, add list-view 2014-06-04 15:44:17 -04:00
Jack Pearkes c1d4c73d90 ui: compile in list view 2014-06-04 15:42:59 -04:00
Jack Pearkes 881dadadb4 ui: upgrade to ember 1.6.0 beta5, add list-view 2014-06-04 15:39:09 -04:00
Jack Pearkes bf7b0ad17f ui: fix missing div in healthchecks 2014-06-04 14:13:31 -04:00
Jack Pearkes f085e15af2 ui: can't check if notes/output on run loop 2014-06-04 13:18:39 -04:00
Jack Pearkes 091ec0f680 ui: improve health check formatting 2014-06-03 14:45:49 -04:00
Jack Pearkes d58b5b2780 ui: call tags "service tags" 2014-06-03 14:36:37 -04:00
Jack Pearkes d6efab6c69 ui: show tags on node view 2014-06-03 13:53:22 -04:00
Jack Pearkes 0cd0c8a6e5 ui: condense entire layout, remove middle gap, kv condense 2014-06-03 11:32:22 -04:00
Jack Pearkes 1b8a5a1e78 ui: action bar layout adjustments, "no results" text 2014-06-02 12:40:52 -04:00
Jack Pearkes 534dc72d5a ui: filter nodes/services by passing/failing statuses 2014-06-02 12:05:13 -04:00
Jack Pearkes 0e3c262e53 ui: default to condensed view, add secondary actions 2014-06-02 11:49:01 -04:00
Jack Pearkes 54b6e1e049 ui: fix list border radi 2014-06-02 10:50:24 -04:00
Jack Pearkes a94ef9d529 ui: initial pass at filtering and condensed view for nodes/services 2014-06-02 10:35:46 -04:00
Jack Pearkes 7cab1c3c4c ui: add condensed node view 2014-05-30 14:26:11 -04:00
Andrew Watson b0236a8f08 Minor Typo 2014-05-29 15:15:13 -04:00
Jack Pearkes ea8761a50e ui: add a create key shortcut into breadcrumbs
this fixes #100
2014-05-16 13:38:45 -07:00
William Tisäter dc01e0a145 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 9e08d2bc69 ui: actually render an error message, hide delete on root
cc/ @tiwilliam
2014-05-05 10:20:57 -04:00
William Tisäter 700d304d15 Rename `KvHelpController` to `KvBaseController` 2014-05-05 16:09:18 +02:00
William Tisäter 570728f6b0 Drop duplicate isLoading set to false 2014-05-05 16:09:18 +02:00
William Tisäter f4c4b5ace8 Transition to nearest parent on key delete 2014-05-05 16:09:18 +02:00
William Tisäter a730174f0c Clean up root check 2014-05-05 16:09:18 +02:00
William Tisäter e174d1062c Redirect to correct root path when deleting keys 2014-05-05 16:09:18 +02:00
William Tisäter 21ad67fc4f Revert modifications to `getParentAndGrandparent` 2014-05-05 16:09:18 +02:00