Commit Graph

165 Commits

Author SHA1 Message Date
8b162779b7 Display VM size in next to dynamic pool ID
The information allows the user to understand which VMs are used in
the pool
2019-11-08 02:59:46 +01:00
ae6b1ba4c0 Allow Shaman server to be disabled 2019-10-19 15:26:22 +02:00
a226410272 Websetup: added a few notes about Shaman 2019-10-19 15:21:55 +02:00
6243edfe7f Websetup: fixed Shaman configuration in 'simple mode' 2019-10-19 14:55:15 +02:00
39261ac927 Websetup: fixed bug where all variables were marked as 'separate audiences' 2019-10-19 14:54:48 +02:00
7850dd7af3 Web setup: prevent removal of variables
There is no UI for adding variables (yet), so removing them shouldn't be
allowed. Removing and adding is still possible using the 'Advanced' view
by editing the YAML directly.
2019-05-28 15:52:53 +02:00
fc8129ad98 Web setup: Prevent JavaScript error when variable has unknown audience 2019-05-28 15:32:23 +02:00
4c88b6091d Removed unused comment 2019-05-10 12:50:08 +02:00
240b1dbc38 Web setup: added the Shaman variable to the predefined variables 2019-05-10 12:49:31 +02:00
0d87c2b428 Web setup: predefined variable description is now interpreted as HTML
This allows things like `<br>` in the description.
2019-05-10 12:49:24 +02:00
b6f6d5dd2e Web setup: Start of work on predefined variables
To make it simpler for people to work with variables, I think it's a
good idea to create some predefined ones (and not them be deleted). This
also allows us to include some indication as to the semantics of each
variable in the web setup, making it easier to work with.
2019-05-10 12:24:05 +02:00
d6cbe6141a Web Setup: added new interface for editing variables
This interface works with version 2 of the variables, and is smarter &
more intuitive than the old one.
2019-05-10 12:23:36 +02:00
3d6bfdafe8 Dashboard & Web setup: Make links visible by default 2019-05-10 12:23:36 +02:00
f066e5d8be Web Setup: get rid of Vue.js specifics when saving config
Get rid of Vue.js specific getters/setters and __ob__ properties via the
JSON dumper. It is less sensitive to this than the YAML dumper (the latter
complains about some thing being `undefined` without saying what, and I
can't find it either).
2019-05-10 11:56:54 +02:00
df219088e6 Web setup: Moved some styling to CSS 2019-05-08 16:43:01 +02:00
8b2041ecf7 Dashboard: alignment tweak for worker details
This way the space is more efficiently used when the dashboard isn't
displayed full screen.
2019-05-08 16:18:46 +02:00
b939d53279 Dashboard: fixed mismatched HTML close tag 2019-05-08 16:16:22 +02:00
ba6f6df2ce Dashboard: Don't use <u> to underline, just use CSS 2019-05-08 16:16:11 +02:00
66f582acfa Web setup: Save YAML and Apply → … and Restart to Normal Mode
The button previously saved the YAML and restarted to setup mode, which is
rather clumsy in actual use. Restarting to normal mode makes more sense.
2019-05-08 15:48:30 +02:00
5b275e45b3 Allow hiding infrastructure-dependent settings in web setup
When `websetup.hide_infra_settings` is true, the websetup will hide
certain settings that are infrastructure-specific. For example, it hides
MongoDB choice, port numbers, task log directory, all kind of
infra/hosting-specific things. This is used, for example, by the
automated Azure deployment to avoid messing up settings that are
specific to that particular installation.
2019-05-08 14:09:32 +02:00
aaea0d32b4 Added missing comments in websetup vue components 2019-05-08 14:08:06 +02:00
4a64138d85 Dashboard: no border-radius on stop worker-action button.
It's too similar to the generic checkboxes.
2019-05-03 18:54:54 +02:00
367050bfec Dashboard: add 'Nodes' to Dedicated and Low-priority labels. 2019-05-03 18:45:02 +02:00
6a646a80ba Merge remote-tracking branch 'origin/master' into wip-redesign 2019-05-03 18:33:42 +02:00
d7d4da0890 CSS: Slightly darker gray-darker color variable. 2019-05-03 18:22:21 +02:00
fc6e2b3b0b Latest Image system no longer writes to the static directory
This is necessary to run Flamenco Manager from a different directory than
the extracted tarball. Also an error opening the file is now shown in the
image, and some logging was improved.
2019-05-03 18:21:09 +02:00
bb237d54e9 Dashboard: Layout and styling for Dynamic Pools resize modal. 2019-05-03 18:20:52 +02:00
80c0e2a225 Dashboard: Layout and styling for Dynamic Pools. 2019-05-03 18:20:24 +02:00
493907e32c Dashboard Modal: Move Cancel button to the left. 2019-05-03 18:19:24 +02:00
16312fdba4 Dashboard: Border on the right of checkboxes.
Better splits them from the worker action icons.
2019-05-03 18:18:38 +02:00
1ffb10d7a4 Dashboard: Old Workers layout adjustments.
* Move under Dynamic Pools.
* Use section instead of div, just semantics.
* Don't use description lists, just simple unordered lists.
2019-05-03 18:17:52 +02:00
54f6c25684 CSS: Override bootstrap modal header/footer border color with our own. 2019-05-03 18:07:45 +02:00
6c55100f4b Dashboard: Full-height with fixed-topheader. 2019-05-03 18:06:03 +02:00
05efb29693 Merge remote-tracking branch 'origin/master' into wip-redesign 2019-05-03 15:42:09 +02:00
dc3683af47 Dynamic worker pools
Dynamic Pools allow you to spin up or remove virtual machines running
Flamenco Worker. Pools can be resized from the Flamenco Manager
dashboard.

The code architecture is mostly set up to support multiple platforms
(like Google Compute, Amazon Web Services, Azure Batch, etc.). Currently
only support for Microsoft Azure Batch has been implemented. To really
properly support multiple platforms some changes will have to be made,
but those are better made when there are actually multiple platforms to
support.

The pool status is polled periodically using the platform's API. The
polling period is dynamic, and depends on whether the Manager dashboard
is actually open in a browser window.
2019-05-03 15:02:49 +02:00
80eaadbe57 Worker table: add 'is-selected' CSS class to row when it's selected 2019-05-03 14:16:40 +02:00
97d8015509 Only show 'Old Workers' if there actually are old workers. 2019-05-03 14:16:39 +02:00
70ed2d1d42 Dashboard: style tweaks for blacklist. 2019-05-02 20:57:55 +02:00
b40c460e3c Dashboard: layout tweaks for blacklist. 2019-05-02 20:57:44 +02:00
a9c76306ab Dashboard: Logic tweaks to show/hide worker-action buttons.
The goal is to only have one button at a time:
* Hide shutdown.
* asleep_immediate shows once asleep is requested.
2019-05-02 20:38:29 +02:00
ca4657fa8a Dashboard: less padding on task log call to action buttons. 2019-05-02 20:35:19 +02:00
7afe30979a Dashboard: use different arrows.
And use [none] instead of -none-.
2019-05-02 20:33:57 +02:00
72dc79b2d0 Dashboard: Add class to row if it's requesting a status.
Primarily used to style worker icons inside.
2019-05-02 20:32:47 +02:00
1074622ecc Dashboard: Remove empty space after task update text. 2019-05-02 20:32:10 +02:00
7fcea72a84 Dashboard: underline link to task. 2019-05-02 20:31:27 +02:00
de2fec374a Dashboard: wider column for for old workers list. 2019-05-02 20:31:07 +02:00
7a103b4f0c Dashboard: Don't wrap text on certain fields. 2019-05-02 20:30:35 +02:00
03d98c1c2d Dashboard: Icons for quick worker-action. 2019-05-02 20:26:58 +02:00
9ce19712b3 Dashboard: Extra cell on table for details. 2019-05-02 20:25:06 +02:00
2172089151 Dashboard: Display old workers in a list. 2019-05-02 20:24:00 +02:00