Commit Graph
956 Commits
Author SHA1 Message Date
copilot-swe-agent[bot] 6fa587f55e Initial plan 2026-02-09 09:23:32 +00:00
Thomas Rambach ae453ae7dd Merge pull request #18 from cadtoolbox/copilot/fix-create-user-dialog-fields 2026-02-09 04:09:22 -05:00
copilot-swe-agent[bot]andcadtoolbox e05ef4c94c Use default value destructuring instead of initialData for advancedAuthStatus
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-09 09:02:46 +00:00
copilot-swe-agent[bot]andcadtoolbox a51a295225 Remove unused isLoadingAdvancedAuth variable
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-09 08:59:25 +00:00
copilot-swe-agent[bot]andcadtoolbox 5fd0c43275 Add initialData to advancedAuthStatus query to prevent undefined state
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-09 08:57:15 +00:00
copilot-swe-agent[bot] 2e6cc98f52 Initial plan 2026-02-09 08:49:24 +00:00
Thomas Rambach bd8e4af39d Merge pull request #17 from cadtoolbox/copilot/fix-admin-settings-menu-scroll
Fix admin settings menu scroll and user creation dialog validation for advanced auth
2026-02-09 03:34:35 -05:00
Thomas Rambach c01b5ca864 62942808254 2026-02-09 03:32:20 -05:00
copilot-swe-agent[bot]andcadtoolbox 2648f4f002 Refactor create user validation into useMemo for better readability
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-09 08:24:31 +00:00
copilot-swe-agent[bot]andcadtoolbox e4ca5256de Fix admin settings menu vertical scroll and user creation dialog for advanced auth
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-09 08:22:34 +00:00
copilot-swe-agent[bot] 222179f187 Initial plan 2026-02-09 08:18:22 +00:00
Thomas Rambach 06c14adb17 Merge pull request #16 from cadtoolbox/copilot/update-global-email-settings
Update Global Email settings to match notification email provider fields
2026-02-08 18:39:22 -05:00
Thomas Rambach d87aca45b8 Update package-lock.json 2026-02-08 18:37:06 -05:00
copilot-swe-agent[bot]andcadtoolbox efe574591e Add validation for SMTP username when authentication is enabled
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 23:10:07 +00:00
copilot-swe-agent[bot]andcadtoolbox 14c9e9120e Add i18n translations for Global Email settings in en, de, ja locales
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 23:08:33 +00:00
copilot-swe-agent[bot]andcadtoolbox 3231a487c9 Update email settings to match notification provider fields and rename tab to Global Email
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 23:03:28 +00:00
copilot-swe-agent[bot] bb9c35ef03 Initial plan 2026-02-08 22:54:40 +00:00
Thomas Rambach a45edc3fae Merge pull request #12 from cadtoolbox/copilot/add-advanced-authentication-toggle
Add advanced authentication with email-based login and SMTP notifications
2026-02-08 11:18:28 -05:00
Thomas Rambach 6f8b1db495 Merge pull request #13 from cadtoolbox/copilot/fix-type-errors-email-settings
Fix TypeScript errors, import shadowing, and Docker build
2026-02-08 11:15:07 -05:00
copilot-swe-agent[bot]andcadtoolbox 5425f5cc64 Fix Docker build by reverting package-lock.json changes
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 16:02:56 +00:00
copilot-swe-agent[bot]andcadtoolbox 7735e8ab09 Fix import shadowing in email_service.py
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:57:49 +00:00
copilot-swe-agent[bot]andcadtoolbox 84b5585e94 Plan: Fix import shadowing in email_service.py
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:57:19 +00:00
copilot-swe-agent[bot]andcadtoolbox b2ef293e2d Fix TypeScript compilation errors in EmailSettings and LoginPage
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:43:26 +00:00
copilot-swe-agent[bot] f78514e14c Initial plan 2026-02-08 15:41:32 +00:00
copilot-swe-agent[bot]andcadtoolbox 1a6a53d92e Address code review feedback - fix hooks and random usage
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:34:40 +00:00
copilot-swe-agent[bot]andcadtoolbox 5462249345 Add Email settings tab to SettingsPage with SMTP configuration
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:31:09 +00:00
copilot-swe-agent[bot]andcadtoolbox 726401810c Add email field and reset password to UsersPage
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:28:19 +00:00
copilot-swe-agent[bot]andcadtoolbox 6bdd5730de Add frontend support for forgot password and email login
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:25:48 +00:00
copilot-swe-agent[bot]andcadtoolbox 1058f3fd5c Add backend support for advanced authentication
Co-authored-by: cadtoolbox <12723486+cadtoolbox@users.noreply.github.com>
2026-02-08 15:23:38 +00:00
copilot-swe-agent[bot] 453565d9f8 Initial plan 2026-02-08 15:18:11 +00:00
Thomas Rambach 9e6f46a2ad Revert commit 1d0fe70499c625da4928bd89f2af1fcb07e302ca 2026-02-08 10:04:40 -05:00
maziggy c950c19168 Updated README 2026-02-08 12:54:06 +01:00
maziggy 8503cbc5bf Updated CONTRIBUTING.md 2026-02-08 09:02:22 +01:00
maziggy 91ff1386c4 Added two steps to the docker-test job in ci.yml 2026-02-08 07:54:01 +01:00
MartinNYHC 833a0c62d2 Merge pull request #289 from maziggy/0.1.8.1
Fix FTP download reporting success on 0-byte files
2026-02-07 10:09:31 +01:00
MartinNYHC b27f198386 Merge branch 'main' into 0.1.8.1 2026-02-07 10:06:57 +01:00
maziggy 70e7cba5e7 Fix FTP download reporting success on 0-byte files
download_to_file() returned True when retrbinary transferred 0 bytes
without raising an exception. This caused the /cover endpoint to hit
the empty file check and raise HTTP 500 instead of retrying or
returning 404.

Now treats 0-byte downloads as failures, allowing the cover endpoint's
retry logic to work and falling back to 404 if all attempts fail.
2026-02-07 10:04:17 +01:00
MartinNYHC 6e3cfae9e2 Merge pull request #288 from maziggy/0.1.8.1
v0.1.8.1
v0.1.8.1
2026-02-07 09:43:20 +01:00
MartinNYHC e87a41795c Merge branch 'main' into 0.1.8.1 2026-02-07 09:40:40 +01:00
maziggy c77c9c38fd Fix critical FTP upload failure and revert dangerous exception narrowing
The CodeQL cleanup in "Housekeeping" (2b11efd) bulk-narrowed except
clauses across 50+ files, breaking FTP uploads on ALL printer models.
ftplib.error_perm (550 errors) is not a subclass of ftplib.error_reply,
so diagnose_storage() CWD failures escaped the handler and prevented
STOR from ever executing — causing 100% upload failure and HTTP 500s
on /api/v1/archives/{id}/reprint and /api/v1/library/files/{id}/print.

FTP fixes:
- Remove diagnose_storage() from upload hot path
- Change all except (OSError, ftplib.error_reply) to
  except (OSError, ftplib.Error) across bambu_ftp.py

Exception handling reverts (9 files):
- Revert narrowed except clauses back to except Exception in route
  handlers and service code where broad catches are intentional
  defensive programming (archive parsing, HTTP clients, 3MF/ZIP
  processing, Home Assistant, firmware checks)
- Keep narrow exceptions only where safe (single-op blocks like
  int(), file.unlink(), socket.close())
- Remove unused XMLParseError imports from archive.py, threemf_tools.py

Version system:
- Add 4-segment version support (e.g. 0.1.8.1) for patch releases
- Bump version to 0.1.8.1

Closes #287
2026-02-07 09:29:51 +01:00
maziggy 4b46e443dc Fix critical FTP upload failure and revert dangerous exception narrowing
The CodeQL cleanup in "Housekeeping" (2b11efd) bulk-narrowed except
clauses across 50+ files, breaking FTP uploads on ALL printer models.
ftplib.error_perm (550 errors) is not a subclass of ftplib.error_reply,
so diagnose_storage() CWD failures escaped the handler and prevented
STOR from ever executing — causing 100% upload failure and HTTP 500s
on /api/v1/archives/{id}/reprint and /api/v1/library/files/{id}/print.

FTP fixes:
- Remove diagnose_storage() from upload hot path
- Change all except (OSError, ftplib.error_reply) to
  except (OSError, ftplib.Error) across bambu_ftp.py

Exception handling reverts (9 files):
- Revert narrowed except clauses back to except Exception in route
  handlers and service code where broad catches are intentional
  defensive programming (archive parsing, HTTP clients, 3MF/ZIP
  processing, Home Assistant, firmware checks)
- Keep narrow exceptions only where safe (single-op blocks like
  int(), file.unlink(), socket.close())
- Remove unused XMLParseError imports from archive.py, threemf_tools.py

Closes #287
2026-02-07 09:20:06 +01:00
maziggy 2b11efd882 Housekeeping 2026-02-06 16:36:08 +01:00
maziggy 8e9d252ad3 Housekeeping 2026-02-06 16:35:46 +01:00
maziggy aa3482e48b Add printer_model to 18 FTP call sites for A1/A1 Mini, PS1 compatibility
Several FTP operations (file browser, timelapse scan, storage info,
cover download, skip objects, etc.) were missing the printer_model
parameter. Without it, A1/A1 Mini and PS1 printers can't use the prot_p/prot_c
auto-detection and fallback logic, causing FTP failures on these models
when the mode cache isn't already populated.
2026-02-06 16:29:01 +01:00
maziggy c15fb83af8 Updated CONTRIBUTING.md 2026-02-06 14:56:05 +01:00
maziggy 92308a8afa Updated CONTRIBUTING.md 2026-02-06 14:55:46 +01:00
maziggy 22187ac363 Updated README 2026-02-06 14:16:27 +01:00
maziggy 0d0ed0e4c1 Updated README 2026-02-06 14:15:49 +01:00
maziggy 5803c8ceb1 Added missing toast messages to Spoolman settings 2026-02-06 14:12:12 +01:00
maziggy dccf85de74 Bumped version 2026-02-06 13:48:16 +01:00