1779 Commits

Author SHA1 Message Date
Sybren A. Stüvel
a4000f1909 Bumped version to 3.3.1 2023-12-14 12:09:33 +01:00
Sybren A. Stüvel
6711f9dabe Manager: reorder job table columns
Reorder from name/type/priority/updated to name/updated/priority/type.

The new ordering moves the more important info into (according to Blender
Studio) view when the job table is narrow.
2023-12-14 12:08:53 +01:00
Sybren A. Stüvel
a6db15fdfa Bump BAT from 1.16 to 1.17 2023-12-14 11:59:16 +01:00
Sybren A. Stüvel
6735e9621e Update 3.3.1 changelog 2023-12-14 11:59:06 +01:00
Sybren A. Stüvel
0ea3cf8c3f Worker: perform database migrations with Goose
Replace the GORM auto-migration with Goose. The latter uses hand-written
SQL files to migrate the database with understandable, explicit queries.
2023-12-14 10:13:42 +01:00
Sybren A. Stüvel
acc9499f2a Manager: drop the job_storage_infos database table
GORM Automigration created a separate `job_storage_infos` table (because
we used it wrong, to be fair), which is actually only used as an
embedded struct in the `jobs` table. This means this table itself can be
dropped.
2023-12-14 10:13:42 +01:00
Sybren A. Stüvel
a65f234bea Manager: replace GORM database migration with Goose
Replace GORM's auto-migration with Goose. The latter uses hand-written
SQL queries to apply database schema changes, which is safer and easier to
understand than what GORM is doing.
2023-12-14 10:13:40 +01:00
Sybren A. Stüvel
d260a308bd Worker: enable write-ahead logging on the database
Now the Worker and the Manager share the same database initialisation
code (enabling foreign key constraints + write-ahead logging).

The foreign key constraints were already enabled before, but now it's done
with (a copy of) the same code as the Manager.
2023-12-14 10:10:03 +01:00
Sybren A. Stüvel
70c88a95e3 Worker: fix timezone-dependent tests
The tests were already made timezone-independent, but in a way that assumed
the day would still be the same and only the time would be different.
Now that assumption is removed as well.
2023-11-27 12:01:44 +07:00
Sybren A. Stüvel
6a74e49e3d Git-ignore vendor directory
Ignore the Go vendor directory. We don't track upstream sources.
2023-11-27 11:49:49 +07:00
Sybren A. Stüvel
02011f8237 Bumped version to 3.4-alpha0 2023-11-06 15:08:36 +01:00
Sybren A. Stüvel
c284b5fa67 Website: slight wording change
Change "...with the configured status code" to "...with a configurable
status code", as there hasn't been any explanation of this configurability
yet.
2023-11-06 14:56:23 +01:00
Sybren A. Stüvel
ee67e2be5e Website: include link to release changelog 2023-11-06 14:53:50 +01:00
Sybren A. Stüvel
d06ed6c3b0 Mark v3.3 as released today 2023-11-06 14:42:48 +01:00
Sybren A. Stüvel
c920d0ecf9 Website: include macOS/Silicon (ARM64) build on the download page 2023-11-06 14:40:32 +01:00
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