Commit Graph

  • 5be9985e3b Addon: fix Mypy errors Sybren A. Stüvel 2022-03-11 11:18:21 +01:00
  • afc6b8e1c5 Worker: add -find-manager CLI arg Sybren A. Stüvel 2022-03-11 10:52:03 +01:00
  • b33db33d17 Manager: show error when there was an error loading configuration Sybren A. Stüvel 2022-03-11 10:51:22 +01:00
  • 850678f495 Addon: allow configuring the Manager URL Sybren A. Stüvel 2022-03-10 17:57:26 +01:00
  • 81daa4c249 OAPI: regenerate Python code Sybren A. Stüvel 2022-03-10 15:49:21 +01:00
  • 51b23a38b3 OAPI: integrate Python code generator in Makefile Sybren A. Stüvel 2022-03-10 15:47:21 +01:00
  • 282f91243b OAPI: replace placeholder description of 'jobs' tag Sybren A. Stüvel 2022-03-10 15:45:56 +01:00
  • 416fa9bd28 OAPI: add 'meta' tag for /api/version endpoint Sybren A. Stüvel 2022-03-10 15:45:46 +01:00
  • 78927c2c31 OAPI: put quotes around description with comma Sybren A. Stüvel 2022-03-10 15:41:48 +01:00
  • 341ce51555 Addon: Remove unused generated test files Sybren A. Stüvel 2022-03-10 15:02:07 +01:00
  • a2c2f0ccc0 Add idea to FEATURES.md Sybren A. Stüvel 2022-03-09 23:26:06 +01:00
  • fe91d5e59e Remove UPnP/SSDP proof of concept code Sybren A. Stüvel 2022-03-08 17:26:39 +01:00
  • 842255a065 UPnP/SSDP: actually serve a description.xml Sybren A. Stüvel 2022-03-08 17:25:49 +01:00
  • 353da58ee9 UPnP/SSDP: reduce log level for unreachable URLs Sybren A. Stüvel 2022-03-08 16:46:14 +01:00
  • ca2bf7ff25 UPnP/SSDP: respond with multiple service descriptors Sybren A. Stüvel 2022-03-08 16:46:03 +01:00
  • a19aa86c4e FEATURES.md: mark UPnP/SSDP as 'done' Sybren A. Stüvel 2022-03-08 15:04:03 +01:00
  • a61e3ca6f7 Worker tests: use in-memory SQLite database Sybren A. Stüvel 2022-03-08 15:03:03 +01:00
  • 34138e1b46 Cleanup: run go mod tidy Sybren A. Stüvel 2022-03-08 15:02:05 +01:00
  • fabb79e583 Worker: move autodiscovery code into the 'worker' package Sybren A. Stüvel 2022-03-08 14:41:30 +01:00
  • 8e05024267 UPnP/SSDP: Worker, ping Manager URLs in parallel Sybren A. Stüvel 2022-03-08 14:25:44 +01:00
  • 9761786982 UPnP/SSDP: better logging when recovering from panic Sybren A. Stüvel 2022-03-08 14:08:01 +01:00
  • eec4895c73 UPnP/SSDP client: avoid duplicate URLs Sybren A. Stüvel 2022-03-08 14:06:35 +01:00
  • ae892ff712 Worker: test all discovered Manager URLs Sybren A. Stüvel 2022-03-08 13:55:53 +01:00
  • d6a60c73d0 UPnP/SSDP Server: allow advertising slice of URLs Sybren A. Stüvel 2022-03-08 13:54:41 +01:00
  • 13a74e61d4 UPnP/SSDP client: allow clean shutdowns Sybren A. Stüvel 2022-03-08 13:53:56 +01:00
  • d0b677ffe3 Add API endpoint /api/version to get the Flamenco Manager version Sybren A. Stüvel 2022-03-08 13:52:43 +01:00
  • 42407865eb Worker: change how configuration & credentials are loaded/saved Sybren A. Stüvel 2022-03-08 13:51:03 +01:00
  • c0cd3ca5ad UPnP/SSDP: Cleaner, easier to test (and actually tested) code Sybren A. Stüvel 2022-03-08 12:11:47 +01:00
  • bb91c2e6d6 UPnP/SSDP: prefer link-local addresses if available Sybren A. Stüvel 2022-03-08 11:03:48 +01:00
  • fca628b325 Merge remote-tracking branch 'origin/main' into upnp-ssdp Sybren A. Stüvel 2022-03-07 15:27:12 +01:00
  • 9f5e4cc0cc License: license all code under "GPL-3.0-or-later" Sybren A. Stüvel 2022-03-07 15:26:46 +01:00
  • 43a9e1d439 Add some nice-to-have new features to FEATURES.md Sybren A. Stüvel 2022-03-07 11:21:31 +01:00
  • 4062f024b7 Cleanup: move code to a nicer place Sybren A. Stüvel 2022-03-04 17:46:44 +01:00
  • d153db4280 Work in progress on using UPnP/SSDP to make the Worker find its Manager Sybren A. Stüvel 2022-03-04 17:44:04 +01:00
  • 656a495652 Manager: clean shutdown on Ctrl+C Sybren A. Stüvel 2022-03-04 14:34:35 +01:00
  • 1e784452f3 README: no longer a "proof of concept" Sybren A. Stüvel 2022-03-04 13:24:57 +01:00
  • 183bb23d2a Tests: sleep test using bigger time steps Sybren A. Stüvel 2022-03-04 12:35:01 +01:00
  • dbb9c71df8 Tests: more unified way to do database tests Sybren A. Stüvel 2022-03-04 12:33:45 +01:00
  • f497ac8536 Cleanup: add and remove some comments Sybren A. Stüvel 2022-03-04 12:12:49 +01:00
  • 3bfd5a339f Fix database tests getting interrupted Sybren A. Stüvel 2022-03-04 12:12:10 +01:00
  • de150567b0 Manager: avoid double error message Sybren A. Stüvel 2022-03-04 11:37:29 +01:00
  • cd2fe8170e Errors: remove "error" prefix from message Sybren A. Stüvel 2022-03-04 11:30:13 +01:00
  • 02ce95070f Add VSCode extension recommendations Sybren A. Stüvel 2022-03-04 11:13:17 +01:00
  • 3c6d7773ef Crosspath: add ToNative() function Sybren A. Stüvel 2022-03-04 11:10:10 +01:00
  • 70f8140df5 Crosspath: extend tests with "long UNC" paths Sybren A. Stüvel 2022-03-04 11:09:14 +01:00
  • 0a97d04741 Cleanup: rewrite crosspath.Stem unit test Sybren A. Stüvel 2022-03-04 10:27:31 +01:00
  • 580b3e5726 Go.mod: mark github.com/glebarez/sqlite as directly used Sybren A. Stüvel 2022-03-03 15:26:48 +01:00
  • c91e7b1cac Manager: solve failing unittests by implementing some filepath functions Sybren A. Stüvel 2022-03-03 15:22:43 +01:00
  • b9609f8866 Cleanup: remove unused code Sybren A. Stüvel 2022-03-03 13:52:57 +01:00
  • 641ed7ace9 Manager: make Gorm use Zerolog for logging Sybren A. Stüvel 2022-03-03 13:52:50 +01:00
  • 8824489980 Manager: use in-memory SQLite database for testing Sybren A. Stüvel 2022-03-03 13:51:55 +01:00
  • 9b9c6bffff Replace self-hacked SQLite Gorm driver with 3rd party one Sybren A. Stüvel 2022-03-03 13:48:07 +01:00
  • 2b04623e00 Manager: fix DB transaction isolation issue in task scheduler Sybren A. Stüvel 2022-03-03 13:46:27 +01:00
  • a563f36b98 README: document licenses better Sybren A. Stüvel 2022-03-03 12:10:24 +01:00
  • 9643bf768e Manager: Fix DB migration error of not-null columns Sybren A. Stüvel 2022-03-03 12:06:22 +01:00
  • bf4cc9b056 Add notice to our SQLite Gorm driver Sybren A. Stüvel 2022-03-03 11:52:43 +01:00
  • a7654394b4 Worker: update default task types to match what's currently in use Sybren A. Stüvel 2022-03-03 11:51:53 +01:00
  • 2610836861 Makefile: don't generate code when running make Sybren A. Stüvel 2022-03-03 11:51:15 +01:00
  • efbbb8c7d8 Makefile: remove some unused parts Sybren A. Stüvel 2022-03-03 11:50:03 +01:00
  • 42daa87839 Makefile: convert generated files to native line-ends on Windows Sybren A. Stüvel 2022-03-03 11:49:26 +01:00
  • eaeea38e3f Worker: remove -manager URL CLI argument Sybren A. Stüvel 2022-03-03 11:33:22 +01:00
  • 20fd3228ba Worker: better logging configuration Sybren A. Stüvel 2022-03-03 11:32:57 +01:00
  • 954babd914 Manager: redirect web root to Swagger UI Sybren A. Stüvel 2022-03-01 20:49:11 +01:00
  • ddd0c7602b Change application name to "Flamenco 3" Sybren A. Stüvel 2022-03-01 20:45:01 +01:00
  • 47e36c927c Change package URL to the blender.org repository Sybren A. Stüvel 2022-03-01 20:45:09 +01:00
  • e70a44a146 Manager: switch from PostgreSQL to SQLite Sybren A. Stüvel 2022-03-01 18:50:31 +01:00
  • 60d1710020 Addon: job type form seems to be working Sybren A. Stüvel 2022-03-01 17:24:02 +01:00
  • 5e7e2adef0 Addon: Fixed mypy errors Sybren A. Stüvel 2022-03-01 16:43:35 +01:00
  • 616784df0a Addon: start of framework for API communication Sybren A. Stüvel 2022-03-01 16:36:05 +01:00
  • b678b90932 Proof of concept to test a generated Python OpenAPI client Sybren A. Stüvel 2022-02-28 17:40:00 +01:00
  • bbc6a3f69e Tweak some logging Sybren A. Stüvel 2022-03-01 15:30:51 +01:00
  • 0235ffcb4a Manager: avoid "no record found" error in task scheduler Sybren A. Stüvel 2022-03-01 11:52:28 +01:00
  • 648a220098 Update FEATURES.md Sybren A. Stüvel 2022-02-28 15:30:50 +01:00
  • 6067a0ffb0 Remove 'make static' target Sybren A. Stüvel 2022-02-28 13:02:43 +01:00
  • ba5585461b Cleanup: fix 'vet' warning from socketio-poc Sybren A. Stüvel 2022-02-28 13:01:52 +01:00
  • 194422d9fa Remove -poc suffix from Manager and Worker Sybren A. Stüvel 2022-02-28 13:01:13 +01:00
  • 4627169106 Remove unused Makefile targets Sybren A. Stüvel 2022-02-28 12:59:30 +01:00
  • 7e5a631f33 Cleanup: refactor updateJobAfterTaskStatusChange() Sybren A. Stüvel 2022-02-28 12:50:34 +01:00
  • 41168ff68b Update FEATURES.md Sybren A. Stüvel 2022-02-28 12:09:07 +01:00
  • fab988295d Manager: remove task scheduler SQL debug logs Sybren A. Stüvel 2022-02-28 12:07:23 +01:00
  • b5b7b228ed Worker: capture panics in 'active' state and cleanly sign off before dying Sybren A. Stüvel 2022-02-28 12:07:10 +01:00
  • 7689a988b1 Manager: re-queue tasks of worker when signing off Sybren A. Stüvel 2022-02-28 12:06:50 +01:00
  • 32af1ffaef Manager: actually pass context to Gorm queries Sybren A. Stüvel 2022-02-28 11:47:55 +01:00
  • 3d854078ba Manager: integrate task state machine into API implementation Sybren A. Stüvel 2022-02-25 16:30:27 +01:00
  • 17e622ebc3 Some build & filename tweaks to allow building from scratch again Sybren A. Stüvel 2022-02-25 16:08:08 +01:00
  • 9a5bbb4131 Manager: implement persistence layer interface for task status machine Sybren A. Stüvel 2022-02-25 14:34:29 +01:00
  • 7279f2e35f Manager: task state machine, handle job status -> task status changes Sybren A. Stüvel 2022-02-25 12:30:40 +01:00
  • e8707171b4 Manager: add test for saving task status change with error on job save Sybren A. Stüvel 2022-02-25 11:07:06 +01:00
  • d2f1cf3614 Cleanup: move test helper functions down in the file Sybren A. Stüvel 2022-02-25 11:02:47 +01:00
  • a3a0d97222 Manager: more task state change tests Sybren A. Stüvel 2022-02-24 17:58:02 +01:00
  • df77d09aa6 Start of a task/job state machine Sybren A. Stüvel 2022-02-24 12:34:39 +01:00
  • 64db518f15 Cleanup: remove unused code Sybren A. Stüvel 2022-02-24 12:36:29 +01:00
  • 7420177209 Manager: use api.JobStatus in persistence layer as well Sybren A. Stüvel 2022-02-24 11:54:35 +01:00
  • 7e776167bb Manager: use api.TaskStatus in persistence layer as well Sybren A. Stüvel 2022-02-24 11:53:05 +01:00
  • 4cd10e57b2 Run all Go commands with CGO_ENABLED=0 Sybren A. Stüvel 2022-02-24 11:37:02 +01:00
  • f0aea6646f Run go generate in the right order Sybren A. Stüvel 2022-02-24 11:35:54 +01:00
  • 2a1f5a0df4 Worker: buffer task updates when Manager offline Sybren A. Stüvel 2022-02-22 19:02:33 +01:00
  • e948c5d936 Worker: avoid prematurely exiting 'awake' state Sybren A. Stüvel 2022-02-22 19:01:01 +01:00
  • 5c3a5124f3 Cleanup: add missing comment Sybren A. Stüvel 2022-02-22 19:00:44 +01:00
  • b462e8db1a Worker: wrap api.ClientWithResponsesInterface in a local interface Sybren A. Stüvel 2022-02-22 17:13:04 +01:00