Commit Graph

288 Commits

Author SHA1 Message Date
Daniil Fedotov accd9a1e36 Change the vhost API to have cluster_state instead of state.
Vhost supervisor status can be different on different nodes.
Report a warning if a vhost is down on any node.
State can be calculated from the cluster state.

Fixes #460
[#149634421]
2017-08-01 14:58:41 +01:00
Daniil Fedotov 553240a2d5 Report queues, stopped by a supervisor, using red color
Queues can be stopped with a vhost supervisor. This state requires
an operator attention and should be red.
2017-07-26 15:25:07 +01:00
Michael Klishin 8d7aba5060 Merge branch 'stable' 2017-06-17 05:06:59 +03:00
Michael Klishin 83932ed2bd Wording
This is more precise: internal flow control (the "flow"
state) is transient and throttling is a more suitable
and widely used term for describing what it effectively does.
2017-06-17 05:05:34 +03:00
Michael Klishin 2ecff64ca4 Merge branch 'stable' 2017-03-28 14:58:14 +03:00
Michael Klishin 7b016c80d5 Management UI: be more defensive
* Don't throw and give up when our "pre-pre-prehistoric virtual DOM"
   update isn't consistent, reaload instead

 * Coerce the input to a string in two formatting functions

 * In the same functions, catch nulls and undefined values early

This fixes a couple of relatively difficult to reproduce exceptions
caused by stats emission timing + DOM updates timing
that make the UI dysfunctional.
2017-03-28 14:40:08 +03:00
Michael Klishin b5c3a994bb Merge branch 'stable' 2017-03-27 15:18:15 +03:00
Michael Klishin 172ecfad1f Strip HTML tags from filter inputs
Since they are used to construct the markup of the updated form.

[#142393391]
2017-03-24 18:59:23 +03:00
Michael Klishin 7380fd69ec Merge branch 'stable' 2017-03-23 01:47:58 +03:00
Michael Klishin 892bca32b0 Escape HTML tags in policy definition fields
[#142213453]
2017-03-22 21:58:01 +03:00
Daniil Fedotov a2f626864d Display operator policies for queues 2016-08-25 17:09:06 +01:00
Daniil Fedotov 12d3cc100f Display number of delayed messages 2016-05-20 12:09:53 +01:00
Gabriele Santomaggio fc659d282e fix IE enter key 2016-01-24 11:28:51 +01:00
Michael Klishin e3ca722005 Merge branch 'stable' 2015-11-27 03:11:08 +03:00
Philippe Serhal 3de1e3eab7 Fix backwards sort arrow icon.
It's conventional in GUIs to use a triangle or arrow icon to indicate how
data is currently sorted in a column - where the wide part of the triangle being
at the top and the narrow part at the bottom indicates that larger rows are above
(decreasing sort), and vice versa.  In other words, the direction in which the
icon width increases reflects the direction in which the values in the column increase.
2015-11-26 15:52:14 -08:00
Michael Klishin 8dd775472c Explain that this controls page size now 2015-11-27 02:27:46 +03:00
Gabriele Santomaggio 583b49a3ba removed unused variable 2015-11-17 17:31:55 +01:00
Gabriele Santomaggio 955286e0c6 pagination all contexts 2015-11-17 16:59:49 +01:00
Gabriele Santomaggio 05ebdae4e1 filter by name 2015-11-12 22:25:01 +01:00
Gabriele Santomaggio c6793e2ded fix spaces JS 2015-10-22 14:35:37 +02:00
Gabriele Santomaggio b7f1c524a1 fix code style 2015-10-22 12:51:56 +02:00
Gabriele Santomaggio b259ec9a64 fix code style 2015-10-22 12:46:52 +02:00
Gabriele Santomaggio 0bdb45a84d handle API errors 2015-10-22 09:55:36 +02:00
Gabriele Santomaggio 2f00265997 pages preferences 2015-10-15 12:44:36 +02:00
Jean-Sébastien Pédron cdaccb96eb priv/www/js/formatters.js: Remove duplicate of fmt_rate_num() 2015-09-11 13:55:39 +02:00
Gabriele Santomaggio 2138472eeb changed fmt_num_thousands issue 35. 2015-09-03 11:00:05 +01:00
Simon MacMullen 3b939d00e0 Fix breakage introduced in bug 24781. 2015-02-18 13:43:51 +00:00
Simon MacMullen 6f53f69401 stable to default 2015-01-19 12:54:04 +00:00
Simon MacMullen f6f7a62c1d Don't depend on Array.indexOf(), we want compatibility with MSIE <= 8. 2015-01-19 12:48:28 +00:00
Simon MacMullen 44d35b5fde stable to default 2015-01-06 15:46:34 +00:00
Simon MacMullen 66048c36c9 Merge bug26515 (again) 2015-01-06 15:46:22 +00:00
Simon MacMullen 0b7a2b63c5 Another place where keys need escaping. 2015-01-06 15:46:10 +00:00
Simon MacMullen d2bced8507 Merge bug26517 (again) 2015-01-06 15:45:33 +00:00
Simon MacMullen 6777fb4b3f Make fmt_trunc() actually do the right thing, as well as being secure. 2015-01-06 15:45:05 +00:00
Simon MacMullen 457bb83c4d stable to default 2015-01-06 12:19:34 +00:00
Simon MacMullen 7c5e8aa5b6 Merge bug26518 2015-01-06 12:19:13 +00:00
Simon MacMullen 4180f2fb72 Merge bug26517 2015-01-06 12:19:13 +00:00
Simon MacMullen 32692acbe9 Merge bug26516 2015-01-06 12:19:13 +00:00
Simon MacMullen 271a5f6d3c Correctly escape user names in vhost list and vice versa. 2015-01-05 13:39:09 +00:00
Simon MacMullen 22652d4b5b Correctly escape special client properties. 2015-01-05 13:36:38 +00:00
Simon MacMullen 4a7e37cdc0 Correctly escape policy names. 2015-01-05 13:31:58 +00:00
Simon MacMullen c233613c3e Correctly escape table key names. 2015-01-05 13:31:27 +00:00
Simon MacMullen 3cfee9f12d Rework the fmt_foo functions that can be plugged into charts for rather greater simplicity, and thus get the I/O stats charts looking better. 2014-11-06 16:14:42 +00:00
Simon MacMullen 0f999f22b7 Cosmetic 2014-10-29 13:29:53 +00:00
Simon MacMullen 2acb80d38e Fix rendering of exclusive queues in the list. Damn it. 2014-10-24 11:28:28 +01:00
Simon MacMullen 8efc02199c Improve appearance of direct connections 2014-10-21 11:21:13 +01:00
Simon MacMullen c5f0e62e17 I suspect if you have long policy names then incorprating policies into the features column will prove annoying. So allow people to move it out by offering a couple of extra column options. And add this feature to the exchanges list while we're there. 2014-10-07 15:33:40 +01:00
Simon MacMullen 1cd0fa7eb0 Rejig the memory use templates to show connection process subtypes. It therefore seems sensible not to try to invent more colours but to put things together into groups. 2014-10-06 12:12:00 +01:00
Simon MacMullen 36f5f96119 Show / hide columns in overview 2014-09-26 18:09:25 +01:00
Simon MacMullen 2cb532efec Just strip this out; I suspect no one in the world cares but if they do we can bring it back with +/- columns. 2014-09-22 15:17:10 +01:00