Commit graph

3639 commits

Author SHA1 Message Date
Andras Bacsai
83f0f9fca4 fix(core): improve public repository URL parsing for branch and base directory 2025-01-31 18:17:00 +01:00
Andras Bacsai
a764a07e7e revert: remove Cloudflare async tag attributes 2025-01-28 14:38:55 +01:00
Andras Bacsai
98a9985dce feat(vite): add Cloudflare async script and style tag attributes 2025-01-28 14:30:11 +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
Andras Bacsai
e9fd2d8d6f feat(core): add dynamic label reset for application settings 2025-01-28 13:38:26 +01:00
Andras Bacsai
1ec15af1ad fix(database): adjust MongoDB restore command and import view styling 2025-01-28 12:41:22 +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
Andras Bacsai
e049559e53 fix(database): detect more postgres database image types 2025-01-28 11:05:50 +01:00
Andras Bacsai
8f1bde2534 fix(core): check cron expression on save 2025-01-28 11:01:50 +01:00
Andras Bacsai
497a7ac15a
Merge pull request #4990 from esarbanis/cron-validation-on-update
fix: validate cron expression in Scheduled Task update
2025-01-28 11:00:53 +01:00
Andras Bacsai
bfe4200012 fix: cleanup old scheduled_task_executions 2025-01-28 10:19:41 +01:00
Efthymis Sarmpanis
01b9cbdfea fix: validate cron expression in Scheduled Task update 2025-01-27 22:50:54 +02:00
Andras Bacsai
fddaf9134d fix: disable certain parts if readonly label is turned off 2025-01-27 14:05:18 +01:00
peaklabs-dev
d5504ea546
refactor(s3): improve S3 bucket endpoint formatting
- remove the bucket name from the DigitalOcean endpoint
- always add https in front if it is not http or already https
2025-01-25 23:44:12 +01:00
peaklabs-dev
12c7ee2879
fix(s3): DigitalOcean storage buckets do not work 2025-01-25 23:40:40 +01:00
peaklabs-dev
91d90ccb6c
fix(ui): Cloudflare tunnel configuration should be an info, not a warning 2025-01-24 20:02:31 +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
peaklabs-dev
ec9f8de873
fix(labels): generate labels when they are empty not when they are already generated 2025-01-23 14:57:18 +01:00
peaklabs-dev
cc640ad710
fix(labels): docker labels do not generated correctly 2025-01-23 12:42:53 +01:00
peaklabs-dev
09d64d4bf6
feat(terminal): show terminal unavailable if the container does not have a shell on the global terminal UI 2025-01-23 11:51:01 +01:00
peaklabs-dev
007e291bef
fix(terminal): terminal shows that it is not available, even though it is 2025-01-23 11:50:06 +01:00
Khiet Tam Nguyen
c4bf91e5b4
fix: remove quotes in COOLIFY_CONTAINER_NAME 2025-01-23 13:08:31 +11:00
peaklabs-dev
3f2f1cf966
chore(core): EnvironmentVariable Model now extends BaseModel to remove duplicated code 2025-01-22 20:14:44 +01:00
peaklabs-dev
9f3c6b4b76
fix(env): shared variables can not be updated 2025-01-22 17:02:11 +01:00
Andras Bacsai
c3c032ebbd fix(core): update environment variable generation logic in ApplicationDeploymentJob to handle different build packs 2025-01-22 15:13:40 +01:00
Andras Bacsai
bae8b9a938 feat(core): add SOURCE_COMMIT variable to build environment in ApplicationDeploymentJob 2025-01-22 15:01:48 +01:00
Andras Bacsai
3cf21d440e fix(core): correct spelling of 'resourable' to 'resourceable' in Nixpacks configuration for ApplicationDeploymentJob 2025-01-22 14:16:48 +01:00
Andras Bacsai
fda1fdc435 fix(core): update application_id references to resourable_id and resourable_type for Nixpacks configuration 2025-01-22 14:15:42 +01:00
Andras Bacsai
52a38f238b fix(redis): update environment variable keys from standalone_redis_id to resourceable_id 2025-01-22 11:54:53 +01:00
peaklabs-dev
1799081ebd
fix(parser): resource URL should only be parsed if there is one 2025-01-21 18:55:07 +01:00
peaklabs-dev
31992f4d02
fix(ui):show error on terminal if container has no shell (bash/sh) 2025-01-21 18:36:38 +01:00
peaklabs-dev
a230a42599
fix(email): transactional email sending 2025-01-21 14:53:44 +01:00
Andras Bacsai
4b74ca56c3 feat(core): wip version of coolify.json 2025-01-21 14:09:12 +01:00
Andras Bacsai
7e58cb9125 fix: load service templates on cloud 2025-01-21 13:39:53 +01:00
Andras Bacsai
e83164e537 fix: envs with special chars during build 2025-01-21 13:05:20 +01:00
Andras Bacsai
3bc85b1a8c fix: validate private key through API
feat: able to add base64 encoded private key, not just oneline
2025-01-20 13:59:02 +01:00
Andras Bacsai
c891102db6 fix: add public key attribute to privatekey model 2025-01-20 13:59:02 +01:00
Andras Bacsai
57f61d4589 fix: docker image parser 2025-01-20 13:59:02 +01:00
Andras Bacsai
f35f45324b fix: server proxy set correctly through the API
fix: cannto delete localhost through the API.
2025-01-20 13:59:02 +01:00
Andras Bacsai
ca2c66943c fix 2025-01-17 14:00:20 +01:00
Andras Bacsai
03c50a387c refactor: remove debug echo statements from Init command to clean up output and improve readability 2025-01-17 12:35:22 +01:00
Andras Bacsai
973429d2c4 add debug logs 2025-01-17 11:38:22 +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
a771993d97 fix: redirect to server index instead of show on error in Advanced and DockerCleanup components 2025-01-16 21:35:48 +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
Andras Bacsai
dd897a11fd disable model strict mode 2025-01-16 21:07:12 +01:00
peaklabs-dev
43d526b773
fix: production password rule and cleanup code 2025-01-16 18:06:46 +01:00
peaklabs-dev
794e5357c9
chore: remove unused code and fix import 2025-01-16 15:39:53 +01:00
peaklabs-dev
30f36f96db
fix: use finished_at for the end time instead of created_at 2025-01-16 15:12:57 +01:00
peaklabs-dev
47be82afc3
Merge branch 'docker-cleanup-executions-ui' of https://github.com/peaklabs-dev/coolify into docker-cleanup-executions-ui 2025-01-16 14:42:58 +01:00
peaklabs-dev
8bcd1449d2
chore: remove limit on commit message 2025-01-16 14:42:33 +01:00
🏔️ Peak
11d1a9e6fd
Merge branch 'next' into docker-cleanup-executions-ui 2025-01-16 14:41:23 +01:00
Andras Bacsai
55d61ffaee fix: add finished_at to app deployment jobs
fix: show deployment job running measurements
fix: terminal should not be wire:navigated
2025-01-16 12:05:59 +01:00
🏔️ Peak
e2a9cb61aa
Merge branch 'next' into docker-cleanup-executions-ui 2025-01-16 11:28:09 +01:00
Andras Bacsai
23e7463a40 refactor: update redirect calls to use a consistent navigation method in deployment functions 2025-01-16 11:14:04 +01:00
🏔️ Peak
881914dc86
Merge branch 'next' into docker-cleanup-executions-ui 2025-01-16 11:13:57 +01:00
Andras Bacsai
433dff2684 improve navigation 2025-01-16 11:04:50 +01:00
peaklabs-dev
42f883cc5b
feat: Add execution log to dockerCleanupJob 2025-01-15 20:31:44 +01:00
peaklabs-dev
65a2629237
feat: Docker cleanup executions UI 2025-01-15 20:11:40 +01:00
peaklabs-dev
7bdef134e6
feat: get command and output for logs from CleanupDocker 2025-01-15 19:54:58 +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
25e6e376f9
feat: DockerCleanupDone event 2025-01-15 17:19:32 +01:00
peaklabs-dev
222af12ef0
feat: dockerCleanupExecutions relationship 2025-01-15 17:14:05 +01:00
peaklabs-dev
52abc7cc92
feat: DB and Model for docker cleanup executions 2025-01-15 17:11:15 +01:00
peaklabs-dev
23ae0677eb
feat: move docker cleanup to its own tab 2025-01-15 14:02:33 +01:00
peaklabs-dev
11769f059f
fix: Undefined variable $service when creating a new service 2025-01-14 12:40:08 +01:00
Andras Bacsai
d9965fbdbe fix: wording 2025-01-14 09:22:15 +01:00
Andras Bacsai
b01ea8b46d
Merge pull request #4818 from peaklabs-dev/feat-backup-retention
Feat: Improve backup retention (for database backups)
2025-01-14 09:10:33 +01:00
Andras Bacsai
6a8cc0f80d
Merge branch 'next' into fix-cloning 2025-01-14 08:50:22 +01:00
Andras Bacsai
aab5398b80 fix: monaco editor disabled state 2025-01-14 08:49:03 +01:00
peaklabs-dev
8709a7749b
fix: db without s3 should still backup 2025-01-13 21:26: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
9eebeb9241
fix: use new removeOldBackups function
- use the new removeOldBackups function
- only call removeOldBackups function when the backup is completed and also only if the backup is successful
2025-01-13 18:39:22 +01:00
peaklabs-dev
3dfca4e4bd
fix: backup job deletion - delete all backups from s3 and local 2025-01-13 17:31:55 +01:00
peaklabs-dev
c03b629e85
fix: deletion of single backup 2025-01-13 17:21:03 +01:00
peaklabs-dev
a5fadb0536
fix: function calls 2025-01-13 16:54:17 +01:00
peaklabs-dev
a8b77b389a
feat: use new backup deletion functions 2025-01-13 16:38:16 +01:00
peaklabs-dev
fb01aed6d5
feat: new global s3 and local backup deletion function 2025-01-13 16:37:36 +01:00
Andras Bacsai
bc42429f7e
Merge pull request #4814 from peaklabs-dev/fix-system-wide-gh-apps
fix: instance wide GitHub apps
2025-01-13 12:45:20 +01:00
Andras Bacsai
e6692c95c9 feat: add is_coolify_host to the server api responses 2025-01-13 12:31:03 +01:00
🏔️ Peak
dd3abd2ba8
Merge branch 'next' into fix-system-wide-gh-apps 2025-01-13 12:24:56 +01:00
Andras Bacsai
9b55a2fb43 fix: if $SERVICE found in the service specific configuration, then search for it in the db 2025-01-13 12:23:38 +01:00
peaklabs-dev
db5786efc9
fix: instance wide GitHub apps are not available on other teams then the source team 2025-01-13 12:14:36 +01:00
Andras Bacsai
dd2d306abc feat: force deployment of services
fix: added advanced ui dropdown to services
2025-01-13 12:03:03 +01:00
peaklabs-dev
43dacd83c9
chore: use the new job dispatch 2025-01-13 11:13:35 +01:00
peaklabs-dev
76f13125ff
feat: remote server volume cloning 2025-01-13 11:13:15 +01:00
Andras Bacsai
c4a75f4b87 fix: service update statsu 2025-01-13 11:06:10 +01:00
Andras Bacsai
b197ae6237 fix 2025-01-13 11:03:54 +01:00
Andras Bacsai
706602b3a8
Merge pull request #4799 from coollabsio/hotfix
Hotfix
2025-01-13 09:33:37 +01:00
Andras Bacsai
0e94a4a472 fix: add own servers on cloud 2025-01-13 09:17:54 +01:00
Andras Bacsai
18f03dc173 fix: create destination properly 2025-01-12 17:26:28 +01:00
🏔️ Peak
0905479c8b
Merge pull request #4767 from peaklabs-dev/fix-backup-executions
fix: edge case where backup executions could be null
2025-01-10 20:57:27 +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
a0fc46dee4 refactor: extend HorizonServiceProvider from HorizonApplicationServiceProvider
- Updated HorizonServiceProvider to extend from HorizonApplicationServiceProvider for improved functionality.
- Added a call to the parent boot method to ensure proper initialization.
- Cleaned up the gate method by removing unnecessary whitespace.
2025-01-10 19:15:57 +01:00
Andras Bacsai
925af53d3d horizon gate 2025-01-10 19:00:18 +01:00