Commit Graph

90 Commits

Author SHA1 Message Date
Michael Klishin 2229d41e40 Merge branch 'stable' 2017-04-02 21:55:27 +03:00
Michael Klishin 48091e9d18 (c) year 2017-04-02 21:47:07 +03:00
Arnaud Cogoluègnes 72a844dd76 Implement check_topic_access callback
References rabbitmq/rabbitmq-server#505
2016-12-29 08:58:10 +01:00
Arnaud Cogoluègnes 81f7dc9d7d Support topic authorisation
Forward all the options of the resource record to the web server
as HTTP parameters. This will then add a routing_key parameter to
the resource check request.

References rabbitmq/rabbitmq-server#505
2016-12-23 12:27:12 +01:00
Jean-Sébastien Pédron 112ce577b9 Merge branch 'stable' 2016-12-07 15:31:29 +01:00
Jean-Sébastien Pédron 33d450dfe1 Move from .app.src to Makefile variables
This is the recommended way with Erlang.mk.

By default, the version is inherited from rabbitmq-server-release when
the source archive is created, or computed from git-describe(1) (see
`rabbitmq-components.mk`). One can override the version from the command
line by setting the `PROJECT_VERSION` variable.

[#130992027]
2016-12-06 15:28:04 +01:00
Jean-Sébastien Pédron fcaee75d74 Drop dependency to mochiweb
mochiweb_util is provided by rabbitmq-common.
2016-12-02 15:43:15 +01:00
Loïc Hoguin 991f4caaf8 Rename mochiweb_util to avoid conflicts 2016-11-24 16:04:55 +01:00
Loïc Hoguin 2af4ce8b85 Remove the dependency on mochiweb
It was only using mochiweb_util, which was moved to rabbit_common.
2016-11-08 15:23:28 +02:00
Jean-Sébastien Pédron bac7c0aad2 Merge branch 'stable' 2016-09-23 14:48:25 +02:00
Jean-Sébastien Pédron d54b5dd70e rabbitmq_auth_backend_http.app: Depend on rabbit_common and rabbit 2016-09-19 12:57:28 +02:00
Michael Klishin 6c6bd11bb9 Merge branch 'stable' 2016-05-16 13:59:57 +03:00
Michael Klishin daefdb29df Cosmetics 2016-05-16 13:57:11 +03:00
Daniil Fedotov 249e018a88 Translate tabs to spaces 2016-05-16 10:40:37 +01:00
abdul_razzak_alkel ba71de1c44 fix for undefined address 2016-05-16 10:38:49 +01:00
abdul_razzak_alkel a9f64548b5 pass client ip address in vhost path 2016-05-16 10:38:49 +01:00
Michael Klishin e0b2649869 Merge branch 'stable' 2016-04-28 11:15:28 -05:00
Daniil Fedotov 6bcdaa6cda Add ssl options to httpc request 2016-04-28 16:31:08 +01:00
Jean-Sébastien Pédron efaad4d004 Merge pull request #31 from rabbitmq/rabbitmq-server-735
Set broker version requirements
2016-04-28 15:43:54 +02:00
Daniil Fedotov 9daadc05ca Set broker version requirement 2016-04-28 11:44:33 +01:00
Daniil Fedotov 686891a752 Naming 2016-04-27 15:28:28 +01:00
Daniil Fedotov 66d6a8841c Use GET by default 2016-04-27 11:50:09 +01:00
Daniil Fedotov 6202eaef9c Configurable method for http parameters 2016-04-27 11:50:09 +01:00
Ryunhee Han c097f90366 Move GET to POST of request method 2016-04-27 11:50:09 +01:00
Daniil Fedotov 910cc661c2 Stub for broker_version_requirements 2016-04-22 14:42:18 +01:00
Michael Klishin 5d1c781f3a Inline, remove dead code 2016-03-24 00:46:57 +03:00
Michael Klishin efd3ad784c Wording 2016-03-24 00:46:29 +03:00
Daniil Fedotov 3e595357ea Use HTTP/1.1 Retry on connection failures.
Requests using HTTP/1.1 and keepalive can fail with socket_closed_remotely if keepalive connection is closed.
Added retry to handle connection closing. Retry set to 3 to avoid infinite loop.
2016-03-21 12:31:23 +00:00
Michael Klishin 82f822c052 Update (c) info 2016-01-01 12:59:16 +03:00
Jean-Sébastien Pédron 181c2ac607 rabbitmq_auth_backend_http.app: Clear version field 2015-12-01 17:28:41 +01:00
Simon MacMullen 884efb2979 Updates to the API for 3.5.0. Fixes #8, #9. 2015-03-12 11:23:40 +00:00
Simon MacMullen 2b167b9cc8 Use mochiweb instead of edoc for quoting. Adds another plugin dependency, but means we don't use a part of OTP that is unused elsewhere - important for the standalone release! 2013-08-29 12:39:32 +01:00
Simon MacMullen 0e795dd71f Manually add a host header. This drags in amqp_client, but it's very likely you're running that already. 2013-01-16 11:25:34 +00:00
Simon MacMullen 8eddc6861c That hrl has gone away. 2012-04-17 11:35:26 +01:00
Simon MacMullen 27a7a83cd9 Debitrot: tags not admin flag, simpler vhost permissions. 2011-12-01 11:36:42 +00:00
Simon MacMullen 5c56837f3c Debitrot: move .app source. 2011-12-01 11:35:52 +00:00
Simon MacMullen dad3e021a3 Duh. 2011-04-04 17:34:06 +01:00
Simon MacMullen 803487626b Set is_admin properly. 2011-03-24 16:38:14 +00:00
Simon MacMullen b3b1f99771 Add an example, and use it. 2011-03-24 16:15:30 +00:00
Simon MacMullen 9f606de0ce Simple HTTP-based authentication / authorisation for RabbitMQ. 2011-03-24 14:57:43 +00:00