Andras Bacsai
8033a89dee
fix(ui): simplify service templates loading logic
2025-02-04 13:30:27 +01: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
Khiet Tam Nguyen
a55d1996d7
feat(env): added COOLIFY_RESOURCE_UUID environment variable
2025-01-24 22:04:34 +11:00
Khiet Tam Nguyen
c4bf91e5b4
fix: remove quotes in COOLIFY_CONTAINER_NAME
2025-01-23 13:08:31 +11: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
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
Andras Bacsai
55cae39e55
dev: loggy
2024-10-17 10:04:49 +02:00
Andras Bacsai
bf0a2f805b
Refactor get_latest_sentinel_version() to use 'coolify.sentinel.version' key from versions.json
2024-10-15 14:03:10 +02:00
Andras Bacsai
d446cd4f31
sentinel updates
2024-10-15 13:39:19 +02:00
Andras Bacsai
1f193d465d
sentinel updates
2024-10-14 12:07:37 +02:00
Andras Bacsai
88f1e58c63
feat: required envs
2024-10-11 14:38:22 +02:00
Andras Bacsai
511b9de3ce
chore: Disable adding default environment variables in shared.php
2024-10-11 11:04:44 +02:00
Andras Bacsai
e6566d8be3
fix: new parser with SERVICE_URL_ envs
2024-10-10 11:46:41 +02:00
Andras Bacsai
0e2889b857
improvement: Add link to duplicate domain
...
fix: duplicate domain error
fix: remove fqdn constraint from db, because it is checked on app level
2024-10-10 10:24:11 +02:00
Andras Bacsai
974b4b92c1
wip: coolify.json
2024-10-08 15:11:19 +02:00
Andras Bacsai
370a0b1eec
fix: use local service-templates in dev
2024-10-07 11:02:01 +02:00
Andras Bacsai
ee7f8200ac
fix: parser, espacing container labels
2024-10-03 22:58:06 +02:00
Andras Bacsai
8c024ddb57
chore: Update homarr service template and remove unnecessary code
2024-10-03 22:02:18 +02:00
Andras Bacsai
1d3494a6ba
fix: network handling
...
fix: environment variable handling
2024-10-03 15:04:40 +02:00
Andras Bacsai
ef448280d8
fix: able to support more database dynamically from Coolify's UI
2024-10-03 13:49:43 +02:00
Andras Bacsai
7bb1bf0ae3
refactor: Improve parsing of commands for sudo in parseCommandsByLineForSudo
2024-10-02 18:26:40 +02:00
Andras Bacsai
83549965ca
Refactor instanceSettings() function for improved code readability
2024-10-01 10:37:40 +02:00
Andras Bacsai
4db50bd025
chore: Refactor instanceSettings() function to improve code readability
2024-10-01 10:33:56 +02:00
Andras Bacsai
2e10d670be
Merge pull request #3647 from derpoho/next
...
fixes coollabsio#3645, incorrect adding of sudo if non-root user
2024-10-01 10:00:48 +02:00
Andras Bacsai
bcc92e1f32
fix: in dev mode do not ask confirmation on delete
2024-10-01 09:31:01 +02:00
Marcus Pohorely
39d2fdc08b
Merge branch 'main' into next
2024-09-30 23:24:42 +02:00
Marcus Pohorely
ac9f817b9f
fixes #3645 , incorrect adding of sudo if non-root user
2024-09-30 23:21:58 +02:00
Andras Bacsai
987b90ead2
fix: new dev volumes and service files
...
fix: new parser version (4) that will fix data layout (applications goes to /applications, services goes to /services)
2024-09-30 14:16:37 +02:00
Andras Bacsai
8385b7dfe8
fix: handle edge case when build variables and env variables are in different format
2024-09-30 11:15:23 +02:00
Andras Bacsai
cccd05f322
chore: Refactor code to improve SSH key handling and storage
2024-09-29 20:12:30 +02:00
Andras Bacsai
9a1c9124ae
refactor: Add support for IPv6 addresses in sslip function
2024-09-26 13:47:13 +02:00
Andras Bacsai
a9670bd6eb
refactor: Remove commented out code and improve environment variable handling in newParser function
2024-09-24 18:38:35 +02:00
Andras Bacsai
afbdd2eb06
fix: parser
2024-09-24 18:21:31 +02:00
Andras Bacsai
2841675691
refactor
2024-09-23 20:31:50 +02:00
Andras Bacsai
a468ce77f0
refactor: Update shared.php to include predefined ports for services
2024-09-23 10:46:34 +02:00
Andras Bacsai
ff9b68b450
refactor: Remove unnecessary code in shared.php file
2024-09-23 09:26:49 +02:00
Andras Bacsai
d0518153fb
fix: generated fqdn for SERVICE_FQDN_APP_3000 magic envs
2024-09-18 09:21:57 +02:00
Andras Bacsai
9b48a99798
fix: generate https for minio
2024-09-16 16:35:47 +02:00
Andras Bacsai
1738286983
chore: Update shared.php to fix issues with source and network variables
2024-09-13 11:12:28 +02:00
Andras Bacsai
dd8a2dd3c1
chore: Update coolify environment variable assignment with double quotes
2024-09-13 08:23:05 +02:00
Andras Bacsai
2777fbc0ec
fix: Remove debug statement in shared.php
2024-09-10 08:52:25 +02:00
Andras Bacsai
27ad4441ee
formatting
2024-09-10 08:49:20 +02:00
Vahor
29acc4ee25
fix: don't add networks key if network_mode is used
2024-09-09 23:30:47 +02:00
Andras Bacsai
1d72f76072
fix: appwrite template + parser
2024-09-09 15:04:51 +02:00
Andras Bacsai
84093afaf6
refactor: Improve environment variable handling in shared.php
2024-09-09 10:16:12 +02:00
Andras Bacsai
d2a306dab9
refactor: Skip returning volume if driver type is cifs or nfs
2024-09-08 13:53:20 +02:00
Andras Bacsai
4611332a8f
newparser parser parsing parser parse
2024-09-07 20:57:56 +02:00
Andras Bacsai
5fb560dbbf
chore: Update versions.json and sentry.php to 4.0.0-beta.332
2024-09-07 20:56:26 +02:00
Andras Bacsai
b57e2960f2
fix: parser
2024-09-06 12:05:22 +02:00
Andras Bacsai
5c7b9473f8
feat: Refactor shared.php to improve environment variable handling
2024-09-06 10:03:09 +02:00
Andras Bacsai
bfeaae9caa
fix: env variable in value parsed
2024-09-04 14:33:16 +02:00
Andras Bacsai
5799e6d8b0
fix: logical volumes could be overwritten with new path
2024-09-04 14:09:52 +02:00
Andras Bacsai
25e2b812cb
fix: Convert environment variables to one format in shared.php
2024-09-04 13:37:15 +02:00
Andras Bacsai
7b041f3f22
refactor: Improve handling of COOLIFY_URL in shared.php
2024-09-03 17:13:13 +02:00
Andras Bacsai
8150b6fdaf
fix: check if array is associative or not
2024-09-03 17:04:56 +02:00
Andras Bacsai
a7d67e44ca
fix: copy large compose files through scp (not ssh)
2024-09-03 11:47:30 +02:00
Andras Bacsai
dfd5cc9cef
fix: log drain only for Applications
2024-09-02 10:57:03 +02:00
Andras Bacsai
301a3596e8
refactor: Update environment variable handling in StartClickhouse.php and ApplicationDeploymentJob.php
2024-08-29 15:11:54 +02:00
Andras Bacsai
e7b050a4da
Merge branch 'next' into env-vars
2024-08-29 14:35:04 +02:00
Andras Bacsai
e0bac2499d
fix: revert a few lines
2024-08-29 13:00:35 +02:00
Andras Bacsai
cfc6518157
refactor: Update parse method in Advanced, All, ApplicationPreview, General, and ApplicationDeploymentJob classes
2024-08-29 12:39:37 +02:00
Andras Bacsai
b8a37d897e
fix: Fix directory and file mount headings in file-storage.blade.php
2024-08-29 12:03:23 +02:00
Andras Bacsai
d27b1766e6
feat: Add Code Server environment variables to Service model
2024-08-29 10:44:16 +02:00
Andras Bacsai
5525c02c7f
fix: delete preview deployments + cleanup stucked
...
fix: parser
2024-08-28 22:05:49 +02:00
Andras Bacsai
be8a8bf2ee
fix: parser
...
feat: new coolify envs for fqdn and urls
2024-08-28 18:12:00 +02:00
Andras Bacsai
43f2f1ef2b
fix: if compose file has more that 6 components, force stop
...
fix: parser
2024-08-28 15:45:11 +02:00
Vahor
f6d649307c
test add_coolif_default_environment_variables
2024-08-28 13:30:59 +02:00
Vahor
b51065a003
add generate_fluentd_configuration() method in shared
2024-08-28 13:00:33 +02:00
Andras Bacsai
954d82207d
MORE PARSERS
2024-08-27 21:48:25 +02:00
Vahor
c87732b065
revert format
2024-08-27 20:47:17 +02:00
Vahor
2d9c583af3
add env vars on old compose parser
2024-08-27 19:36:22 +02:00
Vahor
eb22155dcc
send new vars to logdrain
2024-08-27 18:41:33 +02:00
Andras Bacsai
d8d821e7a9
parser parser
2024-08-27 16:02:52 +02:00
Andras Bacsai
68169f75d1
refactor: Remove unused server timezone seeder and related code
2024-08-26 15:26:08 +02:00
Andras Bacsai
7fd06a49db
refactor: Update Docker Compose parsing function to convert service variables to key-value pairs
2024-08-26 10:51:01 +02:00
Andras Bacsai
7d78e0171d
refactor: Convert service variables to key-value pairs in parseDockerComposeFile function
2024-08-24 11:00:27 +02:00
Andras Bacsai
2a9a2dd7c4
fix
2024-08-23 20:55:32 +02:00
Andras Bacsai
eece96e717
revert parser to the default for now
2024-08-23 20:54:38 +02:00
Andras Bacsai
af1b479d73
fix: parser
...
ui: storage layout changed
2024-08-23 14:21:12 +02:00
Andras Bacsai
0f9076562f
fix: parser parser
2024-08-23 11:32:58 +02:00
Andras Bacsai
5394223f6b
fix:new parser only in dev
2024-08-22 16:50:29 +02:00
Andras Bacsai
1e24ab9146
fix: parser parser parser
2024-08-22 15:05:04 +02:00
Andras Bacsai
ecb2c3b7b8
chore: new compose parser with tests
2024-08-21 20:32:02 +02:00
Andras Bacsai
578db6cc9c
refactor: Remove unnecessary environment variable checks in parseDockerComposeFile()
2024-08-21 16:23:45 +02:00
Andras Bacsai
7d7cdf41f7
fix: storages with preserved git repository
2024-08-21 14:31:17 +02:00
Andras Bacsai
992d8b780c
refactor: parseServiceVolumes
2024-08-13 12:43:17 +02:00
Andras Bacsai
da6dea7f13
refactor: Remove debug statement in parseDockerComposeFile function
2024-08-13 11:15:32 +02:00
Andras Bacsai
0e54ed1343
feat: preserve git repository with advanced file storages
2024-08-12 16:06:24 +02:00
Andras Bacsai
0b000919cf
feat: able to generate only the required labels for resources
2024-08-07 18:27:50 +02:00
Andras Bacsai
92f90d4e52
Merge pull request #2863 from lorenzomigliorero/feat/labels-by-proxy-type
...
Generate labels by proxy type
2024-08-07 18:06:51 +02:00
Andras Bacsai
f0278bc33d
fix: show latest version on manual update view
2024-08-07 12:10:31 +02:00
Andras Bacsai
e4c3d61b76
fixes
2024-08-07 09:50:29 +02:00
Andras Bacsai
2c0b40ac8c
fix: by default volumes that we cannot determine if they are directories or files are treated as directories
2024-07-26 11:57:49 +02:00
andrasbacsai
96c4f5b8da
Fix styling
2024-07-25 11:31:59 +00:00
Andras Bacsai
6a4aa492c0
fix: random generated uuid will be full length (not 7 characters)
2024-07-25 13:31:01 +02:00
Andras Bacsai
192bc0f13b
fix: handle array env vars
2024-07-25 12:38:31 +02:00
andrasbacsai
613830e6a6
Fix styling
2024-07-24 19:11:12 +00:00
Andras Bacsai
320204d854
fix: directory will be created by default for compose host mounts
2024-07-22 15:10:07 +02:00
Lorenzo Migliorero
be6d74a6a3
style: linting
2024-07-18 11:42:41 +02:00
Lorenzo Migliorero
3be06ced92
feat: labels by proxy type
2024-07-17 21:06:56 +02:00