Commit Graph

4036 Commits

Author SHA1 Message Date
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
Philip Kuryloski bbf61837c0 Regenerate workflows with 'make github-actions' 2020-05-11 17:19:04 +02:00
Philip Kuryloski bafde4d4f9 Run test suite via GitHub Actions on every push
Generated with `make github-actions`
2020-05-11 16:56:57 +02:00
Philip Kuryloski 968c644401 Dedupe calls to rabbit_mgmt_test_util:reset_management_setting/1
It was called as a setup step in init_per_group, but also in every init_per_testcase.
2020-05-11 16:56:57 +02:00
Jean-Sébastien Pédron da1f4f6795 rabbit_mgmt_rabbitmqadmin_SUITE: Reset $HOME in end_per_testcase
It polluted the common_test node and caused inter-node communication
failures: a new `.erlang.cookie` file was re-generated in the overriden
$HOME directory, and this new cookie was used by RabbitMQ nodes started
after this testsuite.
2020-05-05 17:39:43 +02:00
Jean-Sébastien Pédron 9cd36056d4 rabbit_mgmt_wm_definitions: Adapt call to `rabbit:product_*`
... after the API changed.
2020-05-04 17:38:39 +02:00
Michael Klishin ce6fbba80d rabbitmqadmin: make --cli-switches take precedence over config file values
With most CLI tools, command line arguments
take precedence over values in the configuration file.

This was not the case in rabbitmqadmin, and very likely
unintentionally so, at least I could not find
any evidence of the contrary.

There was a test case that implicitly depended
on this behavior. Again, no indication of this
being an intentional design choice.

While this can be a breaking change, most
users either use CLI flags or the config file;
this is why this behavior has gone unnoticed
for at least 8 years. We therefore treat
this change as low risk and worth
shipping e.g. in a patch release.
rabbitmqadmin is installed manually and
therefore won't be replaced during a node
upgrade anyway. Operators would
have to opt-in.

Closes #804.
2020-04-18 21:29:33 +03:00
Michael Klishin 671936bd6a Ignore .vscode 2020-04-18 21:26:01 +03:00
Michael Klishin 4dcfb2cf7f Merge pull request #803 from rabbitmq/lrb-add-federation-links
Add info for federation links
2020-04-16 02:03:50 +03: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
Michael Klishin 8cae7f1d6b Merge pull request #801 from rabbitmq/rabbitmq-management-800
Return TLS listener correctly
2020-04-15 20:12:31 +03:00
Luke Bakken 83eb3eeb7e Fix export using python 3
Without `.encode()` you get this error:

```
TypeError: a bytes-like object is required, not str
```

Also use `with` when appropriate
2020-04-15 16:47:42 +00:00
Michael Klishin 67f80ce900 One more test 2020-04-15 19:35:13 +03:00
Michael Klishin 8fe756d9f6 Remove a function that's no longer used 2020-04-15 18:39:44 +03:00
Luke Bakken 9c96571a34 Handle the combination of TLS options and cowboy_opts 2020-04-15 15:32:13 +00:00
Michael Klishin 584b06069c Simplify and adapt listener_config_SUITE
Part of #800
2020-04-15 18:30:35 +03:00
Michael Klishin d4f7f85fef Squash a compilation warning
(cherry picked from commit 1ec6f64658)
2020-04-15 15:29:15 +03:00
Michael Klishin 1ec6f64658 Squash a compilation warning 2020-04-15 14:42:51 +03:00
Luke Bakken ca7409254d Return TLS listener correctly
`ssl_opts` must be used so that TLS options are recognized.

Fixes #800

Also ensure TLS port is set.
2020-04-15 00:14:15 +00:00
Michael Klishin 3de47a2f2b Use rabbit_ct_helpers:await_condition/2 to detect rate changes 2020-04-10 11:07:12 +03:00
Luke Bakken d7b3cc7f87 Make pretty_json Python 3 compatible
This code is compatible with Python 2 and 3

Fixes #794
2020-04-09 20:18:29 +00:00
Michael Klishin a865874d38 Encode data to bytes here 2020-03-15 18:33:03 +03:00
Luke Bakken 60d8bcba0f Read / write files in binary mode
Fixes #785
2020-03-14 16:01:33 -07:00
dcorbacho 085ea10d1c Hide consumers when stats are disabled
Closes #787
2020-03-12 10:16:20 +00:00
Michael Klishin 3b44b71025 Merge pull request #788 from rabbitmq/db-cache-gc
Try reclaiming memory better in db cache process
2020-03-11 22:30:47 +03:00
Michael Klishin 7feb909674 Comment wording 2020-03-11 21:48:28 +03: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
kjnilsson c3463c87db Try reclaiming memory better in db cache process
When queries get very very large it is possible that this process could
grow it's heap such that full sweep collections become rare. Hibernating
after purging enforces this as well as ensuring full sweep is done
before every cache invalidation.
2020-03-11 09:27:57 +00:00
Michael Klishin f73fee49ae rabbitmqadmin: update shebang to run on Python 3 by default
Python 2 is EOL. Yes, really truly EOL. Check it on the
Internetz.

References #786.
2020-03-10 22:28:16 +03:00
Jean-Sébastien Pédron 004e0569ce Update copyright (year 2020) 2020-03-10 15:43:34 +01:00
Michael Klishin 76f526e13c /rebalance/queues: allow OPTIONS requests
They are meant to be safe and idempotent, and
assumed to be enabled by CORS integration tests.

(cherry picked from commit f6501cdc69e8ca1f95e770e41882f2fa674d9a03)
2020-03-08 20:51:31 +03:00
Michael Klishin 6ba5e87fce Update example path 2020-03-07 21:30:15 +03:00
Michael Klishin ab91e796ab Update routes 2020-03-07 20:45:36 +03:00
Michael Klishin 34d8aa41e5 Move logging outside of the trampoline process 2020-03-07 20:45:17 +03:00
Michael Klishin 5d5c278a71 Compile 2020-03-07 20:29:27 +03:00
Michael Klishin c841373276 More logging 2020-03-07 20:26:16 +03:00
Michael Klishin 6efbd4c62c Rename rebalancing module
Much like we did with the endpoint path.
2020-03-07 20:13:54 +03:00
Luke Bakken 8ca4d628b3 Add API docs 2020-03-06 19:11:55 +00:00
Luke Bakken adfa28fad8 Add API endpoint /api/rebalance
Initially, this will rebalance all queues in all vhosts

Fixes #782

Implement skeleton rebalance API handler

Slightly different REST URI

Add code to actually spawn a proc to rebalance queues

Rebalance always succeeds since we can not get the lock from a different process. Look at the logs to see what actually is going on
2020-03-06 16:43:39 +00:00
Gerhard Lazu e4553ec8b8 Update rabbitmq-components.mk 2020-03-06 09:19:16 +00:00
Gerhard Lazu 0287a83952 Update erlang.mk 2020-03-06 09:17:49 +00:00
Jean-Sébastien Pédron f9b95327fa Travis CI: Update config from rabbitmq-common 2020-03-04 14:24:29 +01:00
Jean-Sébastien Pédron f2eef5d7b4 Travis CI: Update config from rabbitmq-common 2020-03-04 11:17:15 +01:00
Jean-Sébastien Pédron a067b94be3 Travis CI: Update config from rabbitmq-common 2020-03-03 14:53:39 +01: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
Ivan Kaloyanov aa0320bc6c properties_key default value on binding deletable
**Align create binding and delete banding convention. Use empty
'~' properties_key by default as multiple users and I personally
find it inconvenient (and at first really time consuming)
to use the $HOME symbol for unbinding the default/simplest binding.
2020-02-29 19:51:19 +02: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
Michael Klishin eaf4244f8e Transitionary step for OTP 23 [master] compatibility 2020-02-11 21:16:38 +03:00
Gerhard Lazu b374e51f35 Update rabbitmq-components.mk 2020-02-11 15:31:44 +00:00
Luke Bakken 8399a47337 Add unsafe-inline to CSP policy
Without this change, using the queue type dropdown will raise exceptions that can only be seen in the JS console.

Follow-up to #768

Thanks to @gerhard for finding this.
2020-02-05 19:08:49 +00:00
Luke Bakken a4ae371aa6 Revert "Fixes a function_clause in httpc:request/5"
This reverts commit 234b1341a0.
2020-02-01 16:44:33 +00:00
Michael Klishin 234b1341a0 Fixes a function_clause in httpc:request/5
Since get_static is not a method/verb httpc supports.
2020-02-01 16:12:39 +03:00
Luke Bakken 4a31161482 Add test for CSP headers
Tests both API call and static file

Part of #767

Depends on rabbitmq/rabbitmq-ct-helpers#37
2020-01-31 22:30:06 +00:00
Luke Bakken 1233b19548 Set CSP headers for static content requests
Fixes #767
2020-01-31 20:04:53 +00:00
Luke Bakken 321abea303 Allow ;charset=utf-8 in content-type header
Addresses this comment:
https://github.com/rabbitmq/rabbitmq-management/pull/765#issuecomment-577573965
2020-01-23 07:51:05 -08:00
Luke Bakken 698bb00575 Always allow OPTIONS for /api/login 2020-01-22 15:59:41 -08:00
dcorbacho 562024eb77 Add missing web module 2020-01-22 16:35:51 +01:00
dcorbacho 723133f493 POST /login endpoint
Closes #764
2020-01-17 12:50:33 +01:00
Michael Klishin 2e4255c1e7 (c) bump 2019-12-29 05:50:30 +03:00
Michael Klishin b1d111e9df Drive by change: reduce cyclomatic complexity highlighted by linter 2019-12-24 21:38:09 +03:00
Michael Klishin 7082cd1f9a Drive by change: address a couple of linter warnings 2019-12-24 21:03:21 +03:00
Luke Bakken b2394dd6af Add support for queue_type argument
This makes it easier to specify a quorum queue when creating a queue.

Otherwise, the awkward `arguments={x-queue-type:quorum}` argument must be used

Fixes #761
2019-12-24 09:59:42 -08:00
Luke Bakken 4493c1f7c3 Fix misplaced brace
Fixes #758
2019-12-13 13:46:26 -08:00
Jean-Sébastien Pédron e23188dcb5 Git: Ignore copied CLI 2019-12-12 14:55:42 +01:00
Jean-Sébastien Pédron 1d89974dbc Update rabbitmq-components.mk 2019-12-12 13:14:54 +01: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
Michael Klishin 93f051ad77 A follow-up to f502aa7f34, rabbitmq/rabbitmq-server#2171 2019-11-27 08:00:03 +03:00
Michael Klishin f502aa7f34 Adapt another test for rabbitmq/rabbitmq-server#2171 2019-11-27 07:30:38 +03:00
Michael Klishin 10a69d2774 Merge pull request #755 from velimir/replace-chsrc-with-authz-context
pass authorisation context instead of channel source
2019-11-26 02:28:10 +03:00
Michael Klishin 965ac8440d Adapt a test for rabbitmq/rabbitmq-server#2171 2019-11-22 20:56:33 +03:00
Grigory Starinkin d3c6f0d5dc pass authorisation context instead of channel source
changes introduced by in the latest broker version
2019-11-20 11:46:15 +00:00
Michael Klishin 80d5636318 Forward more functions moved to rabbit_misc 2019-11-20 02:28:59 +03:00
Michael Klishin ba2945eb5d Merge pull request #750 from rabbitmq/rabbitmq-management-749
Move definition import machinery to core
2019-11-19 02:27:34 +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 258e2b84f2 Definition import: refactor for future ctl command 2019-11-15 07:15:22 +03:00
Michael Klishin 157bd21daf Inline 2019-11-14 05:22:24 +03: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
Michael Klishin 045f9775f4 Move definition import machinery to core
Part of #749.
2019-11-12 03:30:48 +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
Michael Klishin 9887b7672d Travis CI: test on Ubuntu Bionic 2019-10-18 08:37:23 +03:00
Michael Klishin 90e31e2bf8 Merge pull request #742 from rabbitmq/rabbitmq-management-741
is_classic should return true if x-queue-type not present
2019-10-01 23:12:22 +03: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 1523115adb Ensure all data is read for multipart data
Fixes #739
2019-10-01 10:12:55 -07:00
Luke Bakken fcd83bc287 Add test that fails for rabbitmq-management#739
fixup
2019-10-01 10:12:54 -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
kjnilsson 71dcecd0af Update rabbitmq-components.mk 2019-09-13 10:32:52 +01:00
Michael Klishin 0680e77d70 README updates 2019-09-13 00:00:00 +03:00
Michael Klishin 0b91f96e16 (c) year 2019-09-12 23:58:45 +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
kjnilsson 48a15c7d9d Update rabbitmq-components.mk 2019-09-04 10:30:59 +01: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
Jean-Sébastien Pédron 8467f0a076 Update erlang.mk 2019-08-29 20:45:18 +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
Diana Corbacho 14d6f31910 Replace timer:send_after/3 by erlang:send_after/3
[#167926549]
2019-08-17 20:06:33 +01:00
Michael Klishin 8a63db9d36 Bump Lager to 3.8.0 2019-08-11 01:50:22 +10:00
Gerhard Lazu c5b1d07ada Ensure that a request without auth header does not return a basic auth prompt
When basic auth is disabled, we don't want to display the basic auth
prompt just to return the same 401 that we would because basic auth is
disabled.

rabbitmq/rabbitmq-management#724

[#158496849]
2019-08-08 18:30:42 +01:00
Michael Klishin 14c913f528 Naming 2019-08-08 00:34:07 +03:00
Diana Corbacho ebabd54fae Validate flags to disable features on runtime
[#167754496]
2019-08-07 17:32:51 +01: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
Jean-Sébastien Pédron 5a5f928b77 Update erlang.mk 2019-08-02 09:54:05 +02:00
Michael Klishin 42c09c2985 Update rabbitmq-components.mk 2019-08-01 17:13:17 +03:00
Michael Klishin 30aab02218 Wording 2019-08-01 17:00:03 +03:00
Arnaud Cogoluègnes 8cf4c1513a Document how to get short-lived OAuth token
In OAuth testing seed script.

[#158496811]
2019-07-31 14:44:24 +02:00
Diana Corbacho b48265a8c1 Allow redirect to any RMQ page from UAA
[#158496811]
2019-07-31 10:40:00 +01:00
Diana Corbacho 689e8376e8 Reverse case clause
[#158496849]
2019-07-30 23:28:14 +01:00
Diana Corbacho c9d054ea66 Disable basic auth for definitions
[#158496849]
2019-07-30 16:19:33 +01: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
Michael Klishin ceea3f9589 Update tests 2019-07-27 15:23:12 +03:00
Michael Klishin 2e0b6146d0 Parse routing keys with values of `null` and `undefined` to their respective atoms
See #723 for background.

Currently there are three main ways to declare a binding:

 * Use an AMQP 0-9-1 client
 * Use an HTTP API client
 * Definition import

For the sake of this change we will fold the latter two options into
one as they are effectively identical as far as data formats go.

An HTTP API client can do things that an AMQP 0-9-1 would not be able
to because of framing/parser/generator restrictions, and vice versa.

With HTTP API and definition import the following importance

 * When a binding is added, routing key can be omitted or set to `null` 
(or `undefined`)
 * When a binding is deleted, a blank routing key can only be specified
   using a convention since an empty URI path arguments are not 
supported
   by Cowboy REST and would make no sense to the developer.

Omitted or `null` `routing_key` values are parsed to their respective 
atoms.
Those atoms are then stored in binding records. When a binding is 
retrieved
or deleted (the case in #723), the conventionally encoded routing key 
that
contained "null" for name was parsed to "null" (a string). This 
discrepancy
led to false 404 responses from the API.

Note that this solution is merely a band aid over a fundamental 
difference
in two APIs. Rejecting `null` or undefined values might be a better 
option
but we cannot adopt it in 3.7.x. It remains to be discussed whether that
would improve user experience.

Another problematic scenario is routing keys with the value of "null"
(a string) used at binding time. This change would break deletion for
those. We'll assume that no developer would intentionally use such
routing key as the confusion and risk are more or less obvious.
2019-07-27 10:22:51 +03: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
Arnaud Cogoluègnes ba983926c2 Clean seed script to OAuth demo
[#158496811]
2019-07-24 15:27:36 +02:00
Diana Corbacho 09977a9e9b Document /auth endpoint
[#158496811]
2019-07-24 12:53:01 +01:00
Diana Corbacho 10a8c61c2b Test /auth endpoint
[#158496811]
2019-07-24 12:31:39 +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 b02243523f Update exports and tests for 4960f0117d
References #711, #715.
2019-07-16 20:14:57 +03:00
Michael Klishin 4960f0117d Don't report defs import progress using 102 Processing
It is problematic for some client libraries, as demonstrated
in #715 (37ac01a922).

So this undoes a part of #711 but keeps the timeout disabled on the
HTTP API end.

Per discussion with @acogoluegnes.

References #711, #715.
2019-07-16 17:17:37 +03:00
Michael Klishin 37ac01a922 rabbitmqadmin: accept 102 Processing responses
Follow-up to #711, closes #715.

This avoids an exception when rabbitmqadmin receives a 102 Processing
response. However, this does not make the operation wait for
the import to complete, so we treat it as we would a 202 Accepted
response.

The sequence of responses for a long running import operation is
something like this (in pseudo code, not actual HTTP 1.1):

102 Processing
102 Processing
102 Processing
102 Processing
204 No Content

Unfortunately Python's httplib implicitly assumes that there can only
be one response per request, and its state machine throws exceptions
when the user attempts to consume multiple responses on a persistent
connection.
2019-07-12 21:12:17 +03:00
Arnaud Cogoluègnes bc19b794fb Update rabbitmq-components.mk 2019-07-09 16:05:59 +02: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
Jean-Sébastien Pédron c8415b63ce Update rabbitmq-components.mk 2019-06-28 16:05:32 +02:00
Jean-Sébastien Pédron 30fc84c2d8 Update erlang.mk 2019-06-28 16:02:12 +02:00
Michael Klishin 33a93d7a93 Merge pull request #711 from rabbitmq/definitions_import_timeout
Definitions import timeout
2019-06-18 15:59:54 +03:00
Michael Klishin 521da23dba Prefer assertMatch over pattern matching for better failure reporting 2019-06-18 15:29:57 +03:00
Michael Klishin ce43e78a0b Log message wording 2019-06-18 15:28:53 +03:00
Michael Klishin ec1cdc9a86 Use fewer vhosts in this test 2019-06-18 00:45:47 +03:00
Daniil Fedotov a0d7382b80 Report definitions import progress to the client.
This does not address the idle_timeout issue, but may
prevent clients from timing out and closing connection
when importing definitions.
2019-06-17 16:31:47 -04:00
Daniil Fedotov dc54d87a75 Test long definitions import 2019-06-17 16:31:19 -04:00
Daniil Fedotov e9c607f7cb Disable idle_timeout for definitions import.
Long definitions may take longer to imprt and the timeout does not
make much sense after request was received.

This may be not the best way to configure this setting.
2019-06-17 16:16:19 -04:00
Daniil Fedotov 6083eb0bef Propagate validation error when importing definitions from a directory.
When definitions import fails it returns {error, Reason}, which is ignored
when importing multiple definitions and fails silently.
Fix that by checking result of every import.
2019-06-17 11:19:58 -04:00
Diana Corbacho d98e5dbe77 Merge remote-tracking branch 'origin' into management-only-api 2019-06-11 13:52:22 +01:00
Diana Corbacho 83d4fd71b3 Test disabling the stats on the HTTP API using the query string
?disable_stats=true

[#166445368]
2019-06-11 13:24:25 +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 babd2cac88 Merge branch 'master' into rabbitmq-server-1767-protocol-specific-ctx-in-authn-authz 2019-06-07 19:53:44 +03: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
Gerhard Lazu 625597d5a7 Update rabbitmq-components.mk 2019-06-03 02:23:38 +01:00
Arnaud Cogoluègnes bf0a0d3e21 Call rabbit_access_control:check_vhost_access with empty context
Nothing much to propagate here.

References rabbitmq/rabbitmq-server#1767
2019-05-29 15:49:37 +02:00
Daniil Fedotov c23c3353a6 Add reject-publish-dlx to the help message in rabbitmq-management UI. 2019-05-29 09:26:08 -04:00
Jean-Sébastien Pédron 6bb6ec06b1 Update rabbitmq-components.mk 2019-05-17 15:17:19 +02:00
Michael Klishin 77ce683822 Update rabbitmq-components.mk 2019-05-17 08:36:45 +03:00
Michael Klishin 98d13c7ba4 Update rabbitmq-components.mk 2019-05-16 23:22:52 +03:00
Luke Bakken e9ed88277d Allow but ignore charset if set for HTTP request
Fixes #703
2019-05-14 12:46:41 -07:00
Michael Klishin 622514276b Update rabbitmq-components.mk 2019-05-14 11:50:50 +03:00
Michael Klishin 8a669b8398 Update rabbitmq-components.mk 2019-05-13 16:45:41 +03: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
Gerhard Lazu 466c815110 Update rabbitmq-components.mk 2019-05-01 13:18:15 +01:00
Luke Bakken 420aa9cb98 Update rabbitmq-components.mk 2019-04-30 16:20:57 -07:00
Jean-Sébastien Pédron 276141dadc Update rabbitmq-components.mk 2019-04-30 14:47:31 +02:00
Michael Klishin 47650d2908 Merge sendfile default using maps 2019-04-29 22:22:56 +03:00
Daniil Fedotov 26e01b365b Disable sendfile in cowboy by default.
Kernel sendfile can behave weirdly sometimes:
https://groups.google.com/forum/#!msg/rabbitmq-users/jyqVkwP_a24/qwWectTcCgAJ
Sendfile functionality should not impact performance much and
may be disabled by default.
It still can be enabled via cowboy_options.

[#164633826]
2019-04-25 17:30:40 -04: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 67f7e9b802 Hide drop_unroutable metric behind a feature flag
For mixed version cluster compatibility per
suggestion from @dumbbell.

Pair: @dcorbacho.

Part of rabbitmq/rabbitmq-server#1904.

[#165548314]
2019-04-24 18:14:33 +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
Gerhard Lazu 84641f59c8 Add stats HTTP redirect test 2019-04-24 10:24:39 +01: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 28d603f5d0 Fix missed rabbitmq-components.mk update 2019-04-23 20:57:53 +01: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
Gerhard Lazu da2828ae93 Merge pull request #691 from rabbitmq/disable-metrics-collection
Stop management application if metrics collection is disabled
2019-04-22 17:38:53 +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
Michael Klishin ac7ab8c9e8 Update a test to be forward compatible with rabbit:status/0 format changes
See rabbitmq/rabbitmq-cli#340.
2019-04-12 13:14:02 +04: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 cb620dfccc Stop management application if metrics collection is disabled
[#164376052]
2019-04-10 20:11:29 +01:00
Daniil Fedotov db0e02ca86 Merge pull request #690 from rabbitmq/queue-type-column
Add queue type column in queues page
2019-04-09 16:59:58 -04:00
Diana Corbacho c0ae5cc429 Add queue type column in queues page
[#164890944]
2019-04-05 13:44:44 +01:00
Michael Klishin e238ffdabe Naming: catch_no_user_vhost => catch_no_such_user_or_vhost 2019-04-05 15:37:07 +04:00
Diana Corbacho d66d378208 Hide SAC label if x-single-active-consumer=false
[#164890920]
2019-04-05 12:14:32 +01:00
Daniil Fedotov 915af29bbb Catch failures when there is no user/vhost.
list_permissions operations may throw an exception if user/vhost
does not exist. Handlers use dirty_read to check for users/vhosts,
which is not enough if there is a concurrent deletion.
Return 404 instead of 500 in such cases.
2019-04-04 18:14:16 -04:00
Daniil Fedotov 8762881b0b Fix function clause in bindings when using CORS headers. Enable OPTIONS method for bulk delete.
Bug reported in https://groups.google.com/forum/#!topic/rabbitmq-users/AtGYGGhxODc
When using CORS headers, bindings endpoint was failing with function clause.
rabbit_mgmt_wm_bindings module is using non-standard handler state, which was
unmatched with undefined.
2019-04-04 10:46:26 -07:00
D Corbacho 9aa4a4bc2a Merge pull request #684 from rabbitmq/rabbitmq-auth-backend-cache-20
Convert check_vhost_access/3 to new API
2019-03-31 23:23:19 +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
Daniil Fedotov 042b01ff10 Sort the list of exchange types returned by the HTTP API 2019-03-27 16:09:54 -04: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
Luke Bakken daaeb91a75 Convert check_vhost_access/3 to new API
Part of rabbitmq/rabbitmq-auth-backend-cache#20
2019-03-22 13:19:19 -07: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 4a3c8c0cc5 Travis: use Erlang 21.3, Elixir 1.8.1 2019-03-20 10:33:16 +03:00
Michael Klishin 34c756c9d0 Update rabbitmq-components.mk 2019-03-15 09:34:38 +03:00
Michael Klishin 7fabfe20cd Update rabbitmq-components.mk 2019-03-15 05:05:46 +03: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 7fbe477fe0 Cosmetics 2019-03-12 04:39:35 +03:00
Michael Klishin c57092db42 Add some tests for #665 2019-03-12 04:30:39 +03:00
Michael Klishin 79b9c2ce3c Update rabbitmqctl(8) man page link 2019-03-11 19:57:02 +03:00
Luke Bakken fc5bb1962f Add some error logging 2019-03-08 07:52:37 -08:00
Luke Bakken 1ad4bf7752 file:list_dir does not include directory itself 2019-03-07 16:24:55 -08: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 f312aa63db Merge pull request #669 from rabbitmq/remove-unused-put-from-vhost-limits-endpoint
/api/vhost-limits/{vhost} does not support PUT
2019-03-05 14:32:58 -08:00
Luke Bakken 1a762c3044 Merge pull request #668 from rabbitmq/rabbitmq-management-667
rabbitmqadmin: add a missing mandatory parameter to {declare,delete} vhost_limit
2019-03-05 13:15:03 -08:00
Michael Klishin 106ab8b037 /api/vhost-limits/{vhost} does not support PUT
There is no UI that allows for N limits to be changed,
no docs for PUT support and no code to handle the updates.

Originally added in 6ead3724f3 without
much detail.

References #666.
2019-03-05 22:25:47 +03:00
Michael Klishin b866079c06 rabbitmqadmin: add a missing mandatory parameter to {declare,delete} vhost_limit
Closes #667, references #666.
2019-03-05 22:14:12 +03: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
Michael Klishin 2845d0124a Merge pull request #663 from rabbitmq/fix-missing-queue-consumers
Change stats merge function to concatenate strings
2019-03-01 21:38:16 +03:00
kjnilsson 2119a81795 Change stats merge function to concatenat strings
As else when consumers are spread across a cluster they are not all
returned when viewed from the queue page.

[#164302066]
2019-03-01 14:40:28 +00:00
kjnilsson e0cbdcf4b9 Add delivery limit argument
To queue create and policy definition pages

[#163513253]
2019-02-25 13:44:58 +00:00
Ayanda Dube c02c76ecd3 set channel source (as ?MODULE) for the
rabbit_channel:handle_method/6 rpc call
executed in rabbit_mgmt_util.

reference: rabbitmq-server#1886
2019-02-18 11:43:11 +01: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 d1d8bebdce spelling: requested 2019-02-12 23:58:38 -05:00
Josh Soref fec7eeda57 spelling: rabbitmq 2019-02-12 23:57:57 -05:00
Josh Soref 39edac6c5b spelling: protocol 2019-02-12 23:57:35 -05:00
Josh Soref 56b095f7aa spelling: policy 2019-02-12 23:57:04 -05:00
Josh Soref d765c48cba spelling: macro 2019-02-12 23:53:17 -05:00
Josh Soref f276f7e24e spelling: javascript 2019-02-12 23:52:22 -05:00
Josh Soref b1b5213896 spelling: integer 2019-02-12 23:51:50 -05:00
Josh Soref 42e13a82fe spelling: github 2019-02-12 23:51:09 -05:00
Josh Soref 1c1c6b945c spelling: definitions 2019-02-12 23:49:01 -05:00
Josh Soref 1d319226af spelling: augmentation 2019-02-12 23:47:49 -05:00
Josh Soref 3443bbb140 spelling: abstract 2019-02-12 23:43:46 -05:00
Michael Klishin d0b43feb94 Use rabbit_mgmt_util:read_complete_body/1 in several more places
Part of #657.
2019-02-11 03:20:35 +03:00
Michael Klishin 4aaf086ebe Consume request body in full
Closes #657.
2019-02-11 02:49:04 +03:00
Jean-Sébastien Pédron 281e2f16d5 rabbit_mgmt_db: Add the new `active` and `activity_status` fields in consumer stats
... if they are missing.

This is the case for consumer stats returned by a RabbitMQ 3.7.x node.

[#163298456]
2019-02-04 17:24:11 +01:00