Claude 42f8d1486e Release v0.9.5-2: Fix critical bugs with settings persistence and timing
This release fixes multiple critical bugs reported in v0.9.5-1:

## Configuration Persistence Fixes
- **CRITICAL**: Fixed sites being wiped when editing password/pause/OSK settings
  - Added load_existing_config() function to load all settings before any menu
  - Now called before configure_optional_features and configure_password_protection
  - Prevents empty URLS/DURS arrays from overwriting existing sites in save_config

- **Fixed password protection not being saved on reboot**
  - Settings now properly persist through load_existing_config function
  - All password protection variables properly loaded from config.json

- **Fixed sites not being saved on reboot**
  - Configuration persistence issue resolved with load_existing_config

## Timing & Extension Fixes (main.js)
- **Fixed time extension rotating to wrong site**
  - Added checks to prevent rotation while pause dialog is open
  - Added checks to prevent rotation while inactivity prompt is open
  - Extension is now applied to the current site, not the next one

- **Fixed pause not working correctly**
  - Pause dialog no longer allows rotation during user selection
  - Extension properly blocks rotation until time expires

- **Fixed manual site timeout popup appearing after 1 minute**
  - Fixed extension expiration to reset lastUserInteraction
  - Prevents prompt from showing immediately after extension expires
  - Added proper checks to prevent duplicate prompts

## User Experience Improvements
- **Added cancel/exit option to menus**
  - configure_optional_features now asks "Save these changes?"
  - configure_password_protection now asks "Save these changes?"
  - Users can discard changes by answering "no"

- **Added comprehensive settings display**
  - show_current_config now displays all sites with [HOME] marker
  - Shows home URL and inactivity timeout
  - Shows optional features status (pause/keyboard buttons)
  - Shows complete password protection configuration
  - Shows lockout timeout, lock time, active hours, and boot password

## Version Updates
- Bumped SCRIPT_VERSION to 0.9.5-2
- Bumped main.js VERSION to 0.9.5-2

All reported issues from 0.9.5-1 have been addressed.
2025-11-21 00:14:11 +00:00
S
Description
Mirror of outis1one/ubuntu-based-kiosk from GitHub
GPL-3.0
4.1 MiB
Languages
Shell 94.1%
JavaScript 4.7%
HTML 0.9%
CSS 0.3%