Commit Graph
3 Commits
Author SHA1 Message Date
Claude b169653ab6 Complete v0.9.9 improvements: Password protection, popup fixes, lockout independence
Password Protection Enhancements:
- Password prompt now appears on bootup if lockout enabled
- Password prompt on system suspend/resume (via powerMonitor)
- Password prompt on screen lock events
- Ensures kiosk is always protected when password feature is enabled

Critical Inactivity Popup Fix:
- Fixed popup not appearing on rotation sites (major UX bug)
- Auto-rotation now preserves userInteractedWithCurrentSite flag
- Added isAutoRotation parameter to attachView()
- Only resets interaction flag on manual navigation
- Inactivity check moved BEFORE rotation check
- Rotation pauses while inactivity prompt is displayed

Lockout Timer Independence:
- Lockout timer now uses lastLockoutCheck instead of lastUserInteraction
- Responding to inactivity prompts no longer resets lockout timer
- Added resetLockoutTimer parameter to markActivity()
- Only actual user interactions (touches, swipes, keyboard) reset lockout
- Ensures lockout fires even if user keeps responding to prompts

Other Fixes:
- Fixed script bailing on manual electron update (graceful error handling)
- Changed "Nuclear reinstall" to "Reinstall complete! System is fresh."
- Moved Session Lockout from Sites menu to Core Settings menu (option 7)

All markActivity() calls updated with proper resetLockoutTimer flags
2025-11-17 02:21:52 +00:00
Claude fc72c84b3c Fix session lockout being interrupted by rotation
Critical fix:
- Rotation now pauses completely when session is locked
- Previously rotation would continue running in background while lockout screen displayed
- This caused the lockout screen to disappear after ~1 minute when rotation occurred
- Added sessionLocked check to rotation logic (line 3888)
- Added sessionLocked check to inactivity prompt logic (line 3836)
- Password lockout screen now stays visible until correct password is entered
2025-11-17 00:05:03 +00:00
Claude 6a285cc5a5 Fix v0.9.9: Menu reorganization and inactivity popup fixes
Major improvements:
- Moved Session Lockout configuration from Sites menu to Core Settings menu
  - Now accessible as option 7 in Core Settings for easier access
  - Removed from Sites menu to reduce clutter

- Fixed critical inactivity popup bug on rotation sites
  - Popup now appears on ALL sites where user has interacted
  - Previously only worked on manual (0-timed) sites
  - Inactivity check now happens BEFORE rotation check
  - Prevents sites from rotating away before popup can appear
  - Rotation pauses while inactivity prompt is displayed

Version bump: v0.9.8 → v0.9.9
2025-11-17 00:01:47 +00:00