Commit Graph

12385 Commits

Author SHA1 Message Date
Andras Bacsai
ad58dfc62e feat(sudo-helper): add helper functions for command parsing and ownership management with sudo 2025-09-09 09:00:42 +02:00
Andras Bacsai
a7671ed379 refactor(dns-validation): rename DNS validation functions for consistency and clarity, and remove unused code 2025-09-09 09:00:35 +02:00
Andras Bacsai
ccc9ceb734 refactor(remoteProcess): remove debugging statement from transfer_file_to_server function to clean up code 2025-09-09 08:56:16 +02:00
Andras Bacsai
45ca76ed1c fix(LocalFileVolume): add missing directory creation command for workdir in saveStorageOnServer method 2025-09-09 08:56:00 +02:00
Arnaud B
e23ab1e621 feat(deployment): add SERVICE_NAME variables for service discovery
This change introduces automatically generated `SERVICE_NAME_<SERVICE>`
environment variables for each service within a Docker Compose deployment.
This allows services to reliably reference each other by name, which is particularly
useful in pull request environments where container names are dynamically suffixed.

- The application parser now generates and injects these `SERVICE_NAME` variables
   into the environment of all services in the compose file.
- `ApplicationDeploymentJob` is updated to correctly handle and filter these
  new variables during deployment.
- UI components and the `EnvironmentVariableProtection` trait have been updated
to make these generated variables read-only, preventing accidental modification.

This commit introduces two new helper functions to standardize resource naming
for pull request deployments:

-  `addPreviewDeploymentSuffix()`: Generates a consistent suffix format (-pr-{id})
   for resource names in preview deployments
-  `generateDockerComposeServiceName()`: Creates SERVICE_NAME environment variables
   for Docker Compose services
2025-09-08 15:22:44 +02:00
Andras Bacsai
23fb43bb96 Merge pull request #6510 from ChiragAgg5k/fix-appwrite-template
fix: appwrite template - 500 errors, missing env vars etc.
2025-09-08 14:04:45 +02:00
Andras Bacsai
18068857b1 refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency 2025-09-08 14:04:24 +02:00
Andras Bacsai
852b2688d9 refactor(error-handling): remove ray debugging statements from CheckUpdates and shared helper functions to clean up error reporting 2025-09-08 14:03:27 +02:00
Andras Bacsai
4c0c16a241 refactor(backlog): remove outdated guidelines and project manager agent files to streamline task management documentation 2025-09-08 09:19:24 +02:00
Andras Bacsai
a243b99df4 feat(exceptions): introduce NonReportableException to handle known errors and update Handler for selective reporting 2025-09-08 09:18:25 +02:00
Chirag Aggarwal
914fcfa0ca Merge branch 'next' into fix-appwrite-template 2025-09-08 11:07:21 +07:00
Andras Bacsai
45c75ad9c1 feat(ssh): add Sentry tracking for SSH retry events to enhance error monitoring 2025-09-07 18:57:20 +02:00
Andras Bacsai
4bd29bf966 refactor(ssh): enhance error handling in SSH command execution and improve connection validation logging 2025-09-07 18:45:44 +02:00
Andras Bacsai
579cc25898 fix(ssh): introduce SshRetryHandler and SshRetryable trait for enhanced SSH command retry logic with exponential backoff and error handling 2025-09-07 17:17:35 +02:00
Andras Bacsai
b847740924 refactor(command): simplify SSH command retry logic by removing unnecessary logging and improving delay calculation 2025-09-07 16:38:11 +02:00
Terijaki
0f030c5e54 Change favicon image type to PNG and SVG
Changing to the correct type. Incorrect type can cause issues with certain browsers.
2025-09-07 13:28:37 +02:00
Andras Bacsai
b6176d905b feat(command): implement SSH command retry logic with exponential backoff and logging for better error handling 2025-09-07 10:26:23 +02:00
Chirag Aggarwal
80fb0651f3 Merge branch 'next' into fix-appwrite-template 2025-09-07 15:15:36 +07:00
Andras Bacsai
2d135071c7 refactor(command): replace forceDelete calls with DeleteResourceJob dispatch for all stuck resources in cleanup process 2025-09-05 19:28:08 +02:00
Andras Bacsai
8c5c249c6a refactor(webhook): replace direct forceDelete calls with DeleteResourceJob dispatch for application previews 2025-09-05 19:27:59 +02:00
Andras Bacsai
136ca08305 refactor(command): streamline Init command by removing unnecessary options and enhancing error handling for various operations 2025-09-05 19:27:49 +02:00
Andras Bacsai
a10e51b2c4 fix(webhook): replace delete with forceDelete for application previews to ensure immediate removal 2025-09-05 17:50:33 +02:00
Andras Bacsai
28d05f759e refactor(command): remove InitChangelog command as it is no longer needed 2025-09-05 17:45:15 +02:00
Andras Bacsai
9c3345318a fix(user): ensure email attributes are stored in lowercase for consistency and prevent case-related issues 2025-09-05 17:44:34 +02:00
Andras Bacsai
49bd0a2a01 refactor(command): improve database collection logic for deletion command by using unique identifiers and enhancing user experience 2025-09-05 17:43:19 +02:00
Andras Bacsai
581b649cd7 fix(command): enhance cleanup process for stuck application previews by adding force delete for trashed records 2025-09-05 17:43:05 +02:00
Andras Bacsai
16447b7391 refactor(command): streamline database deletion process to handle multiple database types and improve user experience 2025-09-05 14:56:30 +02:00
Andras Bacsai
b17c65b224 fix(command): enhance database deletion command to support multiple database types 2025-09-05 14:55:15 +02:00
Andras Bacsai
339118558c feat(settings): add option to restrict PR deployments to repository members and contributors 2025-09-05 14:30:51 +02:00
Chirag Aggarwal
dd04f15e63 expose appwrite-browser and update executor version 2025-09-04 23:21:15 +05:30
Chirag Aggarwal
a9de4bb568 Merge branch 'next' into fix-appwrite-template 2025-09-04 17:04:33 +07:00
Chirag Aggarwal
fcdd922f05 chore: use main value then fallback to service_ values 2025-09-04 15:28:38 +05:30
Dominic
758fe18d79 oops missed a check 2025-09-03 13:01:03 -04:00
Andras Bacsai
f38217e717 fix(templates): update SECRET_KEY environment variable in getoutline.yaml to use SERVICE_HEX_32_OUTLINE 2025-09-01 16:44:09 +02:00
Andras Bacsai
9db8b62219 feat(ui): display current version in settings dropdown and update UI accordingly 2025-09-01 16:23:14 +02:00
Andras Bacsai
0bfffb503e feat(command): add option to sync GitHub releases to BunnyCDN and refactor sync logic 2025-09-01 16:14:02 +02:00
Andras Bacsai
d2ed68e605 refactor(jobs): pull github changelogs from cdn instead of github 2025-09-01 16:13:55 +02:00
Chirag Aggarwal
002902492f fix: appwrite template - 500 errors, missing env vars etc. 2025-09-01 12:09:10 +05:30
Dominic
719d094754 Merge branch 'next' into patch-1 2025-08-31 22:46:35 -04:00
Dominic
c0ffda37f2 remove ~ from forbidden characters in git URLs 2025-08-31 22:32:30 -04:00
Andras Bacsai
84e692fb43 fix(ui): add cursor pointer to upgrade button for better user interaction 2025-08-31 21:01:31 +02:00
Andras Bacsai
6e3e80f1c2 fix(api): add custom labels generation for applications with readonly container label setting enabled 2025-08-31 15:40:48 +02:00
Andras Bacsai
88d33d177e chore: update coolify version to 4.0.0-beta.427 and nightly version to 4.0.0-beta.428 2025-08-31 11:20:48 +02:00
Hadi Baalbaki
edbc923c1a fix(ui): transactional email settings link on members page (#6491) 2025-08-29 18:54:12 +02:00
QarthO
bfc8a25b72 move domain trimming before URL validation 2025-08-29 09:09:03 -04:00
github-actions[bot]
96b3e269c5 docs: update changelog 2025-08-28 18:17:26 +00:00
Andras Bacsai
08d4735332 Merge pull request #6489 from coollabsio/next
v4.0.0-beta.426
2025-08-28 20:17:02 +02:00
Andras Bacsai
bf884bd1a0 refactor(policy): simplify ServiceDatabasePolicy methods to always return true and add manageBackups method 2025-08-28 17:19:09 +02:00
Andras Bacsai
135ed98a86 chore: update coolify version to 4.0.0-beta.426 and nightly version to 4.0.0-beta.427 2025-08-28 13:31:10 +02:00
github-actions[bot]
69082670f9 docs: update changelog 2025-08-28 09:33:12 +00:00