Project-Image-Uploader/FeatureRequests
matthias.lotz 712b8477b9 feat: Implement public/internal host separation
Backend:
- Add hostGate middleware for host-based API protection
- Extend rate limiter with publicUploadLimiter (20/hour)
- Add source_host and source_type to audit logs
- Database migration for audit log source tracking
- Unit tests for hostGate middleware (10/20 passing)

Frontend:
- Add hostDetection utility for runtime host detection
- Implement React code splitting with lazy loading
- Update App.js with ProtectedRoute component
- Customize 404 page for public vs internal hosts
- Update env-config.js for host configuration

Docker:
- Add environment variables to prod/dev docker-compose
- Configure ENABLE_HOST_RESTRICTION flags
- Set PUBLIC_HOST and INTERNAL_HOST variables

Infrastructure:
- Prepared for nginx-proxy-manager setup
- Trust proxy configuration (TRUST_PROXY_HOPS=1)

Note: Some unit tests still need adjustment for ENV handling
2025-11-25 20:26:59 +01:00
..
done Removed Navigation in user upload page 2025-11-24 20:38:33 +01:00
FEATURE_PLAN-exif-extraction.md fix: Link in Groups bei leeren Gruppen falsch 2025-11-22 14:07:15 +01:00
FEATURE_PLAN-FrontendPublic.md docs: Add FEATURE_PLAN for public/internal host separation 2025-11-25 20:05:31 +01:00
FEATURE_REQUEST-FrontendPublic.md feat: Implement public/internal host separation 2025-11-25 20:26:59 +01:00
FEATURE_REQUEST-mail.md fix: Link in Groups bei leeren Gruppen falsch 2025-11-22 14:07:15 +01:00