Commit Graph
169 Commits
Author SHA1 Message Date
maziggy ff53e62ef8 Add comprehensive automated testing infrastructure
Backend:
  - pytest configuration with async support and coverage
  - Unit tests for notification service (23 tests)
  - Unit tests for smart plug manager (12 tests)
  - Unit tests for archive service (16 tests)
  - Integration tests for API endpoints
  - Fix: notifications now send immediately (digest is summary only)

  Frontend:
  - Vitest configuration with jsdom and coverage
  - MSW for API mocking
  - Component tests for Toggle, Button, Card, ConfirmModal (77 tests)
  - Test utilities with custom render wrapper

  CI/CD:
  - GitHub Actions workflow for automated testing
  - Backend lint, unit tests, integration tests
  - Frontend lint, type-check, unit tests, build
2025-12-11 10:03:40 +01:00
maziggy c3026632da Improved auto power off scheduler 2025-12-11 08:02:15 +01:00
maziggy e392597192 Added notification module for AMS humidity and temperature 2025-12-10 20:02:22 +01:00
maziggy 0dc76746b4 Add AMS humidity/temperature history tracking with charts
- Add database model for storing AMS sensor history (humidity, temperature)
  - Record sensor data every 5 minutes via background task
  - Add API endpoint to retrieve history with min/max/avg statistics
  - Create AMSHistoryModal component with Recharts line charts
  - Make humidity/temperature indicators clickable to open history
  - Support time range selection (6h, 24h, 48h, 7d)
  - Show threshold reference lines on charts (Good/Fair levels)
  - Add configurable data retention (default 30 days) in Settings
  - Auto-cleanup old data daily
  - Fix dark theme styling in modal using inline styles
  - Add Escape key to close modal
2025-12-10 19:45:38 +01:00
maziggy ca2eb5d052 Added quick button to disable notification 2025-12-10 19:13:47 +01:00
maziggy dbcbde0b16 Improved email notification provider 2025-12-10 19:12:49 +01:00
maziggy 9cdce0d603 Updated README; Added new screenshots 2025-12-10 17:41:37 +00:00
maziggy 596956c5c6 Updated README; Added new screenshots 2025-12-10 17:33:35 +00:00
maziggy 09bdb183b9 Updated README; Added new screenshots 2025-12-10 17:27:10 +00:00
maziggy d1518083fc ## New Features
### Projects / Print Grouping
  - Create projects to group related prints (e.g., "Voron Build" with 50 parts)
  - Track progress with target count and completion percentage
  - Assign archives to projects via edit modal or context menu
  - Project cards show archive thumbnails with clickable links
  - Color-coded project badges on archive cards
  - Filter and manage projects by status (active/completed/archived)

  ### Full-Text Search (FTS5)
  - SQLite FTS5 virtual table for efficient searching
  - Search across print_name, filename, tags, notes, designer, filament_type
  - Automatic index sync with triggers for INSERT/UPDATE/DELETE

  ### Webhooks & API Keys
  - API key authentication with granular permissions
  - Permissions: can_read_status, can_manage_queue, can_control_printer
  - Secure key generation with prefix display only after creation
  - Settings page API Keys tab for key management
  - Webhook endpoints for external integrations

  ### Failure Analysis
  - Dashboard widget showing failure rate with color coding
  - Correlate failures with conditions (filament type, printer, time)
  - Top failure reasons breakdown
  - Weekly trend visualization

  ### Archive Comparison
  - Select 2-5 archives to compare side-by-side
  - Highlight differences in print settings (yellow)
  - Success/failure correlation insights
  - Modal with close via button, X, Escape, or backdrop

  ### CSV/Excel Export
  - Export archives and statistics with current filters
  - Support for both CSV and Excel (.xlsx) formats
  - openpyxl dependency added

  ## Bug Fixes
  - Fixed context menu submenu not showing (removed overflow-hidden)
  - Fixed project card thumbnails using correct API endpoint
  - Fixed EditArchiveModal to invalidate projects query on save
  - Fixed clipboard API fallback for HTTP contexts
  - Fixed archive PATCH 500 error (FTS5 index rebuild)
  - Fixed FastAPI trailing slash routing for projects endpoint

  ## UI Improvements
  - Context menu submenu with hover/click support
  - Project badge on archive cards with project color
  - "Go to Project" context menu item for assigned archives
  - Clickable project card thumbnails linking to archives
  - Reset Layout button moved to Stats page header
2025-12-10 17:06:43 +00:00
maziggy 60ec159c97 Added CHANGELOG.md 2025-12-10 12:53:44 +00:00
maziggy 711140ddf9 Added mobile PWA support 2025-12-10 11:21:25 +00:00
maziggy 107d94e938 Added playwright tests 2025-12-10 10:23:17 +00:00
maziggy 83fc278b75 Fixed bug where not all AMS spools were synced to Spoolman 2025-12-10 10:02:11 +00:00
maziggy 53fcc2846f Fixed bug where external links were not respected by hotkeys 2025-12-10 09:46:06 +00:00
maziggy f317ead3c6 Fixed bug where external links were not respected by hotkeys 2025-12-10 09:44:47 +00:00
MartinNYHC 39810e9f36 Merge branch 'main' into 0.1.5b 2025-12-10 09:57:35 +01:00
maziggy 8bd404951e Changed version to 0.1.5b4 2025-12-10 08:51:21 +00:00
maziggy ef927985e4 Added filament spool fill levels to printer card 2025-12-10 08:47:12 +00:00
maziggy 0194a0498e Added Docker support 2025-12-09 17:25:17 +00:00
maziggy 8ce64ff38b Added Docker support 2025-12-09 17:10:31 +00:00
maziggy 8618159baa Added Docker support 2025-12-09 17:09:09 +00:00
maziggy 83d8c4e865 Added Docker support 2025-12-09 17:06:54 +00:00
maziggy be77a2c12a Added issue/pull request templates 2025-12-09 14:46:52 +00:00
maziggy e6b01d8ead Added issue/pull request templates 2025-12-09 14:46:30 +00:00
maziggy 302b8a10cf Moved documentation to it's own repository 2025-12-09 14:41:31 +00:00
maziggy 07f4d4482f Moved documentation to it's own repository 2025-12-09 14:41:05 +00:00
maziggy 67d57e6a5e Add comprehensive documentation 2025-12-09 14:05:37 +00:00
maziggy 8e6e999ab7 Add comprehensive documentation 2025-12-09 13:56:43 +00:00
maziggy 38cc31d64c Improved external link module 2025-12-09 13:35:41 +00:00
maziggy 9504f4fc59 Fixed layout for external link icons 2025-12-09 13:20:09 +00:00
maziggy 2683630729 Updated README 2025-12-09 12:59:51 +00:00
maziggy 42cdfdbd74 * Add comprehensive mobile support with responsive navigation
- Add hamburger drawer navigation for mobile (< 768px)
  - Create useIsMobile hook for responsive breakpoint detection
  - Create useLongPress hook for touch gesture context menus
  - Update Button component with 44px min-height for WCAG touch compliance
  - Update Toggle component with larger mobile size (44x28px)
  - Add responsive padding (p-4 md:p-8) to all pages
  - Update ArchivesPage with mobile menu button and horizontal scroll filters
  - Update SettingsPage with stacked column layout on mobile
  - Increase drag handle sizes for touch-friendly reordering
  - Add CSS utilities for touch-manipulation and safe-area insets
2025-12-09 12:55:59 +00:00
maziggy b4007c9594 Added embedded external links to backup/restore module 2025-12-09 12:11:19 +00:00
maziggy 36b57bbafb - External links can now be embedded into sidebar navigation 2025-12-09 12:06:58 +00:00
maziggy 69ba3e2806 Fixed a bug in notification module where newly added notification types were not saved properly 2025-12-09 11:25:32 +00:00
maziggy 50259f6dc4 Removed debug logs for backup/restore module 2025-12-09 11:19:35 +00:00
MartinNYHC c021182429 Merge pull request #16 from maziggy/0.1.5b
- Fixed os.path issue in update module
- Updated screenshots
- Added user options to backup module
- Fixed bug, where switched off printers still show as active on printer page card
- Improved backup/restore module
v0.1.5b3
2025-12-09 12:13:17 +01:00
maziggy ef829f8045 - Improved backup/restore module 2025-12-09 11:08:21 +00:00
maziggy cf972f42c1 - Improved backup/restore module 2025-12-09 11:04:48 +00:00
maziggy 957ad17825 - Improved backup/restore module 2025-12-09 10:59:16 +00:00
maziggy 3f9b7e0b7f - Improved backup/restore module 2025-12-09 10:55:54 +00:00
maziggy b024880cb6 - Improved backup/restore module 2025-12-09 10:42:04 +00:00
maziggy fb6ff3130e - Improved backup/restore module 2025-12-09 10:33:22 +00:00
MartinNYHC c25f05c138 Merge pull request #14 from maziggy/0.1.5-final
0.1.5b2
2025-12-09 10:00:29 +01:00
maziggy 5b6a449663 Cleanup 2025-12-09 08:58:36 +00:00
maziggy 6d71261de7 Renaming app to Bambuddy 2025-12-09 08:55:59 +00:00
maziggy ac4fec7de8 - Fixed bug, where switched off printers still show as active on printer page 2025-12-09 08:26:25 +00:00
maziggy a0f0892ea0 * Added user options to backup module; Fixed HTTP 500 bug 2025-12-09 08:20:27 +00:00
MartinNYHC ca6bce5835 Cleanup v0.1.5b2 2025-12-08 22:44:25 +01:00