• 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
..
contact-submission-list.blade.php Loading commit data...
faq-manager.blade.php Loading commit data...
gallery-manager.blade.php Loading commit data...
menu-manager.blade.php Loading commit data...
news-manager.blade.php Loading commit data...
page-builder.blade.php Loading commit data...
page-manager.blade.php Loading commit data...
partner-manager.blade.php Loading commit data...
section-manager.blade.php Loading commit data...
testimonial-manager.blade.php Loading commit data...
theme-editor.blade.php Loading commit data...