Commit Graph

853 Commits

Author SHA1 Message Date
Andras Bacsai
b53e289bcd fix(core): improve connection testing with dynamic disk configuration for s3 backups 2025-02-13 10:07:58 +01:00
Andras Bacsai
186a3fc75b Merge pull request #5038 from Vann-Dev/main
feat(api): add applications logs api
2025-02-04 13:33:30 +01:00
Andras Bacsai
8033a89dee fix(ui): simplify service templates loading logic 2025-02-04 13:30:27 +01:00
Andras Bacsai
773caf7fd5 feat(core): add name to default proxy configuration 2025-02-03 21:24:01 +01:00
Andras Bacsai
8be536d3ec fix(core): increase HTTP/2 max concurrent streams to 250 (default) 2025-02-02 14:03:18 +01:00
Vann
7b60d76b77 feat: remove ansi color from log 2025-02-02 10:01:01 +00:00
Vann
e7988fc295 feat: container logs 2025-02-01 17:21:38 +00:00
Andras Bacsai
55fb4e5d20 Merge pull request #4945 from nktnet1/feat-env-coolify-resource-uuid
feat(env): added COOLIFY_RESOURCE_UUID environment variable
2025-01-28 13:46:17 +01:00
Andras Bacsai
d8877884d7 Merge pull request #4933 from nktnet1/fix-coolify-env-quotes
fix: remove quotes in COOLIFY_CONTAINER_NAME
2025-01-28 11:24:19 +01:00
Andras Bacsai
cd0320f392 Merge pull request #4938 from hederson/fix-swarm-proxy
Fix swarm proxy and detach param
2025-01-28 11:11:56 +01:00
peaklabs-dev
12c7ee2879 fix(s3): DigitalOcean storage buckets do not work 2025-01-25 23:40:40 +01:00
Khiet Tam Nguyen
a55d1996d7 feat(env): added COOLIFY_RESOURCE_UUID environment variable 2025-01-24 22:04:34 +11:00
peaklabs-dev
8b6b1b6a9d fix(storage): Hetzner storage buckets not working
- fix: Hetzner buckets do not work for backups
- refactor: removed special handling for Hetzner as it is no longer needed
2025-01-23 18:51:24 +01:00
Hederson Boechat
071cabdc31 fix(proxy) update traefik proxy config for docker swarm 2025-01-23 11:57:34 -03:00
Khiet Tam Nguyen
c4bf91e5b4 fix: remove quotes in COOLIFY_CONTAINER_NAME 2025-01-23 13:08:31 +11:00
Andras Bacsai
c9869e13e0 refactor(workflows): replace jq with PHP script for version retrieval in workflows 2025-01-22 14:05:29 +01:00
Andras Bacsai
6a03bb369e chore(versions): update coolify versions to v4.0.0-beta.389 and add helper version retrieval script 2025-01-22 14:01:05 +01:00
Andras Bacsai
085103708c fix(core): v1 parser versions trying to access application_id, while it is resourceable_id
fix(db): remove wrongly created, empty environmentvariables
2025-01-22 10:21:51 +01:00
Andras Bacsai
8c937156c5 fix(core): compose parsing for apps 2025-01-21 20:00:05 +01:00
Andras Bacsai
8350c3e039 fix: correct service update logic in Docker Compose parser 2025-01-20 13:59:02 +01:00
Andras Bacsai
618b89f648 Merge pull request #4842 from peaklabs-dev/docker-cleanup-executions-ui
feat: Docker cleanup execution UI and some UI improvements
2025-01-16 21:42:02 +01:00
Andras Bacsai
3c83c7fd6c Merge pull request #4754 from coollabsio/improve-git-and-service-provider
Improves: GitHub handling, AppServiceProvider and 500 error message rendering
2025-01-16 21:09:08 +01:00
🏔️ Peak
11d1a9e6fd Merge branch 'next' into docker-cleanup-executions-ui 2025-01-16 14:41:23 +01:00
peaklabs-dev
3aca101821 fix: Redis DB should use the new resourceable columns 2025-01-16 12:51:18 +01:00
peaklabs-dev
85f38b7cb5 refactor: improve data formatting and UI
- move date and duration functions to a shared function
- remove duplicate code
- redesigned the deployment executions tab
- added start and end times for backups, scheduled tasks, deployments and docker cleanup executions
- calculated the duration for backups, scheduled tasks, deployments and Docker cleanup executions
- redesigned status badges with colors to make it easier to see your current status
- removed dependency on dayjs
- fixed calculation of execution time was sometimes incorrect
2025-01-15 18:35:20 +01:00
peaklabs-dev
e9f691bf45 fix: storage retention setting
- feat: add storage retention to local storage as well
- fix: UI input for max storage now allows exact decimals so MB input is now also possible
- fix: Database column is now decimal instead of integer
- fix: variable naming of storage check no longer overwrites $backup - renamed it to $backupExecution
2025-01-13 19:49:12 +01:00
peaklabs-dev
3347eb3a1a fix: retention functions and folder deletion for local backups
- fix: Delete folder and parent folder if folders are empty when deleting local backups.
- fix: Do not remove executions from DB until both S3 and local backups have been deleted and successfully processed otherwise backups will never be deleted from s3.
- fix: Server ID could be null
2025-01-13 18:46:27 +01:00
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
fb01aed6d5 feat: new global s3 and local backup deletion function 2025-01-13 16:37:36 +01:00
Andras Bacsai
a396d51452 Merge branch 'next' into hotfix 2025-01-10 20:23:29 +01: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
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
b7d18fc28c fix: getcontainer status should timeout after 30s 2025-01-10 12:04:59 +01:00
peaklabs-dev
c789ed6003 chore: remove more logging 2025-01-06 21:16:57 +01:00
peaklabs-dev
09dfbde676 chore: remove debug log, finally found it 2025-01-06 21:14:06 +01:00
peaklabs-dev
deec885fd9 fix: Expiration time claim ('exp') must be a numeric value 2025-01-06 21:08:22 +01:00
peaklabs-dev
126e5ff57a add debug log 2025-01-06 20:56:19 +01:00
peaklabs-dev
fdb5f069fc chore: ajust time to 50s (tests done) 2025-01-06 18:32:05 +01:00
peaklabs-dev
a29547b3ba fix: error rendering 2025-01-06 17:49:55 +01:00
peaklabs-dev
503d2b4866 fix: error message and server time getting 2025-01-06 17:43:27 +01:00
peaklabs-dev
05113d8e06 fix: check System and GitHub time and throw and error if it is over 50s out of sync 2025-01-06 17:28:49 +01:00
peaklabs-dev
4d34d689b0 refactor: github.php
- Rename functions
- Consolidate Code
- Fix: timing issues with JWT tokens
- Clearer error handling
2025-01-06 16:58:20 +01:00
Andras Bacsai
f575d1249e Merge branch 'main' into next 2024-12-27 11:09:29 +01:00
peaklabs-dev
1f6c6140ba fix: smtp encryption 2024-12-23 15:28:35 +01:00
Andras Bacsai
5403fa7c71 feat: add database subtype 2024-12-18 12:56:06 +01:00
Andras Bacsai
340075a684 Merge pull request #4324 from JuliensForks/main
feat: add some new labels to every container
2024-12-18 12:55:33 +01:00
Andras Bacsai
9e3467578f feat: add environment_uuid support and update API documentation
- Introduced `environment_uuid` as a required field in various API endpoints and schemas.
- Updated descriptions to clarify that either `environment_name` or `environment_uuid` must be provided.
- Modified routes and controller methods to accommodate the new UUID parameter.
- Adjusted frontend components to utilize `environment_uuid` for better consistency and clarity.
- Removed deprecated fields related to environment handling.

This change enhances the API's flexibility in identifying environments, improving overall usability.
2024-12-17 13:42:16 +01:00