• Mahmoud Aglan's avatar
    fix(website): validate section + theme edits and keep unpublished sites private · fa4c5088
    Mahmoud Aglan authored
    Section and theme editors wrote straight to columns that carry CHECK
    constraints, so a bad value surfaced as a 500 rather than a field error.
    Adds rules() mirroring the constraints, Arabic messages(), and an error
    summary in both forms.
    
    home() also served unpublished sites to the public. Staff keep their
    preview route; everyone else is sent to login.
    
    Drops a redundant invalidateAll() from ThemeEditor::save(): the call
    passed an argument the method does not take, and would have flushed
    every tenant's cache. WebsiteSettingService::update() already
    invalidates the one academy that changed.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    fa4c5088
Name
Last commit
Last update
..
Attendance Loading commit data...
Audit/Models Loading commit data...
Document Loading commit data...
Event Loading commit data...
Facility Loading commit data...
Financial Loading commit data...
HR Loading commit data...
Identity Loading commit data...
Inventory Loading commit data...
Notification Loading commit data...
POS Loading commit data...
Participant Loading commit data...
Pricing Loading commit data...
Scheduling Loading commit data...
Shared Loading commit data...
Training Loading commit data...
Website Loading commit data...
WhatsApp Loading commit data...