Commit Graph

30 Commits

Author SHA1 Message Date
46c46455f0 Bump golang.org/x/image and golang.org/x/net for security fixes
Fix these vulnerabilities:

```
Vulnerability #1: GO-2023-1572
  An attacker can craft a malformed TIFF image which will consume
  a significant amount of memory when passed to DecodeConfig. This
  could lead to a denial of service.

  More info: https://pkg.go.dev/vuln/GO-2023-1572

  Module: golang.org/x/image
    Found in: golang.org/x/image@v0.0.0-20191009234506-e7c1f5e7dbb8
    Fixed in: golang.org/x/image@v0.5.0

Vulnerability #2: GO-2023-1571
  A maliciously crafted HTTP/2 stream could cause excessive CPU
  consumption in the HPACK decoder, sufficient to cause a denial
  of service from a small number of small requests.

  More info: https://pkg.go.dev/vuln/GO-2023-1571

  Module: golang.org/x/net
    Found in: golang.org/x/net@v0.5.0
    Fixed in: golang.org/x/net@v0.7.0
```
2023-02-21 11:18:33 +01:00
ef3cab9745 Webapp: handle job deletions properly
- Add a little confirmation overlay before deleting a job. This overlay
  also shows information about whether the Shaman checkout directory
  will be deleted or not.
- Send job updates to the web frontend when jobs are marked for
  deletion, and when they are actually deleted.
- Respond to those updates, and handle some corner cases where job info
  is missing (because it just got deleted).

This closes T99401.
2023-02-03 16:59:15 +01:00
354119e237 Update CHANGELOG.md 2023-01-03 16:32:11 +01:00
84470eeb81 Bump Blender Asset Tracer (BAT) to version 1.15
Bump BAT from 1.14 to 1.15 to add support for fluid sim caches.
2022-12-16 15:28:52 +01:00
4ef5373756 Add-on: add support for the use_all_linked_data_direct option
Add support for Blender's `use_all_linked_data_direct` experimental
option. This is a workaround for an issue with BAT, for which a quick
solution is required by the Blender Studio (production crunch).

Flamenco writes the `.flamenco.blend` file with
`preferences.experimental.use_all_linked_data_direct` set to `True`, so
that BAT has an easier time finding linked assets.
2022-12-02 14:31:23 +01:00
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
71605381c8 Update CHANGELOG 2022-11-22 18:24:27 +01:00
249307d6c3 Update CHANGELOG.md 2022-10-20 13:20:02 +02:00
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
0fce4b42fb Update CHANGELOG.md 2022-10-20 12:12:29 +02:00
6eb20c7c70 CHANGELOG: mark 3.1 as released today 2022-10-18 10:56:47 +02:00
28080c72ef Update CHANGELOG.md 2022-10-18 10:56:08 +02:00
10583310c7 CHANGELOG.md: add links to commits 2022-10-13 16:18:37 +02:00
8673170691 Update CHANGELOG.md 2022-10-13 16:03:07 +02:00
a95e8781cf Worker: add TIFF decoding support 2022-10-07 16:55:41 +02:00
c64dc4d5ce Update CHANGELOG.md 2022-10-03 11:00:07 +02:00
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
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
f33d634161 CHANGELOG: mark 3.0 as released today 2022-09-12 16:55:07 +02:00
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
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
7e53d31645 CHANGELOG: mark 3.0-beta3 as released today 2022-08-31 17:48:33 +02:00
ff7218d7aa Update CHANGELOG.md 2022-08-31 17:28:51 +02:00
f64ba3e0be Update CHANGELOG.md 2022-08-31 15:08:32 +02:00
db3e3f0d12 Update CHANGELOG.md
Add a few links to commits, and mark 3.0-beta2 as released today.
2022-08-31 12:15:56 +02:00
e5a20425c4 Separate variables for Blender executable and its arguments.
Split "executable" from "its arguments" in blender & ffmpeg commands.

Use `{blenderArgs}` variable to hold the default Blender arguments,
instead of having both the executable and its arguments in `{blender}`.

The reason for this is to support backslashes in the Blender executable
path. These were interpreted as escape characters by the shell lexer.
The shell lexer based splitting is now only performed on the default
arguments, with the result that `C:\Program Files\Blender
Foundation\3.3\blender.exe` is now a valid value for `{blender}`.

This does mean that this is backward incompatible change, and that it
requires setting up Flamenco Manager again, and that older jobs will not
be able to be rerun.

It is recommended to remove `flamenco-manager.yaml`, restart Flamenco
Manager, and reconfigure via the setup assistant.
2022-08-30 14:58:16 +02:00
db9aca4a37 Add-on: allow setting job priority when submitting
The job priority was always intended to be settable when submitting, and
editable afterwards. This commit implements the former.
2022-08-30 14:51:48 +02:00
63c60a5b15 Two-way variable replacement: change path separators to target platform
Two-way variable replacement now also changes the path separators. Since
the two-way replacement is made for paths, it makes sense to also clean up
the path for the target platform.
2022-08-25 12:19:30 +02:00
edb181d2eb Make: Change path inside the Linux and macOS tarballs
Change path inside the Linux and macOS tarballs, so that they contain an
embedded `flamenco-3.x.y-xxxx/` directory with all the files (instead of
putting all the files in the root of the tarball).
2022-08-04 16:59:30 +02:00
8ad45a40eb Add CHANGELOG.md file 2022-08-04 16:44:48 +02:00