Commit Graph

288 Commits

Author SHA1 Message Date
Simon MacMullen f219693b95 No longer relevant 2014-10-21 11:32:30 +01:00
Simon MacMullen f45d42bc14 Oops 2014-10-06 13:05:52 +01:00
Simon MacMullen 2c8d379a87 A bit more abstraction. 2014-10-06 13:03:49 +01:00
Simon MacMullen 3d692f1c4e Display binary use in mgmt. 2014-10-02 17:09:06 +01:00
Simon MacMullen c3c964364f That had been bugging me since 2010. No idea why it's needed. 2014-10-02 15:41:36 +01:00
Simon MacMullen e962b64041 Make all chart ranges use the same preference. 2014-09-25 11:44:51 +01:00
Simon MacMullen 8be18652f4 Don't store the auth cookie explicitly, do everything via the prefs module. 2014-09-22 17:45:53 +01:00
Simon MacMullen 933bfa8886 Column show / hide mechanism, and convert the queue list page to use it for the existing columns. 2014-09-19 15:19:43 +01:00
Simon MacMullen 97c07cf1cc Add a mechanism to fill in argument fields, remove the "known field" filling. 2014-09-11 16:27:39 +01:00
Simon MacMullen 0815ce6b0c Proof-of-concept: show a chart of memory use over time. 2014-06-11 16:33:53 +01:00
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