1474 Commits

Author SHA1 Message Date
Sybren A. Stüvel
7816f218d5 Website: add BCON22 presentation to quickstart
Add the Blender Conference presentation video to the Quickstart page.
2022-11-05 10:27:57 +01:00
Sybren A. Stüvel
b23d2c2a89 Website: better explanation of non-Shaman storage options 2022-11-05 10:26:10 +01:00
Sybren A. Stüvel
249307d6c3 Update CHANGELOG.md 2022-10-20 13:20:02 +02:00
Sybren A. Stüvel
074c60df9d Cleanup: add-on, reformat with black
No functional changes.
2022-10-20 13:14:51 +02:00
Sybren A. Stüvel
32a3e48e24 Add-on: use job check endpoint before sending files to the farm 2022-10-20 13:14:01 +02:00
Sybren A. Stüvel
7a60bb70e0 Manager: implement job check endpoint 2022-10-20 13:13:35 +02:00
Sybren A. Stüvel
c439bc3a1e OAPI: regenerate code 2022-10-20 13:13:22 +02:00
Sybren A. Stüvel
cdd304ffdb OAPI: add endpoint for a pre-flight job check
Add an endpoint that mimicks the job submission endpoint, to see whether
the job survives the job compiler script. This can be used to fail early,
before actually sending files to the farm.
2022-10-20 13:13:03 +02:00
Sybren A. Stüvel
73dd8c7d78 Cleanup: pass submittedJob as pointer to two-way variable replacer
The two-way variable replacement function changes the submitted job. To
clarify that this happens, pass the pointer `&submittedJob`.

Both pass-by-pointer and pass-by-value work, because the variable
replacement typically works on maps/slices, which are passed by reference
anyway. Better to be explicit about this, though.

No functional changes.
2022-10-20 12:55:01 +02:00
Sybren A. Stüvel
e77bd9b841 Fix workers immediately switching state on a lazy request
Fix an issue where workers would switch immediately on a state change
request, even if it was of the "after task is finished" kind.

The "may I keep running" endpoint wasn't checking the lazyness flag, and
thus any state change, lazy or otherwise, would interrupt the worker's
current task.
2022-10-20 12:30:37 +02:00
Sybren A. Stüvel
ad0fea241d Simple blender render: hide has_previews from web interface
It was useful for debugging, but not really needed for artists.
2022-10-20 12:18:00 +02:00
Sybren A. Stüvel
f1c4211d2b FFmpeg preview video: add missing switch to .jpg extension
One line was missing from rF43bc22f10fae.
2022-10-20 12:17:34 +02:00
Sybren A. Stüvel
0fce4b42fb Update CHANGELOG.md 2022-10-20 12:12:29 +02:00
Sybren A. Stüvel
43bc22f10f Generate preview video from Blender-generate EXR preview JPEGs
If Blender is configured to store a preview-JPEG next to rendered EXR
files, feed those previews to FFmpeg to generate the preview video.
2022-10-20 12:10:32 +02:00
Sybren A. Stüvel
70bb0c2655 Bumped version to 3.2-alpha 2022-10-20 12:10:30 +02:00
Sybren A. Stüvel
228941b15c Add missing dependencies
Effect of running `go get github.com/golang/mock/mockgen@v1.6.0`
2022-10-18 11:30:56 +02:00
Sybren A. Stüvel
9db227e1e7 Bump available version on website 2022-10-18 11:27:49 +02:00
Sybren A. Stüvel
8a36cf1d38 Bumped version to 3.1 2022-10-18 10:57:13 +02:00
Sybren A. Stüvel
6eb20c7c70 CHANGELOG: mark 3.1 as released today 2022-10-18 10:56:47 +02:00
Sybren A. Stüvel
28080c72ef Update CHANGELOG.md 2022-10-18 10:56:08 +02:00
Sybren A. Stüvel
ce23810705 Cleanup: move JS code close to HTML
Move the JavaScript code in `PopoverEditableJobPriority.vue` up so it sits
next to the HTML.
2022-10-18 10:50:26 +02:00
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