Commit Graph

1905 Commits

Author SHA1 Message Date
Marcial Rosales 829d9d9428 Read JWT token from Authorization Header 2023-04-04 12:00:08 +04:00
Michael Klishin 1a3126d72a Management UI footer link updates 2023-04-03 22:23:06 +04:00
Michael Klishin bfcbef64b4 HTTP API: rename default queue type key
from defaultqueuetype to default_queue_type.
defaultqueuetype is still used as a fallback for backwards
compatibility.

Closes #7734.
2023-03-25 01:33:22 +04:00
Michal Kuratczyk 0a3136a916
Allow applying policies to specific queue types
Rather than relying on queue name conventions, allow applying policies
based on the queue type. For example, this allows multiple policies that
apply to all queue names (".*") that specify different parameters for
different queue types.
2023-03-13 12:36:48 +01:00
Luke Bakken f420487e5e
Add documentation for hashing passwords
Fixes #7432

Adds HTTP API documentation as well as `rabbitmqctl hash_password` docs.

Add `rabbitmqctl` docs
2023-02-26 15:16:38 -08:00
Marcial Rosales 20269bf222 Fix issue #7369
Depending on `disable_stats` value
search for detailed exchange details or
basic details
2023-02-21 13:11:45 +01:00
Marcial Rosales 9ab7dca650 Fix issue 7301 2023-02-15 14:29:55 +01:00
Michael Klishin 6c6f9c49ae
Naming, references #7165 2023-02-06 22:25:09 -05:00
Alex Valiushko db99c252a0 Add setting to disable op policy edit via API 2023-02-06 14:36:10 -08:00
Marcial Rosales 3fca42ed7a Fix issue #7142
The issue is that users retrieved with
the intention to list in the limits view
are not paged hence they are not wrapped
around a paging struct where users would be
under items attribute.

Pending selenium tests
2023-02-01 16:42:33 +01:00
Iliia Khaprov e4f1486d7a Fix Users filtering in Management UI.
close #4908
2023-01-26 16:28:47 +01:00
David Ansari 56e97a9142 Fix MQTT in management plugin
1. Allow to inspect an (web) MQTT connection.
2. Show MQTT client ID on connection page as part of client_properties.
3. Handle force_event_refresh (when management_plugin gets enabled
   after (web) MQTT connections got created).
4. Reduce code duplication between protocol readers.
5. Display '?' instead of 'NaN' in UI for absent queue metrics.
6. Allow an (web) MQTT connection to be closed via management_plugin.

For 6. this commit takes the same approach as already done for the stream
plugin:
The stream plugin registers neither with {type, network} nor {type,
direct}.
We cannot use gen_server:call/3 anymore to close the connection
because the web MQTT connection cannot handle gen_server calls (only
casts).
Strictly speaking, this commit requires a feature flag to allow to force
closing stream connections from the management plugin during a rolling
update. However, given that this is rather an edge case, and there is a
workaround (connect to the node directly hosting the stream connection),
this commit will not introduce a new feature flag.
2023-01-24 17:30:10 +00:00
Marcial Rosales 6a08cd014f
Resolve conflict 2023-01-03 07:09:05 -05:00
Marcial Rosales 07fc6d1313
Validate imported user from file 2023-01-03 07:09:05 -05:00
Marcial Rosales 6e84444059
Test token refresh
And enable hard session timeout which was
disabled by mistake when moved credentials
from cookies to local storage
2023-01-03 07:09:04 -05:00
Marcial Rosales f6fad5c32e
Rename section otherwise
clicking on any area triggered
the download of the definitions
2023-01-03 07:09:04 -05:00
Marcial Rosales 58be01f1d1
Use only token in authorization header to
import and export definitions
2023-01-03 07:09:04 -05:00
Marcial Rosales 36728042ec
Test with selenium export/import definitions 2023-01-03 07:09:03 -05:00
Marcial Rosales bf172af236
Do not use cookies to store basic auth
Use window.localStorage. If it is disabled
Management UI should stop working rather than
falling back to cookies
2023-01-03 07:09:03 -05:00
Marcial Rosales c76e589130
Do not use cookies to store basic auth
Instead use localStorage
2023-01-03 07:09:03 -05:00
Marcial Rosales 9354397cbf
Support Idp initiated logon in mgt ui with Oauth
Configure preferred username from a token
Make client_secret optional
2023-01-03 07:09:00 -05:00
Patrik Ragnarsson 29d3a0e0d4 Escape the user controlled error parameter 2022-12-30 12:48:55 +01:00
Luke Bakken a193f4516b
Use more modern method to download definitions
Does not require sending auth as a query parameter

Ref: https://vmware.slack.com/archives/C0RDGG81Z/p1669827808015729
2022-12-13 17:11:25 -08:00
Alexey Lebedeff 6693af78af Consistently expose default queue functionality in management UI
1. Allow to create queues without `x-queue-type` argument, which give
default queue type logic a chance to run. What's more, those queues
definitions will be exported without `x-queue-type`, so they can be
loaded into another vhost and default queue logic will be applied
again.

2. Show default queue type on the vhost page and the vhosts list pages
2022-12-08 17:39:44 +01:00
Alex Valiushko 0a81a063b5 Add noopener to hrefs in rabbitmq_management 2022-10-20 12:15:32 -07:00
Marcial Rosales edabd8816b Support multiple path segments in management path
Updated selenium tests to tests against 2 path
segments rather than just one
2022-10-04 16:43:18 +02:00
Marcial Rosales d46566099f Support management path prefix when using OAuth2 2022-10-04 09:13:57 +02:00
Marcial Rosales bbc3c75d05 Add missing renamed oauth.enable -> oauth.enabled 2022-09-02 09:33:11 +01:00
Michael Klishin c0a38c6da5 Management plugin: oauth_enable => oauth_enabled in more places 2022-09-02 01:17:58 +04:00
Michael Klishin dca7132dc3 management.oauth_enable => management.oauth_enabled 2022-09-02 00:16:13 +04:00
Marcial Rosales 54464c0498 Logging improvements
Rather than logging directly via console.log
we do it via the Logger library provided by
oidc-client which allows to use logging levels
2022-09-01 13:53:42 +01:00
Marcial Rosales 81f612f8ff Test hard session timeout
When the management ui session times out
the user should be logged out also from
the idp
2022-08-30 17:53:44 +01:00
Marcial Rosales e57b88f2b7 Fix logout workflow
The issue was primarily that UAA was
not properly configured. We had to whitelist
the uri used for logout otherwise UAA redirects
to its login page

WIP verify that logout.js works when running in
headless mode. For that we need a docker image
and at the moment, make docker-image is not
working because it is still using old otp 24.0.2
2022-08-30 17:11:21 +01:00
Marcial Rosales 745ff0b4b2 Fix issue related to refreshing access tokens 2022-08-30 17:11:19 +01:00
Marcial Rosales 316b520b17 Remove dummy state 2022-08-30 17:11:17 +01:00
Marcial Rosales 896e07d4e6 Add audience request parameter to /authorize
Oauth0 requires this parameter in order to
return a proper JWT token and not an opaque JWT
token.
2022-08-30 17:11:16 +01:00
Marcial Rosales 15637ba944 Fix two issues
One in the management ui when the user has
not enough priviledges
And a second one with the api/auth endpoint
which was using a worng json attribute
2022-08-30 17:11:16 +01:00
Marcial Rosales c73f95d3ac Handle not authorized oauth user
When the oauth user has a token without enough
credentials to access the management ui, the
rest request `/api/whoami` returns a 401 with
www-authentication response header which instructs
the browser to show a popup dialog box for basic
auth. With this change, we had to remove the response
header so that we could use the same mechanism we
use to show other oauth errors, i.e. use the login-status
panel instead.
2022-08-30 17:11:16 +01:00
Marcial Rosales 6426d116c0 Handle rabbitmq session timeout 2022-08-30 17:11:16 +01:00
Marcial Rosales 448d8ecb34 Handle scopes
It is important that RabbitMQ specifies which
scopes it has to request. We control that via the
management.oauth_scopes field. If we have enable_uaa = true,
the scopes are automatically configured for us as follows:
"openid profile " + authSettings.oauth_resource_id + ".*"

Else we have to configure oauth_scopes field.
2022-08-30 17:11:16 +01:00
Marcial Rosales 10ccf33d4f WIP login/logout/token-refresh against keycloak 2022-08-30 17:11:16 +01:00
Marcial Rosales 827d0cc4a0 Refresh token 2022-08-30 17:11:16 +01:00
Marcial Rosales 91ba01e7c5 Set cookies expiry from token expiry claim 2022-08-30 17:11:15 +01:00
Marcial Rosales 6218618fbf Replace singular with oidc-client-ts library
Right now only login and logout flows are supported
To be added refresh token
And test all possible failure scenarios
2022-08-30 17:11:15 +01:00
Nuwan Sameera 6eb2630f55
Add delete connection by username feature
Format code

Fix whitespace, fix warning

Update API docs

Remove blank lines

Add get all connections by username

Fix method name issue

Enable GET method to get connections by username

Update API documentation

Modify list all connections of username method

Remove list_by_username method and modify get all connections of user API

Code formatting, break up lines for readability

Refactor code to use pattern matching more effectively

Typo
2022-08-05 13:34:54 -07:00
Michael Klishin 4cacec6bfd
Merge pull request #5305 from rabbitmq/default-queue-type-per-vhost
Configure default queue type by vhost
2022-07-26 01:37:56 +04:00
Karl Nilsson 3c5614f4e2 Add default queue type to Add new virtual host form 2022-07-25 12:34:51 +01:00
Michael Klishin 6feae50b0c
Schema: support for X-Frame-Options
as `management.headers.frame_options`
2022-07-25 13:54:54 +04:00
Michael Klishin 02e1f65d97
Schema: support for X-Content-Type-Options
as `management.headers.content_type_options`
2022-07-25 13:54:53 +04:00
Arnaud Cogoluègnes 827fe6f008
Add active and activity_status in stream consumer UI list
The UI handles the case where the 2 fields are not present.
This can happen in a mixed-version cluster, where a node
of a previous version returns records without the fields.
The UI uses default values (active = true, activity status = up),
which is valid as the consumers of the node are "standalone"
consumers (not part of a group).

References #3753
2022-05-09 10:52:34 +02:00
Michael Klishin 37a3448672
Merge pull request #4442 from rabbitmq/quorum-queue-leader-locator
Add quorum queue-leader-locator
2022-04-15 09:31:45 +04:00
zavarkog 135260eb00 SI binary prefix fix (ki => Ki) 2022-04-12 16:21:49 +02:00
zavarkog 60f085e671 fmt_si_prefix improvement 2022-04-12 13:13:05 +02:00
Zavarkó Gábor 630a2129a7
Fix for #4523
(cherry picked from commit 8e18cb7e95)
2022-04-11 18:43:17 -07:00
David Ansari f32e80c01c Convert random and least-leaders to balanced
Deprecate queue-leader-locator values 'random' and 'least-leaders'.
Both become value 'balanced'.

From now on only queue-leader-locator values 'client-local', and
'balanced' should be set.

'balanced' will place the leader on the node with the least leaders if
there are few queues and will select a random leader if there are many
queues.
This avoid expensive least leaders calculation if there are many queues.

This change also allows us to change the implementation of 'balanced' in
the future. For example 'balanced' could place a leader on a node
depending on resource usage or available node resources.

There is no need to expose implementation details like 'random' or
'least-leaders' as configuration to users.
2022-04-11 10:39:28 +02:00
Michael Klishin 6ac4d303bc
Correct a management UI metric description
Closes #4493
2022-04-10 07:30:45 +04:00
Michael Klishin 758098d7ae
Merge pull request #4431 from rabbitmq/loic-disable-expensive-v1-qi-stats
CQv1: Disable expensive stats killing v1 performance
2022-04-05 23:47:27 +04:00
David Ansari 542f21506c Support quorum queue leader locator
Prior to this commit:
1. When a new quorum queue was created, the local node + random nodes
   were selected as replicas.
2. Always local node became leader.

For example, when an AMQP client connects to a single RabbitMQ node and
creates N quorum queues, all N leaders will be on that node and replicas
are not evenly distributed across the RabbitMQ cluster.
If N is small and the RabbitMQ cluster has many nodes, some nodes might
not host any quorum queue replicas at all.

After this commit:
1. When a new quorum queue is created, the local node + RabbitMQ nodes
   with least quorum queue replicas are selected.
   This will nicely distribute the quorum queue replicas across the
   RabbitMQ cluster.
2. Support (x-)queue-leader-locator argument / policy with
    * client-local (stays the default)
    * random
    * least-leaders
    The same settings are already available for streams.
2022-04-05 16:01:51 +02:00
David Ansari 1be49d7974 Remove max-in-memory-* in Management UI
Remove quorum queue arguments and quorum queue policies
(x-)max-in-memory-length and (x-)max-in-memory-bytes
from the Management UI since they are deprecated since RabbitMQ 3.10.

They have no effect anymore since message bodies will not be stored in
memory.
2022-04-05 15:44:17 +02:00
Loïc Hoguin 499e0b9197
Remove the CQv1 disabled stats from management/Prometheus 2022-04-05 12:37:54 +02:00
David Ansari c7cd530633 Add memory details of dlx workers
to see memory usage across all dlx workers at a glance.
2022-02-28 16:28:04 +01:00
David Ansari 1c17773c91 Add at-least once dead-lettering for quorum queues
and message TTL
2022-02-28 16:27:56 +01:00
Marco Cameriero fb81ae057a Add option to choose payload encoding when manually publishing a message from the Management UI.
The HTTP management API already supports publishing binary messages by
encoding them in base64, but this feature is not exposed to the frontend.
This change adds a new field to the message publishing form that allows
the user to send base64-encoded messages right from the Management UI.
2022-02-14 17:20:27 +01:00
Loïc Hoguin 50e6635761
Merge pull request #3029 from rabbitmq/modern-classic-queue-index
Introduce classic queues version 2 (CQv2)
2022-01-28 09:41:09 +01:00
David Ansari edfc4b056f Use different colour for each queue type 2022-01-25 20:21:17 +01:00
David Ansari 120732d1cf Change 'Queues' to 'Queues and Streams' in memory details 2022-01-25 19:29:07 +01:00
David Ansari 36f8ba4710 Fix color for queues in memory details
Before this commit, the colour for queues was white in the memory bar
although the captions shows color #bd4688 for queues.
2022-01-25 19:05:06 +01:00
Loïc Hoguin f5b0f0d601
Add queue version to management queue/policy forms 2022-01-25 11:23:15 +01:00
Johan Rhodin 998d2aeea3
Match help box to correct item
before it was right after Auto expire
2021-12-01 14:01:19 -06:00
Michael Klishin 8e180c581a
Use a for loop here because IE 11 does not support lambdas
Closes #3688
2021-11-11 00:31:32 +03:00
Alexey Lebedeff a3b02bd01c Fix persistent message count display in mgmt UI
Fixes #3396

As can be seen in
9cf18e83f2/deps/rabbitmq_management/priv/www/js/tmpl/queue.ejs (L171)
there should be 3 colums for a classic queue.

While it's possible to share the same field with the quorum queues
case, I did it this way so that conditions for the labels and for the
values will have the same shape.
2021-10-20 13:00:26 +02:00
Luis Cusihuaman 5f81fff959 fix: list exchanges only by current vhost in topic-permissions 2021-10-06 19:06:00 -03:00
GitHubPang 0f2a6123df
Fix typo in UI help hint 2021-10-04 08:01:43 +08:00
Gabriele Santomaggio 23d0e4d458 Add counters on detail pages
closes https://github.com/rabbitmq/rabbitmq-server/issues/3416
2021-09-14 17:26:05 +02:00
Gabriele Santomaggio 756282b056 Add counters on detail pages
closes https://github.com/rabbitmq/rabbitmq-server/issues/3416
2021-09-14 17:25:34 +02:00
Gabriele Santomaggio 346adc86af Add counters on detail pages
closes https://github.com/rabbitmq/rabbitmq-server/issues/3416
2021-09-14 17:18:49 +02:00
Arnaud Cogoluègnes b5700751cf
Add HTTP endpoint for stream publishers
References #3389
2021-09-10 15:14:09 +02:00
Arnaud Cogoluègnes 0038573f89
Display stream publishers in queue management page
If the queue is a stream. WIP, currently all the stream publishers
are listed, a new publishers per stream endpoint is required.

References #3389
2021-09-09 17:41:38 +02:00
Karl Nilsson 4112cc6f77 Clarify x-max-age options in management ui 2021-05-24 14:31:32 +01:00
Arnaud Cogoluègnes c30e013d7a
Rename max-segment-size to stream-max-segment-size-bytes 2021-05-20 10:16:19 +02:00
Arnaud Cogoluègnes f6d4c4f55d
Merge pull request #3012 from rabbitmq/stream-move-messages
Move messages from stream queues on the management UI
2021-05-18 15:33:19 +02:00
Michael Klishin 5d15ffc5eb
Escape username before displaying it
All other values displayed in pop-ups are already
escaped.
2021-05-06 06:57:43 +03:00
Michal Kuratczyk c6902ac49f
Remove "requeue false"
As discussed, since requeuing is impossible with auto ack, let's remove this part.
2021-04-29 14:20:49 +02:00
Michal Kuratczyk 95ef9fb693
More accurate ack mode description in the UI
I ran into this when working on metrics. This option sets `no_ack = true` which means an automatic ack. However, the old description, `Ack message requeue false`, suggests to me that there is a manual ack. I spent a lot of time trying to find a bug in the metrics code that counted this as an auto-acked message, when in fact it was an auto-acked message. :)
2021-04-29 09:07:44 +02:00
dcorbacho de8dd5fb69 Move messages from stream queues on the UI
Requires support of consumer args in shovel
2021-04-27 12:07:23 +02:00
dcorbacho 1c696a3b9e Hide consumer capacity for stream queues 2021-04-13 16:42:09 +01:00
dcorbacho 7427efde60 Report number of consumers for stream queues
Or any other queue type that doesn't report a consumers count but has consumer details
2021-04-13 16:41:35 +01:00
dcorbacho d325daf052 Report number of readers for stream queues 2021-04-13 16:41:32 +01:00
dcorbacho 6ae0dfcb70 Hide message body stats for stream queues 2021-04-13 16:40:29 +01:00
Michael Klishin b04d1cc3db
Improve UI help hint for consumer capacity 2021-02-24 21:27:04 +03:00
dcorbacho 930c78795c Rename consumer_utilisation to consumer_capacity
Capacity is 100% when there are online consumers and no messages
2021-02-24 16:20:52 +01:00
Lajos Gerecs 8d1afe42e1 fix search field for values containing spaces
The value of the input field was not surrounded by quotes properly,
which made values containing spaces not show up correctly.
2021-02-17 13:30:38 +01:00
Arnaud Cogoluègnes 1e583abd43
Add help tooltip for consumers channel column
To explain the channel can actually be a stream connection.
2021-01-21 09:29:36 +01:00
Arnaud Cogoluègnes b88ad3d265
Adapt consumer link in queue details page
Depending on whether the "owner" of the consumer is a channel (for AMQP
consumers) or a connection (for stream consumers) and whether the stream
management plugin is enabled or not. The link will lead to the channel
page, the connection page, or the stream connection page.
2021-01-20 17:01:31 +01:00
Michael Klishin a28c554a89
Merge pull request #2680 from rabbitmq/rabbitmq-managenet-2615
HTTP API reference: add documentation for pagination parameters
2021-01-13 20:52:23 +03:00
Michael Klishin 2ade2bf67f
HTTP API doc reference: wording, markup 2021-01-13 20:50:22 +03:00
Arnaud Cogoluègnes cbd3c8dfdd
Merge branch 'master' into rabbitmq-stream-management 2021-01-04 09:50:47 +01:00
Gabriele Santomaggio c2cc4b75de Add documentation for the pagination
fixes: https://github.com/rabbitmq/rabbitmq-server/issues/2615
2020-12-14 15:30:15 +01:00
Arnaud Cogoluègnes 335c7b4270
Do not split user tags in management UI
As they are no longer a comma-separated list in a string.

References #2667
2020-12-11 16:57:33 +01:00
Arnaud Cogoluègnes 7bbbe3bb12
Add proper title to stream connections page 2020-12-09 09:29:47 +01:00
Arnaud Cogoluègnes 3f1d010ecd
Add stream connection consumers REST endpoint 2020-12-07 15:56:23 +01:00
Arnaud Cogoluègnes 23d7e8114c
Introduce stream management plugin 2020-11-19 14:48:25 +01:00
dcorbacho a1f2284479 Hide Purge option for stream queues 2020-11-17 13:26:06 +00:00
Arnaud Cogoluègnes 2479628d05 Arrange queue arguments in UI
References rabbitmq/rabbitmq-server#2471
2020-10-21 16:41:54 +02:00
dcorbacho e395a5223c Add missing queue arguments for stream and quorum queues 2020-10-20 13:33:55 +01:00
Michael Klishin 4fd2ec4acf Clarify 2020-10-19 08:25:06 +03:00
Michael Klishin 9f4cea0f98 Further updates to health check endpoint docs
* Remove documentation to the now deprecated One True Health Check™.
   It is too intrusive and too prone to false positives to recommend.
 * Aliveness test is also a health check, and will respond with a 200
   or 503 as of #856
2020-10-19 08:13:54 +03:00
Michael Klishin c1a1bc9393 Simpler wording for new health check endpoint docs 2020-10-19 07:57:15 +03:00
dcorbacho ea37d7dd67 Document new health check endpoints 2020-10-16 11:48:56 +01:00
Michael Klishin 5377d5e7fb /auth-attempts => /auth/attempts in one more place 2020-10-14 20:27:07 +03:00
Michael Klishin b6f775fa24 /api/auth-attempts/ => /api/auth/attempts 2020-10-14 08:03:17 +03:00
dcorbacho 2947906180 Document auth attempts endpoints 2020-10-14 05:18:49 +03:00
dcorbacho e11f517a87 Add stream policies 2020-09-30 14:29:01 +01:00
dcorbacho 3cca5fc685 Stream queues memory breakdown 2020-09-30 14:29:01 +01:00
dcorbacho 95ec943ced Hide 'Get messages' drop down for stream queues
basic.get operation is not supported
2020-09-30 14:29:01 +01:00
dcorbacho 0686190f15 Stream queue
[#171206871]
2020-09-30 14:29:01 +01:00
kjnilsson 6920728bc6 Allow QQs to use expired/queue ttl 2020-09-07 09:45:18 +01:00
kjnilsson 78fd7a3c36 Allow quorum queues to use reject-publish 2020-09-07 09:45:18 +01:00
Ayanda-D ed7f9709a9 Per-user limits preload users select list 2020-08-31 09:02:46 +03:00
Ayanda-D 8164a97123 Per user-limits API documentation 2020-08-31 09:02:46 +03:00
Ayanda-D d21229832d Per user-limits frontend UI 2020-08-31 09:02:45 +03:00
Lajos Gerecs 5325692a09 fix zero time formatted as empty string
Previously the check was using non-strict equality, which meant that empty
string was displayed instead of 0. This can mislead users to think that
no value is set while actually, for example, the federation message expiry is
set to 0.
2020-08-24 14:57:27 +02:00
Michael Klishin 32904dccb4 Wording changes to follow-up with #834 2020-08-02 07:39:50 +03:00
Johan Rhodin ec629a3c6b Update global.js
Fix punctuation
2020-08-01 22:48:28 -05:00
furkhat 0fc53cd109 prevent sending authorization: null header 2020-07-20 16:17:13 +03:00
Michael Klishin 1e206fb28a Drive by: make connection bandwidth rates easier to read 2020-07-15 02:29:36 +03:00
Jasper Yu 4861742bc9 Changed bytes converter 2020-07-09 17:48:54 +08:00
Michael Klishin c52f34e989 Make it possible to configure db cache multiplier via rabbitmq.conf
Closes rabbitmq/rabbitmq-management#821.
2020-06-10 11:30:43 +03:00
Michael Klishin 7fb453c8fc Upgrade jQuery to 3.5.1, closes #815 2020-06-04 16:41:50 +03:00
Johan Rhodin 6cc868c31f Fix net_timetime typo
timetime->ticktime
2020-05-27 15:59:29 -05:00
Luke Bakken 1a784737b5 Add info for federation links
Reported via public slack channel:

https://rabbitmq.slack.com/archives/C1EDN83PA/p1586983265300300
2020-04-15 15:19:37 -07:00
dcorbacho 085ea10d1c Hide consumers when stats are disabled
Closes #787
2020-03-12 10:16:20 +00:00
Michael Klishin 3ff2466802 Revert "Hide consumers on queue page when stats are disabled" 2020-03-11 20:34:52 +03:00
dcorbacho 52b5e60c03 Hide consumers on queue page when stats are disabled
Closes #787
2020-03-11 11:25:40 +00:00
Michael Klishin 6ba5e87fce Update example path 2020-03-07 21:30:15 +03:00
Luke Bakken 8ca4d628b3 Add API docs 2020-03-06 19:11:55 +00:00
Jean-Sébastien Pédron 8f36ffe735 rabbitmqlogo.svg: Convert text to path
This fixes the display of the "TM" when the chosen font is unavailable.
Now that "TM" is a path, we can't edit the text anymore, but the style
will be the same everywhere.

`rabbitmqlogo-master-copy.svg` is the original file where "TM" is still
a text so we can edit it later.

Follow-up to commit 8356fff3e4.
2020-03-03 12:42:27 +01:00
Michael Klishin 9cd535a636 Merge pull request #777 from rabbitmq/highdef-logo-and-favicon
Replace RabbitMQ logo and favicon by higher definition versions
2020-02-26 00:34:37 +03:00
Jean-Sébastien Pédron 8356fff3e4 Replace RabbitMQ logo and favicon by higher definition versions
The logo is now SVG instead of PNG.

The favicon, still in the ICO format, was created based on the SVG and
includes larger sizes.

Both images increased in size:
* 1150 bytes for the old `favicon.ico`
* 102856 bytes for the new `favicon.ico`
* 3296 bytes for the old `img/rabbitmqlogo.png`
* 17853 bytes for the new `img/rabbitmqlogo.svg`
2020-02-25 17:08:28 +01:00
Jean-Sébastien Pédron d08f82ea4c Show product info (if available) in the web UI
The same product info is also available from the `/overview` and
`/definitions` API endpoints.

If the product info is unavailable, the API and the web UI default to
"RabbitMQ" and the underlying RabbitMQ version.

[#170341080]
2020-02-25 16:49:29 +01:00
Luke Bakken 4493c1f7c3 Fix misplaced brace
Fixes #758
2019-12-13 13:46:26 -08:00
Luke Bakken 7b6cf5f58f Update API docs with existing behavior
Fixes #627
2019-12-02 10:44:50 -08:00
Michael Klishin f7bb072b4b Merge pull request #753 from rabbitmq/mgmt-less-improvements
Display queue replicas and totals in metrics-less UI
2019-11-27 08:31:20 +03:00
dcorbacho aef931f750 Option to list queue totals when statistics are disabled
[#169802101]
2019-11-18 11:41:42 +00:00
dcorbacho 9576aaf43c Reintroduce replicas information 2019-11-15 12:04:27 +00:00
Michael Klishin b533846c88 Memory breakdown: clarify 2019-11-12 11:23:11 +03:00
Michael Klishin 7e70d9917a Use decent language to refer to follower mirrored queue replicas
in a few more user-facing places. Doc guides have been updated
a while ago.
2019-11-12 11:20:14 +03:00
Gerhard Lazu c1e023dc7c Remove direct login route
Event though this was an undocumented feature, it was a potential XSS
vector, as captured in #85. Since OAuth 2 support was introduced in #722,
this functionality is less useful and it's time to remove it.
2019-11-08 16:58:39 +00:00
Luke Bakken d85fd7fb14 is_classic should return true if x-queue-type not present
Fixes #741
2019-10-01 12:51:06 -07:00
Luke Bakken ac82d31c94 Small update to password/password_hash docs
Fixes #737
2019-09-16 15:29:35 -07:00
Michael Klishin 33082f2d2d Two more management.ssl.* options
The options are not very useful for HTTPS clients but we should support
them for consistency and completeness.

Closes #735.
2019-09-16 19:36:32 +03:00
Markus Alvila e9238b1a3c Patch persistent XSS in vhost on the limits page 2019-09-12 23:57:34 +03:00
Luke Bakken d725c366d0 Ensure range type is set for new churn stats
Fixes #720
2019-09-12 09:14:49 -07:00
Arnaud Cogoluègnes 7787a74a7f Virtual host tags are comma-separated
For HTTP API documentation.
2019-09-02 11:38:44 +02:00
Arnaud Cogoluègnes bc0324bd8e Update HTTP API documentation with vhost metadata changes
[#166298298]

References rabbitmq/rabbitmq-server#2012
2019-09-02 10:14:26 +02:00
Arnaud Cogoluègnes 538ad1baa3 Update HTTP API response samples in documentation page
To reflect the latest headers, server, etc that are sent back.
2019-09-02 10:00:10 +02:00
Diana Corbacho 046d89864e Handle vhost description and tags fields
[#166298298]
2019-08-30 11:53:43 +02:00
Luke Bakken 5b20c9a168 Revert change to text on "Add user" page, add an informative popup if a user is modified 2019-08-26 10:22:23 -07:00
Luke Bakken 50ecb3de21 Clarify that action can update an entity
See this `rabbitmq-users` discussion:

https://groups.google.com/d/topic/rabbitmq-users/8H50ivEe8nY/discussion
2019-08-21 10:46:38 -07:00
Michael Klishin 7b47850015 Merge branch 'master' into disable-basic-http-auth 2019-08-02 19:58:33 +03:00
Michael Klishin f1ade9c9a6 Merge pull request #722 from rabbitmq/mgmt-oauth
Management UI can obtain an OAuth 2 token from UAA/CF SSO service
2019-08-02 19:19:18 +03:00
Michael Klishin b14e519935 Merge branch 'mgmt-oauth' into disable-basic-http-auth 2019-08-02 19:13:29 +03:00
Michael Klishin 44a87b182c Wording 2019-08-02 19:12:47 +03:00
Diana Corbacho 3260db87f5 Disable basic HTTP auth
Config parameter: {disable_basic_auth, <bool>}
Defaults to 'false'

[#158496849]
2019-07-30 16:19:20 +01:00
Diana Corbacho 71032d6be1 Use 'token' in definitions import/export
[#158496811]
2019-07-29 21:07:37 +01:00
Diana Corbacho 93f3a9c02c Add new config parameters to cuttlefish scheme
[#158496811]
2019-07-26 16:30:48 +01:00
Diana Corbacho b56e6007be Use Bearer in the Authorization header instead of Basic
[#158496811]
2019-07-26 14:58:37 +01:00
Diana Corbacho 9732fb54be Minor fixes
[#158496811]
2019-07-25 16:28:58 +01:00
Diana Corbacho 09977a9e9b Document /auth endpoint
[#158496811]
2019-07-24 12:53:01 +01:00
Diana Corbacho 01ec670f5a Add forgotten template
[#158496811]
2019-07-24 09:30:09 +01:00
Diana Corbacho 1e02f6b716 Management UI can obtain an OAuth 2 token from UAA/CF SSO service
To use UAA authorization the rabbitmq-auth-backend-oauth2 must be enabled.
The oauth client must be configured with the scopes: ["openid", "rabbitmq.*]

Follow the instructions to run UAA on that plugin:
https://github.com/rabbitmq/rabbitmq-auth-backend-oauth2#running-uaa

A configuration script is provided in this plugin on scripts/seed.sh,
to add an Oauth user for testing: rabbit_user with password: rabbit_password

Management config:
[
 {enable_uaa, true},
 {uaa_client_id, "rabbit_user_client"},
 {uaa_location, "http://localhost:8080/uaa"}
]

[#158496811]
2019-07-23 16:25:52 +01:00
Arnaud Cogoluègnes 8941223fce Fix link to exchange details 2019-07-22 11:57:15 +02:00
Michael Klishin 8e433df6ac Cosmetics 2019-07-22 11:46:31 +03:00
Michael Klishin c3678ff72e Merge pull request #721 from rabbitmq/highlight-leading-and-trailing-whitespace-in-names
Highlight leading and trailing white space in names
2019-07-21 09:37:23 +03:00
Michael Klishin 84539f3672 Highlight leading and trailing ws individually
Instead of replacing the entire group of characters
with a single block.

While at it, highlight all tab spaces separately,
even in the middle. Unlike spaces, tabs in the middle
of a name were likely used by mistake.
2019-07-21 09:18:08 +03:00
Michael Klishin fd5837d24c Highlight leading and trailing ws in names
Queue and exchange names, for now.

Currently leading and trailing whitespace in names
is very difficult to spot as both management UI
and CLI tools do not highlight whitespace in names
in any way.

Names with leading and trailing whitespace are always
a mistake and cause confusion. In a recent support
case they wasted quite a bit of time.
2019-07-21 06:25:23 +03:00
Arnaud Cogoluègnes d1995fd27b Remove jQuery Migrate plugin
Useful to spot deprecated API usage during the upgrade process. No need to
emulate API removed in the previous versions here.

[#166941918]

References #714
2019-07-19 09:08:28 +02:00
Arnaud Cogoluègnes 76396205e4 Add event object argument on keypress event
It went missing during the upgrade to jQuery 3.4.1.

References #714
2019-07-17 14:22:12 +02:00
Arnaud Cogoluègnes f9613984c5 Enable JQuery migrate plugin
Just for the upgrade process, to help detecting deprecated/broken use of
API. Just open the browser console when trying out the management
plugin.

Fixed one use of a deprecated function.
2019-07-17 11:34:25 +02:00
Michael Klishin 84a0394f99 Upgrade jQuery to 3.4.1
1.x and 2.x are out of support and have known
vulnerabilities.

Closes #714.
2019-07-17 10:08:11 +03:00
Michael Klishin eba602e78c Correct a typo in fn name
It was mostly harmless but produced a scary looking
exception in the console.
2019-07-17 10:07:27 +03:00
Michael Klishin c9c1b9af8a Wording 2019-07-08 22:00:08 +03:00
Michael Klishin 83d48bd36d Merge branch 'master' into management-only-api 2019-07-08 18:41:37 +03:00
kjnilsson 710be39fba Group policy parameters by queue type
As some policy parameters only applies to certain queue types this
change groups them by the queue types they apply to which makes it
clearer for the users to see which parameters apply where.
2019-07-01 14:23:41 +01:00
Diana Corbacho d98e5dbe77 Merge remote-tracking branch 'origin' into management-only-api 2019-06-11 13:52:22 +01:00
Diana Corbacho cadc15856e Management only UI and HTTP API
Slimmed down version of the API without metrics.
Stats can be disabled from app config or in the HTTP request.
rabbitmq_management.disable_management_stats = true

Disabling the collectors in the agent now allows the management
application to start, but strictly in management-only mode.

[#166445368]
2019-06-10 22:09:41 +01:00
Michael Klishin a133975360 Merge pull request #706 from rabbitmq/ra-metrics
Expose pending raft command metric
2019-06-04 15:03:50 +01:00
kjnilsson 632bcf1be7 Expose pending raft command metric
On channel page

[#165184345]
2019-06-04 11:50:31 +01:00
Daniil Fedotov c23c3353a6 Add reject-publish-dlx to the help message in rabbitmq-management UI. 2019-05-29 09:26:08 -04:00
Johan Rhodin 2adad18c66 Adjust info box for export definitions
In the exported definitions in 3.7.14 I see among others:
"global_parameters":[{"name":"cluster_name","value":"test-bobbish-gibbon"}],
"policies":[{"vhost":"mhtrqhyn","name":"celery","pattern":"(^celeryev\\..*|.*celery\\.pidbox$)","apply-to":"queues","definition":{"expires":60000,"max-length":1000,"message-ttl":60000},"priority":-9}...
2019-05-09 11:38:23 -05:00
Michael Klishin 802e701150 Merge pull request #695 from rabbitmq/rabbitmq-server-1904
New channel metric: dropped unroutable messages
2019-04-25 18:13:08 +03:00
Michael Klishin e590284273 Merge pull request #693 from rabbitmq/overview-rates
Set msg rates in overview to global and basic in queue pages
2019-04-25 05:19:53 +03:00
Michael Klishin 541738c2c5 Merge pull request #692 from rabbitmq/quorum-ets-memory-breakdown
Display memory used by the ETS tables of the ra log
2019-04-25 05:17:57 +03:00
Michael Klishin f0ed61c9d3 New channel metric: dropped unroutable messages
Part of rabbitmq/rabbitmq-server#1904.

[#165548314]
2019-04-24 18:14:06 +03:00
Michael Klishin a38b9324ef Fold stats documentation into the main HTTP API doc guide
References #696.
2019-04-24 01:26:46 +03:00
Gerhard Lazu 5636b3e8e8 Fix bytes prefix symbol
B is used for powers of 10, e.g. 10^6 bytes = 1MB
iB is used for powers of 2, e.g. 2^20 bytes = 1MiB

Since the division is using a power of 2, the symbol used also needs to
be a power of 2.

https://en.wikipedia.org/wiki/Byte
2019-04-23 15:50:35 +01:00
Diana Corbacho c6a94a3261 Set msg rates in overview to global and basic in queue pages
[#165377789]
2019-04-23 12:25:23 +01:00
Diana Corbacho 21acaa49bc Display memory used by the ETS tables of the ra log
[#161752680]
2019-04-16 12:54:21 +01:00
Karl Nilsson 3809a3c9d5 Merge pull request #689 from rabbitmq/hide-SAC-lable
Hide SAC label if x-single-active-consumer=false
2019-04-11 17:31:07 +01:00
Karl Nilsson b6542d2e9a Merge pull request #685 from rabbitmq/in-memory-limits
Add x-max-in-memory-length and x-max-in-memory-bytes arguments to qq
2019-04-11 17:05:27 +01:00
Diana Corbacho c0ae5cc429 Add queue type column in queues page
[#164890944]
2019-04-05 13:44:44 +01:00
Diana Corbacho d66d378208 Hide SAC label if x-single-active-consumer=false
[#164890920]
2019-04-05 12:14:32 +01:00
Johan Rhodin 2e620e9b3f Remove extra "to"
Fix small typo.
2019-03-29 14:15:03 +13:00
Diana Corbacho 7c79b833b9 Display in-memory stats for quorum queues
[#164735591]
2019-03-28 19:32:57 +00:00
Diana Corbacho 2bbae595ef Add x-max-in-memory-length and x-max-in-memory-bytes arguments to quorum queues
[#164735591]
2019-03-26 22:37:40 +00:00
Michael Klishin 540cf9ee8e Merge pull request #676 from spring-operator/polish-urls-apache-license-master
URL Cleanup
2019-03-22 12:31:02 +03:00
Grigory Starinkin b762de7968 allow uri with credentials formatter to accept multiple uris
fix federations page where one federation can have multiple uris
2019-03-21 15:24:38 +00:00
Spring Operator edb0e09e7e URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 2 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 03:16:34 -05:00
Spring Operator 5ffa1fd9a9 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://blog.listincomprehension.com/search/label/procket (200) with 1 occurrences could not be migrated:
   ([https](https://blog.listincomprehension.com/search/label/procket) result ClosedChannelException).
* http://dozzie.jarowit.net/trac/wiki/TOML (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/TOML) result SSLHandshakeException).
* http://dozzie.jarowit.net/trac/wiki/subproc (200) with 1 occurrences could not be migrated:
   ([https](https://dozzie.jarowit.net/trac/wiki/subproc) result SSLHandshakeException).
* http://e2project.org (200) with 1 occurrences could not be migrated:
   ([https](https://e2project.org) result AnnotatedConnectException).
* http://erik.eae.net/archives/2007/07/27/18.54.15/ (200) with 1 occurrences could not be migrated:
   ([https](https://erik.eae.net/archives/2007/07/27/18.54.15/) result SSLHandshakeException).
* http://javascript.nwbox.com/IEContentLoaded/ (200) with 1 occurrences could not be migrated:
   ([https](https://javascript.nwbox.com/IEContentLoaded/) result SSLHandshakeException).
* http://nitrogenproject.com/ (200) with 2 occurrences could not be migrated:
   ([https](https://nitrogenproject.com/) result ConnectTimeoutException).
* http://proper.softlab.ntua.gr (200) with 1 occurrences could not be migrated:
   ([https](https://proper.softlab.ntua.gr) result SSLHandshakeException).
* http://sammyjs.org (200) with 2 occurrences could not be migrated:
   ([https](https://sammyjs.org) result SSLHandshakeException).
* http://sammyjs.org/docs/plugins (200) with 2 occurrences could not be migrated:
   ([https](https://sammyjs.org/docs/plugins) result SSLHandshakeException).
* http://sammyjs.org/docs/routes (200) with 2 occurrences could not be migrated:
   ([https](https://sammyjs.org/docs/routes) result SSLHandshakeException).
* http://webfx.eae.net/dhtml/boxsizing/boxsizing.html (200) with 1 occurrences could not be migrated:
   ([https](https://webfx.eae.net/dhtml/boxsizing/boxsizing.html) result SSLHandshakeException).
* http://yaws.hyber.org (200) with 1 occurrences could not be migrated:
   ([https](https://yaws.hyber.org) result AnnotatedConnectException).
* http://choven.ca (503) with 1 occurrences could not be migrated:
   ([https](https://choven.ca) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://fixprotocol.org/ (301) with 1 occurrences migrated to:
  https://fixtrading.org ([https](https://fixprotocol.org/) result SSLHandshakeException).
* http://jsperf.com/getall-vs-sizzle/2 (301) with 1 occurrences migrated to:
  https://jsperf.com/getall-vs-sizzle/2 ([https](https://jsperf.com/getall-vs-sizzle/2) result ReadTimeoutException).
* http://erldb.org (UnknownHostException) with 1 occurrences migrated to:
  https://erldb.org ([https](https://erldb.org) result UnknownHostException).
* http://some-host-that-does-not-exist:15672/ (UnknownHostException) with 1 occurrences migrated to:
  https://some-host-that-does-not-exist:15672/ ([https](https://some-host-that-does-not-exist:15672/) result UnknownHostException).
* http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ (301) with 1 occurrences migrated to:
  https://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ ([https](https://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/) result 404).
* http://www.JSON.org/js.html (404) with 1 occurrences migrated to:
  https://www.JSON.org/js.html ([https](https://www.JSON.org/js.html) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://bugs.jquery.com/ticket/12359 with 1 occurrences migrated to:
  https://bugs.jquery.com/ticket/12359 ([https](https://bugs.jquery.com/ticket/12359) result 200).
* http://bugs.jquery.com/ticket/13378 with 1 occurrences migrated to:
  https://bugs.jquery.com/ticket/13378 ([https](https://bugs.jquery.com/ticket/13378) result 200).
* http://cloudi.org/ with 27 occurrences migrated to:
  https://cloudi.org/ ([https](https://cloudi.org/) result 200).
* http://code.quirkey.com/sammy/ with 1 occurrences migrated to:
  https://code.quirkey.com/sammy/ ([https](https://code.quirkey.com/sammy/) result 200).
* http://erlware.org/ with 1 occurrences migrated to:
  https://erlware.org/ ([https](https://erlware.org/) result 200).
* http://inaka.github.io/cowboy-trails/ with 1 occurrences migrated to:
  https://inaka.github.io/cowboy-trails/ ([https](https://inaka.github.io/cowboy-trails/) result 200).
* http://jquery.com/ with 3 occurrences migrated to:
  https://jquery.com/ ([https](https://jquery.com/) result 200).
* http://jsperf.com/thor-indexof-vs-for/5 with 1 occurrences migrated to:
  https://jsperf.com/thor-indexof-vs-for/5 ([https](https://jsperf.com/thor-indexof-vs-for/5) result 200).
* http://ninenines.eu with 6 occurrences migrated to:
  https://ninenines.eu ([https](https://ninenines.eu) result 200).
* http://ninenines.eu/ with 1 occurrences migrated to:
  https://ninenines.eu/ ([https](https://ninenines.eu/) result 200).
* http://sizzlejs.com/ with 2 occurrences migrated to:
  https://sizzlejs.com/ ([https](https://sizzlejs.com/) result 200).
* http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ with 1 occurrences migrated to:
  https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ ([https](https://web.archive.org/web/20100324014747/https://blindsignals.com/index.php/2009/07/jquery-delay/) result 200).
* http://www.actordb.com/ with 2 occurrences migrated to:
  https://www.actordb.com/ ([https](https://www.actordb.com/) result 200).
* http://www.cs.kent.ac.uk/projects/wrangler/Home.html with 1 occurrences migrated to:
  https://www.cs.kent.ac.uk/projects/wrangler/Home.html ([https](https://www.cs.kent.ac.uk/projects/wrangler/Home.html) result 200).
* http://www.enhanceie.com/ie/bugs.asp with 1 occurrences migrated to:
  https://www.enhanceie.com/ie/bugs.asp ([https](https://www.enhanceie.com/ie/bugs.asp) result 200).
* http://www.rabbitmq.com/amqp-0-9-1-reference.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/amqp-0-9-1-reference.html ([https](https://www.rabbitmq.com/amqp-0-9-1-reference.html) result 200).
* http://www.rabbitmq.com/configure.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/configure.html ([https](https://www.rabbitmq.com/configure.html) result 200).
* http://www.rabbitmq.com/confirms.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/confirms.html ([https](https://www.rabbitmq.com/confirms.html) result 200).
* http://www.rabbitmq.com/consumers.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/consumers.html ([https](https://www.rabbitmq.com/consumers.html) result 200).
* http://www.rabbitmq.com/github.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/github.html ([https](https://www.rabbitmq.com/github.html) result 200).
* http://www.rabbitmq.com/ha.html with 3 occurrences migrated to:
  https://www.rabbitmq.com/ha.html ([https](https://www.rabbitmq.com/ha.html) result 200).
* http://www.rabbitmq.com/management-cli.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/management-cli.html ([https](https://www.rabbitmq.com/management-cli.html) result 200).
* http://www.rabbitmq.com/management.html with 7 occurrences migrated to:
  https://www.rabbitmq.com/management.html ([https](https://www.rabbitmq.com/management.html) result 200).
* http://www.rabbitmq.com/memory-use.html with 3 occurrences migrated to:
  https://www.rabbitmq.com/memory-use.html ([https](https://www.rabbitmq.com/memory-use.html) result 200).
* http://www.rabbitmq.com/memory.html with 3 occurrences migrated to:
  https://www.rabbitmq.com/memory.html ([https](https://www.rabbitmq.com/memory.html) result 200).
* http://www.rabbitmq.com/nettick.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/nettick.html ([https](https://www.rabbitmq.com/nettick.html) result 200).
* http://www.rabbitmq.com/partitions.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/partitions.html ([https](https://www.rabbitmq.com/partitions.html) result 200).
* http://www.rabbitmq.com/persistence-conf.html with 2 occurrences migrated to:
  https://www.rabbitmq.com/persistence-conf.html ([https](https://www.rabbitmq.com/persistence-conf.html) result 200).
* http://www.rabbitmq.com/services.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/services.html ([https](https://www.rabbitmq.com/services.html) result 200).
* http://www.rebar3.org with 1 occurrences migrated to:
  https://www.rebar3.org ([https](https://www.rebar3.org) result 200).
* http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html with 1 occurrences migrated to:
  https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html ([https](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html) result 200).
* http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html with 1 occurrences migrated to:
  https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html ([https](https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html) result 200).
* http://www.w3.org/TR/2011/REC-css3-selectors-20110929/ with 2 occurrences migrated to:
  https://www.w3.org/TR/2011/REC-css3-selectors-20110929/ ([https](https://www.w3.org/TR/2011/REC-css3-selectors-20110929/) result 200).
* http://www.w3.org/TR/CSS21/syndata.html with 2 occurrences migrated to:
  https://www.w3.org/TR/CSS21/syndata.html ([https](https://www.w3.org/TR/CSS21/syndata.html) result 200).
* http://www.w3.org/TR/DOM-Level-3-Events/ with 1 occurrences migrated to:
  https://www.w3.org/TR/DOM-Level-3-Events/ ([https](https://www.w3.org/TR/DOM-Level-3-Events/) result 200).
* http://www.w3.org/TR/selectors/ with 4 occurrences migrated to:
  https://www.w3.org/TR/selectors/ ([https](https://www.w3.org/TR/selectors/) result 200).
* http://code.google.com/p/stringencoders/ with 1 occurrences migrated to:
  https://code.google.com/p/stringencoders/ ([https](https://code.google.com/p/stringencoders/) result 301).
* http://code.google.com/p/stringencoders/source/browse/ with 2 occurrences migrated to:
  https://code.google.com/p/stringencoders/source/browse/ ([https](https://code.google.com/p/stringencoders/source/browse/) result 301).
* http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* http://dev.w3.org/csswg/cssom/ with 1 occurrences migrated to:
  https://dev.w3.org/csswg/cssom/ ([https](https://dev.w3.org/csswg/cssom/) result 301).
* http://inaka.github.com/apns4erl with 1 occurrences migrated to:
  https://inaka.github.com/apns4erl ([https](https://inaka.github.com/apns4erl) result 301).
* http://inaka.github.com/edis/ with 1 occurrences migrated to:
  https://inaka.github.com/edis/ ([https](https://inaka.github.com/edis/) result 301).
* http://jquery.org/license with 2 occurrences migrated to:
  https://jquery.org/license ([https](https://jquery.org/license) result 301).
* http://lasp-lang.org/ with 1 occurrences migrated to:
  https://lasp-lang.org/ ([https](https://lasp-lang.org/) result 301).
* http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx with 1 occurrences migrated to:
  https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx ([https](https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx) result 301).
* http://msdn.microsoft.com/en-us/library/ie/ms536648 with 1 occurrences migrated to:
  https://msdn.microsoft.com/en-us/library/ie/ms536648 ([https](https://msdn.microsoft.com/en-us/library/ie/ms536648) result 301).
* http://rabbitmq.com with 5 occurrences migrated to:
  https://rabbitmq.com ([https](https://rabbitmq.com) result 301).
* http://rabbitmq.com/ae.html with 1 occurrences migrated to:
  https://rabbitmq.com/ae.html ([https](https://rabbitmq.com/ae.html) result 301).
* http://rabbitmq.com/consumers.html with 1 occurrences migrated to:
  https://rabbitmq.com/consumers.html ([https](https://rabbitmq.com/consumers.html) result 301).
* http://rabbitmq.com/dlx.html with 2 occurrences migrated to:
  https://rabbitmq.com/dlx.html ([https](https://rabbitmq.com/dlx.html) result 301).
* http://rabbitmq.com/maxlength.html with 2 occurrences migrated to:
  https://rabbitmq.com/maxlength.html ([https](https://rabbitmq.com/maxlength.html) result 301).
* http://rabbitmq.com/passwords.html with 1 occurrences migrated to:
  https://rabbitmq.com/passwords.html ([https](https://rabbitmq.com/passwords.html) result 301).
* http://rabbitmq.com/priority.html with 1 occurrences migrated to:
  https://rabbitmq.com/priority.html ([https](https://rabbitmq.com/priority.html) result 301).
* http://rabbitmq.com/ttl.html with 2 occurrences migrated to:
  https://rabbitmq.com/ttl.html ([https](https://rabbitmq.com/ttl.html) result 301).
* http://saleyn.github.com/erlexec with 1 occurrences migrated to:
  https://saleyn.github.com/erlexec ([https](https://saleyn.github.com/erlexec) result 301).
* http://support.microsoft.com/kb/186063 with 1 occurrences migrated to:
  https://support.microsoft.com/kb/186063 ([https](https://support.microsoft.com/kb/186063) result 301).
* http://technet.microsoft.com/en-us/sysinternals/bb896655 with 2 occurrences migrated to:
  https://technet.microsoft.com/en-us/sysinternals/bb896655 ([https](https://technet.microsoft.com/en-us/sysinternals/bb896655) result 301).
* http://www.erlang.org/doc/man/sasl_app.html with 1 occurrences migrated to:
  https://www.erlang.org/doc/man/sasl_app.html ([https](https://www.erlang.org/doc/man/sasl_app.html) result 301).
* http://www.mozilla.org/MPL/ with 86 occurrences migrated to:
  https://www.mozilla.org/MPL/ ([https](https://www.mozilla.org/MPL/) result 301).
* http://www.mozilla.org/mpl/ with 3 occurrences migrated to:
  https://www.mozilla.org/mpl/ ([https](https://www.mozilla.org/mpl/) result 301).
* http://www.rabbitmq.com/man/rabbitmq-plugins.1.man.html with 1 occurrences migrated to:
  https://www.rabbitmq.com/man/rabbitmq-plugins.1.man.html ([https](https://www.rabbitmq.com/man/rabbitmq-plugins.1.man.html) result 301).
* http://www.w3.org/TR/css3-selectors/ with 1 occurrences migrated to:
  https://www.w3.org/TR/css3-selectors/ ([https](https://www.w3.org/TR/css3-selectors/) result 301).
* http://www.whatwg.org/specs/web-apps/current-work/ with 1 occurrences migrated to:
  https://www.whatwg.org/specs/web-apps/current-work/ ([https](https://www.whatwg.org/specs/web-apps/current-work/) result 301).
* http://zhongwencool.github.io/observer_cli with 1 occurrences migrated to:
  https://zhongwencool.github.io/observer_cli ([https](https://zhongwencool.github.io/observer_cli) result 301).
* http://developer.mozilla.org/en/docs/Canvas_tutorial:Drawing_shapes with 1 occurrences migrated to:
  https://developer.mozilla.org/en/docs/Canvas_tutorial:Drawing_shapes ([https](https://developer.mozilla.org/en/docs/Canvas_tutorial:Drawing_shapes) result 302).
* http://javascript.crockford.com/jsmin.html with 1 occurrences migrated to:
  https://javascript.crockford.com/jsmin.html ([https](https://javascript.crockford.com/jsmin.html) result 302).
* http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx with 2 occurrences migrated to:
  https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx ([https](https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx) result 302).
* http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context with 1 occurrences migrated to:
  https://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context ([https](https://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context) result 302).

# Ignored
These URLs were intentionally ignored.

* http://localhost with 2 occurrences
* http://localhost/ with 2 occurrences
* http://localhost:15672/ with 1 occurrences
* http://localhost:15672/api/channels?sort=message_stats.publish_details.rate&amp;sort_reverse=true&amp;columns=name,message_stats.publish_details.rate,message_stats.deliver_get_details.rate with 2 occurrences
* http://localhost:15672/api/exchanges/%2F/my-new-exchange with 4 occurrences
* http://localhost:15672/api/vhosts with 2 occurrences
* http://localhost:15672/api/vhosts/foo with 2 occurrences
2019-03-20 03:17:48 -05:00
Michael Klishin b2bf952704 Merge pull request #671 from rabbitmq/rabbitmq-management-665
Allow loading definitions from file or directory
2019-03-12 04:40:36 +03:00
Michael Klishin 79b9c2ce3c Update rabbitmqctl(8) man page link 2019-03-11 19:57:02 +03:00
Luke Bakken 0efe221c38 Allow loading definitions from file or directory
Fixes #665
2019-03-07 16:08:15 -08:00
Luke Bakken fcc74cc7a8 Clarify /api/vhost-limits/vhost/name PUT request
Fixes #666
2019-03-05 14:49:42 -08:00
Luke Bakken 8e1ef5c445 Remove type check 2019-03-04 12:04:19 -08:00
Daniil Fedotov 83ffea87a5 Format terminated status for queues as yellow.
If a queue is deleted, it's not an error, but is not a normal queue operation.
2019-03-01 13:46:35 -05:00
kjnilsson e0cbdcf4b9 Add delivery limit argument
To queue create and policy definition pages

[#163513253]
2019-02-25 13:44:58 +00:00
Jean-Sébastien Pédron 4e836c9756 feature-flags.ejs: Center `Enable`button in the column 2019-02-15 10:51:17 +01:00
Josh Soref 56b095f7aa spelling: policy 2019-02-12 23:57:04 -05:00
Jean-Sébastien Pédron 5b004c4388 Add a new admin panel to list and enable feature flags
[#159298729]
2019-02-01 17:55:05 +01:00
Luke Bakken a08229d3b5 formatters.js: Fix a typo 2019-02-01 17:55:05 +01:00
kjnilsson 88f1a8b172 Add queue: move type before name
As the rest of the form is refreshed upon change so it makes sense for
this to be the first item users should choose.

Also added the nodes options for quorum queues so that there is a good
change that the initial leader will be on the selected node.

[#163286660]
[#163651667]
2019-02-01 13:38:46 +00:00
Karl Nilsson 3317f8e5aa Merge pull request #638 from rabbitmq/qq-queue-length
Show x-max-length for quorum queues
2019-01-30 15:44:22 +00:00
Daniil Fedotov 0937bf407f Merge pull request #653 from rabbitmq/rabbitmq-server-1838-active-field-for-consumers
Add help and link to explain active consumer flag
2019-01-28 20:49:17 +04:00
kjnilsson beaab06913 Show x-max-length-bytes for quorum queues
[#161247380]
2019-01-24 12:05:36 +00:00
Arnaud Cogoluègnes 7f41cc17fd Add consumer activity status column
[#163298456]

References rabbitmq/rabbitmq-server#1838
2019-01-24 10:53:30 +01:00
Michael Klishin 48be230dac Truncate client ID, product and platform info at 120 characters
On the connection listing page.

Pair: @acogoluegnes.
2019-01-22 13:15:43 +03:00
Arnaud Cogoluègnes 3f997ef7d3 Display client ID in connection list
[#153246723]

References rabbitmq/rabbitmq-mqtt#152
2019-01-22 10:31:26 +01:00
Arnaud Cogoluègnes 7b14a5b77d Add help and link to explain active consumer flag
[#163298456]

References rabbitmq/rabbitmq-server#1838
2019-01-18 15:49:54 +01:00
Arnaud Cogoluègnes 7f977fce14 Add column for single active consumer in consumers view
[#163089472]

References #649
2019-01-15 15:18:55 +01:00
Arnaud Cogoluègnes 3bb403a887 Support x-single-active-consumer queue parameter
[#163089472]

References #649
2019-01-11 09:35:08 +01:00
Michael Klishin 0b9e03b589 Missing var(s), condition braces, semicolons 2019-01-03 01:20:02 +03:00
Michael Klishin 35eb988e33 Escape filter values
The values are not populated from request parameters but being
more defensive against potential injections wouldn't hurt.
2019-01-03 00:50:44 +03:00
Michael Klishin 2e6b450759 Variable naming 2019-01-03 00:08:26 +03:00
Michael Klishin 74f7a0e7b5 Rename a function 2019-01-02 23:55:44 +03:00
Michael Klishin 107148baa1 Remove a comment that's no longer relevant
We switched back from local browser storage as of 7aebeb5651.
2019-01-02 23:53:05 +03:00
Michael Klishin d9d123f67f Correct a typo in function name 2019-01-02 23:51:27 +03:00
Luke Bakken e64516a985 Reverse order of ciphers in generated file to ensure they match rabbitmq.conf. The ct helpers will not verify this as the snippets and results are deep sorted 2018-12-31 12:05:46 -08:00
Michael Klishin 611341a50c Support cipher suites and more TLS listener options 2018-12-27 03:04:59 +03:00
Michael Klishin 9f9db91aeb HTTP API docs: be a bit more specific
References #642.
2018-12-26 02:15:50 +03:00
John W Higgins 51bbf666df Add docs for password_hash_algorithm to HTTP api 2018-12-25 14:33:46 -08:00
Luke Bakken 7045490001 Restore code removed in 456c3a0 that links an exclusive owner connection 2018-12-20 13:47:06 -08:00
Luke Bakken 612287d769 RabbitMQ may return a range that represents last minute, do not double-add it. Sort the list of ranges returned by RabbitMQ 2018-12-18 13:09:09 -08:00
Luke Bakken 29495a0098 Add sample retention policies to overview
Massage retention policy data sent to the UI

Use some math to determine what intervals have been set

Implement controlling the chart range popup via the available ranges
2018-12-13 14:12:20 -08:00
Diana Corbacho 04184ce0bf Show x-max-length for quorum queues
[#161247380]
2018-12-12 14:40:37 +00:00
Luke Bakken 567aa3d3ee Take mode into account before accessing queue variable
To reproduce issue:

* Start RabbitMQ with this plugin
* Navigate to exchanges page
* JS error popup will be seen, also in console
2018-12-11 13:27:34 -08:00
Karl Nilsson b7187702a1 Merge pull request #632 from rabbitmq/memory-breakdown-qq
Report quorum queues memory usage in node overview
2018-12-03 10:38:09 +00:00
Diana Corbacho 4eea68cd0a Use argument x-queue-type to figure out the queue type 2018-11-22 08:38:43 +00:00
Diana Corbacho 4a726851dd Report quorum queues memory usage in node overview
[#161505148]
2018-11-21 13:11:19 +00:00
Diana Corbacho a2ece345d2 Hide delivery mode for quorum queues
[#161505695]
2018-11-20 13:15:27 +00:00
Diana Corbacho add3b059ce Add aux functions is_quorum/is_classic
[#161505176]
2018-11-09 12:02:48 +00:00