Commit Graph

1417 Commits

Author SHA1 Message Date
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
68b919156e Bumped version to 3.0-beta1 2022-08-03 12:43:31 +02:00
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
09c6b4e3fa Website: bump latest version to 3.0-dev2 2022-08-02 17:13:55 +02:00
b94a9a154d Bumped version to 3.0-dev2 2022-08-02 17:10:28 +02:00
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
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
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
cbc6bfaf02 Manager: also recognise exec.ErrNotFound as a "blender not found" error 2022-08-02 13:36:25 +02:00
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
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
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
beb302c2b4 Website: add new 'make' targets to the documentation 2022-08-02 12:05:27 +02:00
b06992a997 Website: start of a "get involved" page 2022-08-02 12:02:12 +02:00
2b11413b76 Website: reformat the "make targets" table
No textual changes.
2022-08-02 12:02:04 +02:00
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
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
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
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
ea1bbdf95a Cleanup: web, reformat Vue component
Just applying the auto-formatting.
2022-08-02 10:41:05 +02:00
06d0c3133f Cleanup: reformatting of Vue components
Reformat Vue files with the "Vue.volar" formatter.
2022-08-02 09:34:18 +02:00
38501bac7c Cleanup: web, remove lang="js" from <script> tags
Everything is JavaScript.
2022-08-02 09:32:54 +02:00
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
28b92c2994 Web: fix scrollbars when toggling the footer 2022-08-01 22:51:30 +02:00
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
e3e0968d88 Web: show task type in the task details
The task type was intended to be always shown, but a mistake in the field
name + a misunderstanding caused them to be always hidden.
2022-08-01 22:30:51 +02:00
b3370cdf0d Web: prevent error in task details when task is unassigned to worker 2022-08-01 22:29:43 +02:00
404dbc5be8 Web: allow removal of blocklist entries 2022-08-01 18:55:52 +02:00
11e5363d24 Manager: reject removal of empty list of blocklist entries
A request to remove an empty list of blocklist entries now results in a
400 Bad Request.
2022-08-01 18:55:33 +02:00
3b978ceda0 Cleanup: manager, name variable correctly
It was an old name from copy-pasted code, now it reflects the actual code.

No functional changes.
2022-08-01 18:55:08 +02:00
1469345f3a Manager: sort blocklist by worker name 2022-08-01 18:54:28 +02:00
023d392560 Web: resize the Tasks table after loading the job blocklist
Emit a 'reshuffled' event to let the job view resize the tasks table.
2022-08-01 18:44:50 +02:00
9d65f6f4de Web: use small font for job blocklist 2022-08-01 18:25:17 +02:00
b6d8882b8e Web: show job blocklist
The blocklist is now shown in the job details, in its own tab. The list
is only fetched when the tab is visible, and doesn't get dynamically
updated yet.
2022-08-01 18:24:01 +02:00
f3aab8611c Manager: include worker name when returning blocklist 2022-08-01 18:03:17 +02:00
1caa4c2a59 OAPI: regenerate code 2022-08-01 18:03:05 +02:00
e6f76f520b OAPI: include worker name in blocklist entries
To show the blocklist on the web interface, it's nice to identify workers
by their name and not just their UUID.
2022-08-01 18:02:21 +02:00
37477fc6bd Web: remove console.log calls
Remove a whole lot of `console.log()` calls. They were useful during
development, but not really suitable for production environments. Because
they also include (potentially large) objects, they can even slow down
the webapp itself.
2022-08-01 17:11:45 +02:00
e6b662b8cd README.md: remove most info from the README and direct to the website
The website (which is available in the sources as well) contains all the
information from the README already. Having only one source of information
is good for maintainability.
2022-08-01 16:56:40 +02:00
efff61c454 Website: add some documentation about the storage options
Basically it's "simple, efficient, isolated -- pick two".
2022-08-01 16:36:29 +02:00
1db1b06c9e Website: correct the OpenAPI commit guidelines
The OpenAPI-generated code no longer contains the git hash, so the docs
had to change for that.
2022-08-01 16:36:10 +02:00
fef3de28e1 Fix unit test
Fix unit test broken in rF449c83b9.

No functional changes.
2022-08-01 16:02:08 +02:00
642ef36778 Blender finder: fix compatibility with Windows Home
For some reason, calling `AssocQueryStringW` on Windows Home returns error
code 122, "The data area passed to a system call is too small", even when
the data area is large enough. Furthermore, the API actually describes that
in such cases `S_FALSE` is supposed to be returned, with `*pcchOut` set to
the required size. Because of this apparent violation of the documentation,
and because it just works, Flamenco now ignores this particular error and
just returns the obtained string.
2022-08-01 16:00:49 +02:00
350f4f60cb Worker: convert database interface to GORM
Convert the database interface from the stdlib `database/sql` package to
the GORM object relational mapper.

GORM is also used by the Manager, and thus with this change both Worker
and Manager have a uniform way of accessing their databases.
2022-08-01 14:29:14 +02:00
449c83b94a Manager: broadcast worker update after assigning task
The Manager now broadcasts a worker update to SocketIO clients when a
worker gets a new task assigned. This ensures the "current task" shown in
the worker details view is up to date.
2022-08-01 14:29:08 +02:00
cb1e991305 Bumped version to 3.0-dev1 2022-08-01 14:21:19 +02:00