Repository navigation
OneBook 1.0.3
OneBook 1.0.3
Official production release of OneBook 1.0.3 featuring critical security hardening, seamless Demo-to-Admin account transition, input responsiveness enhancements, and a tamper-resistant automatic updater.
🔐 Secure Licence Activation & Setup Token
- Zero Raw-Key Exposure: Completely removed raw licence keys from URL query parameters and browser history.
- One-Time Setup Token: Implemented a short-lived, cryptographically secure single-use setup token (5-minute TTL) for initial Admin account creation.
- Immediate History Scrubbing: Automatic navigation history replacement prevents tokens or setup parameters from persisting in browser history.
🛡️ Improved Demo-to-Admin Transition
- Clean Session Termination: Activating a licence while in Demo Mode now completely purges the active Demo session and cached demo tokens.
- Direct Admin Account Provisioning: Eligible newly licensed users without an existing Admin account are routed directly to create their production Admin credentials.
- Status Bar Cleanliness: Authenticated production Admin users no longer see the
🔵 DEMO MODEtop bar badge.
⚡ Windows Input Responsiveness & Native Shortcuts
- Input Freeze Resolution: Fixed input lockups across Login, Sales, Inventory, and Settings caused by unhandled before-input events.
- Native Keyboard Shortcuts: Enabled standard editing accelerators (
Ctrl+A,Ctrl+C,Ctrl+V,Ctrl+Z) and function keys (F12DevTools toggle).
🗄️ SQLite Startup & Database Path Reliability
- Automated Startup Initialization: Configured default database startup with automatic creation enabled (
allowCreate: true) to prevent startup freezes. - Persistent Location Resolution: Safely remembers configured database folder paths across restarts without prompting users.
- Existing Data Preservation: Upgrading preserves all customer sales records, inventory, settings, and licence bindings without modification.
🔄 In-App Automatic Updater & Integrity Safeguards
- In-App Update UI: Added an interactive Software Updates panel under Settings → About.
- Official Domain Whitelist: Enforced download origin restrictions (
github.com,download.doodlesstore.in). - Binary & Checksum Validation: Pre-execution verification checks Windows PE executable magic headers (
MZ) and compares streaming SHA-512 hashes againstlatest.ymlbefore execution. - Safe Download Handling: Streams updates to temporary
.partfiles with atomic promotion upon verified completion.
🧹 Reports Cleanliness
- Legacy Section Removal: Removed the redundant legacy "Backup and Restore" section from the Reports tab while maintaining database backup and restore in Settings.