1538 Commits

Author SHA1 Message Date
Sybren A. Stüvel
21b2114505 Website: fix incorrect header in FAQ 2022-11-30 13:10:52 +01:00
Sybren A. Stüvel
51e1657f93 Website: add entry to FAQ about SyncThing/Dropbox/etc.
In short: such setups are not supported.
2022-11-30 13:09:46 +01:00
Sybren A. Stüvel
15e3745820 Manager: SQLite WAL journal + NORMAL sync mode
Run `PRAGMA journal_mode = WAL` and `PRAGMA synchronous = normal` when
connecting to the SQLite database. This enables the write-ahead-log journal
mode, which makes it safe to enable "normal" synchronisation (instead of
the default "full" synchronisation).
2022-11-24 17:18:06 +01:00
Sybren A. Stüvel
71605381c8 Update CHANGELOG 2022-11-22 18:24:27 +01:00
Sybren A. Stüvel
4b1cf740e9 Cleanup: worker, rename blenderPID to subprocPID
Remove 'blender' from a variable name, since this is actually generic
code and not Blender-specific.
2022-11-22 17:33:16 +01:00
Sybren A. Stüvel
ced826581a Worker: make sure long lines are broken on character boundaries
When a command (like `blender` or `ffmpeg`) outputs lines that are longer
than our buffer, they are broken into buffer-sized chunks. Extra code has
been added to ensure those chunks consist of valid UTF-8 characters.
2022-11-22 17:31:47 +01:00
Sybren A. Stüvel
fe8b6e025e Fix link in "Report a Bug" button 2022-11-21 18:14:00 +01:00
Sybren A. Stüvel
75592d12d3 Fix T102188: Add bug reporting URL to Flamenco "Get Involved" page 2022-11-21 18:01:51 +01:00
Sybren A. Stüvel
e700e0efdf Website: move exclamation mark outside of link text 2022-11-11 16:55:14 +01:00
Sybren A. Stüvel
4adff44477 Fix T102193: website, broken link to 'get involved' page 2022-11-11 16:55:02 +01:00
Sybren A. Stüvel
982dca0d4e Fix FFmpeg wanting to use JPEG files when rendering PNG
The preview video task would attempt to use JPEG preview files when the
"Preview" checkbox is checked, even when this checkbox is not shown in
Blender's UI (when the output format is not EXR). Blender still stores
this property, even when it's unused, and that's what tripped up the job
compiler.

The "Simple Blender Render" job type now first checks whether the previews
are necessary at all, and only then uses them.
2022-11-10 14:10:03 +01:00
Yann Doersam
1cef0d48df Addon: Show error if the file path is not known before submitting
If file has never been saved, Flamenco cannot create a temp copy to
submit. This caused an exception, which is now avoided by showing a
clear error message instead.

Maniphest Tasks: T102192

Differential Revision: https://developer.blender.org/D16358
2022-11-08 11:48:10 +01:00
Sybren A. Stüvel
f75a8f4c65 Website: remove the "what is new" link
Remove the "what is new" link, because it's not that relevant for a quick-
start page. Also it got lost a bit between the videos and felt out of
place.
2022-11-05 10:29:19 +01:00
Sybren A. Stüvel
c174951cd2 Website: remove "videos coming soon" promise
They may or may not be coming soon.
2022-11-05 10:28:40 +01:00
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