- Added background task to clean up events older than 3 months
- Added index on timestamp column for faster cleanup
- Fixed success column type in events table
- Updated shutdown handler for new task
- Updated Settings interface to use numbers for maxOpenTimeSeconds and triggerDuration
- Fixed triggerGate response type to match backend
- Updated SettingsDialog to handle numeric inputs correctly
- 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
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