Commit Graph

315 Commits

Author SHA1 Message Date
Michael Klishin 74f7a0e7b5 Rename a function 2019-01-02 23:55:44 +03:00
Michael Klishin d9d123f67f Correct a typo in function name 2019-01-02 23:51:27 +03:00
Luke Bakken 7045490001 Restore code removed in 456c3a0 that links an exclusive owner connection 2018-12-20 13:47:06 -08:00
Diana Corbacho de414e81d3 Copy by reference as the object is not used anymore
JS methods weren't copied usign assign, so indexOf could not be found.
Giving up and allowing a copy by reference as we don't need that data anymore.
2018-10-26 12:44:35 +01:00
Diana Corbacho 8cd188b67d Fix minority calculation
JS objects are copied by reference in a var assignation, and / is a float operation.
2018-10-26 12:44:35 +01:00
Diana Corbacho 34463b2fe7 Display members and online information for quorum queues
[#157146500]
2018-10-26 12:44:35 +01:00
Gerhard Lazu 6f622f3f44 Use consistent & healthy padding for table headers, even when sorting
Without this, as soon as a column is sorted, extra padding is added and
all table contents get shifted a few pixels downwards in a rather jerky
fashion - this is difficult to capture in screenshots. Also, text in
table headers becomes misaligned.

By using sorting symbols that have the same height, sorting columns
asc/desc doesn't make the content in table headers "jump" and remain
misaligned.
2018-02-06 22:26:11 +00:00
Daniil Fedotov 3d0fb2007f Merge branch 'stable' 2017-10-27 19:46:35 +01:00
Daniil Fedotov c24320c4bb Make policy clickable.
Policy is refered by name in exchanges and queues pages.
Make it a link, so it's easier to navigate.

Fixes #493
[#152274158]
2017-10-27 10:52:29 +01:00
Michael Klishin 2b94e510cf Merge branch 'stable'
Conflicts:
	priv/www/css/main.css
	priv/www/js/main.js
2017-10-27 07:15:02 +03:00
Gerhard Lazu 9594dad140 Address jQuery HTML selector vulnerability + UI improvements
Selectors could be interpreted as HTML, as per jQuery bug #11290:
https://bugs.jquery.com/ticket/11290

Same as last time when jQuery was upgraded, did a few UI improvements.

[#152142103]
2017-10-26 17:34:34 +01:00
Michael Klishin 91945d1c98 Fix a syntas error resulting from a bad merge in formatters.js 2017-10-12 20:13:10 +03:00
Michael Klishin 6e214de8fc Merge branch 'stable'
Conflicts:
	priv/www/css/main.css
	priv/www/js/formatters.js
	priv/www/js/global.js
2017-10-10 21:44:01 +01:00
Gerhard Lazu 584d9165ba Make links, buttons & abbr (former acronyms) stand out 2017-10-10 17:57:05 +01:00
Michael Klishin e45cc8d5ec Merge branch 'stable'
Conflicts:
	.gitignore
	priv/www/js/formatters.js
2017-09-18 12:40:19 -06:00
Luke Bakken ddf8e74eb4 Do not remove rabbit@ prefix 2017-09-18 10:49:00 -07:00
Luke Bakken 332ca5cd45 Format node names consistently
This change ensures that nodes whose name begins with `rabbit@` have that leading text removed. This saves UI space as, in production environments, the default node name is `rabbit@`.
2017-09-14 13:49:57 -07:00
Daniil Fedotov 61fb2316e8 Merge branch 'stable' 2017-08-30 19:20:38 +01:00
Michael Klishin 7c93c01549 Slash a few slashes 2017-08-29 17:27:39 -06:00
Michael Klishin 75db52b502 The +, - and . characters are allowed in URI schemes 2017-08-29 16:20:52 -06:00
Michael Klishin 140d604b0e Introduce a function that redacts passwords in URIs 2017-08-29 14:47:58 -06:00
Michael Klishin 13da0145a5 Merge branch 'stable'
Conflicts:
	priv/www/js/global.js
	priv/www/js/tmpl/queue.ejs
2017-08-06 17:26:58 +03:00
Michael Klishin 456c3a0887 Mark exclusive queues with Excl, like before
While at it, remove remaining references to owner_pid_details.
We don't return it in the API any more.
It is useful for linking to the owner connection, so that part
we will brought back eventually in some shape or form (see #467).
2017-08-06 15:02:16 +03:00
Luke Bakken c97e795127 Add UI marker for exclusive queue
Fixes #459
2017-08-04 14:18:52 -07:00
Michael Klishin 2158cb3ef7 Merge branch 'master' into rabbitmq-management-460 2017-08-03 16:16:19 +03:00
Daniil Fedotov 6b2cb31773 Format per-node vhost state on the vhost page. Change vhsot status from down to stopped 2017-08-02 15:39:48 +01:00
Michael Klishin 576efad87c Cosmetics 2017-08-01 18:31:03 +03:00
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