• v0.6.1 13ba264431

    Release 0.6.1
    All checks were successful
    Create Release Package / build-release (push) Successful in 1m1s
    Stable

    magdev released this 2026-02-03 14:18:50 +00:00 | 26 commits to main since this release

    Added

    • Auto-Update System:
      • New src/License/Updater.php class for WordPress update integration
      • Hooks into pre_set_site_transient_update_plugins for update detection
      • Plugin info modal via plugins_api filter
      • Configurable update check frequency (1-168 hours)
      • Option to enable/disable update notifications
      • Option to enable/disable automatic updates
      • AJAX endpoint for manual update check
      • Automatic cache clearing when license settings change
    • Updates Tab in Settings:
      • Enable/disable update notifications toggle
      • Enable/disable automatic updates toggle
      • Update check frequency setting
      • Manual "Check for Updates" button
      • Display of last check timestamp and current version
    • Localhost Development Mode:
      • License bypass for local development environments
      • Detects: localhost, 127.0.0.1, ::1, .local/.test/.localhost/.dev/.ddev.site domains
      • Private IP range detection (10.x.x.x, 172.16-31.x.x, 192.168.x.x)
      • "Development Mode" notice on Dashboard and License settings page
    • Extended General Settings:
      • Business address fields (street, city, postal code, country)
      • Contact fields (email, phone, website)
      • Social media fields (Facebook, Instagram, X/Twitter, LinkedIn, TripAdvisor)
    • Pricing Settings Subtabs:
      • Split into three subtabs: Pricing Tiers, Weekend Days, Seasons
      • Each subtab has its own save button
      • Seasons subtab shows priority column and link to Seasons Manager
    • Guest Data Encryption:
      • AES-256-CBC encryption for sensitive data (ID/passport numbers)
      • Uses WordPress AUTH_KEY for encryption key derivation
      • encrypt() and decrypt() methods in Guest class
      • Backward compatible with legacy unencrypted data
      • Security notice displayed in Identification meta box
    • Guest Auto-Creation from Booking:
      • When new guest data is entered in booking form, guest record is automatically created
      • Links booking to the new guest via guest_id meta
      • Prevents duplicate guest entries

    Changed

    • Admin submenu reordered for better organization:
      • Dashboard at top, Settings at bottom
      • Logical grouping: Buildings, Rooms, Bookings, Guests, Services, Calendar, Seasons
    • Booking title auto-generates with guest name and dates (room number removed)
    • Disabled Gutenberg block editor for form-based post types:
      • Service, Guest, and Booking now use classic editor
      • Meta boxes display properly instead of being hidden at bottom
      • Form-based interfaces more appropriate than block editor for data entry
    • Settings tabs now flush with tab content (no gap)

    Fixed

    • Fixed Booking admin issues with auto-draft status causing type errors
    • Fixed guest dropdown to always load existing guests
    • Fixed booking history display on Guest edit page
    • Fixed service pricing meta box not displaying radio buttons (Gutenberg hiding meta boxes)

    Security

    • Guest ID/passport numbers encrypted at rest using AES-256-CBC
    • Random IV generation for each encryption operation
    • Secure key derivation from WordPress AUTH_KEY
    Downloads