Commit Graph

5 Commits

Author SHA1 Message Date
Josh Finlay c4305643f4 fix: Add missing import for RotatingFileHandler 2025-01-08 07:55:30 +10:00
Josh Finlay da3b3ec748 feat: Add comprehensive logging
- Add rotating file logging to /var/log/gatekeeper.log
- Log application events, MQTT, settings, and errors
- Include stack traces and improved error handling
2025-01-08 07:51:54 +10:00
Josh Finlay f6ca88f012 feat: Add MQTT and settings event logging, implement event pagination
- Add event logging for MQTT connection states
- Add event logging for settings changes
- Make event list more compact
- Implement pagination for event list with 'Show More' button
2025-01-08 07:46:08 +10:00
Josh Finlay 70f7e4fd84 Add MQTT integration with Home Assistant and update deployment script 2025-01-08 07:39:07 +10:00
Josh Finlay 18389ed0cb UI/UX Improvements and Infrastructure Updates
Frontend Changes:
- Enhanced mobile responsiveness:
  * Reduced top spacing on mobile screens
  * Made the gate control button larger and full-width on mobile
  * Improved text sizing and padding for better readability
- Improved visual design:
  * Enhanced macOS-style glass effect with deeper shadows
  * Added subtle gradient background with brand colors
  * Made backgrounds more translucent with white overlays
  * Added consistent border styling with white/50 opacity
  * Enhanced hover states with smoother transitions
  * Added shadow to the status indicator dot
  * Made the settings modal more translucent
  * Improved button styling consistency

Backend Changes:
- Updated static files path to use relative path ("../public")
- Removed HTTPS/SSL:
  * Changed API endpoint in frontend from HTTPS to HTTP
  * Removed redirect.py as it's no longer needed for HTTPS redirection
  * Simplified deployment by removing SSL-related configurations

Deployment Improvements:
- Fixed deployment script issues:
  * Preserved proper backend directory structure
  * Added proper directory handling for tar files
  * Fixed tar file naming consistency
  * Removed chmod for non-existent redirect.py
  * Added cd command to ensure correct working directory
  * Updated file paths to use absolute paths where needed

Testing:
- Verified mobile UI improvements
- Confirmed HTTP endpoints are working
- Tested gate control functionality
- Validated settings modal operation
2025-01-07 15:33:31 +10:00