1538 Commits

Author SHA1 Message Date
Sybren A. Stüvel
b4194e32e9 Web: respond to worker updates that indicate a worker was removed
The code isn't the prettiest, but it works ;-)
2022-08-11 17:45:12 -07:00
Sybren A. Stüvel
6122f14cbc Web: Copy worker UUID on click 2022-08-11 17:38:56 -07:00
Sybren A. Stüvel
2a345a3d2c API for deleting workers
Workers can now be soft-deleted. Tasks assigned to the worker will remain
associated with that Worker. Active tasks will be re-queued so other
workers can pick them up.
2022-08-11 16:59:53 -07:00
Sybren A. Stüvel
458c33573e OAPI: regenerate code 2022-08-11 16:58:05 -07:00
Sybren A. Stüvel
99bf0a67a7 OAPI: add operation to delete workers
This will remove a worker by soft-deletion. Any task still assigned to
the worker will be requeued.

Note that this removal should only happen when the worker is offline, or
it will cause errors on the worker as its credentials will not be
accepted any more.
2022-08-11 16:50:05 -07:00
Sybren A. Stüvel
9d5c269398 Website: add Shaman documentation 2022-08-07 07:54:04 -07:00
Sybren A. Stüvel
edf8309118 Make: remove 'v3.0-beta1-' prefix from "git hash"
`git describe --dirty --always` will produce a hash in the form
`{most recent tag}-{commits since that tag}-{hash}` with a `-dirty` suffix
when there are uncommitted changes. Since the app version and the most
recent tag already overlap, the app version is removed from the git hash
to avoid overly long hashes. They are now of the form `{commits since last
tag}-{hash}`.
2022-08-04 17:04:55 +02:00
Sybren A. Stüvel
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
Sybren A. Stüvel
0d2f898a65 Include CHANGELOG.md in release packages 2022-08-04 16:47:17 +02:00
Sybren A. Stüvel
8ad45a40eb Add CHANGELOG.md file 2022-08-04 16:44:48 +02:00
Sybren A. Stüvel
4744904502 Add-on: fix mypy error 2022-08-04 16:39:05 +02:00
Sybren A. Stüvel
11f45b8adf Add-on: work around an issue where files are submitted to Shaman twice
It seems that there is an issue in BAT that causes some UDIMs to be
reported multiple times. This is just a quick fix to work around that.
2022-08-04 16:38:22 +02:00
Sybren A. Stüvel
44ccc6c3ca Shaman: handle duplicate symlinks gracefully
Instead of erroring out when a symlink already exists, investigate it. If
the linked file is the one that's intended, just use it.

For some reason, BAT and/or the Flamenco add-on include some files twice
in the checkout request to Shaman. This is now handled gracefully.
2022-08-04 16:30:31 +02:00
Sybren A. Stüvel
7102a3def8 Website: explain what a 'beta' release means 2022-08-04 11:44:55 +02:00
Sybren A. Stüvel
3b06cdf519 Setup assistant: avoid null access 2022-08-04 11:22:21 +02:00
Sybren A. Stüvel
7d3d3d1d60 Fix T100183: Setup assist: don't quit when browser can't be launched
When launching Flamenco from a server system with no way to open a web
browser, just ask the user to launch one. Quitting the Manager because
of this was a bit too dramatic.
2022-08-04 11:21:43 +02:00
Sybren A. Stüvel
f97bfac8c5 Refactor Manager, move webservice code from main.go into its own file
Extract some code from `cmd/flamenco-manager/main.go` into `webservice.go`
in the same directory, just to make `main.go` a little smaller.

No functional changes.
2022-08-04 10:40:56 +02:00
Francesco Siddi
6e67f81804 Website: Add setup video for Windows 2022-08-03 14:32:29 +02:00
Francesco Siddi
55f5bab304 Website: Update to beta1 2022-08-03 13:15:10 +02:00
Francesco Siddi
992ef7c362 Website: Add "Get Involved" to top navigation 2022-08-03 13:14:02 +02:00
Francesco Siddi
17038c3851 Website: Add License section to download page 2022-08-03 13:13:45 +02:00
Francesco Siddi
6612c60943 Website: Tweaks to Get Involved 2022-08-03 13:13:19 +02:00
Francesco Siddi
d771b9ec9f Website: Rename QA to FAQ 2022-08-03 12:59:38 +02:00
Francesco Siddi
4b434b785a Website: Rename "Getting Started" to "Quickstart" 2022-08-03 12:55:05 +02:00
Francesco Siddi
541e09f187 Website: Tweak wording in download page 2022-08-03 12:50:53 +02:00
Sybren A. Stüvel
68b919156e Bumped version to 3.0-beta1 2022-08-03 12:43:31 +02:00
Sybren A. Stüvel
f81f5587f2 Version updater: don't log git commands
Don't log the git commands in the version updater Go code. They are already
shown by the Makefile (`update-version` target), and we should only have
one set of those commands to maintain.
2022-08-03 12:42:45 +02:00
Sybren A. Stüvel
09c6b4e3fa Website: bump latest version to 3.0-dev2 2022-08-02 17:13:55 +02:00
Sybren A. Stüvel
b94a9a154d Bumped version to 3.0-dev2 2022-08-02 17:10:28 +02:00
Sybren A. Stüvel
3595767741 Add-on: always use absolute path for last_n_dir_parts() function
Always use absolute paths in the `last_n_dir_parts()` function. This fixes
an issue with the "simple Blender render" job type, when a
blendfile-relative path was used for the render output root.
2022-08-02 17:07:18 +02:00
Francesco Siddi
4900b728cf Website: add download menu to navbar 2022-08-02 15:29:23 +02:00
Sybren A. Stüvel
84f02ac696 Web: show "select a job" when the first job is submitted
Hide the "get the add-on" and show the "select a job" when the first job
has been submitted.
2022-08-02 14:54:49 +02:00
Sybren A. Stüvel
cbafe0ff34 Manager: when finding Blender, be less dramatic when it can't be found
It's fine when Blender is not available on `$PATH`, so only log that at
debug level.
2022-08-02 13:36:25 +02:00
Sybren A. Stüvel
cbc6bfaf02 Manager: also recognise exec.ErrNotFound as a "blender not found" error 2022-08-02 13:36:25 +02:00
Sybren A. Stüvel
8c43688fed Makefile: add publish-release-packages target
`make publish-release-packages` uploads the release packages for the
current version of Flamenco. Note that it does NOT build those, so run
`make release-packages` beforehand.
2022-08-02 13:06:08 +02:00
Sybren A. Stüvel
7b60acd801 Makefile: use variables to point to the webserver
This makes it easier to add more rules that also point to the same server
and directory on that server.

No functional changes.
2022-08-02 12:57:43 +02:00
Sybren A. Stüvel
6022f781d3 Website: add download page & links
Add links to download the latest version of Flamenco. Which version is
offered can be managed in `web/project-website/data/flamenco.yaml`.
2022-08-02 12:56:42 +02:00
Sybren A. Stüvel
beb302c2b4 Website: add new 'make' targets to the documentation 2022-08-02 12:05:27 +02:00
Sybren A. Stüvel
b06992a997 Website: start of a "get involved" page 2022-08-02 12:02:12 +02:00
Sybren A. Stüvel
2b11413b76 Website: reformat the "make targets" table
No textual changes.
2022-08-02 12:02:04 +02:00
Sybren A. Stüvel
2d6475a7e1 Web: make the "get the add-on" button actually do something
The button is now a link that leads to the add-on ZIP.
2022-08-02 11:04:11 +02:00
Sybren A. Stüvel
f3693b88f4 Web: show feedback when clicking the backend URL to copy it
The URL now briefly flashes in the primary color, to show that the click
was acted upon.
2022-08-02 11:03:39 +02:00
Sybren A. Stüvel
72b994db7d Web: show a "get the addon" call to action if there are no jobs
If there are no jobs in the database yet, show a "get the addon" call to
action. This includes the current API URL, which can be copied by clicking
on it.

There is no feedback yet that the copy took place, though.
2022-08-02 10:43:08 +02:00
Sybren A. Stüvel
2185d8b5ee Web: only show the task details when there is a job
The "select a task" text only makes sense when there is a task to be
selected, so if there is no selected job, don't even show that.
2022-08-02 10:41:57 +02:00
Sybren A. Stüvel
ea1bbdf95a Cleanup: web, reformat Vue component
Just applying the auto-formatting.
2022-08-02 10:41:05 +02:00
Sybren A. Stüvel
06d0c3133f Cleanup: reformatting of Vue components
Reformat Vue files with the "Vue.volar" formatter.
2022-08-02 09:34:18 +02:00
Sybren A. Stüvel
38501bac7c Cleanup: web, remove lang="js" from <script> tags
Everything is JavaScript.
2022-08-02 09:32:54 +02:00
Sybren A. Stüvel
98ae0b57d8 Web: prevent scrollbars when resizing the window
The scrollbars still appear for a split second, but then disappear.
2022-08-01 22:59:03 +02:00
Sybren A. Stüvel
28b92c2994 Web: fix scrollbars when toggling the footer 2022-08-01 22:51:30 +02:00
Sybren A. Stüvel
375c5ac3ac Web: fix scrollbar showing in task list column
The blocklist component also needs to wait two ticks before emitting the
"reshuffled" event (which triggers a resize of the tasks table).
2022-08-01 22:49:31 +02:00