Commit Graph

839 Commits

Author SHA1 Message Date
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
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
Andras Bacsai
2a9d499251 feat: migrate env variables to polymorphic relationship
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
🏔️ Peak
2972a29ccc Merge branch 'next' into oauth 2024-12-16 18:24:11 +01:00
Andras Bacsai
62574941df add 'admin' to allowed paths for unsubscribed accounts 2024-12-16 13:00:29 +01:00
Zao Soula
c5f365e384 feat: add infomaniak oauth 2024-12-15 01:30:37 +01:00
Andras Bacsai
76b44e2e6a feat: add new password magic env with symbols 2024-12-12 11:06:00 +01:00
🏔️ Peak
d9aefae207 Merge branch 'next' into feature/authentik-provider 2024-12-11 15:24:26 +01:00
peaklabs-dev
d289f41ff6 chore: remove functions from shared.php
- Removed all notification functions from shared.php to make it easier to maintain and test.
2024-12-09 15:38:21 +01:00
peaklabs-dev
df6c5c55e1 feat: new shared notifications functions 2024-12-09 15:37:11 +01:00
peaklabs-dev
d9248508b4 chore: remove unused waitlist stuff 2024-12-09 12:00:54 +01:00
Julien
0d5d5537be refactor: rename coolify.environment to coolify.environmentName 2024-12-08 12:46:42 +01:00
Andras Bacsai
1184fafd3d Merge pull request #4264 from marvinvr/main
feat: add slack notifications
2024-12-06 14:35:55 +01:00
Andras Bacsai
f82d95e908 refactor: update Traefik configuration for improved security and logging
- Removed unnecessary volume mapping for production environment.
- Added insecure API access and debug logging for development environment.
- Ensured consistent handling of Docker provider exposure settings.
- Updated certificate resolver storage path for clarity.
2024-12-06 13:07:56 +01:00
Marvin von Rappard
f7eccefda3 Merge branch 'next' into main 2024-12-06 06:29:35 +01:00
Andras Bacsai
e67a93e6a5 feat: able to deploy without cache on every commit 2024-12-05 10:46:27 +01:00