Filament removal:
- Deleted app/models/filament.py, routers/filaments.py, templates/filaments.html
- Migration 0009: drops filaments table and filament_id FK from print_jobs
- Removed Filaments from sidebar and all internal references
FilamentDB integration (read-only):
- app/filamentdb.py: GET /reports/stock with 5-min in-memory cache
- available_materials() / available_colors() populate job form dropdowns
- Falls back to static constants if FilamentDB unreachable
- Dashboard filament count now from FilamentDB rolls_in_stock
- FILAMENTDB_URL added to .env.install; httpx added to requirements
Job detail page (/jobs/{id}):
- Two cards: Job info (customer, material, printer, bracket, timing, cost)
and File & Geometry (bounding box + volume from stl_cache)
- Log timeline with Add Entry modal
- Filename in jobs list links to detail page
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
158 B
Plaintext
9 lines
158 B
Plaintext
MYSQL_HOST=
|
|
MYSQL_PORT=
|
|
MYSQL_DATABASE=
|
|
MYSQL_USER=
|
|
MYSQL_PASSWORD=
|
|
STL_UPLOAD_DIR=/data/stl
|
|
TZ=Europe/Berlin
|
|
FILAMENTDB_URL=https://web.filamentdb.orb.local
|