Commit Graph

668 Commits

Author SHA1 Message Date
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
0a695c7f3a Website: add 'single image' to the FAQ 2023-10-10 11:07:48 +02:00
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
68c55f97be Web: fix typo in tags view 2023-09-11 17:11:30 +02:00
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
ee8c349ad3 Cleanup: webapp, remove trailing space 2023-09-11 16:50:03 +02:00
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
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
eb11f10b9d Cleanup: webapp, reformat with Prettier
No functional changes.
2023-09-04 14:10:29 +02:00
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
d6ffb424eb Webapp: remove unused imports
No functional changes.
2023-09-04 13:23:33 +02:00
fb58f101ea Webapp: remove last reference to worker list
Just a remainder of copy-paste.
2023-09-04 13:23:10 +02:00
9029ab89eb Webapp: show placeholder when worker tag has no description
Show a 'click to set a description' placeholder, when a worker tag has
no description. That way it's clear where to click to edit it.
2023-09-04 13:16:08 +02:00
31a5a8dc23 Webapp: make the Manager responsible for setting a default tag description
When creating a new tag, don't set the description in the JS code, but
leave that for the Manager API to do.
2023-09-04 13:08:55 +02:00
Eveline Anderson
c68a72ca49 Web Interface for Tags (#104244)
Add a web interface for CRUD operations of worker tags.

A 'Tags' tab is added to the web interface, with a list of available
worker tags. New ones can be created, existing tags removed, and the
name & description of tags can be edited.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104244
2023-09-04 13:06:06 +02:00
ef726da17b SocketIO broadcasting for worker tags CUD operations
Broadcast create/update/delete operations on worker tags via SocketIO.

Ref: #104204
2023-08-23 13:54:02 +00:00
621f050a68 OAPI: regenerate code 2023-08-23 13:54:02 +00:00
Michael Cook
86cf30e44e Webapp: Clarification of Worker Maintenance section (#104229)
- fix spelling of 'adviced' for 'advised'
- fixed readability of sentence in error state.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104229
2023-08-23 15:23:50 +02:00
Michael Cook
b9582f0ebd Doc: FAQ for when worker cannot find Blender executable
Document how to deal with the warning Flamenco Worker can show during
startup, about not being able to find Blender.
2023-08-23 15:15:36 +02:00
089bae5bf9 Webapp: import notifications on job details component
Errors getting worker tags were logged in the notifications area, but the
notifications Piña store weren't actually imported, causing a JS error.
2023-08-17 16:29:08 +02:00
72ec9501b9 Website: add restart_exit_code to the worker config documentation 2023-08-14 17:40:36 +02:00
9a406f2e33 Website: better documentation of worker actions
Instead of explaining all the menu items, just explain the basic actions
(shut down, restart, sleep, wake up), and explain the 'after task is
finished' vs. 'immediately' separately.
2023-08-14 16:14:44 +02:00
97a909791c Website: make table cells v-align to top
This makes tables a little easier on the eyes.
2023-08-14 16:13:53 +02:00
0364a7ad79 Merge pull request 'Restartable workers' (#104242) from restartable-workers into main 2023-08-14 16:01:33 +02:00
3e72391cbf Restartable workers
When the worker is started with `-restart-exit-code 47` or has
`restart_exit_code=47` in `flamenco-worker.yaml`, it's marked as
'restartable'. This will enable two worker actions 'Restart
(immediately)' and 'Restart (after task is finished)' in the Manager web
interface. When a worker is asked to restart, it will exit with exit
code `47`. Of course any positive exit code can be used here.
2023-08-14 16:00:09 +02:00
1eb7764d00 OAPI: regenerate code 2023-08-14 16:00:06 +02:00
9009b60379 Website: add list of supported commands
Document the commands currently implemented in Flamenco Worker.
2023-08-09 10:55:58 -07:00
4e31ccb31c Add SIGGRAPH 2023 redirect
Add a HTTP redirect for the SIGGRAPH hands-on class. It redirects to
https://siggraph.stuvel.eu/ so that I can easily update the website while
at SIGGRAPH itself.
2023-08-01 17:35:21 +02:00
100e8e404e Rename add-on to flamenco-addon.zip
Rename the add-on from `flamenco3-addon.zip` to `flamenco-addon.zip`.

It still contains the same files as before, and in Blender the name of
the add-on has not changed.
2023-08-01 13:05:02 +02:00
02fac6a4df Change Go package name from git.blender.org to projects.blender.org
Change the package base name of the Go code, from
`git.blender.org/flamenco` to `projects.blender.org/studio/flamenco`.

The old location, `git.blender.org`, has no longer been use since the
[migration to Gitea][1]. The new package names now reflect the actual
location where Flamenco is hosted.

[1]: https://code.blender.org/2023/02/new-blender-development-infrastructure/
2023-08-01 12:42:31 +02:00
e8ae0c3cf2 Website: Fix 'report a bug' link 2023-07-24 14:53:18 +02:00
1dd2e165c8 Webapp: show Manager name in the window title
Show the configured Manager name in the webapp browser window title. This
helps me to distinguish the production farm from my development install.
2023-07-22 13:44:02 +02:00
1ef9a81094 Cleanup: remove TODO
Remove a TODO (the work was done in cdf1cff4).
2023-07-22 13:40:38 +02:00
Eveline Anderson
cdf1cff41b Fix #99410: SocketIO Reconnect Web Interface (#104235)
Fix #99410: Web: fetch version on SocketIO reconnect (and maybe reload)

After losing the SocketIO connection and subsequently reconnecting, the
webapp should re-fetch the Flamenco Manager version and display it in
the top-right corner. If it's different from before, then it will log a
notification about the upgrade and refresh the entire page to ensure the
new version is loaded properly.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104235
2023-07-21 17:16:49 +02:00
ff2d24274c Webapp: delay useNotifs() call in socket-status.js
Instead of calling `useNotifs()` from the main body of `socket-status.js`,
defer that call until the notifications are actually used.

This decouples the two Pina stores at startup, making it possible to load
`socket-status.js` from `App.vue` without conflicts.
2023-07-21 17:02:48 +02:00
4b53c06467 OAPI: regenerate code 2023-07-13 15:00:34 +02:00
ab399594c7 OAPI: regenerate code 2023-07-13 14:42:07 +02:00
168305f785 OAPI: regenerate code 2023-07-13 12:06:21 +02:00
a5e405de16 Web: more SocketIO documentation
Add that the OpenAPI specs also define the structures used for SocketIO
communication.
2023-07-13 10:13:24 +02:00
b83b929e01 Web: add some technical details to the socketIO documentation
Add technical details to explain which part of the SocketIO-based broadcast
system is implemented where in the source code.
2023-07-13 10:08:34 +02:00
Eveline Anderson
830c3fe794 Rename worker 'clusters' to 'tags'
As it was decided that the name "tags" would be better for the clarity
of the feature, all files and code named "cluster" or "worker cluster"
have been removed and replaced with "tag" and "worker tag". This is only
a name change, no other features were touched.

This addresses part of #104204.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104223

As a note to anyone who already ran a pre-release version of Flamenco
and configured some worker clusters, with the help of an SQLite client
you can migrate the clusters to tags. First build Flamenco Manager and
start it, to create the new database schema. Then run these SQL queries
via an sqlite commandline client:

```sql
insert into worker_tags
    (id, created_at, updated_at, uuid, name, description)
  select id, created_at, updated_at, uuid, name, description
  from worker_clusters;

insert into worker_tag_membership (worker_tag_id, worker_id)
  select worker_cluster_id, worker_id from worker_cluster_membership;
```
2023-07-10 11:11:03 +02:00
Eveline Anderson
341dc6c8e2 OAPI: regenerate code 2023-07-10 11:08:44 +02:00
82456424c9 OAPI: regenerate code 2023-07-06 12:19:48 +02:00
Michael Cook
dd34d538ec fix links in mgr configuration doc section (#104226)
Actually include the link URLs in the documentation.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104226
2023-07-03 11:11:44 +02:00
Adi Sage
8a5c099d57 Website: Documenting descriptions for Job and Task Statuses in the documentation webpage
This is a comprehensive list of all possible job and task statuses,
along with a brief description of each status
and a list of possible next statuses.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104214
2023-06-22 19:41:51 +02:00
16da14479b OAPI: regenerate code 2023-05-26 11:25:51 +02:00
Adi Sage
0a2d7d3361 Website: Fix a typo in the docs for Job Types
In the first line of description for Job Types the word 'or' is changed to 'for'.

Reviewed-on: https://projects.blender.org/studio/flamenco/pulls/104212
2023-05-23 11:44:38 +02:00
9cbdadcd4b Add 'Flamenco gets stuck after the first chunk' to the FAQ
So far it's always been an add-on that caused this.
2023-05-22 16:21:42 +02:00
Francesco Siddi
9915951007 Deploy: Update deployment instructions
Move sensitive information into a dedicated .env file, which is
required only for deployment purposes.
2023-05-15 20:09:03 +02:00
bbeefd4bfa Website: fix developer 'get started' links
Links of the `[text][linkname]` form should not have a space between
the two bracketed parts. And I removed the link to projects.blender.org
because the other two links also link there (indirectly resp. directly).
2023-05-09 15:36:23 +02:00