Commit Graph

328 Commits

Author SHA1 Message Date
Simon MacMullen 74235e35eb UI to hide lines in charts. 2014-06-04 17:44:19 +01:00
Simon MacMullen cd068d1a59 Merge bug26107 2014-05-19 10:39:23 +01:00
Simon MacMullen 87459a12e5 Don't allow bad property types through. 2014-04-24 13:20:29 +01:00
Simon MacMullen bc1ac34c4f Ignore empty string values in sub-lists. 2014-04-23 14:10:59 +01:00
Simon MacMullen 577e50441d Basic mode for stats; where we show rates per-thing, but not per {thing, other thing} pair. 2014-04-11 17:41:02 +01:00
Simon MacMullen 2cad32fb8d Management support for cluster name. 2014-01-31 13:40:48 +00:00
Simon MacMullen 6a5dce09cc Make controls-appearance support multiple divs, not just yes/no. 2013-11-22 15:32:44 +00:00
Simon MacMullen 1a7f31125b If the regex is invalid, display the error message rather than returning all rows. 2013-11-13 11:09:44 +00:00
Simon MacMullen ecdac946c7 Reduce distance to default and fix layout (on my browser at least...) 2013-11-12 17:09:02 +00:00
Simon MacMullen 77a0f492f6 Patch as contributed. 2013-11-12 16:41:31 +00:00
Simon MacMullen 2cb832e304 Remove vestiges of uri_auth_used. 2013-11-06 15:58:32 +00:00
Matthew Sackman 654115ec25 Move bug25865 to stable. 2013-11-06 15:51:08 +00:00
Simon MacMullen 494fa8ed45 userinfo is already decoded at both call sites. 2013-10-31 11:22:31 +00:00
Simon MacMullen 43cb6268b2 Hide "log out" button if it's not going to do anything. 2013-10-09 18:04:49 +01:00
Simon MacMullen 6ab31a4bfc Simplify and abstract a bit. 2013-10-09 17:55:23 +01:00
Matthew Sackman 3c1ce12eed Remember how stupid JS is... 2013-10-09 17:24:41 +01:00
Matthew Sackman 485f0f4687 Detect if there's a userinfo section in the window href, and if there is, try to set up the ram auth cookie correctly so that we immediately auth straight through. 2013-10-09 17:16:47 +01:00
Emile Joubert 611f1d5b99 Merged bug25778 into default 2013-09-26 10:02:11 +01:00
Simon MacMullen cfbfffedaa Turn off EJS caching when we first load a template since page refresh (but leave it on otherwise, lest we retrieve lots of templates every five seconds). Also don't use Req:get(raw_path) when serving static content, it doesn't remove the query string and so causes us to 404 if one is present. 2013-09-20 14:31:59 +01:00
Simon MacMullen 3eafb50836 Introduce new policymaker tag, and updates to web UI to support that (which involves rewriting half the menu code since it didn't really deal with anything other than admin vs non-admin). 2013-09-19 13:29:25 +01:00
Simon MacMullen 7932b085c6 Oops 2013-06-18 16:59:17 +01:00
Emile Joubert a3a0842c0d Merged bug25063 2013-05-17 15:17:56 +01:00
Simon MacMullen cdc7aeb938 TODO-- 2013-05-15 15:19:11 +01:00
Simon MacMullen 9787d3642b Slight refactor 2013-05-15 15:04:33 +01:00
Simon MacMullen 51afa0d9e3 Merge (rather late) bug 25406. 2013-05-14 17:00:55 +01:00
Simon MacMullen 7db1adeb94 Update collapse_multifields() for recursive multifields. 2013-05-14 13:30:43 +01:00
Simon MacMullen 8b44d5e4b1 Start of recursive-multifield thing. Matthias jokes that this is a JSON editor. Hmm. Nearly. 2013-05-13 18:10:59 +01:00
Simon MacMullen c5c392d6fb Introduce a magic querystring based auth variable, instead of the HTTP authorisation header, for downloading definitions (since we cannot write the HTTP header in with anything the browser gives us). 2013-05-09 17:26:19 +01:00
Simon MacMullen a72a40b3a1 Fix regexp, don't allow non-numerals in the input. 2013-04-26 12:59:53 +01:00
Simon MacMullen d195fcba07 A certain amount of messing around to get the right bits "updatable". 2013-04-26 12:30:52 +01:00
Simon MacMullen 6b5ebce10d Don't fiddle with filter-active class in update_truncate, it's not needed. 2013-04-26 10:50:46 +01:00
Simon MacMullen 70392b0f96 Configurable truncate limit. 2013-04-25 16:13:44 +01:00
Simon MacMullen 98a8a15bd6 Debounce. 2013-04-08 14:00:06 +01:00
Simon MacMullen 0bb1c48d23 Merge in default 2013-03-21 10:52:43 +00:00
Simon MacMullen d97766efcb Deduplicate 2013-03-15 17:09:04 +00:00
Simon MacMullen f2bc3e2055 Visual improvements. 2013-03-06 14:59:31 +00:00
Simon MacMullen ad2ab2746e Crude filtering on the client side. 2013-03-05 18:04:15 +00:00
Simon MacMullen 7d79ff8073 Compactness. 2013-02-28 14:21:51 +00:00
Simon MacMullen b08846e0d9 So the little spans that described each chart didn't get updated. Make them updatable - and also change the updatableness mechanism to swap out the contents of an element, not the element itself (since the whole reason we don't just make the whole region updatable is that we mutate the state of the element itself and want that to survive across refreshes). 2013-02-28 14:16:18 +00:00
Simon MacMullen 5913198ddd Usability: highlight the link that the currently-shown chart config popup relates to, and make a second click close the popup. 2013-02-28 13:23:53 +00:00
Simon MacMullen e0751f6cbb Remove debug call. 2013-02-22 11:47:21 +00:00
Simon MacMullen 907d405248 Quick hack to allow entry of arrays of strings. 2013-02-01 17:31:16 +00:00
Simon MacMullen 673a3daa53 Don't just have a single global idea of "the current range", allow different rangse for different things. 2013-01-31 18:27:20 +00:00
Simon MacMullen 54615edddc Nicer popup 2013-01-28 14:34:15 +00:00
Simon MacMullen c90f979c85 RANGE_QUERIES was completely wrong. And in fact this whole idea of a global list of queries to modify is really ugly, so invent a new expanded representation for paths and do that instead. 2013-01-25 14:57:04 +00:00
Simon MacMullen 9edf477acf Merge in default. 2013-01-23 16:57:08 +00:00
Michael Klishin ec2bf516b3 Add a way to provide reason when closing a connection 2013-01-11 12:36:15 +00:00
Simon MacMullen 73edd80979 Crude WIP of range selection. 2012-12-19 17:58:36 +00:00
Simon MacMullen a53daf8631 Merge in default 2012-12-18 12:47:20 +00:00
Simon MacMullen f906dda156 Different preferences per rate/chart. 2012-12-12 12:59:03 +00:00
Simon MacMullen fb6d857d27 Merge stable 2012-12-11 11:30:05 +00:00
Simon MacMullen e3e17f05a0 "javascript:" URLs seem to be confusing MSIE (or maybe sammy) for some reason I can't understand. Let's be more jQuery-ish here as elsewhere, and now the form submits properly after one of these links has been clicked. 2012-12-11 11:22:29 +00:00
Simon MacMullen b82306357f Clear the debug field on page change. 2012-12-07 11:35:40 +00:00
Simon MacMullen c9dbfca77e Merge in default 2012-11-23 13:39:57 +00:00
Simon MacMullen 2c17db1ab9 Revert a1805287bf36; not the right solution. 2012-11-20 17:02:41 +00:00
Simon MacMullen 09f20990e7 Set location using sammy, not native browser thing. Seems much more reliable on MSIE. 2012-11-20 16:18:39 +00:00
Simon MacMullen 770642b652 MSIE doesn't have Array.indexOf(), use jQuery.inArray() instead. 2012-11-20 15:51:50 +00:00
Simon MacMullen 9051356e7a Matthias keeps asking "where are the pretty charts?" So here they are. 2012-11-16 13:27:31 +00:00
Simon MacMullen 91ce4000e1 Bug 25232 broke MSIE completely. Fix that, and explain the weirdness. 2012-11-14 13:51:04 +00:00
Simon MacMullen 900e94fdfb If dynamic_load() is fast enough we can end up in dispatcher_add() before exiting that loop - make sure extension_count is already set. 2012-11-14 12:47:43 +00:00
Simon MacMullen c6f617c0d9 i18n fix. 2012-11-07 11:39:57 +00:00
Simon MacMullen 85450a9380 Argh; it's not a race at all, it's this code that I chopped out by mistake. 2012-11-02 17:41:31 +00:00
Simon MacMullen f31a7d5668 Store login information in a session cookie - refresh no longer logs you out. 2012-11-02 16:31:30 +00:00
Simon MacMullen 5b493dcd15 Merge default 2012-11-01 13:57:10 +00:00
Simon MacMullen 807fbd102d Get the web app to do authentication, and add a logout button 2012-10-23 16:35:17 +01:00
Simon MacMullen 4f5d610d8e s/key/name/ 2012-10-22 15:07:50 +01:00
Simon MacMullen 59be413836 Merge default 2012-10-16 17:44:32 +01:00
Emile Joubert 6a2f867337 Further policy updates 2012-10-10 17:13:22 +01:00
Simon MacMullen ed43a27e46 Move button; clean up a tad. 2012-10-09 16:33:44 +01:00
Simon MacMullen 96573833bb Only retrieve memory statistics when prompted, and add some UI for that. 2012-10-09 13:17:19 +01:00
Emile Joubert a2d1152cab Updates for setting policy 2012-10-08 15:06:56 +01:00
Simon MacMullen 483f6ae045 Allow booleans in parameters via the UI. 2012-09-07 13:15:56 +01:00
Simon MacMullen beb5ad0d01 Make parameters vhost-specific. 2012-08-07 17:39:09 +01:00
Simon MacMullen 4a688b6554 Merge in default. 2012-06-25 17:41:44 +01:00
Simon MacMullen ff015fe2d5 Multi-level navigation thing for the management web UI. 2012-06-12 17:36:24 +01:00
Simon MacMullen 07a29d4dbf Merge default 2012-06-07 15:26:39 +01:00
Simon MacMullen 01881d9720 Bug 24830 did not prevent the uncollapsed "_type" field from getting passed through. Oops. 2012-06-07 15:25:44 +01:00
Simon MacMullen 560a5198c4 Merge default 2012-06-07 15:11:01 +01:00
Simon MacMullen b36e0994c4 Web UI for policies. 2012-05-18 15:33:13 +01:00
Simon MacMullen c4a0a569b6 Don't let the user specify types for properties, they're pretty much all strings. 2012-05-01 17:52:04 +01:00
Simon MacMullen 69fca3a603 Allow selecting types in the web UI, and clean up a little: allow booleans, and detect floats in the HTTP API. 2012-05-01 17:39:07 +01:00
Simon MacMullen dc411e72e9 Don't allow empty password, it's confusing. 2012-03-08 13:17:16 +00:00
Simon MacMullen ad3b1271dd The appearance / disappearance of the password fields broke in the last release. AFAICS that's because we upgraded jQuery and it now specifically understands that "controls" is a real HTML attribute but one that should not be on <select> so attr('controls') gives a bogus result. Switching to a completely made up attribute fixes it. I hate computers. 2012-01-05 11:15:42 +00:00
Simon MacMullen 1c2e9bbe2f They are definitions, not a schema. 2011-10-13 16:32:55 +01:00
Simon MacMullen 504eb4cc90 It's a schema, not a configuration. 2011-10-05 17:58:22 +01:00
Simon MacMullen d643c11631 Bit of form validation. 2011-08-18 17:14:51 +01:00
Simon MacMullen 08fc58f9c1 Treat 503 from a proxy as failure to connect, not unknown error. 2011-08-11 18:21:48 +01:00
Simon MacMullen 8d90baa2a4 Split all our global vars (and a couple of functions that 100% pertain to them) into global.js. 2011-07-06 12:32:00 +01:00
Simon MacMullen 986c809472 Merge in default 2011-07-06 12:17:19 +01:00
Simon MacMullen 50fbb77710 Merge in default. 2011-07-06 10:26:24 +01:00
Simon MacMullen f6ca2f6536 Fix silly bug that I introduced while merging. 2011-07-06 10:25:14 +01:00
Rob Harrop 2835abf2c1 Merge with default 2011-07-05 14:11:30 +01:00
Simon MacMullen a8f2e29f42 Merge in default 2011-07-05 13:56:44 +01:00
Simon MacMullen 5108d5dc54 Update for the new policy-based way to do things, strip out a couple more bits that I missed. 2011-06-22 14:19:02 +01:00
Simon MacMullen 1235c9e2c2 Merge in default 2011-06-22 13:47:38 +01:00
Simon MacMullen 7c0946dbc3 Use jQuery.inArray(). 2011-06-20 12:48:27 +01:00
Simon MacMullen 9419ababbf Merge in bug24164 (and hence default) 2011-06-17 14:31:51 +01:00
Simon MacMullen c4d725a0a3 Merge in default 2011-06-17 14:27:49 +01:00
Simon MacMullen dc654cef71 Merge in default. 2011-06-15 13:45:56 +01:00
Simon MacMullen ecefbccb47 Most of a "monitor" tag. 2011-06-10 11:33:38 +01:00
Simon MacMullen c3d578121e Fix up with web UI for tags. 2011-06-09 15:08:52 +01:00
Simon MacMullen e80f7fca6f Various fixes for relocatability. 2011-06-07 17:25:00 +01:00
Simon MacMullen 6d28c90032 Bit rough edged version of add / remove mirrors, but I had it half done... 2011-05-26 16:17:42 +01:00
Simon MacMullen 9d905e6273 Remove hidden ignored update bits to make sure they don't interfere with jQuery queries later. 2011-05-26 14:49:06 +01:00
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