Commit Graph

324 Commits

Author SHA1 Message Date
Simon MacMullen 52e42e51b3 Nicer mirroring bit of the form. Generalise the way form controls can hide each other. 2011-05-25 15:50:31 +01:00
Simon MacMullen 15a264d4cc Add explicit UI for all current arguments. The x-mirror one is not very good though. 2011-05-25 13:51:05 +01:00
Simon MacMullen 88906280c1 Minimal support for mirrored queues. 2011-05-25 11:58:56 +01:00
Simon MacMullen 9e7193f30d Figure out what extensions are installed by looking for the behaviour rather than requiring them to register. Make the main mgmt plugin into an "extension". 2011-05-06 16:01:20 +01:00
Simon MacMullen 3379b9088e Make the main dispatcher into a dispatcher module. Ensure that it doesn't matter what order the dynamically loaded files end up getting loaded in. 2011-05-06 14:39:09 +01:00
Simon MacMullen cc1a2901c2 Extensions should not just be a list of strings. 2011-05-06 11:20:59 +01:00
Simon MacMullen d17beba0c0 Dynamically load extra Javascript, allow additions to the client side dispatcher. 2011-05-05 18:30:45 +01:00
Michael Bridgen a051815bb9 Merge in default 2011-04-08 17:00:05 +01:00
Simon MacMullen 130ecb9576 Show vhosts in the users list, users in the vhosts list, and warnings on both. 2011-03-31 17:17:05 +01:00
Simon MacMullen ae2fb49424 Only get the nodes list if nodes_interesting (which implies user is administrator). 2011-03-24 17:00:16 +00:00
Emile Joubert a168ae5acd Merged bug23373 into default 2011-03-17 09:56:21 +00:00
Simon MacMullen cebf52a969 Oops, important difference. 2011-03-16 11:34:55 +00:00
Simon MacMullen 395d742689 Unify the handling of bad response codes between with_req and sync_req. 2011-03-16 11:11:13 +00:00
Simon MacMullen c4583c1ba1 Hide passwords in the web UI 2011-03-08 18:43:14 +00:00
Simon MacMullen 46456f74bf Fix delivery mode. 2011-02-25 14:27:09 +00:00
Simon MacMullen bea702e509 Make a much nicer publish form, and fix a couple of bugs with multifields along the way. 2011-02-25 14:17:27 +00:00
Simon MacMullen 1383290ef9 The start of a publish mechanism. 2011-02-23 17:59:34 +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 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 5bd29a4136 Merge bug2695 2011-02-17 14:17:37 +00:00
Simon MacMullen cc5b28f6df Merge in default. 2011-02-16 15:28:13 +00:00
Simon MacMullen 9305abb516 Basic support for arrays in arguments for the web UI. 2011-02-15 11:42:06 +00:00
Simon MacMullen b5a47a550a x-message-ttl is an integer argument. 2011-02-15 11:35:16 +00:00
David Wragg e5efb6dedc Merge bug23524 into default: URL path prefix support 2011-02-11 11:23:43 +00:00
Simon MacMullen d079a5540f Control which node a queue is created on 2011-02-07 14:59:30 +00:00
Marek Majkowski fc802b1a20 One line is better than two. 2011-01-28 11:12:29 +00:00
Marek Majkowski f18df26031 replaceWith is much better than innerHTML 2011-01-28 11:11:02 +00:00
Simon MacMullen a0303f8998 Reset the counter on focus rather than form submit. 2011-01-27 17:18:21 +00:00
Simon MacMullen 2c742e05ef Refresh the page after at least 200 partial updates have occurred without a form being submitted. 2011-01-27 12:15:23 +00:00
Simon MacMullen 41ab1d05ee Merge in default 2011-01-21 14:17:39 +00:00
Simon MacMullen 1fc179b7ac Correct handling of "never", and insert emergency DoS preventer. 2011-01-21 11:20:01 +00:00
Emile Joubert a5bf7118f3 Merged bug23700 into default 2011-01-20 16:16:51 +00:00
Simon MacMullen 42a1f900d3 Merge from default 2011-01-20 14:57:43 +00:00
Simon MacMullen b2e5194f6d Fix the MSIE fix. 2011-01-18 13:32:47 +00:00
Simon MacMullen 0dc69dfcb6 MSIE fix. 2011-01-18 13:26:30 +00:00
Simon MacMullen 328de5bfbf Shorten the cookie length slightly more. 2011-01-17 18:13:00 +00:00
Simon MacMullen 25809ca1b5 Implicit preference: update interval. 2011-01-17 18:06:02 +00:00
Simon MacMullen 8c7e4b9c97 Cope if we somehow end up with our vhost preference set to a vhost which no longer exists. 2011-01-17 17:32:26 +00:00
Simon MacMullen 42a2c78e11 Implicit preference: vhost 2011-01-17 17:23:54 +00:00
Simon MacMullen 8fc47cc510 Implicit local preferences mechanism, and use of that to do panel visibility. 2011-01-17 17:12:03 +00:00
Simon MacMullen 69350a08c8 Context-help system. Move existing explanatory text into it and add a couple more things. 2011-01-17 13:25:21 +00:00
Simon MacMullen 361f71188e Format dates more tersely. 2011-01-14 11:45:45 +00:00
Simon MacMullen 4e808578dd Show last connect time / next connect time when server is down. 2011-01-14 11:33:34 +00:00
David Wragg bbdc065309 Merge default into bug23524 2011-01-07 16:37:54 +00:00
Simon MacMullen 160b8a9104 UI improvements. 2010-12-09 13:50:19 +00:00
Simon MacMullen f14638aebf UI for not having a password. 2010-12-08 17:40:10 +00:00
Simon MacMullen dbd8e4c418 Show permission-denied errors more clearly. 2010-12-03 14:41:26 +00:00
Simon MacMullen 640b121667 Use relative links to /api to make the app relocatable by proxies. 2010-11-19 11:37:49 +00:00
Simon MacMullen d123eb3271 Hide information on nodes and listeners from non-admins. 2010-11-12 12:33:40 +00:00
Simon MacMullen 783c145729 Only show vhost list and vhosts in lists if they're interesting. 2010-11-09 11:42:43 +00:00
Simon MacMullen a4d3ab9440 Remove applications from overview, and add it to a new per-node page. Add management version to overview instead. 2010-11-02 17:19:14 +00:00
Simon MacMullen 3275ac2dad Show cluster nodes and status, show nodes objects are on if we're clustered. 2010-10-27 17:47:15 +01:00
Simon MacMullen 8b2559b469 Make the popup appear in the centre of the screen again, remove heading, use different colours. 2010-10-15 18:11:42 +01:00
Simon MacMullen 84b5b010ac Merged bug 23376 into default 2010-10-15 17:34:08 +01:00
Simon MacMullen 2bd86cb970 Convert error popup to something that slides out and can be dismissed. Also handle better the 404 and 405 errors that can be caused by users. 2010-10-14 18:09:36 +01:00
Simon MacMullen 7dd014f0c2 View channels within a connection 2010-10-14 16:55:34 +01:00
Simon MacMullen 73b3614f05 Bugfix: don't reset the timer interval on every update(). 2010-10-14 13:15:26 +01:00
Simon MacMullen f9c7e710f8 Add support for e2e bindings to the web ui. 2010-10-14 11:21:33 +01:00
Simon MacMullen e76286fd49 List source and destination bindings for an exchange. 2010-10-13 18:21:11 +01:00
Simon MacMullen 00d8c1a214 Partial support for e2e bindings in the HTTP API. 2010-10-13 18:01:41 +01:00
Simon MacMullen ab6f1c1cd5 Get rid of "e2q", rewrite help a little. 2010-10-13 15:03:13 +01:00
Simon MacMullen dc250f3a7c Shuffle URIs around to make space for e2e bindings when they appear. 2010-10-13 14:23:37 +01:00
Simon MacMullen 72b6becb1a That's redundant now. 2010-10-12 14:21:31 +01:00
Simon MacMullen 6e07e07e18 Support arguments in the web UI. 2010-10-12 14:08:17 +01:00
Simon MacMullen 8284fed96e Sorting. 2010-10-11 17:05:06 +01:00
Simon MacMullen cafaa0179b Only vhostise the requests that need it. 2010-10-08 16:37:08 +01:00
Simon MacMullen c90665d869 Allow selection / filtering by vhosts. 2010-10-07 17:23:11 +01:00
Simon MacMullen 6278ac1468 Marek figured it out: sammy was stopping and needs to be restarted. This is less clunky all round. 2010-09-30 18:28:28 +01:00
Simon MacMullen fbce881d02 So that trick doesn't work on MSIE. 2010-09-30 18:23:46 +01:00
Simon MacMullen 573f7b27f5 Try not to break the window when downloading, don't open a new one uploading. 2010-09-30 17:53:20 +01:00
Simon MacMullen f62ffb1a6e Queue purge. 2010-09-30 17:49:28 +01:00
Simon MacMullen 2ff98c1ef6 More visual tweaks. 2010-09-30 16:36:40 +01:00
Simon MacMullen 6a99542b5a Hide unusable bits of the web UI from non-administrator users. 2010-09-30 13:19:54 +01:00
Simon MacMullen 8fcb648685 Fix a couple of bugs that crept in. 2010-09-29 16:56:03 +01:00
Simon MacMullen 0581c41b32 Make bindings and permissions symmetrical. 2010-09-29 16:43:38 +01:00
Simon MacMullen 9fb080202c Fix updating. Only elements marked "updateable" get updated, so doesn't interfere with forms. Allow frequency of updates to be selected. 2010-09-29 15:59:39 +01:00
Simon MacMullen 39d36e5be2 Allow specifying the filename to download. 2010-09-29 13:22:46 +01:00
Simon MacMullen a9fcd77e34 So if you accidentally set a request body on a GET, MSIE6 will "correct" it to a POST. Hilarity ensures. 2010-09-29 07:18:23 +01:00
Simon MacMullen fdf00b2fc0 Variety of visual tweaks. 2010-09-28 18:27:09 +01:00
Simon MacMullen 4385403b54 Support arguments in the HTTP API (but not the web UI yet). 2010-09-28 15:11:16 +01:00
Simon MacMullen 72290daada Web ui for uploading configuration, more tests, more correctness. 2010-09-27 18:08:41 +01:00
Simon MacMullen 6ef9bf627f In case we get a structure back, stringify it. Not beautiful, but better than [object object]. 2010-09-14 17:44:14 +01:00
Simon MacMullen 85f2405f7d Sooner or later someone will ask us: "How do I know which version of the server I'm talking to?" 2010-09-14 16:05:23 +01:00
Simon MacMullen 76d89a5ede Put error messages that might be caused by the user in a much clearer position. 2010-09-08 18:00:32 +01:00
Simon MacMullen cb4a8a64e0 Make it work with fine stats turned off. 2010-09-08 16:27:34 +01:00
Simon MacMullen 660c1dc1a2 MSIE does not correct these capitalisations, and webmachine gets confused. Fix. 2010-09-03 15:51:28 +01:00
Simon MacMullen 940323751c Update sammy and use various MSIE workarounds for XMLHTTPRequest. This gets us partial MSIE support. 2010-09-03 13:23:04 +01:00
Simon MacMullen a2abe0f24b Individual channels. 2010-09-02 17:06:59 +01:00
Simon MacMullen baf3dabbf6 Rearrange rates into a details object. Change overview to show global message rates rather than data rates. 2010-09-02 12:58:34 +01:00
Simon MacMullen cecfb612a5 Rearrange the URL scheme a little. 2010-09-01 17:45:05 +01:00
Simon MacMullen 9f22841c0b First pass at bindings. 2010-09-01 17:26:51 +01:00
Simon MacMullen cd3d2c015d Try to make what you PUT == what you GET. 2010-08-31 16:44:12 +01:00
Simon MacMullen 0bd834d66a Stop claiming to be REST. 2010-08-31 14:22:52 +01:00
Simon MacMullen a0ab8bc1af Shuffle URIs around so we don't eat the whole namespace. Show URIs on startup. Simple documentation mechanism for REST. 2010-08-27 16:18:41 +01:00
Simon MacMullen c3d234b3e4 Queue details GET / PUT / DELETE, UI. 2010-08-27 10:55:32 +01:00
Simon MacMullen dce819ab2f Exchanges. 2010-08-26 17:42:03 +01:00
Simon MacMullen 07bf31d274 Stop the fine stats from being their own REST endpoint, create a channels endpoint instead. Greatly improves the channels list page, probably a net simplification, although some tests are commented out on the basis that such data is no longer available (yet). 2010-08-25 18:18:31 +01:00
Simon MacMullen 142411dff0 Add mechanism to forcibly close a connection. 2010-08-25 15:11:30 +01:00
Simon MacMullen 7e3fe89cea Automatically associate labels with form elements, remove for= and id= in lots of places. 2010-08-25 10:46:08 +01:00
Simon MacMullen 4edfccde61 Refactor dispatcher a bit more. 2010-08-24 18:46:30 +01:00
Simon MacMullen e6886d40af Fix forms, pass through the whole params object. 2010-08-24 18:12:45 +01:00
Simon MacMullen e63be9efcc Web GUI for permissions, refactor the dispatcher a bit. 2010-08-24 17:13:47 +01:00
Simon MacMullen c52999cfa7 Apparently plurals are more RESTful than singulars. 2010-08-24 11:52:06 +01:00
Simon MacMullen a34cdd1d0e Escape names in URL components. 2010-08-24 11:37:54 +01:00
Simon MacMullen db8fa3ef50 Expanding-collapsing sections. Note that this involves disabling auto-updates until I figure out how to do them in a less destructive way. 2010-08-24 10:57:19 +01:00
Simon MacMullen a9e18cfaac Simple Molly-guard. 2010-08-24 10:24:50 +01:00
Simon MacMullen a7eeefab4f Web GUI to add / list / delete users and vhosts. 2010-08-23 18:32:33 +01:00
Simon MacMullen 5ad270579a Use Sammy for dispatching, rejig hash-urls schema a bit. 2010-08-23 16:32:17 +01:00
Simon MacMullen 819e7c79e5 Merge two requests to get a list of all (active) channels. 2010-08-06 17:52:26 +01:00
Simon MacMullen dffbd7b05d Switch to formatting stuff as we recieve it. Enhance augmentation somewhat. 2010-08-06 13:59:03 +01:00
Simon MacMullen caecd76a44 Seems like more recent mochiweb fixes this problem. Or I imagined it. 2010-08-05 17:01:01 +01:00
Simon MacMullen 3a0f215481 Add a simple page listing consuming channels. 2010-07-27 18:04:48 +01:00
Simon MacMullen 2565a292ff Add a connection details page 2010-07-23 17:24:01 +01:00
Simon MacMullen c67f4b4dcd Sometimes we will know of an object via Mnesia but the stats for that object won't have appeared yet. Handle that rather than crashing. 2010-07-22 16:29:19 +01:00
Simon MacMullen 2255fbe25a Tweaks. 2010-07-16 18:04:38 +01:00
Simon MacMullen 894b6aa214 Do color formatting on the client, and stripe table rows. 2010-07-16 17:45:37 +01:00
Simon MacMullen 92f974213b Switch from json-template to EJS. Uglier but much less limited. 2010-07-16 17:38:06 +01:00
Simon MacMullen 4fcab743a6 Make the web app look nicer, show port on startup. 2010-07-16 16:35:58 +01:00
Simon MacMullen fde1cf25cd Break up the JSON space, server side. 2010-07-13 18:06:57 +01:00
Simon MacMullen c51865f307 Split the pages up: client side. 2010-07-13 13:03:36 +01:00
Simon MacMullen eace6d438b Show last update time. 2010-07-12 17:31:16 +01:00
Simon MacMullen 1fb3c454f8 Remove the server-side template code. Format memory sizes. Auto-refresh. 2010-07-12 17:11:42 +01:00
Simon MacMullen 0ac43217de Add a very simple codegen mechanism to avoid the pain of embedding HTML in Javascript. Fix dependencies. 2010-07-12 15:39:36 +01:00
Simon MacMullen 2ff59e6eed Port the status page to static HTML + XmlHttpRequest. The top half works now, but writing templates in JavaScript is a pain. 2010-07-12 15:04:42 +01:00