Commit Graph

341 Commits

Author SHA1 Message Date
Simon MacMullen c383acd2d2 Unify with_decode and with_decode_opts. This has been overdue and will make the next bit easier. 2011-03-10 16:49:15 +00:00
Simon MacMullen f11a34884f Do something simple to defend against non-UTF-8 headers. This is not round-trippable, but hopefully people doing binary headers are quite rare. 2011-03-10 16:34:59 +00:00
Simon MacMullen 1d2a565714 Offer a choice of encoding on get. 2011-03-10 16:33:58 +00:00
Simon MacMullen 4a5d207a15 Display payload size. 2011-03-09 16:22:58 +00:00
Simon MacMullen fcb727cba4 Merge from default. 2011-03-08 17:41:51 +00:00
Michael Bridgen 570c2e2149 Merge bug23827 2011-03-07 16:55:47 +00:00
Simon MacMullen 317d3f85f8 Merge bug23580 (Add statistics for 'basic.return') 2011-02-28 10:59:59 +00:00
Simon MacMullen b8270f4652 Make responding to a post feel more like anything else. Improve error handling and tests for same. 2011-02-25 14:16:40 +00:00
Simon MacMullen eb9514c33c Unused var 2011-02-24 17:26:57 +00:00
Simon MacMullen fafab19f6a Make round-trips between publish and get work. Fix various things to do with JSON<->AMQP structures. Tests for publishing. 2011-02-24 17:17:33 +00:00
Simon MacMullen 1383290ef9 The start of a publish mechanism. 2011-02-23 17:59:34 +00:00
Simon MacMullen a59ecdcc4b Merge from default. 2011-02-23 17:17:46 +00:00
Michael Bridgen 89674606c0 Use the new forms of rabbit_webmachine:setup/1 and makeloop/1 2011-02-23 14:53:07 +00:00
Michael Bridgen 4ca3a1b68a Use the setup procedure to make sure webmachine has the correct magic pixie dust in its environment 2011-02-22 17:16:28 +00:00
Michael Bridgen 73de7e6aa9 Avert downfall of civilisation (cosmetic) 2011-02-22 14:21:41 +00:00
Michael Bridgen 17865cc33f Ops, set webmachine tracing off by default. 2011-02-22 14:15:08 +00:00
Simon MacMullen 5ffcc07eb3 Get more than one message at a time from the queue, allow noack=false (will inevitably requeue messages). 2011-02-22 14:00:20 +00:00
Simon MacMullen 2026b80b84 hg add is a wonderful tool. 2011-02-21 18:21:44 +00:00
Simon MacMullen 9e0cf7e6b3 This is my attempt at HTTP messaging. There are many like it, but this one is mine. 2011-02-21 18:20:33 +00:00
Michael Bridgen 00c9b0e511 Fix reinstatement of wmtrace. To test, make the return value of a resource {{trace, /tmp}, State} 2011-02-21 16:48:34 +00:00
Michael Bridgen 3c6bdefcf8 Reinstate wm_trace 2011-02-21 14:21:15 +00:00
Michael Bridgen 254ed954fb Use rabbit_webmachine:makeloop/2, so we can coexist with other webmachine instances. This means losing wm_trace, since it uses webmachine_router, which in turn assumes that the dispatch table will be in the application env. 2011-02-21 13:44:10 +00:00
Simon MacMullen f8acbe1334 Fix breakage caused by change to Erlang client. 2011-02-21 13:18:15 +00:00
Simon MacMullen 05f4396138 Untabify 2011-02-18 10:38:41 +00:00
Michael Bridgen 5bd29a4136 Merge bug2695 2011-02-17 14:17:37 +00:00
Matthew Sackman 1ea0fdbc8d Bless the mgmt with the ability to cope with nested tables 2011-02-16 16:00:12 +00:00
Simon MacMullen 51f11e9144 Support arrays in arguments: API, and web UI for display but not input. 2011-02-11 18:04:05 +00:00
David Wragg 7c05ecc080 Move relativise into rabbit_mochiweb_util 2011-02-11 11:43:18 +00:00
David Wragg e5efb6dedc Merge bug23524 into default: URL path prefix support 2011-02-11 11:23:43 +00:00
Simon MacMullen 032ea97750 Handle nodedown errors. 2011-02-07 15:42:46 +00:00
Simon MacMullen d84dcfb8a6 Huh. That should not be there. 2011-02-07 15:40:14 +00:00
Simon MacMullen 892bd64ddb rabbit_misc:makenode/1 2011-02-07 15:21:00 +00:00
Simon MacMullen d079a5540f Control which node a queue is created on 2011-02-07 14:59:30 +00:00
Marek Majkowski cf5efcfd45 Treat basic_return immediate/mandatory differently 2011-02-04 13:40:15 +00:00
Marek Majkowski a59f920776 Default merged into bug23580 2011-02-04 12:09:20 +00:00
Simon MacMullen a641db12a0 This gets moved to -agent. 2011-02-01 10:38:21 +00:00
Marek Majkowski e042819eb1 bug23154 (ipv6) merged into default 2011-01-24 12:36:21 +00:00
Simon MacMullen 7fe921d735 Merged in default 2011-01-21 12:55:23 +00:00
Simon MacMullen 9181e18794 rabbit_mgmt_util:vhosts/1 doesn't exist any more since bug 23455. Fix, add a test for the non-admin case, look embarrassed. 2011-01-20 14:54:41 +00:00
Simon MacMullen ebe4238628 Don't rename functions just before committing. 2011-01-12 17:19:30 +00:00
Simon MacMullen 47e1ffa58e Relative location header when creating a binding by POST. 2011-01-12 17:17:02 +00:00
Emile Joubert f87cacd8d1 Merged bug23384 into default 2011-01-10 11:12:56 +00:00
Simon MacMullen a2ad8dd190 This has been there since forever, but it's not really useful. And never worked. 2011-01-07 17:46:33 +00:00
Simon MacMullen 3bdcf2b661 Merge from default. 2011-01-07 16:55:51 +00:00
Simon MacMullen 935b39c2f4 Compile on R12B5. 2011-01-07 10:39:04 +00:00
Rob Harrop 18bda60953 Merge bug23455 into default 2011-01-06 14:23:18 +00:00
Simon MacMullen 50ffacab57 Format IPv4-mapped IPv6 addresses as IPv4, put brackets round IPv6 addresses that are adjacent to colons. 2011-01-05 15:50:48 +00:00
Simon MacMullen bd75703491 Merge in default 2010-12-21 17:22:13 +00:00
Simon MacMullen 22bcccb26b Cosmetic. 2010-12-21 13:03:37 +00:00
Simon MacMullen b8cc1a3c55 Split rabbit_access_control up. 2010-12-21 13:00:38 +00:00