Commit Graph

111 Commits

Author SHA1 Message Date
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
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
4af60e1c64 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
2025-07-22 08:58:53 -06:00
9f89dd330f Fix S3 configuration - set are_local_buckets to true
- Changed are_local_buckets from false to true (required for external S3)
- Simplified S3 configuration to only use b2-eu-cen bucket
- Removed unnecessary replication buckets for single bucket setup

This aligns with Ente's documentation where are_local_buckets=true
is used for external S3 services like Wasabi.
2025-07-21 20:44:19 -06:00
89fd59f6a3 Hardcode Wasabi S3 configuration with proper Ente format
- Remove dynamic S3 configuration loading
- Hardcode Wasabi credentials as requested
- Use proper Ente S3 configuration format with datacenter names
- Configure all three storage buckets (b2-eu-cen, wasabi-eu-central-2-v3, scw-eu-fr-v3)
- Set are_local_buckets to false for external S3
- Add compliance flag for Wasabi bucket

This should fix the MissingRegion error by properly configuring S3 storage
according to Ente's expected format.
2025-07-21 20:41:58 -06:00
b849e1d41a Fix port conflict between Museum server and Caddy
- Changed Museum server to run on port 8080 instead of 3080
- Updated all health check URLs to use port 8080
- Updated Caddy reverse proxy to forward API requests to port 8080
- Added clarifying comment about port usage

This resolves the circular reference where both Caddy and Museum were trying to use port 3080.
2025-07-21 17:18:51 -06:00
7986a0a58b Complete rewrite of Ente Cloudron app with cleaner architecture 2025-03-20 17:52:23 +01:00
5abfa15d93 Fix syntax error in validate_binary function 2025-03-20 17:38:20 +01:00
af89daf278 Fix Museum binary validation and add Node.js fallback server 2025-03-20 17:29:12 +01:00
f2116a5dbf Remove Node.js placeholder server completely and use actual Museum server 2025-03-20 17:14:12 +01:00
fbfcb82f2c Enhance Node.js placeholder server with more API endpoints and improve user experience 2025-03-20 17:07:47 +01:00
c5f631043b Fix Museum server binary issues using Docker approach 2025-03-20 16:35:30 +01:00
f267b44f63 Fix Museum server binary issues and add Node.js fallback 2025-03-20 16:19:31 +01:00
ec0950463b Replace Node.js placeholder with actual Museum server 2025-03-20 16:10:30 +01:00
321556f611 Fix infinite loop and implement reliable Node.js placeholder server 2025-03-20 16:03:16 +01:00
58a6d329be Fix infinite loop and implement reliable Node.js placeholder server 2025-03-20 15:59:51 +01:00
8fe05f6c47 Fix Go build environment and frontend URLs 2025-03-20 15:52:35 +01:00
20fe2bc96f Fix GitHub download URLs and implement placeholder server on port 3080 2025-03-20 15:41:24 +01:00
415be71ecf Fix GitHub download issues and provide fallback servers 2025-03-20 15:37:05 +01:00
593048373f Fix GitHub credentials issue, support s3.env, and ensure Caddy properly starts on port 3080 2025-03-20 15:33:49 +01:00
2ffd41cbad Add extensive debugging and more resilient startup 2025-03-20 15:29:43 +01:00
2d79243bb7 Remove mock server components and install real Ente server 2025-03-20 15:12:30 +01:00
cdd6860521 Fix directory creation for static assets and web app files 2025-03-20 14:48:06 +01:00
263498c66d Implement comprehensive SRP Buffer polyfill to fix verification errors 2025-03-20 14:40:50 +01:00
049ed4aa49 Implement Caddy for web app serving and fix OTP verification issues 2025-03-20 14:32:26 +01:00
e50a34747e Add browser compatibility fixes for URL constructor and Node.js functions 2025-03-20 14:18:30 +01:00
6596c652de Fix URL construction error and update verification endpoint with proper schema 2025-03-20 13:54:41 +01:00
a94cd3de7f Replace Go mock server with Node.js implementation for better reliability 2025-03-20 13:45:58 +01:00
14842b8f4f Completely refactored startup script for proper museum server integration 2025-03-20 13:36:52 +01:00
70f0d8e419 Fix API server and URL handling for frontend connectivity 2025-03-20 13:22:13 +01:00
6c2646d093 Fix mock API server initialization and unbound variable issues 2025-03-20 13:04:11 +01:00
9aa4b171c2 Fix here-document syntax issues in runtime config generation and Go module setup for mock API server 2025-03-20 12:49:06 +01:00
cad15b753c Fix here-document syntax error in runtime config generation and Go module initialization 2025-03-20 12:34:05 +01:00
bbeb030fb1 Fix Go module structure for mock servers to resolve build issues 2025-03-18 21:52:41 +01:00
7453fe8e30 Fix mock API server startup issues on port 8080 2025-03-18 21:39:20 +01:00
2d7fe935b5 Fix mock server startup to ensure it starts properly and binds to the correct ports 2025-03-18 21:23:24 +01:00
db4950a316 Fix verification parsing and make code validation more forgiving for testing 2025-03-18 20:54:41 +01:00
25371bcf8c Fix URL construction error by ensuring proper URL formats with protocol prefixes 2025-03-18 20:47:23 +01:00
589b93fda9 Fix syntax errors in mock servers and use HEREDOC with quoted delimiter to prevent shell interpretation issues 2025-03-18 20:42:29 +01:00