mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #234] [CLOSED] Fix/jwt auth middleware validation #970
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#970
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/234
Author: @deathly1987
Created: 2/2/2026
Status: ❌ Closed
Base:
main← Head:fix/jwt-auth-middleware-validation📝 Commits (9)
70f5b6aBumped versiondb68ddaDocument intentional JWT secret storage (CodeQL Alert #69)7eb6058Spoolman: Show "Open in Spoolman" for linked spools (Issue #210)475773cHousekeeping71def0aAdded full i8n localization support. Available languages are English and Germanbe18ebbFix P2S printer support - disable vibration_cali and fix FTP SSLef64687Merge pull request #227 from deathly1987/fix/p2s-printer-support588a771Added Japanese language pack (Thanks to @nmori)d56c73dfix: JWT token validation middleware - allow authenticated requests📊 Changes
53 files changed (+18577 additions, -11208 deletions)
View changed files
📝
CHANGELOG.md(+14 -0)➖
PLAN.md(+0 -247)➖
RELEASE_NOTES_0.1.6.md(+0 -318)📝
backend/app/api/routes/spoolman.py(+36 -1)📝
backend/app/core/auth.py(+4 -1)📝
backend/app/core/config.py(+1 -1)📝
backend/app/main.py(+10 -0)📝
backend/app/services/bambu_ftp.py(+2 -1)📝
backend/app/services/bambu_mqtt.py(+18 -1)📝
backend/app/services/print_scheduler.py(+8 -3)📝
backend/app/services/printer_manager.py(+1 -0)📝
backend/tests/integration/test_spoolman_api.py(+77 -0)📝
frontend/src/__tests__/components/ConfirmModal.test.tsx(+1 -1)➕
frontend/src/__tests__/components/LinkSpoolModal.test.tsx(+291 -0)➕
frontend/src/__tests__/i18n/locales.test.ts(+35 -0)📝
frontend/src/__tests__/pages/CameraPage.test.tsx(+18 -12)📝
frontend/src/api/client.ts(+6 -0)📝
frontend/src/components/ConfirmModal.tsx(+10 -5)📝
frontend/src/components/EditArchiveModal.tsx(+50 -50)📝
frontend/src/components/FilamentHoverCard.tsx(+34 -14)...and 33 more files
📄 Description
fix: JWT token validation middleware - allow authenticated requests
The auth_middleware was validating JWT tokens but not allowing the request
to proceed after successful validation. This caused all authenticated requests
to fail with 401 Unauthorized.
Changes:
Fixes Spoolman integration and support bundle download with authentication enabled
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.