Commit Graph
835 Commits
Author SHA1 Message Date
MartinNYHC b7520cdf66 Merge pull request #253 from sbcrumb/feature/pushover-image-attachments
Add camera image attachments to Pushover notifications
2026-02-04 16:27:20 +01:00
MartinNYHC 925cc13669 Merge branch '0.1.8b' into feature/pushover-image-attachments 2026-02-04 16:18:13 +01:00
maziggy 39f90616f3 Post work #2 PR #262 2026-02-04 16:12:57 +01:00
MartinNYHC a91a9eacbf Delete .github/workflows/codeql.yml 2026-02-04 16:07:37 +01:00
maziggy 6a35e945ce Post work PR #262 2026-02-04 15:54:34 +01:00
MartinNYHC 6420e9d7ad Merge pull request #262 from MisterBeardy/feature/updated_plate_view_v2
Feature/updated_plate_view_v2
2026-02-04 15:27:28 +01:00
MartinNYHC 2833270e29 Merge branch '0.1.8b' into feature/updated_plate_view_v2 2026-02-04 15:27:02 +01:00
SBCrumb 6aa7a560d8 Add camera image attachments to Pushover notifications 2026-02-04 09:21:59 -05:00
MisterBeardy 008fc702fa fixed lint error 2026-02-04 09:15:00 -05:00
maziggy 6577295cc2 Cleanup for PR #258 2026-02-04 14:58:38 +01:00
MartinNYHC 2526728223 Merge pull request #258 from cadtoolbox/cadtoolbox/248
Cadtoolbox - Issue# 248 Files Manager Print/Schedule Consistency with Archives
2026-02-04 14:53:15 +01:00
MartinNYHC cf286407fb Merge branch '0.1.8b' into cadtoolbox/248 2026-02-04 14:53:05 +01:00
maziggy bff7da2861 Updated all CodeQL actions to v4 2026-02-04 14:48:15 +01:00
maziggy 8bdd64e54d Fixed ruff errors 2026-02-04 14:47:15 +01:00
maziggy ab63fed637 Updated CI 2026-02-04 14:43:36 +01:00
MartinNYHC d0d520b64d Merge pull request #260 from karaktaka/fix/virtual_printer_proxy_error
Fix/virtual printer proxy error
2026-02-04 14:39:15 +01:00
MartinNYHC 31a8016c80 Merge branch '0.1.8b' into fix/virtual_printer_proxy_error 2026-02-04 14:38:53 +01:00
Dennis bf75cd2527 Remove unused import statement for sqlalchemy in main.py 2026-02-04 14:36:32 +01:00
Dennis 84f1347bd0 Reorder import statement for jwt in main.py 2026-02-04 14:36:32 +01:00
maziggy cf6f374fee Fix filament hover card overlapping navigation bar (#259)
The FilamentHoverCard positioning logic now accounts for the fixed 56px
header when calculating available space above the trigger element.

Previously, when hovering over AMS slots near the top of the page, the
hover card would appear above the slot but go behind the navigation bar.
Now it correctly detects there isn't enough usable space and flips to
show below the slot instead.

Closes #259
2026-02-04 14:26:16 +01:00
maziggy 85598346f7 Issue #257 Fix:
- Changed the 401 handling in request() to only clear the auth token when the error message indicates the token is actually invalid
- Previously: ANY 401 response cleared the token (could cause cascading failures)
- Now: Only clears on specific messages like "Token has expired", "Could not validate credentials", etc.
- "Authentication required" (which might be a timing issue) no longer clears the token

Closes #257
2026-02-04 14:20:12 +01:00
maziggy 4910bce0b2 Fixed auth header for tasmota discovery 2026-02-04 14:10:11 +01:00
maziggy 3571cd1a42 Fix AMS auto-matching when multiple trays have same tray_info_idx
The tray_info_idx field is a filament TYPE identifier (e.g., "GFA00" for
generic PLA), not unique per spool. When multiple AMS trays are loaded
with the same filament type, the previous code used find() which always
returned the first match regardless of color.

Now checks if tray_info_idx is unique among available trays:
- If unique: use that tray as definitive match (existing behavior)
- If not unique: fall back to color matching among matching trays

Fixed in both backend (print_scheduler.py) and frontend (useFilamentMapping.ts).

Closes #245
2026-02-04 14:03:50 +01:00
maziggy 81d18cb8bd Virtual Printer Proxy Mode Improvements
- SSDP proxy for cross-network setups: select slicer network interface for automatic printer discovery via SSDP relay
- FTP proxy now listens on privileged port 990 (matching Bambu Studio expectations) instead of 9990
- For systemd: requires `AmbientCapabilities=CAP_NET_BIND_SERVICE` capability
- Automatic directory permission checking at startup with clear error messages for Docker/bare metal
2026-02-04 12:29:20 +01:00
Thomas Rambach 332e607f51 Merge pull request #10 from cadtoolbox/copilot/fix-schedule-button-visibility
Revert incorrect conditional visibility on grid view file card action buttons
2026-02-04 06:22:56 -05:00
copilot-swe-agent[bot]andcadtoolbox b9b5302bae Revert: Individual file card buttons should always be visible
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 11:14:09 +00:00
copilot-swe-agent[bot]andcadtoolbox 0d48aba520 Fix: Only show buttons for the selected file, not all files
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 11:07:24 +00:00
copilot-swe-agent[bot]andcadtoolbox 25affaf004 Fix: Show Print/Schedule buttons only when exactly 1 file is selected
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 11:06:21 +00:00
copilot-swe-agent[bot]andcadtoolbox c28fa602e5 Fix: Hide Print/Schedule buttons only when more than 1 file selected
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 11:05:12 +00:00
copilot-swe-agent[bot]andcadtoolbox 44443eafca Revert list view changes - keep per-file buttons visible
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 11:02:52 +00:00
copilot-swe-agent[bot]andcadtoolbox 91af6f25f4 Hide Print and Schedule buttons in individual file actions when files are selected
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 11:02:00 +00:00
copilot-swe-agent[bot] 39d57d5226 Initial plan 2026-02-04 10:55:43 +00:00
Thomas Rambach 13e8c6d27b Merge pull request #9 from cadtoolbox/copilot/hide-schedule-button-on-select 2026-02-04 05:47:50 -05:00
copilot-swe-agent[bot]andcadtoolbox 358394402c Hide Schedule button when more than 1 file selected and update tests
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 10:32:56 +00:00
copilot-swe-agent[bot] c695d69c75 Initial plan 2026-02-04 10:28:56 +00:00
Thomas Rambach 32db62be64 Merge pull request #8 from cadtoolbox/copilot/hide-uploaded-by-column 2026-02-04 05:27:13 -05:00
copilot-swe-agent[bot]andcadtoolbox 307228656c Add tests for auth-based conditional rendering in FileManager
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 10:24:41 +00:00
copilot-swe-agent[bot]andcadtoolbox 8ee8ad1867 Hide Uploaded By column and user filter when auth disabled
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 10:23:26 +00:00
copilot-swe-agent[bot] dec239d0f7 Initial plan 2026-02-04 10:17:46 +00:00
Thomas Rambach 5a8f449f07 Merge pull request #7 from cadtoolbox/copilot/fix-file-manager-ui-issues
Fix FileManager UI: column reordering, filter styling, and label consistency
2026-02-04 05:10:33 -05:00
copilot-swe-agent[bot]andcadtoolbox 6c85910e74 Update German translations to match English changes
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 10:01:47 +00:00
copilot-swe-agent[bot]andcadtoolbox af1c2e5ccb Update FileManagerPage test to use new "Schedule" button text
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 09:59:25 +00:00
copilot-swe-agent[bot]andcadtoolbox 07e56d4860 Fix FileManager UI issues: column reordering, filter styling, and button labels
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-04 09:57:13 +00:00
copilot-swe-agent[bot] 36fb2c6af2 Initial plan 2026-02-04 09:52:41 +00:00
maziggy fe17a6905f Fix AMS auto-matching to use tray_info_idx from 3MF files
When multiple AMS trays have the same filament type and color, Bambuddy
now uses the tray_info_idx attribute from the 3MF file to identify the
exact spool selected during slicing. This ensures the correct tray is
used rather than just picking the first match.

Matching priority: tray_info_idx > exact color > similar color > type-only

Closes #245
2026-02-04 08:18:05 +01:00
maziggy a0d878a231 Fix AMS auto-matching to use tray_info_idx from 3MF files
When multiple AMS trays have the same filament type and color, Bambuddy
now uses the tray_info_idx attribute from the 3MF file to identify the
exact spool selected during slicing. This ensures the correct tray is
used rather than just picking the first match.

Matching priority: tray_info_idx > exact color > similar color > type-only

Closes #245
2026-02-04 08:13:54 +01:00
maziggy f805174e3f Fix mobile layout issues on Archives and Statistics pages
Header action buttons were overflowing outside the screen on iPhone/mobile
devices because the header containers used fixed horizontal layouts.

Changed both pages to use the responsive pattern from PrintersPage:
- Headers stack vertically on mobile (flex-col), horizontal on sm+ (sm:flex-row)
- Button containers use flex-wrap to allow wrapping on narrow screens
- Added gap-4 between title and buttons when stacked

Closes #255
2026-02-04 07:44:58 +01:00
maziggy b3c3ab0563 Fix queue scheduled time displayed in wrong timezone
When editing a queue item, the scheduled time was being displayed in UTC
instead of the user's local timezone. This caused confusion where:
- User selects April 2, 2:00 PM local time
- After saving, it appears shifted by their timezone offset
- Month/day could appear swapped due to the timezone difference

The fix converts the UTC time from the server to local time when
populating the datetime-local input, using toDateTimeLocalValue()
instead of toISOString().slice(0, 16).

Closes #233
2026-02-04 07:35:55 +01:00
maziggy f96b27c5ee Show paused status in print queue when printer is paused
The queue was showing "Printing" even when the printer was paused.
Now fetches real-time printer state for active print jobs and displays
"Paused" with a yellow badge when the printer state is PAUSE/PAUSED.

Changes:
- Add printerState prop to StatusBadge and SortableQueueItem components
- Fetch printer statuses for printers with active jobs using useQueries
- Show pause icon and yellow badge when printing but printer is paused
- Add "paused" translation key for queue status (en, de, ja)

Closes #249
2026-02-04 07:28:46 +01:00
maziggy d4ca646581 Fix filament calculation incorrectly multiplied by quantity
The filament_used_grams field already contains the total filament for
the entire print job (all items combined). The code was incorrectly
multiplying this value by quantity, causing inflated filament totals.

Example: A print with 26 objects using 126g total was being calculated
as 126g * 26 = 3,276g instead of the correct 126g.

Fixes:
- backend/app/api/routes/archives.py: Archive stats endpoint
- backend/app/api/routes/metrics.py: Prometheus metrics endpoint
- frontend/src/components/FilamentTrends.tsx: Trends chart calculations

Closes #229
2026-02-04 07:20:17 +01:00