1814 Commits

Author SHA1 Message Date
Sybren A. Stüvel
680f20a4bf Website: bump download version to 3.3 2023-11-06 14:35:52 +01:00
Sybren A. Stüvel
788b6138b7 Bumped version to 3.3 2023-11-06 11:56:48 +01:00
Sybren A. Stüvel
3b7847c445 Website: Expand the Shaman documentation
- Describe how to enable/disable the Shaman in more detail,
- adjust the link to Stack Exchange w.r.t. SAMBA & symlinks, and
- include a table of contents at the top of the page.
2023-11-03 16:00:39 +01:00
dblanque
36e90f0066 Website: Update docs for Shaman + SAMBA
Add documentation on Shaman with SAMBA requiring symlinks.
This has been tested with Linux and Windows Clients.
2023-11-03 15:50:48 +01:00
Sybren A. Stüvel
7c0653559c Website: set v3.3-beta3 as latest available experimental release 2023-11-02 16:38:04 +01:00
Sybren A. Stüvel
0333fe1383 Bumped version to 3.3-beta3 2023-11-02 16:29:56 +01:00
Eveline Anderson
7ca806f48e Webapp: add 'delete' button for tags
Add a button to the tags table to delete worker tags. Each tag now has
its own 'delete' button.

This replaces the single 'delete' button above the table, where a tag
would first have to be selected and then that 'delete' button pressed.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104256
2023-11-02 16:11:58 +01:00
Sybren A. Stüvel
30da72a9b7 Upgrade BAT to 1.16 2023-11-02 15:49:38 +01:00
Sybren A. Stüvel
90186d7a79 Fix mypy error
No functional changes.
2023-11-02 13:50:45 +01:00
Sybren A. Stüvel
90a3fac2ad Website: use smaller font for architecture
The macOS builds are available for two architectures; use a smaller font
for the `(Intel)` and `(Silicon/ARM)` text.
2023-10-31 15:03:11 +01:00
Sybren A. Stüvel
0107605441 Website: bump available beta version to 3.3-beta2 2023-10-31 14:57:16 +01:00
Sybren A. Stüvel
01f2e6d558 Bumped version to 3.3-beta2 2023-10-31 14:54:20 +01:00
Sybren A. Stüvel
950bd59320 CHANGELOG: Add the support for macOS Silicon (arm64) 2023-10-31 14:52:49 +01:00
Sybren A. Stüvel
5c63405fe2 Reword the FFmpeg instructions for macOS arm64 2023-10-31 14:34:15 +01:00
Sybren A. Stüvel
8e9329f768 Include text file in macOS ARM64 build to indicate location of ffmpeg
Add a bit more documentation about the lack of ffmpeg on macOS/arm64 builds
and include a text file in the download package for that platform to
signal where any ffmpeg binary should be placed.
2023-10-31 10:34:35 +01:00
Sybren A. Stüvel
06f2a2bc29 Rename cli command to exec and document it
The `cli` word, to me, implies too much that it's run via a shell, which
it isn't. Renaming to `exec` resolves that.
2023-10-31 10:17:16 +01:00
Sybren A. Stüvel
5dd3939969 Add "cli" command
Add arbitrary command runner. This still needs some docs ;-)
2023-10-27 21:57:57 +02:00
Sybren A. Stüvel
eb269d63fb Make worker name configurable
Worker name can be set via the flamenco-worker.yaml file now.
2023-10-27 13:11:39 +02:00
Sybren A. Stüvel
7428a2a0f3 Add Blender Conference 2023 to the website
For the hands-on class, there will be a special build of Flamenco. It
disables Shaman on all platforms (for uniformity for all participants)
and hard-codes `localhost` as URL for the Workers (to prevent
participants' Workers from finding each other's Managers).

The special build of Flamenco will be done on a separate branch
(`bcon-2023`), but the website should stay for longer, and thus this
commit is on the `main` branch.
2023-10-20 17:23:27 +02:00
Sybren A. Stüvel
f34a8d8fac Makefile: restore accidentally commented-out code 2023-10-20 16:53:55 +02:00
Sybren A. Stüvel
1900ed0275 CHANGELOG: reorder changes to put some more important ones at the top 2023-10-20 11:38:50 +02:00
Sybren A. Stüvel
35bbab4929 Website: link to changelog from download page
At least for the experimental packages, there should be a link to the
changelog. For release versions we should maybe have something nicer; at
least it should link to the changelog for that particular version, instead
of just the top of the file.
2023-10-20 11:34:54 +02:00
Sybren A. Stüvel
5e27f09a14 Include darwin-arm64 packages when publishing online
These aren't linked from the download page yet, as they are missing an
FFmpeg binary. Still, having this build here at least allows people to
download it and put in their own (or configure that particular worker to
not run ffmpeg tasks).
2023-10-20 11:30:27 +02:00
Sybren A. Stüvel
af5b2420af macOS: also create packages for ARM64 architecture
These packages will not include FFmpeg at the moment, as there doesn't
seem to be a version that's built for that architecture and linked from
ffmpeg.org as an "officially approved" binary.
2023-10-20 11:27:14 +02:00
Sybren A. Stüvel
f9836e295d Website: add support for experimental versions to the downloads page 2023-10-20 11:18:42 +02:00
Sybren A. Stüvel
4134388dda Addon API client README: add missing link 2023-10-20 11:07:23 +02:00
Sybren A. Stüvel
624135f55b Bump version to v3.3-beta1 2023-10-20 11:05:47 +02:00
Sybren A. Stüvel
a75c8f0835 Bump build requirements to Go 1.21 and NodeJS 18
NodeJS 18 is the current LTS version, and Go 1.21 is the latest release.
2023-10-20 08:39:45 +02:00
Sybren A. Stüvel
aa4d3cff75 Windows: check user's system privileges when Shaman is enabled
Symbolic links on Windows require some special user privilege, and
Shaman can now check for this at startup. Hopefully this helps in guiding
people towards a working Shaman system.
2023-10-16 21:36:16 +02:00
Sybren A. Stüvel
40f76efec9 Shaman: log a warning on platforms that don't reliably support symlinks
Windows 10 Home does not support symlinks, and Shaman will cause errors
unless running as admin (which is not recommended for security reasons).
Now Flamenco Manager will log a warning when Shaman is enabled on this
platform.
2023-10-15 14:37:15 +02:00
Sybren A. Stüvel
d60af809be Shaman: skip certain tests if the platform cannot do symlinking reliably
Windows 10 Home ("Core") only allows symlinking when running as admin,
which is not recommended for Flamenco Manager. Instead of failing unit
tests on this system, simply skip them. This reduces noise when developing
on this platform (i.e. my personal laptop) a lot.
2023-10-15 14:26:32 +02:00
Sybren A. Stüvel
12bc182857 Log more OS info at startup
In addition to logging `GOOS` and `GOARCH`, also log more info about the
system:

- Windows: the Windows version and edition.
- Linux: distribution, distribution version, and kernel version.
- macOS: just "macOS", until we know more about getting info there too.
2023-10-15 14:16:56 +02:00
Sybren A. Stüvel
879a280da2 Add security fix to CHANGELOG.md 2023-10-15 11:12:13 +02:00
Sybren A. Stüvel
4f81096840 Fix vulnerability in golang.org/x/net
Vulnerability: GO-2023-2102
    HTTP/2 rapid reset can cause excessive work in net/http
  More info: https://pkg.go.dev/vuln/GO-2023-2102
  Module: golang.org/x/net
    Found in: golang.org/x/net@v0.7.0
    Fixed in: golang.org/x/net@v0.17.0
2023-10-15 11:08:42 +02:00
Sybren A. Stüvel
0a695c7f3a Website: add 'single image' to the FAQ 2023-10-10 11:07:48 +02:00
Sybren A. Stüvel
819767ea1a Webapp: tweak the .editorconfig and .prettierrc files + re-format
Try to get the `.editorconfig` and `.prettierrc` files as close as possible
to the formatting that was used in Flamenco. Because these files weren't
here during most of Flamenco's development so far, having them caused quite
a few changes in the webapp files.

No functional changes intended.
2023-09-11 17:22:18 +02:00
Sybren A. Stüvel
68c55f97be Web: fix typo in tags view 2023-09-11 17:11:30 +02:00
Sybren A. Stüvel
c2e34ff4e3 Add .prettierrc file
Add a `.prettierrc` file to help synchronise the settings for the VSCode
Prettier extension.
2023-09-11 17:08:26 +02:00
Sybren A. Stüvel
95dd4f7474 Webapp: restore 'Delete Worker' button
Restore the 'Delete Worker' button. It accidentally got removed in
86cf30e44eedde25a2429564724ac05c000afaff
2023-09-11 16:50:34 +02:00
Sybren A. Stüvel
ee8c349ad3 Cleanup: webapp, remove trailing space 2023-09-11 16:50:03 +02:00
Sybren A. Stüvel
f951981a4c Make: add targets for running devservers, and avoid installing Hugo
Add `make` targets `devserver-webapp` and `devserver-website` to run
respectively Yarn and Hugo.

This also slightly changes how Hugo is invoked, from using the `hugo` CLI
command to `go run github.com/gohugoio/hugo@v0.101.0`. This avoids the
need to actually install Hugo locally, and also will use the correct
version of Hugo if the locally-installed version happens to be different.
2023-09-08 15:39:20 +02:00
Sybren A. Stüvel
a229c0f75a Make: rename target project-website to deploy-website
This makes it clearer that this target actually deploys the website
to flamenco.blender.org.
2023-09-08 15:37:29 +02:00
Sybren A. Stüvel
89a323d079 Fix vulnerability GO-2022-0603, but on code path we don't touch
Fix a vulnerability in the YAML parser library. It's in a part of the
library that Flamenco doesn't touch, which is why this isn't mentioned
in the CHANGELOG.md file.

------------

Found 1 vulnerability in packages that you import, but there are no call
stacks leading to the use of this vulnerability. You may not need to
take any action. See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
for details.

Vulnerability #1: GO-2022-0603
    Panic in gopkg.in/yaml.v3
  More info: https://pkg.go.dev/vuln/GO-2022-0603
  Module: gopkg.in/yaml.v3
    Found in: gopkg.in/yaml.v3@v3.0.0-20210107192922-496545a6307b
    Fixed in: gopkg.in/yaml.v3@v3.0.0-20220521103104-8f96da9f5d5e
2023-09-07 12:13:07 +02:00
Sybren A. Stüvel
e0be4f2378 Run go mod tidy 2023-09-07 12:09:19 +02:00
Sybren A. Stüvel
6a9e1239b8 Security fixes
Vulnerability #1: GO-2023-1990
    Excessive CPU consumption when decoding 0-height images in
    golang.org/x/image/tiff
  More info: https://pkg.go.dev/vuln/GO-2023-1990
  Module: golang.org/x/image
    Found in: golang.org/x/image@v0.5.0
    Fixed in: golang.org/x/image@v0.10.0
    Example traces found:
      #1: internal/worker/output_uploader.go:144:36: worker.loadAsJPEG calls image.Decode, which calls tiff.Decode

Vulnerability #2: GO-2023-1989
    Excessive resource consumption in golang.org/x/image/tiff
  More info: https://pkg.go.dev/vuln/GO-2023-1989
  Module: golang.org/x/image
    Found in: golang.org/x/image@v0.5.0
    Fixed in: golang.org/x/image@v0.10.0
    Example traces found:
      #1: internal/worker/output_uploader.go:144:36: worker.loadAsJPEG calls image.Decode, which calls tiff.Decode
2023-09-07 12:07:58 +02:00
Sybren A. Stüvel
900f3a7faa Add make vet target
This runs `go vet` as well as `govulncheck`. These may install
dependencies other than installed via `make with-deps`.
2023-09-07 12:07:27 +02:00
Sybren A. Stüvel
c12e4cae74 Webapp: add explanation to Tags view
Add a bit of info on how the tags work to the right-hand column of the
Tags view.
2023-09-04 14:11:26 +02:00
Sybren A. Stüvel
eb11f10b9d Cleanup: webapp, reformat with Prettier
No functional changes.
2023-09-04 14:10:29 +02:00
Sybren A. Stüvel
0821df8f3a Webapp: make Tags view respond to SocketIO messages
Make the Tags view/tab respond to changes in worker tags. This way the
'Refresh' button is no longer necessary, as the information is always
up to date.
2023-09-04 13:24:50 +02:00
Sybren A. Stüvel
d6ffb424eb Webapp: remove unused imports
No functional changes.
2023-09-04 13:23:33 +02:00