Commit Graph

819 Commits

Author SHA1 Message Date
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
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
🏔️ Peak
68ccb30eab Merge pull request #4478 from eithe/main
Support PopOS as server
2024-12-04 13:24:22 +01:00
Eirik H
029e8954c5 Support PopOS as server
PopOS is already added as supported for the main Coolify instance, but fails when adding a PopOS machine as an additional server.
2024-12-04 13:19:00 +01:00
Andras Bacsai
74311f4feb Refactor string concatenation and update function signatures for improved readability and null handling in shared helper functions 2024-12-03 15:39:24 +01:00
Andras Bacsai
319c3023dc fix 2024-12-02 22:50:03 +01:00
Andras Bacsai
58988d3686 fix: a few inputs 2024-12-02 22:50:03 +01:00
Julien
1086aea54d feat: add coolify.environment label 2024-12-02 18:38:47 +01:00
Marvin von Rappard
02a20729c7 Merge branch 'next' into main 2024-11-27 11:09:45 +01:00
Andras Bacsai
7f0094ed55 feat: add hex magic env var 2024-11-26 13:01:42 +01:00
Andras Bacsai
c70554e2d2 Refactor getVersion.php to prevent GitHub Actions failure 2024-11-26 10:53:34 +01:00
🏔️ Peak
e6ea4a0199 Merge pull request #4257 from konstchri/caddy_stripprefix_fix
Caddy stripprefix fix
2024-11-25 14:03:47 +01:00
Marvin von Rappard
a4910880e0 Merge branch 'next' into main 2024-11-25 13:44:24 +01:00
Andras Bacsai
37d4d5f98c fix: version should come from constants + fix stripe webhook error reporting 2024-11-25 11:28:08 +01:00
Marvin von Rappard
1aea60f1f0 Merge branch 'next' into main 2024-11-25 09:06:24 +01:00
Andras Bacsai
7dc65dfd79 fix: make sure important jobs/actions are running on high prio queue 2024-11-22 11:16:01 +01:00
Julien
8b30123add feat: add service/resource/project labels 2024-11-17 23:06:05 +01:00
peaklabs-dev
2475875f97 fix mino and logto 2024-11-15 17:59:11 +01:00
Andras Bacsai
09ec4fdb6d fix: SPA static site default nginx conf 2024-11-15 12:17:26 +01:00
Marvin von Rappard
7bdac8b42f Merge branch 'next' into main 2024-11-14 12:54:04 +01:00
Andras Bacsai
c9f7863fff Merge pull request #4238 from peaklabs-dev/dep-and-remove-unused-stuff
Chore: Remove unused stuff, update dependecies
2024-11-14 12:31:09 +01:00
peaklabs-dev
bf6222e5a0 fix ghost 2024-11-14 12:02:39 +01:00