3451996a8f
feat: Add temperature ranges for extruder and bed temps ( #5 )
...
CI / style (push) Has been cancelled
CI / build-client (push) Has been cancelled
CI / build-amd64 (push) Has been cancelled
CI / build-tester (push) Has been cancelled
CI / test (cockroachdb) (push) Has been cancelled
CI / test (mariadb) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / test (sqlite) (push) Has been cancelled
CI / build-arm64 (push) Has been cancelled
CI / build-armv7 (push) Has been cancelled
CI / publish-images (push) Has been cancelled
CI / publish-release (push) Has been cancelled
Store extruder and bed temperatures as min/max ranges instead of
single values for more accurate filament specifications.
Backend changes:
- Add 4 new columns: settings_extruder_temp_min/max, settings_bed_temp_min/max
- Keep old columns for backward compatibility (marked deprecated)
- Alembic migration copies existing values to both min and max
- Update Pydantic models and API endpoints
Frontend changes:
- Filament model updated with new fields
- Create form uses min/max input pairs with Space.Compact
- Import from external DB populates both min and max with same value
- Label template updated to show ranges: "ET: 190-220 °C"
- Template help includes new tags
Labels now display temperature ranges like "190-220°C" which is more
useful for printing than a single recommended value.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-14 20:05:02 -06:00
Donkie
139d435cee
Fixed manufacturer with spool weight 0 not being allowed
...
Resolves #521
2024-11-25 20:49:39 +01:00
Donkie
93d27a96d3
Spool weight can now be set to 0
...
Fixes #422
2024-08-05 19:39:54 +02:00
Donkie
8c164ac55f
Added backend support for multi-color filaments
2024-05-28 18:49:24 +02:00
Donkie
535fa40ad2
Updated most python dependencies
...
Primarily FastAPI and Pydantic to v2. Also ruff to latest.
Updated some code to support Pydantic v2
2024-05-23 19:42:27 +02:00
Donkie
1e4c73138c
Added external ID fields to filaments and vendors
2024-05-12 21:58:00 +02:00
Matt Gerega
c6f9abeced
Changed initial_weight to be net weight, not gross weight
2024-04-10 11:00:46 -04:00
Matt Gerega
3ea4937f24
Updated spool UIs (create/edit)
2024-03-27 14:47:05 -04:00
Matt Gerega
3aed735cea
Updated vendor API to correct issues - Implement new UI
2024-03-26 21:26:41 -04:00
Donkie
77ac9d6a5c
Added custom extra fields to backend
...
No integration tests yet, TBD
2024-01-23 18:58:57 +01:00
Donkie
44da991d47
Added a new backend settings system
...
This can be used for saving runtime-configurable settings in the database.
2024-01-16 19:17:06 +01:00
pdsccode
50ac398519
Fixed missing comma in api model spool price
2023-12-30 09:29:26 +01:00
pdsccode
f659284bed
Fixed api missing spool price return
2023-12-30 09:28:08 +01:00
pdsccode
1eb78f01df
Added pricing field for single spool
2023-12-30 07:29:27 +01:00
Donkie
d119a27cc2
Added separate get_logs_dir function for logs dir
...
Instead of piggy-backing on the data dir
2023-11-25 21:42:56 +01:00
Donkie
5f7a063125
Added resource field in websocket message
...
Used to differentiate resources for root-level subscriptions
2023-10-15 20:39:53 +02:00
Donkie
a6d527aaf0
Added/deleted-type websocket messages
...
Events are now sent for not only when an object changes but also when one is created or deleted.
For now it's not really possible to subscribe to these events however.
This breaks backwards-compatibility with the websocket messages.
2023-10-15 19:46:10 +02:00
Donkie
205574fa2c
Fixed timezone being returned incorrectly
...
Happened if you've set TZ to non-UTC.
Apparently astimezone and replace doesn't do the same thing even if tzinfo is None.
2023-10-02 21:36:50 +02:00
Donkie
b795680226
Added missing timezone in responses
...
Fixes #114
2023-09-20 20:13:02 +02:00
Donkie
1a3efd9ea9
Added git commit and build date env and API
2023-09-17 10:51:28 +02:00
Donkie
871e5282e5
Updated python packages
2023-08-28 21:10:07 +02:00
Donkie
4cb2542a41
Added support for color_hex alpha channel
2023-08-12 21:32:20 +02:00
Donkie
f89cf8ecd4
Added archived field to spools
...
Resolves #13
2023-07-14 14:19:57 +02:00
Donkie
247df66736
Added a /info endpoint
...
Contains useful info like version, and configurations
2023-07-10 11:46:19 +02:00
Donkie
5654b5d7bc
Added used_length and remaining_length API fields
...
They're calculated from the weights
Resolves #37
2023-07-10 11:19:46 +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
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
8b4b1bd3e9
Added a health-check endpoint
2023-07-02 22:55:29 +02:00
Donkie
58426b075f
Clarified timezone in response model
2023-06-25 18:06:40 +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
7c7ee9296c
Added extruder/bed temp override settings
...
Closes #4
2023-05-28 21:52:51 +02:00
Donkie
d8fc5fc37b
Added registered fields to all objects
2023-04-06 20:19:12 +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
08cf68e937
Updated API docs
2023-04-03 21:55:23 +02:00
Donkie
6fd9662c42
Renamed to Spoolman
...
Spoolson just didn't sound that good after all
2023-04-02 19:19:15 +02:00