Commit Graph

23 Commits

Author SHA1 Message Date
675009ca4f 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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 20:56:27 -06:00
124c4ef949 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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 20:29:46 -06:00
a3be7882db 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

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 19:20:15 -06:00
9cf03586b1 Make Ente CLI usable out of the box 2025-09-29 22:05:24 -06:00
629fb6e680 Bundle Ente CLI for Cloudron console 2025-09-29 21:37:33 -06:00
772d6ab447 Fix SPA asset routing for web apps 2025-09-29 20:47:07 -06:00
eb300ed36d 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
38854d33c6 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.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 19:27:11 -06:00
415148de88 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
023dd2e42e Fix JavaScript URL construction error for API endpoint
- Change NEXT_PUBLIC_ENTE_ENDPOINT from "/api" to "https://example.com/api" during build to satisfy URL constructor requirements
- Add runtime replacement in start.sh to replace placeholder with actual domain endpoint
- This resolves the "TypeError: Failed to construct 'URL': Invalid URL" error in the frontend

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-22 08:58:53 -06:00
Andreas Düren
42c1374606 Add Caddy webserver implementation 2025-03-17 00:13:38 +01:00
Andreas Düren
6546f26d52 Remove web server references from Dockerfile 2025-03-16 23:53:07 +01:00
Andreas Düren
65e88f4408 Update Cloudron app configuration and setup 2025-03-16 22:17:41 +01:00
Andreas Düren
8b28d7eb39 Fix permission issues with go.mod by using a writable copy 2025-03-14 23:41:56 +01:00
Andreas Düren
5f1cf21ebb Update Go version to 1.24.1 to satisfy dependency requirements 2025-03-14 23:37:34 +01:00
Andreas Düren
aaf0dc0ca3 Fix Go version compatibility issues and prevent automatic toolchain downloads 2025-03-14 23:35:14 +01:00
Andreas Düren
47cfcfaf24 Make scripts more robust to handle various repository structures 2025-03-14 21:59:22 +01:00
Andreas Düren
08fbcacb5c Update to include both Museum server and web apps in single package 2025-03-14 21:45:09 +01:00
Andreas Düren
dddefb0f50 Update Dockerfile to include Go and dependencies for Museum server 2025-03-14 21:42:45 +01:00
Andreas Düren
1fc7bcac62 Finalize Dockerfile 2025-03-14 21:31:41 +01:00
Andreas Düren
d11f21f13f Update Dockerfile to examine ente repository structure 2025-03-14 21:27:55 +01:00
Andreas Düren
018f455ce8 Optimize build: remove embedded repositories from source and clone during Docker build 2025-03-14 21:03:47 +01:00
Andreas Düren
c2faaf16fb Initial commit for Ente Cloudron package 2025-03-14 21:01:18 +01:00