Sybren A. Stüvel
4c18a19786
Cleanup, Manager: move some SocketIO room handling code and add docs
...
Add some clarifications and move the `roomXXX()` functions into
`sio_rooms.go`.
2022-05-20 11:41:06 +02:00
Sybren A. Stüvel
34bccd9277
Cleanup, web: rename subscribedJob
to subscribedJobID
...
The prop contains the job ID, not the job itself, which is now reflected
in the name.
No functional changes.
2022-05-20 11:27:23 +02:00
Sybren A. Stüvel
adc8738e5b
Web: log SocketIO connection status in notifications history
2022-05-20 11:22:59 +02:00
Sybren A. Stüvel
79c632bc9f
README: expand documentation of code generation
2022-05-20 10:49:37 +02:00
Sybren A. Stüvel
a74ad07642
OAPI: Regenerate code
2022-05-20 10:49:25 +02:00
Sybren A. Stüvel
b535dfed3c
OAPI: expand the description of the TaskUpdate
schema
...
No functional changes.
2022-05-20 10:44:27 +02:00
Sybren A. Stüvel
247903444f
FEATURES: two updates of work done
2022-05-19 17:26:02 +02:00
Sybren A. Stüvel
7b664475ca
Rename job status requeued
to requeueing
2022-05-19 17:25:53 +02:00
Sybren A. Stüvel
ce43eead9a
OAPI: regenerate code
2022-05-19 17:24:59 +02:00
Sybren A. Stüvel
507985e258
OAPI: rename job status requeued
to requeueing
...
Rename job status `requeued` to `requeueing`, because it indicates a
process that's (if things are working well) happening currently.
2022-05-19 17:22:35 +02:00
Sybren A. Stüvel
1aed4bf729
Web: nicer styling for notification history placeholder
...
The `user-select: none` mirrors the 'hint text' in the columns when
there is no active job/task.
2022-05-19 16:53:47 +02:00
Sybren A. Stüvel
dbd32e56cd
Worker: fix FFmpeg issues on Windows
...
Fix the FFmpeg unit test on Windows, by:
- Having actual input files (otherwise the input-glob-creation-function
errors out), and
- ensuring the cleanup function is always run, and
- testing for the right CLI arguments.
2022-05-19 16:42:40 +02:00
Sybren A. Stüvel
f4299018ef
Web: expose the API interface as window.API
...
This makes developing/debugging things a bit easier.
2022-05-19 16:15:36 +02:00
Sybren A. Stüvel
fd0ff82352
Use new job setting visibility rules
...
Update the Blender add-on, web interface, and job compiler script to use
the new visibility settings of job settings.
2022-05-19 16:15:13 +02:00
Sybren A. Stüvel
1086fcbc28
OAPI: Regenerate code
2022-05-19 16:04:10 +02:00
Sybren A. Stüvel
476f584192
OAPI: job settings, allow more granular control over setting visibility
...
Instead of having a per-setting boolean to control whether it's visible
or hidden, there are now four values:
- `visible`: always show.
- `submission`: only show in the UI of a job submitter (like a Blender
add-on).
- `web`: only show in the web interface for management, but not when
submitting the job.
- `hidden`: never show; only available to the job compiler script as
internal setting.
2022-05-19 16:01:53 +02:00
Sybren A. Stüvel
f7e028bcdc
Document guidelines on how to commit OpenAPI changes
2022-05-19 16:01:53 +02:00
Sybren A. Stüvel
22ce5a3e13
Web: only show tasks table if there is job data to show
...
Without this, the tasks table would be shown (off-screen, so you'd have
to scroll to see it) when there is an active job ID, but no data loaded
due to the backend being unavailable.
2022-05-19 15:42:57 +02:00
Sybren A. Stüvel
d5be85daad
Web: show SocketIO connection status in the notifications popover as well
...
Move the connection status indicator to its own component, and use that
in both the notification bar and the popover.
2022-05-19 15:42:07 +02:00
Sybren A. Stüvel
3274e2c551
Web: cleanup, move objectEmpty(o)
function to main.js
...
No functional changes.
2022-05-19 15:41:23 +02:00
Sybren A. Stüvel
6a0e4c6e56
Web: cleanup, simplify plain(x)
function a bit
2022-05-19 15:40:37 +02:00
Sybren A. Stüvel
744fabea78
OAPI: rename pkg/api/flamenco-manager.yaml
to flamenco-openapi.yaml
...
Rename `pkg/api/flamenco-manager.yaml` to `flamenco-openapi.yaml`, to
distinguish the OpenAPI definition file from the Flamenco Manager
configuration file of the same name (but in a different directory).
No functional changes.
2022-05-19 15:22:37 +02:00
Sybren A. Stüvel
0242f2d217
Web: show job updates in the notifications popover
2022-05-19 15:18:19 +02:00
Sybren A. Stüvel
cc62cab1d6
Update code to handle the JobUpdate
to SocketIOJobUpdate
rename
...
No functional changes.
2022-05-19 15:18:06 +02:00
Sybren A. Stüvel
b928896066
OAPI: regenerate code
2022-05-19 15:17:19 +02:00
Sybren A. Stüvel
7753e65b03
OAPI: rename the JobUpdate
schema to SocketIOJobUpdate
...
Rename `JobUpdate` to `SocketIOJobUpdate` to make it consistent with
`SocketIOTaskUpdate`.
Note that `TaskUpdate` exists as another schema, used by Workers to
update tasks they're performing.
2022-05-19 15:16:27 +02:00
Sybren A. Stüvel
6f6e73e068
Web: show placeholder when there are no notifications yet
2022-05-19 15:01:10 +02:00
Sybren A. Stüvel
916ea2015a
Web: always show scrollbar in notification history
...
Force a visible scroll bar, so that the notification history table
always has the same available width. Without this, Tabulator won't
properly act on the reduction in width when the scrollbar appears, and
will show a horizontal scrollbar as well.
2022-05-19 15:00:37 +02:00
Sybren A. Stüvel
2c79a10650
Worker: don't log error if may-i-keep-running is shut down
...
Don't log an error if a worker shutdown (indicated by the context closing)
interrupts a may-i-keep-running call. Instead, log at debug level and just
return "yes, keep running"; we want the Worker to stop the task because it
is shutting down, and not because the Manager told us so.
2022-05-19 15:00:03 +02:00
Sybren A. Stüvel
03a021e14f
Web: don't deactivate current task when clicking on current job
2022-05-19 14:28:54 +02:00
Sybren A. Stüvel
4602ef2523
Web: show task status changes in the notifications
...
This of course only shows notifications about tasks of the active job,
as otherwise things would get messy.
2022-05-19 14:28:37 +02:00
Sybren A. Stüvel
3c622264a4
Manager: include 'activity' in SocketIO task updates
...
This also changes the order in which the task is updated; the activity is
now saved first, so that it can be included in the task status change
notification sent to SocketIO clients.
2022-05-19 14:27:42 +02:00
Sybren A. Stüvel
797dea85ed
Cleanup: manager, document two functions
2022-05-19 14:20:17 +02:00
Sybren A. Stüvel
43f244ecab
Manager: move TaskUpdate API function from jobs.go to workers.go
...
The OpenAPI spec tags this operation as `workers`, so it should be in
`workers.go`.
No functional changes.
2022-05-19 14:20:02 +02:00
Sybren A. Stüvel
12d5b2a1fc
OAPI: regenerate code
2022-05-19 14:11:33 +02:00
Sybren A. Stüvel
6afb1151cc
OAPI: add task activity to SocketIO task updates
2022-05-19 14:07:42 +02:00
Sybren A. Stüvel
919e629bd7
Web: expose notifs
as window-global variable for debugging
2022-05-19 14:07:07 +02:00
Sybren A. Stüvel
034d75a9b8
Web: prevent error when notification popover is empty
2022-05-19 14:06:50 +02:00
Sybren A. Stüvel
d5e5e7b566
Web: fix typo in CSS rule
2022-05-19 13:07:42 +02:00
Sybren A. Stüvel
50fc1a1bbc
Web: hide table header in notification popover
2022-05-19 13:00:42 +02:00
Sybren A. Stüvel
40bed3db5e
Web: add notification history pop-over
...
Add a notification pop-over, which can be opened by clicking the footer
bar.
2022-05-19 12:57:00 +02:00
Sybren A. Stüvel
bc355d68ab
Web: cleanup JobsView, reorder imports of components
...
Order component imports alphabetically, so it's easier to add new ones.
2022-05-19 12:56:12 +02:00
Sybren A. Stüvel
a3524a03a2
Web: remove index view and just redirect to jobs view
...
The index view was there to have at least *something* at `/`, but wasn't
planned out well. It'll some day be replaced by a dashboard of sorts.
2022-05-19 11:12:25 +02:00
Sybren A. Stüvel
3faeff905e
Add Vue.volar
as recommended VSCode extension
2022-05-19 11:08:04 +02:00
Sybren A. Stüvel
618bc8c72f
Add documentation for Shaman on Windows
...
List the steps to take, to allow creating symlinks by regular users.
2022-05-19 10:06:55 +02:00
Sybren A. Stüvel
ddc3acd652
Web: add status filtering to task table
2022-05-17 15:37:29 +02:00
Sybren A. Stüvel
56eedbaddb
Web: remove unused code
2022-05-17 15:37:14 +02:00
Sybren A. Stüvel
d71aa0e5c3
FEATURES.md: various updates
2022-05-17 15:37:08 +02:00
Sybren A. Stüvel
dc7729cfed
Web: cleanup, remove unused parameter
2022-05-17 15:09:47 +02:00
Sybren A. Stüvel
01a81bb3dd
Web: move Task tabulator options into the mounted()
function
...
This basically mirrors what 8f27ea97 did for the jobs table.
No functional changes.
2022-05-17 15:09:25 +02:00