Commit Graph

377 Commits

Author SHA1 Message Date
Andras Bacsai
8350c3e039 fix: correct service update logic in Docker Compose parser 2025-01-20 13:59:02 +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
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
2a9d499251 feat: migrate env variables to polymorphic relationship
fix: proxy status query ui
2024-12-17 10:38:42 +01:00
Andras Bacsai
76b44e2e6a feat: add new password magic env with symbols 2024-12-12 11:06:00 +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
Marvin von Rappard
f7eccefda3 Merge branch 'next' into main 2024-12-06 06:29:35 +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
Marvin von Rappard
1aea60f1f0 Merge branch 'next' into main 2024-11-25 09:06:24 +01:00
Julien
8b30123add feat: add service/resource/project labels 2024-11-17 23:06:05 +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
Andras Bacsai
b0b81e4416 fix: timezone settings validation 2024-11-14 10:02:37 +01:00
peaklabs-dev
85c2345bea fix coolify always in cloud mode 2024-11-13 18:41:23 +01:00
Marvin von Rappard
eb0686fe20 feat: slack notifications 2024-11-12 22:37:55 +01:00
peaklabs-dev
1ffa88acf0 use config instead of env() 2024-11-12 15:53:05 +01:00
peaklabs-dev
1c5ddab30d use one constants file 2024-11-12 15:18:48 +01:00
Andras Bacsai
327b4308d4 fix: add tests for git url converts 2024-11-12 11:32:18 +01:00
Andras Bacsai
dbe6d8ef20 fix nginx conf 2024-11-11 14:45:34 +01:00
Andras Bacsai
b379e50d90 feat: custom nginx configuration for static deployments + fix 404 redirects in nginx conf 2024-11-11 14:37:36 +01:00
Andras Bacsai
c8a3519796 fix: showBoarding 2024-11-05 11:53:11 +01:00
Andras Bacsai
7fb1a1fc75 fix: use Auth(), add new db proxy stop event refactor clickhouse view 2024-11-04 14:18:16 +01:00
Lucas Michot
1ec224fde1 Inline many variables. 2024-10-31 18:20:11 +01:00
Lucas Michot
8e1444eaa7 Get rid of many useless blank lines 2024-10-31 17:44:01 +01:00
Lucas Michot
702ee5cd70 Prefer Carbon methods when possible. 2024-10-31 16:47:08 +01:00
Lucas Michot
b1d04912a0 Remove all useless catch block useless variables. 2024-10-31 15:19:37 +01:00
Andras Bacsai
96ca72fcdb refactor server view (phuuu) 2024-10-30 20:03:30 +01:00
Lucas Michot
c5403b0b3f Always prefer ::class notation 2024-10-28 14:56:13 +01:00
Andras Bacsai
394dfe9e64 Refactor code to remove unused import and update loggy() function signature 2024-10-25 17:49:16 +02:00
Andras Bacsai
29ad965656 Refactor code to use loggy() function for server storage check logging 2024-10-25 17:46:39 +02:00
Andras Bacsai
8c96ab52d7 feat: notification rate limiter
fix: limit server up / down notification limits
2024-10-25 15:13:23 +02:00
Andras Bacsai
2263734129 save sentinel form update 2024-10-25 11:42:37 +02:00
Andras Bacsai
2877080a39 Refactor variable and function names for consistency 2024-10-25 10:59:12 +02:00
Andras Bacsai
b1d2914c08 Refactor function and configuration names for experimental features 2024-10-24 22:00:26 +02:00
Andras Bacsai
0c34e81b2b fix: add experimental flag 2024-10-24 21:48:51 +02:00
Andras Bacsai
23f7932964 Refactor isExperimentalEnabled function and remove its usage 2024-10-24 13:28:12 +02:00
Andras Bacsai
70aa61c59e fix: disable sentinel for now 2024-10-24 11:10:02 +02:00
Andras Bacsai
97aab8ba28 feat: show warning if people would like to use sslip with https 2024-10-20 22:26:30 +02:00
Andras Bacsai
bfa9a8776e Refactor handleError function to handle ModelNotFoundException 2024-10-17 21:48:47 +02:00
Andras Bacsai
2315bdb93f ui updates on server 2024-10-17 14:56:36 +02:00