Commit Graph

26 Commits

Author SHA1 Message Date
aaee86823e Fix redirect loop by using dummy albums domain
Instead of trying to match the albums host with current host
(which always fails in path-based routing), use a dummy domain
'albums.localhost.invalid' that will never match the actual host.
This prevents the automatic redirect to /shared-albums.

Version bump to 0.3.2
2025-10-21 20:56:27 -06:00
6d3aaf7277 Fix redirect loop by setting NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT
The app was redirecting to /shared-albums because albumsAppOrigin()
returned the same host as the current URL after runtime replacement.
By setting NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT at build time to a
placeholder and replacing it at runtime with the full path-based URL,
the host comparison will fail and prevent the redirect loop.

Version bump to 0.3.1
2025-10-21 20:29:46 -06:00
98c8185655 Improve URL replacement strategy for frontend assets
- Enhanced rewrite_frontend_reference function to handle multiple URL encoding formats
- Now replaces plain URLs, backslash-escaped URLs, and double-backslash-escaped URLs
- Added https://ente.io -> BASE_URL replacement
- Version bump to 0.3.0
2025-10-21 19:58:39 -06:00
00d7269e00 Fix Ente Cloudron packaging issues
- Fixed admin-helper.sh to use correct Museum binary path (/app/museum-bin/museum)
- Updated start.sh to handle missing S3 configuration gracefully
  - App now starts in configuration mode when S3 is not configured
  - Shows helpful configuration page instead of failing health checks
  - Properly starts Museum server once S3 is configured
- Updated CloudronManifest.json to version 0.2.2
- All web frontends (photos, accounts, auth, cast, albums, family) verified working
- Museum API server running successfully with S3 storage
2025-10-21 19:20:15 -06:00
801ae12029 Auto-configure CLI endpoint 2025-09-30 09:34:25 -06:00
2ccc6bd65c Persist Museum configuration for manual edits 2025-09-29 22:36:37 -06:00
5d2e5919b1 Make Ente CLI usable out of the box 2025-09-29 22:05:24 -06:00
1d16c17c35 Bundle Ente CLI for Cloudron console 2025-09-29 21:37:33 -06:00
760a4ba44a Remove OTT log highlighter 2025-09-29 21:26:21 -06:00
5d62c2de4f Document S3 examples and refresh template 2025-09-29 21:18:19 -06:00
65717243a5 Allow runtime S3 configuration overrides 2025-09-29 20:59:57 -06:00
8f94e35bf5 Fix SPA asset routing for web apps 2025-09-29 20:47:07 -06:00
3785b3b4d1 Force rebuild: Update asset routing with version bump 2025-08-01 14:02:07 -06:00
7b1c28a8c9 Bump version to 0.1.81 for asset routing fix 2025-08-01 13:56:09 -06:00
762d594e80 Fix static asset routing for all web apps
- Add specific _next asset routes for accounts, auth, cast apps
- Add image asset routes for each app
- Ensure each app's assets are served from correct directory
- Keep photos app routing unchanged

Should fix accounts/auth/cast apps loading issues.
2025-08-01 13:55:53 -06:00
0f80f13d50 Resolve merge conflicts with updated version 0.1.79 2025-08-01 13:46:59 -06:00
e60248cf80 Fix API endpoint configuration and domain references
- Change NEXT_PUBLIC_ENTE_ENDPOINT to relative /api for domain flexibility
- Remove runtime JS endpoint replacement (fragile, now unnecessary)
- Fix all domain references to use CLOUDRON_APP_DOMAIN consistently
- Add /ping health check endpoint to Caddy configuration
- Update placeholder server to use dynamic domain

Photos app now working, other apps may need additional fixes.
2025-08-01 13:46:17 -06:00
bc5013f160 Fix web app endpoint configuration
- Use relative /api endpoint in Dockerfile build
- Remove complex runtime replacement logic
- Simplify start.sh to avoid read-only filesystem issues
- Restore working Caddy configuration

Version 0.1.78 ready for deployment
2025-07-26 20:28:15 -06:00
1df089cd21 Implement comprehensive web app API endpoint fix
- Patch origins.ts during Docker build to use window.location.origin + '/api'
- Update version to 0.1.69 to force rebuild
- Add browser compatibility check for server-side rendering
- Fix both API and uploader endpoint redirections

This addresses the root cause where web apps were hardcoded to use
https://api.ente.io instead of the local Museum server.
2025-07-25 19:27:11 -06:00
c4c674b4d0 Fix static asset routing and path handling for auth/accounts/cast apps
- Fixed Next.js static asset (_next/*) routing for each app separately
- Updated app path handling to work with both /app and /app/* patterns
- Resolved 404 errors for static assets from auth, accounts, and cast apps
- Updated to version 0.1.66
2025-07-25 11:12:27 -06:00
1e2cc6c64a Add comprehensive API documentation to Cloudron setup instructions
- Added detailed API endpoint information in SETUP-INSTRUCTIONS.md
- Documented API usage with Ente CLI
- Enhanced routing configuration for auth/cast/accounts apps
- Updated to version 0.1.64
2025-07-25 11:02:06 -06:00
94dac7a7b3 Add OTP email monitor to handle Museum skipped emails
- Implement comprehensive OTP email monitoring service
- Monitor Museum logs for "Skipping sending email" pattern
- Send verification emails using Cloudron email addon
- Add specific regex pattern for Museum's skip email format
- Version bump to 0.1.62

The monitor captures OTP codes from logs when Museum skips sending
emails and sends them via Cloudron's email system. This ensures
users receive their verification codes even when Museum's email
configuration is not sending directly.
2025-07-22 12:27:44 -06:00
435a0568b4 Update CloudronManifest version to 1.0.1
Increment version after multiple iterations of S3 configuration fixes and port conflict resolution.
2025-07-21 20:37:07 -06:00
4cb24ede92 Add Caddy webserver implementation 2025-03-17 00:13:38 +01:00
d777a26ab7 Update Cloudron app configuration and setup 2025-03-16 22:17:41 +01:00
a8858657dc Initial commit for Ente Cloudron package 2025-03-14 21:01:18 +01:00