bambuddy/backend/app/utils
maziggy 3466195d60 fix(slice): give the slice modal one filament row per project slot (#2712)
The filament list is positional from the modal down to the CLI's
    filament_N.json parts, but for a source that already carries slice_info the
    requirements endpoint returns only the slots the plate consumes. A
    MakerWorld model declaring four filaments and painting with slot 4 alone
    therefore showed one dropdown, whose PETG pick the CLI bound to slot 1 —
    slot 4 sliced with the profile baked into the source, and the print came out
    PLA.

    The endpoint now takes full_slots, which widens that answer to every
    project slot with used_in_plate flags, and only the slice modal passes it.
    Print-time AMS matching shares the endpoint and keeps the used-only list, so
    it still asks for exactly the spools the job needs.
2026-08-02 09:42:07 +02:00
..
color_utils.py fix(inventory): fix usage tracking for remapped AMS slots and slicer prints 2026-02-16 15:46:32 +01:00
filament_ids.py Feature/spoolman inventory UI (#1241) 2026-05-08 11:52:42 +02:00
filename.py fix(dispatch): align SD cleanup with upload path so doubled-extension library rows don't leave ghost prints (#1542) 2026-05-28 08:40:43 +02:00
http.py fix(http): RFC 6266-encode Content-Disposition so non-ASCII filenames don't crash response (issue #1245) 2026-05-08 14:06:40 +02:00
local_time.py fix(smart-plugs): read a REST plug's lifetime counter, and derive Today/Yesterday from it (issue #2539) 2026-07-11 14:22:31 +02:00
printer_models.py fix(printers): use the model-appropriate name in the fan-speed response 2026-07-28 11:16:23 -05:00
safe_path.py security: harden path-traversal class across routes + services; fifth CI backstop 2026-06-02 12:12:54 +02:00
tag_normalization.py [Feature] Spoolbuddy Fixes and Improvements (#787) 2026-03-24 11:56:33 +01:00
threemf_tools.py fix(slice): give the slice modal one filament row per project slot (#2712) 2026-07-30 17:34:26 +02:00
tray_split.py fix(spoolman): split mid-print usage across AMS backup switch (#1793) 2026-07-01 09:50:30 +02:00