[PR #141] [CLOSED] v0.1.6b11 #939

Closed
opened 2026-05-06 12:34:04 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/141
Author: @maziggy
Created: 1/23/2026
Status: Closed

Base: mainHead: 0.1.6b11


📝 Commits (10+)

  • 0d1056d Added timeouts to Github CI runner
  • 7bca0d7 Fixed Github CI
  • af49d76 Added optional authentication and user management
  • 2e7caf3 Added from future import annotations which defers annotation evaluation so APIKey doesn't need to be imported at runtime.
  • dc30856 Fixed background tests to support new authentication and user module
  • f334c74 Post tasks for PR #117 (Authentication Feature)
  • fa9a154 Added back navigation to user management page
  • d6935c9 Add Home Assistant energy sensor entity support (Issue #119)
  • 01ab2cb Fix filament cost not using default setting
  • 0caa68b Auto-create Spoolman 'tag' extra field on connect (Issue #123)

📊 Changes

58 files changed (+13348 additions, -8945 deletions)

View changed files

📝 .github/workflows/ci.yml (+16 -3)
📝 .gitignore (+3 -0)
📝 CHANGELOG.md (+49 -0)
📝 README.md (+9 -1)
📝 backend/app/api/routes/archives.py (+28 -5)
backend/app/api/routes/auth.py (+253 -0)
📝 backend/app/api/routes/library.py (+223 -0)
📝 backend/app/api/routes/settings.py (+70 -0)
📝 backend/app/api/routes/smart_plugs.py (+28 -2)
📝 backend/app/api/routes/spoolman.py (+3 -0)
backend/app/api/routes/users.py (+205 -0)
📝 backend/app/core/auth.py (+301 -58)
📝 backend/app/core/config.py (+1 -1)
📝 backend/app/core/database.py (+33 -0)
📝 backend/app/main.py (+62 -11)
📝 backend/app/models/smart_plug.py (+4 -0)
backend/app/models/user.py (+20 -0)
backend/app/schemas/auth.py (+47 -0)
📝 backend/app/schemas/library.py (+27 -0)
📝 backend/app/schemas/notification_template.py (+14 -3)

...and 38 more files

📄 Description

v0.1.6b11

New Features

Optional Authentication & User Management (PR #117)

  • Enable password protection for your BamBuddy instance
  • Multi-user support with admin and regular user roles
  • User management page in Settings for admins
  • Login page with session handling
  • Initial setup wizard for first-time configuration
  • API key support for programmatic access

Home Assistant Energy Sensor Support (#119)

  • Configure dedicated power (W), energy today (kWh), and total energy (kWh) sensors for HA smart plugs
  • Enables energy tracking for plugs that expose data as separate sensors (Tapo P110M, IKEA Zigbee2mqtt, etc.)
  • Searchable dropdowns for selecting HA entities and energy sensors
  • Print energy tracking now works for HA plugs, not just Tasmota

ZIP File Support in File Manager (#121)

  • Upload ZIP files to automatically extract contents
  • Option to preserve folder structure or flatten files

Finish Photo URL in Notifications (#126)

  • New {finish_photo_url} template variable for print_complete, print_failed, print_stopped events
  • Photo capture completes before notification is sent
  • New External URL setting in Settings → Network for constructing URLs for external services

Camera Viewer Improvements (#132)

  • Proper zoom and fullscreen support for both embedded and window viewing modes

Bug Fixes

  • Print Time Stats (#137): Quick Stats now uses actual elapsed time instead of slicer estimates; cancelled prints only count time actually printed
  • Skip Objects Modal Overflow (#134): Modal now scrollable when printing many objects
  • Mattermost/Slack Webhooks (#133): Added "Slack / Mattermost" payload format option for compatibility
  • Camera Protocol Detection (#127): Fixed P2S and other models reporting internal codes (e.g., "N7") not being recognized for RTSP
  • Filament Cost Setting: Default filament cost setting now properly used instead of hardcoded value
  • Spoolman Tag Field (#123): Auto-creates required 'tag' extra field on Spoolman connect
  • Telegram Markdown: Fixed parsing errors when messages contain URLs
  • Re-auth Setup: Fixed authentication re-setup flow

Improvements

  • Rearranged Network settings cards (Home Assistant moved to right column above MQTT)
  • Delete operations in File Manager now show loading indicator
  • P2S added to printer model dropdown
  • GitHub issue template updated with Support Package instructions
  • Added timeouts to GitHub CI runner

** Internal**

  • Added internal model code mapping for camera protocol detection (BL-P001, C13, O1D, N7, etc.)
  • New tests for ZIP extraction, HA energy sensors, and authentication
  • Updated CI configuration

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/141 **Author:** [@maziggy](https://github.com/maziggy) **Created:** 1/23/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `0.1.6b11` --- ### 📝 Commits (10+) - [`0d1056d`](https://github.com/maziggy/bambuddy/commit/0d1056ded404deeac6a9eabf3daf1f092f1976cb) Added timeouts to Github CI runner - [`7bca0d7`](https://github.com/maziggy/bambuddy/commit/7bca0d733f718ec778fe55e25d08c7c6bc6733f9) Fixed Github CI - [`af49d76`](https://github.com/maziggy/bambuddy/commit/af49d7686e2ab644846594ecd90484d564788304) Added optional authentication and user management - [`2e7caf3`](https://github.com/maziggy/bambuddy/commit/2e7caf38dad3c956373618bb313776d8c26ad283) Added from future import annotations which defers annotation evaluation so APIKey doesn't need to be imported at runtime. - [`dc30856`](https://github.com/maziggy/bambuddy/commit/dc3085623801e56e3ca6b84c075b552c7567db79) Fixed background tests to support new authentication and user module - [`f334c74`](https://github.com/maziggy/bambuddy/commit/f334c74d0273930da64d37c822549f98040b4597) Post tasks for PR #117 (Authentication Feature) - [`fa9a154`](https://github.com/maziggy/bambuddy/commit/fa9a154c5d5809ce6d73cc7b6a12b1ccc1741faf) Added back navigation to user management page - [`d6935c9`](https://github.com/maziggy/bambuddy/commit/d6935c9253bd56917c3152035b9ba434c22547b2) Add Home Assistant energy sensor entity support (Issue #119) - [`01ab2cb`](https://github.com/maziggy/bambuddy/commit/01ab2cbb4555389514b9247323a9704b837e306c) Fix filament cost not using default setting - [`0caa68b`](https://github.com/maziggy/bambuddy/commit/0caa68b77f8f9c32f053bbb545f5c791b263985f) Auto-create Spoolman 'tag' extra field on connect (Issue #123) ### 📊 Changes **58 files changed** (+13348 additions, -8945 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+16 -3) 📝 `.gitignore` (+3 -0) 📝 `CHANGELOG.md` (+49 -0) 📝 `README.md` (+9 -1) 📝 `backend/app/api/routes/archives.py` (+28 -5) ➕ `backend/app/api/routes/auth.py` (+253 -0) 📝 `backend/app/api/routes/library.py` (+223 -0) 📝 `backend/app/api/routes/settings.py` (+70 -0) 📝 `backend/app/api/routes/smart_plugs.py` (+28 -2) 📝 `backend/app/api/routes/spoolman.py` (+3 -0) ➕ `backend/app/api/routes/users.py` (+205 -0) 📝 `backend/app/core/auth.py` (+301 -58) 📝 `backend/app/core/config.py` (+1 -1) 📝 `backend/app/core/database.py` (+33 -0) 📝 `backend/app/main.py` (+62 -11) 📝 `backend/app/models/smart_plug.py` (+4 -0) ➕ `backend/app/models/user.py` (+20 -0) ➕ `backend/app/schemas/auth.py` (+47 -0) 📝 `backend/app/schemas/library.py` (+27 -0) 📝 `backend/app/schemas/notification_template.py` (+14 -3) _...and 38 more files_ </details> ### 📄 Description v0.1.6b11 **New Features** Optional Authentication & User Management (PR #117) - Enable password protection for your BamBuddy instance - Multi-user support with admin and regular user roles - User management page in Settings for admins - Login page with session handling - Initial setup wizard for first-time configuration - API key support for programmatic access Home Assistant Energy Sensor Support (#119) - Configure dedicated power (W), energy today (kWh), and total energy (kWh) sensors for HA smart plugs - Enables energy tracking for plugs that expose data as separate sensors (Tapo P110M, IKEA Zigbee2mqtt, etc.) - Searchable dropdowns for selecting HA entities and energy sensors - Print energy tracking now works for HA plugs, not just Tasmota ZIP File Support in File Manager (#121) - Upload ZIP files to automatically extract contents - Option to preserve folder structure or flatten files Finish Photo URL in Notifications (#126) - New {finish_photo_url} template variable for print_complete, print_failed, print_stopped events - Photo capture completes before notification is sent - New External URL setting in Settings → Network for constructing URLs for external services Camera Viewer Improvements (#132) - Proper zoom and fullscreen support for both embedded and window viewing modes **Bug Fixes** - Print Time Stats (#137): Quick Stats now uses actual elapsed time instead of slicer estimates; cancelled prints only count time actually printed - Skip Objects Modal Overflow (#134): Modal now scrollable when printing many objects - Mattermost/Slack Webhooks (#133): Added "Slack / Mattermost" payload format option for compatibility - Camera Protocol Detection (#127): Fixed P2S and other models reporting internal codes (e.g., "N7") not being recognized for RTSP - Filament Cost Setting: Default filament cost setting now properly used instead of hardcoded value - Spoolman Tag Field (#123): Auto-creates required 'tag' extra field on Spoolman connect - Telegram Markdown: Fixed parsing errors when messages contain URLs - Re-auth Setup: Fixed authentication re-setup flow **Improvements** - Rearranged Network settings cards (Home Assistant moved to right column above MQTT) - Delete operations in File Manager now show loading indicator - P2S added to printer model dropdown - GitHub issue template updated with Support Package instructions - Added timeouts to GitHub CI runner ** Internal** - Added internal model code mapping for camera protocol detection (BL-P001, C13, O1D, N7, etc.) - New tests for ZIP extraction, HA energy sensors, and authentication - Updated CI configuration --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:34:04 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#939
No description provided.