Commit graph

12620 commits

Author SHA1 Message Date
Andras Bacsai
fbbaab55f5 feat(storage): implement transaction handling in storage settings submission
- Wrapped the storage settings submission process in a database transaction to ensure data integrity.
- Added connection testing within the transaction to verify settings before finalizing the save.
- Enhanced error handling by refreshing the model state after a rollback, ensuring the UI reflects the latest database values.
- Dispatch success event upon successful update and verification of storage settings.
2025-10-07 15:08:22 +02:00
Andras Bacsai
2c64136503 feat(backup): enhance backup job with S3 upload handling and notifications
- Introduced a new notification class, BackupSuccessWithS3Warning, to alert users when local backups succeed but S3 uploads fail.
- Updated DatabaseBackupJob to track local backup success and handle S3 upload errors, improving error reporting and user notifications.
- Modified ScheduledDatabaseBackupExecution model to include a new s3_uploaded boolean field for tracking S3 upload status.
- Adjusted views and validation logic to reflect changes in backup execution status and S3 handling.
- Added tests to ensure the new s3_uploaded column is correctly implemented and validated.
2025-10-07 15:02:23 +02:00
Andras Bacsai
bc8cf8ed84 fix(deployment): save runtime environment variables when skipping build
- Updated the should_skip_build method to save runtime environment variables even when the build step is skipped, ensuring that the latest environment settings are preserved.
- Enhanced logging in prepare_builder_image to differentiate between the first attempt and subsequent attempts, improving clarity in deployment logs.
2025-10-07 14:26:23 +02:00
Andras Bacsai
1a42187d5d fix 2025-10-07 14:20:33 +02:00
Andras Bacsai
981f46c406 fix(deployment): add warning for NIXPACKS_NODE_VERSION in node configurations
- Implemented a check for the NIXPACKS_NODE_VERSION variable in the ApplicationDeploymentJob.
- Added log entries to notify users when NIXPACKS_NODE_VERSION is not set, indicating that Node.js 18 will be used by default, which is EOL.
- Provided guidance on how to override the default version by setting NIXPACKS_NODE_VERSION in environment variables.
2025-10-07 14:19:34 +02:00
Andras Bacsai
9962b69a13 fix(core): set default base_directory and include in submit method
- Updated the base_directory property to default to '/' for better compatibility with Docker setups.
- Included base_directory in the submit method's application array to ensure it is correctly passed during submission, enhancing the functionality of the GithubPrivateRepository component.
2025-10-07 14:12:07 +02:00
Andras Bacsai
8b221552a2 fix(backup): update backup job to use backup_log_uuid for container naming
- Refactored the DatabaseBackupJob to replace instances of backup->uuid with backup_log_uuid for consistency in container naming.
- Ensured that all related Docker commands and processes reference the updated backup_log_uuid, improving clarity and reducing potential errors during backup operations.
2025-10-07 14:05:03 +02:00
Andras Bacsai
eb1f16b62e fix(environment): clear computed property cache after adding environment variables
- Added cache clearing for environment variables and their preview after a new variable is added to ensure the UI reflects the latest data.
- Updated the refreshEnvs method to include cache clearing, enhancing the responsiveness of the environment variable display.
2025-10-07 13:57:59 +02:00
Andras Bacsai
70d0ae2b33 docs(sync): create AI Instructions Synchronization Guide and update CLAUDE.md references
- Added a new document, `.AI_INSTRUCTIONS_SYNC.md`, detailing the organization and synchronization of AI instructions across CLAUDE.md and .cursor/rules/.
- Updated CLAUDE.md to include a note for AI assistants directing them to the new synchronization guide and emphasizing the importance of maintaining consistency.
- Enhanced `.cursor/rules/cursor_rules.mdc`, `README.mdc`, and other related files with cross-references to the synchronization guide for better clarity on maintaining documentation consistency.
2025-10-07 12:52:57 +02:00
Andras Bacsai
806b98a66d
Merge pull request #6784 from abdia3/fix/deployments-indicator-stacking
fix(ui): make the deployments indicator toast in the bottom-left above the sidebar
2025-10-07 12:51:01 +02:00
Andras Bacsai
cef3d3af5d feat(proxy): enhance proxy configuration regeneration by extracting custom commands
- Added a new function to extract custom proxy commands from existing Traefik configurations before regenerating the proxy configuration.
- Updated the proxy configuration generation logic to include these custom commands, ensuring they are preserved during regeneration.
- Introduced unit tests to validate the extraction of custom commands and handle various scenarios, including invalid YAML and different proxy types.
2025-10-07 11:11:13 +02:00
Andras Bacsai
2d371893e7 docs(tests): update testing guidelines for unit and feature tests
- Clarified execution rules for unit tests, emphasizing the use of mocking and the prohibition of database connections.
- Specified that unit tests can run outside Docker, while feature tests must run inside Docker with database access.
- Added design principles for testable code, promoting dependency injection and interface usage.
- Enhanced overall structure and clarity of testing documentation to improve developer understanding of testing strategies.
2025-10-07 11:11:03 +02:00
Andras Bacsai
ae64f8cb86 fix validation on a few views 2025-10-06 21:25:24 +02:00
Abdi Adem
26bc6edbed fix(ui): make the deployments indicator toast in the bottom-left above the sidebar 2025-10-06 18:30:56 +03:00
Andras Bacsai
141199b41f
Merge pull request #6764 from djsisson/bitnami
update bitnami to bitnamilegacy
2025-10-06 11:07:38 +02:00
Andras Bacsai
acf2d5f89b refactor(deployment): update environment variable handling for Docker builds
- Changed the .env file reference to use a build-time .env file located in /artifacts, preventing it from being included in Docker images.
- Introduced a new method to wrap Docker build commands with environment variable exports, enhancing the handling of build-time variables.
- Updated logging messages for clarity regarding the creation and usage of the build-time .env file.
2025-10-06 10:31:58 +02:00
Andras Bacsai
17505aa03b feat(application): add default NIXPACKS_NODE_VERSION environment variable for Nixpacks applications
- Introduced logic to automatically create a default NIXPACKS_NODE_VERSION environment variable when an application uses the 'nixpacks' build pack.
- Ensured the environment variable is configured with appropriate attributes for build-time usage.
2025-10-05 16:07:36 +02:00
Andras Bacsai
239ecd4056 fix dev only thingy 2025-10-05 11:39:22 +02:00
Andras Bacsai
06dfcff559 refactor(deployment): standardize environment variable handling in ApplicationDeploymentJob
- Replaced the use of a dynamic env_filename with a consistent .env file reference across deployment methods.
- Simplified the generation and saving of build-time and runtime environment variables, ensuring they are always written to the .env file.
- Enhanced clarity in the deployment process by removing redundant logic and ensuring environment variables are handled uniformly.
2025-10-04 19:19:15 +02:00
Andras Bacsai
4b947a0d64 refactor(deployment): enhance deployment data retrieval and relationships
- Updated the deployments method in DeploymentsIndicator to include application environment and project relationships for better data context.
- Refactored the application method in ApplicationDeploymentQueue to use Eloquent relationships instead of manual fetching, improving performance and readability.
- Enhanced the deployments indicator view to display application environment and project names, providing clearer deployment context.
2025-10-04 18:02:20 +02:00
Andras Bacsai
158747c8b1 refactor(deployment): streamline environment variable generation in ApplicationDeploymentJob
- Removed redundant logic for merging COOLIFY_* variables into env_args.
- Simplified the process of adding environment variables by directly incorporating generated COOLIFY environment variables.
- Enhanced clarity and maintainability of the generate_env_variables method.
2025-10-04 15:06:49 +02:00
Andras Bacsai
c14497303f fix(elasticsearch): update Elasticsearch and Kibana configuration for enhanced security and setup
- Removed unnecessary environment variables and added security settings for Elasticsearch and Kibana.
- Implemented password setup for the kibana_system user during the Kibana setup process.
- Updated healthcheck commands for both services to ensure proper monitoring and readiness.
- Introduced a new setup service for Kibana to streamline user password configuration.
2025-10-03 20:06:27 +02:00
Andras Bacsai
4cf600445a feat(service): add Elasticsearch password handling in extraFields method
- Implemented logic to retrieve and display the default user password for Elasticsearch in the extraFields method of the Service model.
- Enhanced data collection for environment variables related to Elasticsearch, improving service configuration management.
2025-10-03 20:05:43 +02:00
Andras Bacsai
b4cfb78f86 feat(storage): add read-only volume handling and UI notifications
- Introduced `isReadOnlyVolume` method in `LocalFileVolume` and `LocalPersistentVolume` models to determine if a volume is read-only based on Docker Compose configuration.
- Updated `FileStorage` and `Show` components to set `isReadOnly` state during mounting.
- Enhanced UI to display notifications for read-only volumes, preventing modification actions in the interface.
- Refactored file storage and directory management forms to conditionally enable or disable actions based on read-only status.
2025-10-03 20:05:43 +02:00
Andras Bacsai
0bc7283bd6
Merge pull request #6470 from ShadowArcanist/patch-1
feat(service): add Elasticsearch with Kibana (Closes issue #6449)
2025-10-03 20:05:18 +02:00
Darren Sisson
fb7af48b10
update bitnami to bitnamilegacy 2025-10-03 15:48:11 +01:00
Andras Bacsai
f0fbed8fc2
Merge branch 'next' into patch-1 2025-10-03 12:12:35 +02:00
Andras Bacsai
4b08ac9b6f
Merge pull request #6472 from saurabhraghuvanshii/allow-dep
[Enhancement]: allow deploy from container image hash
2025-10-03 12:10:39 +02:00
Andras Bacsai
9107fb2af5
Merge branch 'next' into allow-dep 2025-10-03 11:52:58 +02:00
Andras Bacsai
41a8ea870f feat(docker): refine Docker image processing in application creation
- Enhanced logic to process Docker image name and tag, including stripping 'sha256:' prefix and removing '@sha256' suffix.
- Implemented validation to check for valid SHA256 hashes and conditionally append '@sha256' to the image name.
- Defaulted the image tag to 'latest' if not provided, improving user experience and data integrity.
2025-10-03 11:49:20 +02:00
Andras Bacsai
7d99d6ad34 feat(docker): improve Docker image submission logic with enhanced parsing
- Added logic to strip 'sha256:' prefix and remove '@sha256' suffix from user input for image SHA256 and name.
- Updated image name handling to append '@sha256' when using a digest, ensuring correct formatting.
- Enhanced validation and parsing for Docker images to improve user experience and data integrity.
2025-10-03 11:42:29 +02:00
Andras Bacsai
590de8ce37 feat(docker): enhance Docker image handling with new validation and parsing logic
- Refactored DockerImage component to use separate properties for image name, tag, and SHA256 digest.
- Introduced DockerImageFormat validation rule to enforce correct image format.
- Updated DockerImageParser to handle new parsing logic for image tags and SHA256 hashes.
- Enhanced UI to separate input fields for image name, tag, and SHA256 digest, improving user experience.
- Added comprehensive tests for DockerImageParser to ensure accurate parsing and validation of image formats.
2025-10-03 11:31:00 +02:00
Andras Bacsai
0e02eff4a1
Merge branch 'v4.x' into allow-dep 2025-10-03 10:57:10 +02:00
Andras Bacsai
e17fbd3b56 refactor: update ente photos configuration for improved service management
- Enhanced environment variable configuration for the server and web services, including database and encryption settings.
- Updated health check intervals and retries for better reliability.
- Changed MinIO service configuration to use port 9000 and adjusted health checks accordingly.
- Improved volume management for data persistence.

These changes aim to streamline the deployment process and ensure better service health monitoring.
2025-10-03 10:47:55 +02:00
Andras Bacsai
ac40a65d41 fix: ente photos 2025-10-03 10:35:16 +02:00
github-actions[bot]
d2254f6d18 docs: update changelog 2025-10-03 10:35:16 +02:00
github-actions[bot]
ee7daca284 docs: update changelog 2025-10-03 10:35:16 +02:00
github-actions[bot]
3020ad3b8c docs: update changelog 2025-10-03 10:35:16 +02:00
github-actions[bot]
f3e8963bd1 docs: update changelog 2025-10-03 10:35:16 +02:00
Vishwanath Martur
fd752377d2 Fix MinIO image and health check to match Coolify standards
- Change MinIO image from 'minio/minio:latest' to 'quay.io/minio/minio:latest'
  This matches the official Coolify MinIO template for consistency
- Update health check from curl-based to 'mc ready local' command
  This is more reliable and matches the official MinIO template
- Update health check intervals and retries to match official template
  (interval: 5s, timeout: 20s, retries: 10)
- Update service templates JSON files with corrected configuration

Addresses @devdilson's feedback about MinIO configuration consistency
with existing Coolify templates and best practices.
2025-10-03 10:35:16 +02:00
Vishwanath Martur
ae3ea6ed92 Restore docker-compose.dev.yml file
- Restore docker-compose.dev.yml to original state as requested by @Cinzya
- File should not be deleted, just reverted to original state
- Addresses reviewer feedback about keeping the file intact
2025-10-03 10:35:16 +02:00
Vishwanath Martur
d9d82d5cc4 Delete docker-compose.dev.yml 2025-10-03 10:35:16 +02:00
Vishwanath Martur
886eaf563b Address reviewer feedback: Fix MinIO endpoint and add admin permissions
- Fix MinIO endpoint configuration to use SERVICE_URL_MINIO_3200 for public access
  This resolves the issue with signed URLs for photo uploads as noted by @devdilson
- Add ENTE_INTERNAL_ADMIN environment variable to grant first account admin permissions
  This prevents the 10GB storage limit issue mentioned in the review
- Update service templates JSON files with the corrected configuration
- Ensure MinIO service has proper SERVICE_URL configuration for external access

Addresses all feedback from @devdilson's review comments:
- Fixes signed URL access for photo uploads
- Grants admin permissions to first account
- Maintains proper service architecture for Coolify deployment
2025-10-03 10:35:16 +02:00
Vishwanath Martur
0d7914c71a Use official Ente Photos icon design
- Update SVG logo to match the official Ente Photos PNG icon
- Based on the official icon from public/ente-photos-icon-green.png
- Maintain official Ente green gradient colors (#00D4AA to #00A693)
- Improve 'e' letterform to match official Ente branding more closely
- Ensure consistency with official Ente Photos visual identity

Addresses reviewer feedback to use official logo instead of custom design
2025-10-03 10:35:16 +02:00
Vishwanath Martur
f16fdc7fdf Update Ente Photos logo to match official branding
- Replace custom camera-based logo with official Ente-inspired design
- Use official Ente green color scheme (#00D4AA to #00A693)
- Implement simplified 'e' letter design matching Ente brand identity
- Remove docker-compose.dev.yml changes as requested in PR review

Addresses feedback from PR review #6515
2025-10-03 10:35:16 +02:00
Vishwanath Martur
35a1d7cdab Add Ente Photos service template files
- Add ente-photos.yaml template with museum, postgres, and minio services
- Add custom SVG logo for Ente Photos
- Update service templates JSON files with new template
2025-10-03 10:35:16 +02:00
Vishwanath Martur
75f590bc81 feat: Add Ente Photos service template
- Add Ente Photos service template with museum server, PostgreSQL, and MinIO
- Include complete Docker Compose configuration with health checks
- Add custom SVG logo for Ente Photos service
- Support for end-to-end encrypted photo storage alternative to Google Photos
- Auto-generate service templates JSON with proper categorization
- Fix docker-compose.dev.yml network configuration for coolify service

Resolves #6501
2025-10-03 10:35:16 +02:00
github-actions[bot]
b4f2d8caf1 docs: update changelog 2025-10-03 08:32:39 +00:00
Andras Bacsai
765c62b195
Merge pull request #6515 from vishwamartur/feature/add-ente-photos-service-template
feat: Add Ente Photos service template
2025-10-03 10:32:17 +02:00
Andras Bacsai
bcd7d399bc
Merge branch 'v4.x' into feature/add-ente-photos-service-template 2025-10-03 10:30:46 +02:00