1453 Commits

Author SHA1 Message Date
Sybren A. Stüvel
1e28ba4fee Cleanup: reformat PopoverEditableJobPriority.vue
Remove commented-out elements & apply auto-formatter.
2022-10-18 10:49:49 +02:00
Pablo Vazquez
080a63df6a Job Details: Style UI for setting job priority 2022-10-17 13:08:14 +02:00
Francesco Siddi
4389b60197 Webapp: UI to update Job priority 2022-10-16 18:51:44 +02:00
Sybren A. Stüvel
10583310c7 CHANGELOG.md: add links to commits 2022-10-13 16:18:37 +02:00
Sybren A. Stüvel
8673170691 Update CHANGELOG.md 2022-10-13 16:03:07 +02:00
Andrew
0bc0a7ac9b Fix issue submitting to Shaman from Windows machine
Fix a BAT error that arises when submitting a job from a Windows
workstation to a Shaman flamenco system. BAT expects an absolute path,
but on Windows systems, absolute paths begin with a drive letter.

This patch adds an arbitrary drive letter, and later removes it once the
relative paths have been computed.

Reviewed by: sybren

Differential Revision: https://developer.blender.org/D16084
2022-10-13 15:56:30 +02:00
Sybren A. Stüvel
0d2de42ac1 Run go mod tidy
Just running `go mod tidy` to tidy up the dependencies.
2022-10-07 16:55:41 +02:00
Sybren A. Stüvel
a95e8781cf Worker: add TIFF decoding support 2022-10-07 16:55:41 +02:00
Sybren A. Stüvel
610cab0961 Website: add "how to change output filenames/paths" to FAQ 2022-10-06 15:14:52 +02:00
Sybren A. Stüvel
8dd469d51a Website: add FAQ to top menu
This replaces the "Development" link, as "Get Involved" is also about
development already. The "Get Involved" page now links with a CTA button
to the "Development" page.
2022-10-06 15:14:39 +02:00
Sybren A. Stüvel
94015cc3ee Cleanup: Add-on, add comment to clarify a Shaman-specific function 2022-10-06 14:41:50 +02:00
RedMser
f99a00d024 Setup Screen: Fix Shared Storage URL
Fix broken link on Setup Assistant, and fix a typo.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D15613
2022-10-06 14:27:42 +02:00
Sybren A. Stüvel
c64dc4d5ce Update CHANGELOG.md 2022-10-03 11:00:07 +02:00
Sybren A. Stüvel
1abeb71f57 Fix Linux & macOS packaging issue with FFmpeg
FFmpeg was put in the wrong location in the release packages for Linux and
macOS. It should have been in a subdirectory called `tools` so that the
Worker finds it, but it was in the top-level directory of the package.
This is now fixed.
2022-10-03 10:55:56 +02:00
Sybren A. Stüvel
85d53de1f9 Manager: implement API endpoint for changing job priority
The priority of an existing can now be changed. It will be taken into
account when assigning tasks to workers, but it will not reassign tasks
that are already active.
2022-09-30 16:30:03 +02:00
Sybren A. Stüvel
c6ede93fc1 OAPI: regenerate code 2022-09-30 16:28:16 +02:00
Sybren A. Stüvel
07f0b38e8a OAPI: add operation to set job priority 2022-09-30 16:27:14 +02:00
Sybren A. Stüvel
0a7b7d9cf6 Webapp: remove assumption from SocketIO job updates
Remove the assumption that a SocketIO job update without "previous state"
set is always an indication that it's about a new job. Soon job priority
will be changeable, and then this assumption will no longer hold.
2022-09-30 16:26:26 +02:00
Sybren A. Stüvel
4176f0e447 Website: add question to FAQ 2022-09-29 11:07:00 +02:00
Sybren A. Stüvel
a3e3d7af16 Website: clarify some things in the worker configuration doc 2022-09-29 10:51:53 +02:00
Sybren A. Stüvel
18a5b7f7d3 Website: add some questions to the FAQ 2022-09-29 10:51:37 +02:00
Sybren A. Stüvel
c42b8fec29 Bumped version to 3.1-alpha 2022-09-27 12:31:14 +02:00
Sybren A. Stüvel
59655ea770 Manager: fix error in sleep scheduler when shutting down
When the Manager was shutting down while the sleep scheduler was running, it
could cause a null pointer dereference. This is now doubly solved:

- `worker.Identifier()` is now nil-safe, as in, `worker` can be `nil` and
  it will still return a sensible string.
- failure to apply the sleep schedule due to the context closing is not
  logged as error any more.
2022-09-27 12:27:18 +02:00
Sybren A. Stüvel
50ec5f4f36 Manager: make the worker IP address a click-to-copy field
Now you can click on the worker's IP to copy it to the clipboard.
2022-09-27 12:27:18 +02:00
Sybren A. Stüvel
759a94e49b Blender finder: also handle exec.ErrNotFound as "expected"
Blender not being found can be reported via various errors (this should be
reworked in the 'blender finder API' at some point). `exec.ErrNotFound` is
returned when Blender cannot be found on `$PATH`, which is something that's
absolutely fine. This is now logged less dramatically.
2022-09-22 12:39:40 +02:00
Sybren A. Stüvel
161a7f7cb3 Less dramatic logging when Blender cannot be found
Avoid the word "error" in logging when Blender cannot be found. Typically
these are warnings, and having the word "error" there makes people think
otherwise.
2022-09-22 12:37:46 +02:00
Sybren A. Stüvel
cb2042db71 gitignore /scripts 2022-09-16 14:16:57 +02:00
Sybren A. Stüvel
f312d9a7fe Website: fix links in download section 2022-09-15 11:55:12 +02:00
Sybren A. Stüvel
5d8528d11a Website: include example flamenco-manager.yaml
Sometimes the setup assistant doesn't work (port already in use, Blender
not installed), so having an example file will make it possible to still
start Flamenco.
2022-09-13 15:29:02 +02:00
Sybren A. Stüvel
f33d634161 CHANGELOG: mark 3.0 as released today 2022-09-12 16:55:07 +02:00
Sybren A. Stüvel
f41558b93f Website: update for the 3.0 release
Remove mentions/disclaimers that Flamenco is in beta or in "heavy
development". Some small text fixes.
2022-09-12 16:52:03 +02:00
Sybren A. Stüvel
7d2970bbe3 update-version: always quote the version number in YAML
Without quotes, YAML would see `3.0-beta1` as string, but `3.0` as float.
2022-09-12 15:55:21 +02:00
Sybren A. Stüvel
11785ca51c Bumped version to 3.0 2022-09-12 15:49:12 +02:00
Sybren A. Stüvel
ddfe3199d0 Add-on: report which files were missing
After submission, list the missing files on the terminal (if there are
any).
2022-09-12 15:41:03 +02:00
Sybren A. Stüvel
e7aa637ed5 Add-on: update to BAT 1.14
BAT 1.14 improves some progress reporting when packing files, so it now
properly shows which file is being investigated in the Flamenco UI.
2022-09-12 15:34:27 +02:00
Sybren A. Stüvel
6185a428a8 Add-on: much faster processing of BAT progress messages
BAT-packing is a multi-threaded operation, so messages about its progress
are queued up in a thread-safe manner. The modal operator was only handling
4 messages per second, causing major slowdowns when there are lots of
small files to be processed. This is now done much faster, and thus the
UI shouldn't lag behind of the actual submissions progress.
2022-09-12 15:33:37 +02:00
Sybren A. Stüvel
b3b46f89b2 Fix T100757: error stating OpenEXR format is unknown format
Fix T100757 by reducing the log level to "info" when Blender writes output
to a file format the Worker cannot handle. Such cases are expected, and
now no longer result in an error message.
2022-09-12 12:40:06 +02:00
Sybren A. Stüvel
1ffd56939a Manager: match Windows paths in two-way variables also with slashes
When doing two-way variable replacement, if the variable has a Windows
path (i.e. backslashes) also do a match for the value with forward slashes.

In other words, if a path `Y:/shared/...` comes in, and the variable value
is (correctly) `Y:\shared\...`, it will be seen as a match.
2022-09-01 15:27:31 +02:00
Sybren A. Stüvel
8368feebac Fix unit test
The recent change in error message caused a test to fail, this is now
fixed. No functional changes.
2022-09-01 15:17:04 +02:00
Sybren A. Stüvel
38b45419ae Website: add "command exited abnormally with code 1" explanation to FAQ 2022-09-01 14:47:12 +02:00
Sybren A. Stüvel
f423d68ab3 Website: move FAQ section up
The FAQ section was quite invisible, because it was sitting between the
much bigger Usage and Development sections. It's now easier to spot in the
TOC.
2022-09-01 14:46:59 +02:00
Sybren A. Stüvel
46792ee164 Clarify "job etag mismatch" situation
When a submitted job is refused because of a mismatched etag, there is
now a more explanatory error logged on the Manager. The website also has
an entry in the FAQ for this, as I expect more people to run into this
issue when they upgrade Flamenco.
2022-09-01 14:46:30 +02:00
Sybren A. Stüvel
626c146444 Website: link to changelog 2022-08-31 17:59:08 +02:00
Sybren A. Stüvel
0863dceedc Website: add step to 'how to release' list
Add a step for updating the CHANGELOG.md file, to mark the version as
released today.
2022-08-31 17:52:44 +02:00
Sybren A. Stüvel
de500ba1df Bumped version to 3.0-beta3 2022-08-31 17:50:46 +02:00
Sybren A. Stüvel
570a82d822 Make: correctly quote the 'git commit' command 2022-08-31 17:50:46 +02:00
Sybren A. Stüvel
7e53d31645 CHANGELOG: mark 3.0-beta3 as released today 2022-08-31 17:48:33 +02:00
Sybren A. Stüvel
ff7218d7aa Update CHANGELOG.md 2022-08-31 17:28:51 +02:00
Sybren A. Stüvel
780a9f9ef6 Refactor some tests to use require. instead of assert. + fail
The `require.XXX` functions are exactly the same as `assert.XXX`
functions + directly failing the test, so this refactor simplifies the
code quite a bit. Can be done in more areas than this.

No functional changes.
2022-08-31 17:28:19 +02:00
Sybren A. Stüvel
0afde53209 Simple Blender Render: no longer render to intermediate directory
Simple Blender Render now no longer renders to an intermediate directory.
This not only simplifies the script, but it also opens the door for
selective re-running of individual tasks.

In the old situation, where the intermediate directory was renamed to
the desired name in the last task, rerunning tasks would fail because the
directory they expect to exist no longer exists. This is now resolved.
2022-08-31 17:24:31 +02:00