Stefan Moser
c3f218d1b7
add default-queue-type to vhost declaration
2024-09-25 13:21:14 -07:00
Michael Klishin
f414c2d512
More missed license header updates #9969
2024-02-05 11:53:50 -05:00
Alex Valiushko
db99c252a0
Add setting to disable op policy edit via API
2023-02-06 14:36:10 -08:00
Florian Wolfsjäger
648812ee11
Fixed reading SSL settings from rabbitmqadmin config file
...
Fixed reading boolean values from rabbitmqadmin config file
2022-04-01 17:48:04 +02:00
Michael Klishin
ea284ce47e
Manually apply ideas from #4141 (contributed by @ktdreyer)
2022-02-12 10:30:57 +03:00
Luke Bakken
2c23acf988
MPL 2 license update for bin/rabbitmqadmin
2020-07-27 08:31:13 -07: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
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
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
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
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
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
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
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
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&sort_reverse=true&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
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
cfb8cc58e6
Update rabbitmqadmin
...
Update copyright range
2019-01-30 14:33:05 -08:00
Michael Klishin
1be609113b
Two more warnings
2019-01-31 00:50:45 +03:00
Michael Klishin
6c2e9fbb82
Fix almost all Flake8/pycodestyle warnings
2019-01-31 00:43:41 +03:00
Michael Klishin
f04c8ef144
Define ConnectionRefusedError on Python 2.x
...
Closes #647 , references #651 .
2019-01-16 06:41:55 +03:00
Michael Klishin
6fbfab1449
declare user: support --hashing_algorithm, improve mandatory option formatting, more tests
...
References #641 .
2018-12-25 12:49:28 +03:00
John W Higgins
bb18616744
Allow for password_hash instead of password when declaring users
2018-12-24 12:01:47 -08:00
Michael Klishin
489f79601e
Mention "seconds" here as well
2018-08-02 00:40:53 +03:00
Luke Bakken
b495222785
no need for aliased exception
2018-08-01 14:37:52 -07:00
Luke Bakken
3049dd49a0
update request timeout docstring
2018-08-01 14:35:33 -07:00
Luke Bakken
1310bc6e70
Print request timeout value when socket.timeout happens, more friendly connection refused formatting
2018-08-01 14:33:20 -07:00
Luke Bakken
c2530b5882
More friendly display of timeout error and other exceptions that getresponse may raise
2018-08-01 14:20:03 -07:00
Michael Klishin
7299aac612
rabbitmqadmin: introduce a new flag, --request-timeout
...
Closes #593 .
[#159479698 ]
2018-08-01 23:36:02 +03:00
AnupAnand
2f6c72e557
Using quote() instead of quote_plus()
2018-05-25 13:07:15 +05:30
AnupAnand
b2be22d5c3
Replaced '+' encoded space with "%20"
2018-05-24 23:23:01 +05:30
AnupAnand
b8eecc6ea2
Fixed quote() breaking 'list' subcommand
2018-05-24 23:03:03 +05:30
AnupAnand
db6c3201ed
Replaced quote_plus() with quote()
2018-05-24 22:35:53 +05:30
AnupAnand
e070ce492f
Fix to replace encoded space as '%20' instead of '+'
...
If the string already contains '+' character, quote_plus() will encode it to '%2B'.
2018-05-24 22:15:29 +05:30
Michael Klishin
6dbab7eee4
A more explicit version of #569 by @pjmyburg
...
Perhaps not very idiomatic but communicates the intent.
Closes #568 .
2018-05-04 04:52:24 -05:00
Jaco Myburg
31f13aaba7
only call maybe_utf8 if val is not None
2018-05-04 10:54:40 +02:00
Michael Klishin
13da0145a5
Merge branch 'stable'
...
Conflicts:
priv/www/js/global.js
priv/www/js/tmpl/queue.ejs
2017-08-06 17:26:58 +03:00
Luke Bakken
b58e82809d
Add option to disable all SSL verification
...
Fixes #452
2017-08-02 10:27:59 -07:00
Michael Klishin
2891c6ad00
Merge branch 'stable'
2017-07-27 23:40:16 +03:00
Michael Klishin
8625594bf6
Handle float rate values
...
This applies a change proposed by @JagmohanP in #457 .
Closes #457 .
2017-07-27 17:06:45 +03:00
Michael Klishin
2ef40ad07c
Merge branch 'stable'
...
Conflicts:
test/rabbit_mgmt_http_SUITE.erl
2017-07-19 04:25:39 +03:00
Michael Klishin
b46342cf99
Merge pull request #439 from rabbitmq/rabbitmq-management-437
...
rabbitmqadmin: add --base-uri
2017-07-19 04:19:57 +03:00
Luke Bakken
550e542b1b
Catch ImportError, thanks Windows!
2017-07-18 16:51:58 -07:00
Luke Bakken
8d6be84b11
Add SIGPIPE handling
...
When piping the output of a Python program, it is possible that SIGPIPE will be raised
and the interpreter will throw an exception. More information here:
http://newbebweb.blogspot.com/2012/02/python-head-ioerror-errno-32-broken.html
2017-07-18 16:51:49 -07:00
Michael Klishin
bd0397ff5d
rabbitmqadmin: add --base-uri
...
When specified, hostname, port, username and password
are taken from the URI. URI path is intentionally ignored
because AMQP(S) URIs use path to configure target virtual host
but HTTP APIs typically use URI paths to specify an endpoint
prefix (--path-prefix in rabbitmqadmin).
To avoid confusion we log a warning and ask the user to
specify --vhost and/or --path-prefix explicitly.
Closes #437 .
2017-07-19 01:01:53 +03:00