paul 8231f2b60d Fix gallery login errors and photo upload issues
- Fix photo upload cross-device link error
  - Changed fs.rename to fs.copyFile + fs.unlink to handle Docker volume mounts
  - This fixes EXDEV errors when uploading photos from /tmp to storage

- Improve gallery login error handling
  - Add console logging for debugging
  - Prevent form refresh with stopPropagation
  - Show specific error messages based on status codes
  - Keep password field populated on error for retry
  - Map 404 to gallery not found message

- Enhanced upload error messages
  - Show specific error message for each failed file
  - Display backend error messages in toast notifications

These fixes resolve:
1. Photo uploads failing silently with cross-device link errors
2. Login errors not displaying and form refreshing
3. Upload errors not showing user-friendly messages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 09:09:34 +02:00
2025-07-03 16:27:04 +02:00
2025-07-03 16:26:50 +02:00
2025-07-03 16:25:53 +02:00
2025-07-03 16:36:21 +02:00

Photo Sharing Platform

A secure, self-hosted photo sharing platform designed for weddings and events. Features automatic expiration, email notifications, and simple file-based management.

Features

  • 🔒 Password Protected Galleries
  • Automatic Expiration
  • 📧 Email Notifications
  • 📁 Simple File Management
  • 📊 Analytics Integration
  • 🎨 Customizable Themes
  • 📱 Mobile Responsive
  • Docker Ready

Quick Start

  1. Clone the repository
  2. Run ./scripts/install.sh
  3. Configure .env file
  4. Setup SSL: ./scripts/setup-ssl.sh
  5. Start: docker-compose -f docker-compose.prod.yml up -d

Default credentials: admin / admin123 (change immediately!)

Documentation

See DEPLOYMENT.md for detailed deployment instructions.

License

MIT License

S
Description
Secure photo sharing platform for weddings and events with automatic expiration and email notifications
Readme MIT 48 MiB
2025-07-24 15:24:20 +02:00
Languages
JavaScript 49.5%
TypeScript 47.6%
Shell 2.2%
CSS 0.6%
Dockerfile 0.1%