Commit Graph

2207 Commits

Author SHA1 Message Date
8169d0358e Update changelog & mark 2.7.3 as released today v2.7.3 2021-09-24 15:07:57 +02:00
097352e181 Log all HTTP requests when running with -debug 2021-07-12 15:50:04 +02:00
b6a17117dd Log worker ID on error checking its hashed password v2.7.2 2021-07-12 15:18:49 +02:00
f4cad0942e Mark 2.7.1 as released v2.7.1 2021-04-09 10:40:50 +02:00
4e0b2c03f4 Increase HTTP read timeout from 10 to 30 minutes
This is to allow big Sprite Fright files to be uploaded over a
slower-than-LAN VPN connection, for people working from home.
2021-04-09 10:39:57 +02:00
ad89b710ac Prevent 'dist/' path prefix in SHA256sum file 2019-11-12 14:26:09 +01:00
3718587380 Marked 2.7 as released in CHANGELOG.md v2.7 2019-11-12 13:50:11 +01:00
0bb5f0408c Shaman component shouldn't expose its JWT Auther object
The JWT Auther object should be passed to whoever needs it directly, and
not obtained via the Shaman component.

This also fixes a bug where the dashboard wouldn't function when the
Shaman was disabled.
2019-11-12 13:02:57 +01:00
550fb41256 Removed some debug logging 2019-11-12 13:00:51 +01:00
5424fce794 Upgrade golang.org/x/crypto for ACME protocol v2
I also added the ACME directory URL to the log message, so that it can
be verified to be the v2 URL (and not the deprecated v1 URL).

This fixes T71444.
2019-11-12 12:51:11 +01:00
50111293a1 Update README.md with info on how to see logs 2019-11-09 13:25:01 +01:00
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
cd7fa398e1 Marked version 2.6 as released today in CHANGELOG v2.6 2019-10-22 18:12:46 +02:00
e687ea2d58 Ignore /dist/ directory 2019-10-19 16:40:57 +02:00
13b75e57a6 Updated changelog 2019-10-19 16:40:55 +02:00
35882deb50 Updated example configuration file to current version + more useful defaults 2019-10-19 15:26:22 +02:00
e26520f4a0 Shaman: enable garbage collection by default 2019-10-19 15:26:22 +02:00
82224e5755 Streamlined default variables 2019-10-19 15:26:22 +02:00
ae6b1ba4c0 Allow Shaman server to be disabled 2019-10-19 15:26:22 +02:00
82b4828de0 Streamlined default values of variables
The default config now resembles the Blender Institute less, and only
uses one shared storage location. This makes it easier to recognise the
goal of variables. Also, I made sure that the Shaman variable is also
configured, and that it matches the other Shaman configuration parameters.
2019-10-19 15:26:22 +02:00
84a2c14b00 Settings: only write 'disableSecurity: true' to config, omit false
The `disableSecurity` is a negative boolean (I generally would prefer
`enableSecurity`), and I find `disableSecurity: false` confusing to
read. However, `disableSecurity: true` looks more omnious to me than
`enableSecurity: false`, which is why I keep the naming as-is.
2019-10-19 15:22:40 +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
6ad69553a2 Remove unused constant 2019-10-19 14:17:45 +02:00
6b66896f3b Increased HTTP read timeout from 15 to 600 seconds v2.5.1 2019-07-18 11:28:58 +02:00
50e78260be Ignore filesystem syncing errors when copying files
Not every filesystem supports this (like SMB), so we sync if we can, but
ignore when we can't.
2019-07-17 17:26:00 +02:00
be53c8193d Marked version 2.5 as released today v2.5 2019-05-28 16:00:09 +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
a6e79b29c1 Variables: empty audience no longer allowed; replacing it with "all" 2019-05-28 15:32:10 +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
0968bbd1e6 Prevent losing Flamenco Server URL when saving YAML 2019-05-08 16:07:20 +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
a23677c770 Workaround for Golang issue #31880: os.Chtimes does not work on SMB shares
Shaman touches files in the file store whenever they are referenced in a
checkout. This makes garbage collection slightly more efficient, as
recently-referenced files do not have to be checked. However, `os.Chtimes`
only allows us to use an explicit timestamp, which is not allowed on
certain SMB shares. Passing `NULL` as timestamp to the underlying system
call works fine, so that's what has been implemented now.

This workaround is only available on Linux, as I haven't been able to test
with other platforms. The other platforms just fall back to calling
`os.Chtimes(path, now, now)`.
2019-05-07 12:44:52 +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
025a7ea96c Changelog: Fix entry in wrong line. 2019-05-03 18:34:59 +02:00