Donkie
d3a4dcfcf8
Added logging for when scheduled backup runs
2023-07-07 17:37:17 +02:00
Donkie
66b6770ddd
Backup API now instead returns 500 on failure
...
Removed the "success" flag
2023-07-07 17:33:19 +02:00
Donkie
4548b8ef77
Don't apply 404 model to all endpoints
2023-07-06 23:55:41 +02:00
Donkie
006512a1b3
Fixed backup openapi description field
2023-07-06 23:49:14 +02:00
Donkie
f24b9610e8
Added automatic nightly SQLite backups
...
Resolves #22
2023-07-04 14:59:05 +02:00
Donkie
51783afe92
Fixed invalid type in spool model
2023-07-04 14:28:52 +02:00
Donkie
899b4ee77d
Fixed health check return type
2023-07-04 12:10:45 +02:00
Donkie
d201f17e5e
Improved manually specifying sqlite db
2023-07-04 12:10:14 +02:00
Donkie
8b4b1bd3e9
Added a health-check endpoint
2023-07-02 22:55:29 +02:00
Donkie
720ec30812
Fixed dependencies on Python >3.9 versions
2023-06-30 23:28:30 +02:00
Donkie
94d8cbf227
SQLite dbs now handle concurrent reqs better
...
Closes #7
2023-06-30 22:28:01 +02:00
Donkie
bbe1dc0f83
Added extra check if a spool has no filament
2023-06-28 20:53:24 +02:00
Donkie
64aaf2a06a
404 error is now more descriptive
2023-06-28 20:44:22 +02:00
Donkie
58426b075f
Clarified timezone in response model
2023-06-25 18:06:40 +02:00
Donkie
3aec319b6a
Now correctly handles datetimes with timezone set
2023-06-25 17:57:17 +02:00
Donkie
7c8d13e8a3
Cleaned up logging code
2023-06-25 16:28:23 +02:00
Donkie
524a8ffc42
Fixed redoc title name
2023-06-01 20:03:15 +02:00
Donkie
4e409f6bb6
Added filament color code field
2023-06-01 19:56:24 +02:00
Donkie
235236d435
Ruff fixes
2023-05-28 22:55:11 +02:00
Donkie
639f91bd49
Client: app is now properly loaded at any URL
2023-05-28 22:50:04 +02:00
Donkie
7c7ee9296c
Added extruder/bed temp override settings
...
Closes #4
2023-05-28 21:52:51 +02:00
Donkie
de1bf05922
Added Alembic for migrations
2023-05-27 23:14:06 +02:00
Donkie
ba6fb62c7b
Enabled pool_pre_ping to mitigate postgres drop
2023-05-21 23:38:21 +02:00
Donkie
1d87235f9e
Fixed spool find filament_name type
2023-05-21 23:06:05 +02:00
Donkie
d3703d0d92
Removed trailing slash from API URLs
2023-05-18 14:33:57 +02:00
Donkie
ecc34f3669
Added a debug mode
2023-05-14 18:54:05 +02:00
Donkie
24083b42f9
Don't expose raw exceptions to client
2023-05-14 10:01:11 +02:00
Donkie
87690b06ca
Fixed find spools not working if no vendor
2023-05-10 22:32:58 +02:00
Donkie
0269518175
Added a basic web UI
2023-05-10 21:11:10 +02:00
Donkie
1c59e0efd5
Added logging level env var
2023-05-09 21:44:25 +02:00
Donkie
ed3e30ea75
Improved compatibility with postgres
2023-05-09 20:03:19 +02:00
Donkie
d8fc5fc37b
Added registered fields to all objects
2023-04-06 20:19:12 +02:00
Donkie
5e1ed54f39
Implemented first_used and last_used
2023-04-06 20:18:55 +02:00
Donkie
8a5d2e220b
Spool weight now counts upwards instead
...
The used filament weight is now kept track of instead of remaining weight. This adds robustness to measurement errors which could accumulate and then the filament usage wouldn't get tracked anymore once the weight hit 0. Now it will just keep going.
2023-04-06 20:06:03 +02:00
Donkie
1a148c0991
Added proper support for all databases
2023-04-06 16:19:33 +02:00
Donkie
b51d0a3183
Implemented find queries
2023-04-05 21:29:39 +02:00
Donkie
6a58caa2ec
Fixed up the find object API
2023-04-03 22:02:38 +02:00
Donkie
08cf68e937
Updated API docs
2023-04-03 21:55:23 +02:00
Donkie
497540511f
Fixed removing filament with spools
2023-04-03 20:12:29 +02:00
Donkie
ada139844a
Added link to the REST API docs
2023-04-03 19:29:51 +02:00
Donkie
a6f872bf69
Added docs generation
2023-04-03 19:25:27 +02:00
Donkie
6fd9662c42
Renamed to Spoolman
...
Spoolson just didn't sound that good after all
2023-04-02 19:19:15 +02:00