Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.0-beta.381 #4598

Open
wants to merge 213 commits into
base: main
Choose a base branch
from
Open

v4.0.0-beta.381 #4598

wants to merge 213 commits into from

Conversation

andrasbacsai
Copy link
Member

@andrasbacsai andrasbacsai commented Dec 16, 2024

Changes

  • feat/fix: able to import full db backups for pg/mysql/mariadb
  • feat: restore backup from server file
  • feat: add infomaniak oauth
  • feat: Added a disk usage check frequency setting
  • feat: log horizon worker name to app deployment jobs.
  • feat: Some new labels on all containers:
    • coolify.resourceName, coolify.serviceName, coolify.projectName, coolify.environementName
  • feat: New URL structure for better performance and fewer DB queries
  • fix: All routes now use /environment/{environment_uuid} instead of the environment name -

    This helps because we can now use any character in environment names instead of being limited to URL save characters. Also, all other URLs are constructed with the uuid way, so we should do it consistently everywhere.

  • fix: Nixpacks predefined variables are now used as build-args and could be overwritten from the defined env variables in Coolify.
  • fix: Use local monaco-editor and not cloudflare cdn based (that's why we have +56K changed lines).
  • fix: use local dropzonejs
  • fix: Always use Docker cleanup frequency no matter if threshold or force cleanup is enabled
  • fix: disable copy button if the context is not secure (http)
  • fix: cloning resource name + volume names
  • fix: When having multiple Postgres init scripts, saving a change to one init script would delete all other init scripts.
  • fix: Changing the file name of an existing init script would create a new init script instead of renaming the file.
  • fix: Deleting an init script does not remove it form the server.
  • fix: Remove custom-postgres.conf if input is empty or null as the file is not needed on the server anymore
  • fix: some UI fixes
  • fix: API - Projects & Applications endpoints
  • fix: modal closing logic
  • fix: increase default php memory limit
  • fix: Penpot healthchecks
  • fix: Nocodb healthcheck
  • fix: Supabase template
  • fix: trigger with external db
  • fix: make DB public for supabase
  • fix: CSRF bug for labelstudio
  • fix: better cloud jobs handling.
  • fix: add lower timeout (ssh,docker) to jobs which are checking the servers, because it could cause problems if high number of jobs are running.
  • chore: package updates.
  • chore: Refactored environment variable relationships
  • chore: Refactored a lot of DB queries to improve performance
  • chore: Upgraded all dependencies

New Services

  • Cockpit CMS
  • teable

Issues

andrasbacsai and others added 30 commits January 10, 2025 12:34
- Added a new option `--can-i-restart-this-worker` to the `horizon:manage` command.
- Implemented logic to check if the current worker can be restarted based on running jobs in the ApplicationDeploymentQueue.
- Refactored the command to include a new method `canIRestartThisWorker` for better code organization.
- Removed unnecessary dump statement from the CustomJobRepository.
…s function

- Updated the isAnyDeploymentInprogress function to check for running jobs based on the current hostname.
- Enhanced the logic to return true if any job status is 'unknown' and to provide a clearer output regarding the number of deployments in progress.
- Modified the cloud_upgrade.sh script to loop until the deployment status check confirms no ongoing deployments before proceeding with the upgrade.
…eProvider

- Updated HorizonServiceProvider to extend from HorizonApplicationServiceProvider for improved functionality.
- Added a call to the parent boot method to ensure proper initialization.
- Cleaned up the gate method by removing unnecessary whitespace.
…erface

- Simplified the job status retrieval process by consolidating logic into a single `getJobStatus` function.
- Removed redundant checks and methods from the `CustomJobRepositoryInterface` and `CustomJobRepository`.
- Updated the `getHorizonJobStatus` method in `ApplicationDeploymentQueue` to directly utilize the new `getJobStatus` function.
- Enhanced the `isThereAJobInProgress` method to improve clarity and maintainability.
… for improved job handling

- Removed the private property for application deployment queue ID in ApplicationDeploymentJob and utilized constructor property promotion.
- Added a tags method in ApplicationDeploymentJob to properly identify the worker running the job.
- Updated HorizonServiceProvider to handle cases where the deployment queue ID is blank, preventing potential errors during job processing.
- Cleaned up the isAnyDeploymentInprogress function by removing unnecessary whitespace.
Bumps [nesbot/carbon](https://github.com/CarbonPHP/carbon) from 3.8.2 to 3.8.4.
- [Release notes](https://github.com/CarbonPHP/carbon/releases)
- [Commits](CarbonPHP/carbon@3.8.2...3.8.4)

---
updated-dependencies:
- dependency-name: nesbot/carbon
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
…arbon-3.8.4

chore(deps): bump nesbot/carbon from 3.8.2 to 3.8.4
- Removed the temporary unavailability message from the /sentinel/push route to allow for proper handling of authorization without misleading responses.
- This change improves the clarity of the API response when the authorization token is not provided.
fix: edge case where backup executions could be null
fix: added advanced ui dropdown to services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment