Paul Nothaft
e1b6e43e52
feat: photo visibility control with client access (#172)
Add two-tier gallery access system allowing clients (e.g., wedding couples) to
review and hide photos before the gallery is shared with guests.
Backend:
- Migration 074: add visibility column to photos, client_access_enabled/
client_password_hash/client_share_token to events
- Client login endpoint (POST /auth/gallery/:slug/client-login) with bcrypt PIN
- Gallery photo list filters hidden photos for guests, shows all for clients
- Visibility toggle endpoints (single + bulk) for client access level
- Admin event CRUD supports client access fields
- Email template includes client access link + PIN (EN/DE/RU/PT)
Frontend:
- ClientAccessPage: PIN entry form at /gallery/:slug/client-access
- GalleryView: client mode banner, visibility counter, toggle controls
- GridGalleryLayout: eye/eye-off overlay per photo for clients
- AdminPhotoGrid: visibility badge, bulk Hide/Show buttons
- EventDetailsPage: Client Access settings section (toggle, PIN, link)
- CreateEventPage: client access toggle + PIN in event creation form
- GalleryAuthContext: accessLevel/isClient/clientLogin support
- New complete pt-BR locale (pt.json) with all translations
- Client access i18n keys for EN, DE, RU, PT
2026-03-17 13:04:41 +01:00
..
2025-10-02 23:39:17 +02:00
2025-07-24 16:57:07 +02:00
2026-03-17 13:04:41 +01:00
2026-02-22 22:34:44 +01:00
2026-03-17 13:04:41 +01:00
2025-07-24 16:57:07 +02:00
2026-01-17 15:48:24 +01:00
2025-07-24 16:57:07 +02:00
2025-07-24 16:57:07 +02:00
2025-10-13 21:11:38 +02:00
2026-03-16 16:25:29 +01:00
2025-11-25 20:35:59 +00:00
2025-07-24 16:57:07 +02:00
2025-07-24 16:57:07 +02:00
2025-07-24 16:57:07 +02:00
2025-09-19 16:39:18 +02:00
2025-09-21 22:03:07 +02:00
2026-03-16 16:25:29 +01:00
2026-03-16 21:35:09 +00:00
2026-03-11 11:50:43 +01:00
2025-09-05 15:01:16 +02:00
2026-01-07 22:33:40 +01:00