d594d00227
- Fixed theme not being reflected on gallery and admin login pages - Created GlobalThemeProvider to apply themes globally - Updated gallery and admin login pages to use dynamic CSS variables - Added complete translations for all admin sections in English and German: - Notifications management - Event view and creation - Photo upload functionality - Category management - Archive page view - Analytics dashboard - Branding and theme settings - System settings - CMS page management - Email configuration - Fixed admin photo management display issues - Fixed photo upload category assignment - Added password reset functionality for galleries - Improved error handling and user feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
717 B
Bash
Executable File
19 lines
717 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Test maintenance mode functionality
|
|
|
|
echo "Testing maintenance mode implementation..."
|
|
|
|
# First, let's check the current maintenance mode status
|
|
echo -e "\n1. Checking current maintenance mode status:"
|
|
curl -s http://localhost:3002/api/public/settings | jq '.general_maintenance_mode'
|
|
|
|
# Test a public gallery endpoint
|
|
echo -e "\n2. Testing public gallery endpoint (should get 503 if maintenance is on):"
|
|
curl -s -o /dev/null -w "%{http_code}" http://localhost:3002/api/gallery/test-gallery/info
|
|
|
|
# Test admin login (should always work)
|
|
echo -e "\n\n3. Testing admin login endpoint (should always work):"
|
|
curl -s -o /dev/null -w "%{http_code}" http://localhost:3002/api/admin/login
|
|
|
|
echo -e "\n\nDone!" |