Commit Graph

10447 Commits

Author SHA1 Message Date
peaklabs-dev
a5fadb0536 fix: function calls 2025-01-13 16:54:17 +01:00
peaklabs-dev
f0d15afbf2 chore: improve code 2025-01-13 16:43:23 +01:00
peaklabs-dev
a8b77b389a feat: use new backup deletion functions 2025-01-13 16:38:16 +01:00
peaklabs-dev
fb01aed6d5 feat: new global s3 and local backup deletion function 2025-01-13 16:37:36 +01:00
peaklabs-dev
e037ed738a feat: UI for backup retention settings 2025-01-13 16:36:41 +01:00
peaklabs-dev
04bcf01619 feat: DB migration for Backup retention
- rename number_of_backups_locally to database_backup_retention_amount_locally
- add backup retention days to local stored backups
- add s3 retention fields
2025-01-13 16:35:58 +01:00
Andras Bacsai
bc42429f7e Merge pull request #4814 from peaklabs-dev/fix-system-wide-gh-apps
fix: instance wide GitHub apps
2025-01-13 12:45:20 +01:00
Andras Bacsai
e6692c95c9 feat: add is_coolify_host to the server api responses 2025-01-13 12:31:03 +01:00
🏔️ Peak
dd3abd2ba8 Merge branch 'next' into fix-system-wide-gh-apps 2025-01-13 12:24:56 +01:00
peaklabs-dev
ebbe21a836 Merge branch 'next' of https://github.com/coollabsio/coolify into next 2025-01-13 12:24:09 +01:00
peaklabs-dev
c82f271e41 fix: Application deployment 2025-01-13 12:24:07 +01:00
Andras Bacsai
9b55a2fb43 fix: if $SERVICE found in the service specific configuration, then search for it in the db 2025-01-13 12:23:38 +01:00
peaklabs-dev
db5786efc9 fix: instance wide GitHub apps are not available on other teams then the source team 2025-01-13 12:14:36 +01:00
Andras Bacsai
dd2d306abc feat: force deployment of services
fix: added advanced ui dropdown to services
2025-01-13 12:03:03 +01:00
Andras Bacsai
c4a75f4b87 fix: service update statsu 2025-01-13 11:06:10 +01:00
Andras Bacsai
b197ae6237 fix 2025-01-13 11:03:54 +01:00
Andras Bacsai
706602b3a8 Merge pull request #4799 from coollabsio/hotfix
Hotfix
2025-01-13 09:33:37 +01:00
Andras Bacsai
a85215e2d3 refactor: remove commented-out unsubscribe route from API 2025-01-13 09:21:18 +01:00
Andras Bacsai
0e94a4a472 fix: add own servers on cloud 2025-01-13 09:17:54 +01:00
Andras Bacsai
7eaf5d73f6 refactor: improve checkbox component accessibility and styling 2025-01-12 18:45:15 +01:00
Andras Bacsai
18f03dc173 fix: create destination properly 2025-01-12 17:26:28 +01:00
🏔️ Peak
0905479c8b Merge pull request #4767 from peaklabs-dev/fix-backup-executions
fix: edge case where backup executions could be null
2025-01-10 20:57:27 +01:00
Andras Bacsai
70db50def6 fix: update response message for sentinel push route
- 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.
2025-01-10 20:28:11 +01:00
Andras Bacsai
a396d51452 Merge branch 'next' into hotfix 2025-01-10 20:23:29 +01:00
🏔️ Peak
d36a179f41 Merge pull request #4798 from coollabsio/dependabot/composer/nesbot/carbon-3.8.4
chore(deps): bump nesbot/carbon from 3.8.2 to 3.8.4
2025-01-10 20:15:53 +01:00
🏔️ Peak
3471bf7d3d Merge branch 'next' into dependabot/composer/nesbot/carbon-3.8.4 2025-01-10 20:15:35 +01:00
dependabot[bot]
b724c85b0f chore(deps): bump nesbot/carbon from 3.8.2 to 3.8.4
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](https://github.com/CarbonPHP/carbon/compare/3.8.2...3.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-10 19:08:15 +00:00
Andras Bacsai
3a3219394d refactor: enhance ApplicationDeploymentJob and HorizonServiceProvider 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.
2025-01-10 20:07:01 +01:00
Andras Bacsai
7582d7dd8b refactor: streamline job status retrieval and clean up repository interface
- 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.
2025-01-10 19:53:13 +01:00
Andras Bacsai
a0fc46dee4 refactor: extend HorizonServiceProvider from HorizonApplicationServiceProvider
- 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.
2025-01-10 19:15:57 +01:00
Andras Bacsai
925af53d3d horizon gate 2025-01-10 19:00:18 +01:00
Andras Bacsai
db079c0c7d refactor: improve deployment status check in isAnyDeploymentInprogress 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.
2025-01-10 18:34:16 +01:00
Andras Bacsai
02400added fix: horizon job checker 2025-01-10 18:27:48 +01:00
Andras Bacsai
a3648901ed feat: enhance horizon:manage command with worker restart check
- 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.
2025-01-10 15:48:23 +01:00
Andras Bacsai
765e1ea04b feat: add horizon server details to queue 2025-01-10 15:39:22 +01:00
Andras Bacsai
b8f1ded9f8 horizon manage command 2025-01-10 14:28:46 +01:00
Andras Bacsai
5fda384203 update packages 2025-01-10 14:23:49 +01:00
Andras Bacsai
cc61f48f27 refactor: remove unused tags method from ApplicationDeploymentJob 2025-01-10 14:23:33 +01:00
Andras Bacsai
9048efaf74 fix: add timeout to sentinel process checks for improved reliability 2025-01-10 13:03:47 +01:00
Andras Bacsai
f748fba3f7 fix: use timeout in cleanup resources 2025-01-10 12:34:20 +01:00
Andras Bacsai
5c8b26d446 fix 2025-01-10 12:31:20 +01:00
Andras Bacsai
3111cdd15b fix: enable response for temporary unavailability in sentinel push endpoint 2025-01-10 12:08:22 +01:00
Andras Bacsai
b7d18fc28c fix: getcontainer status should timeout after 30s 2025-01-10 12:04:59 +01:00
Andras Bacsai
b09f0043d1 fix: restrict jobs on cloud
fix: restrict sentinel endpoint
2025-01-10 11:54:45 +01:00
peaklabs-dev
921657e084 Update service-templates.json 2025-01-09 19:59:08 +01:00
peaklabs-dev
a95bb61e9c fix: set EXPERIMENTAL_FEATURES to false for labelstudio 2025-01-09 19:59:06 +01:00
🏔️ Peak
771b392a37 Merge pull request #4711 from Nubonetics/service/labelstudio-1.14.0
Fixing the CSRF bug for labelstudio versions 1.14.0 and higher
2025-01-09 19:54:32 +01:00
🏔️ Peak
4c43226e15 Merge pull request #4785 from djsisson/supabase-public
fix: make DB public for supabase
2025-01-09 19:48:26 +01:00
peaklabs-dev
e58a035847 fix: trigger with external db 2025-01-09 19:47:26 +01:00
🏔️ Peak
051e3d9925 Merge pull request #4700 from amjed-ali-k/patch-1
Fix Redis Not defined issue in Trigger.dev Ext db template.
2025-01-09 19:46:19 +01:00