Andras Bacsai
d2064dd499
fix(storage): use escapeshellarg for volume names in shell commands
...
Add proper shell escaping for persistent volume names when used in
docker volume rm commands. Also add volume name validation pattern
to ValidationPatterns for consistent input checking.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 11:06:30 +01:00
Andras Bacsai
c53988e91d
Fix: Cancel in-progress deployments when stopping service
...
When stopping a service that's currently deploying, mark any IN_PROGRESS or QUEUED activities as CANCELLED. This prevents the status from remaining stuck at "starting" after containers are stopped.
Follows the existing pattern used in forceDeploy().
2025-12-04 08:23:32 +01:00
Andras Bacsai
1d054b23b8
Merge branch 'next' into shadow/fix-docker-time-command
2025-11-28 10:25:42 +01:00
Andras Bacsai
f5fa09790e
refactor: improve command handling and ensure correct working directory for Docker operations
2025-11-10 14:40:03 +01:00
Andras Bacsai
712d60c75b
feat: ensure .env file exists for docker compose and auto-inject in payloads
2025-11-07 15:20:10 +01:00
ShadowArcanist
b39690dfa2
Changed docker --time command to -t since --time is deprecated on v28
2025-10-09 13:26:10 +05:30
peaklabs-dev
daa96c27a7
chore(deletion): rename isDeleteOperation to deleteConnectedNetworks
2025-08-04 22:12:04 +02:00
🏔️ Peak
2a526c54d5
fix(docker): volumes get delete when stopping a service if Delete Unused Volumes is activated ( #6317 )
2025-08-04 21:15:56 +02:00
Andras Bacsai
13a9816770
fix(service): ensure configuration changes are properly tracked and dispatched
2025-07-03 15:08:13 +02:00
Andras Bacsai
8fc79022f3
feat(service): enhance service status handling and UI updates
2025-06-24 12:52:22 +02:00
Andras Bacsai
e514f56758
refactor(service-management): rearrange docker cleanup logic in StopService to improve readability
2025-05-30 13:38:37 +02:00
Andras Bacsai
2c8d30c646
refactor(service-management): update stopContainersInParallel method to enforce Server type hint for improved type safety
2025-05-30 13:35:30 +02:00
Andras Bacsai
200b5cd4fb
refactor(service-management): enhance container stopping logic by implementing parallel processing and removing deprecated methods
2025-05-30 12:56:22 +02:00
Andras Bacsai
2361c34a53
refactor(error-handling): replace generic Exception with RuntimeException for improved error specificity
2025-05-29 10:49:55 +02:00
Dusan
94df6ca51f
feat(api): Add latest query param to Service restart API ( #5881 )
2025-05-27 15:03:17 +02:00
Andras Bacsai
786bfa960f
improvement(core): simplify events for app/db/service status changes
2025-05-19 21:50:32 +02:00
Andras Bacsai
019ed43448
refactor(actions): standardize method naming for network and configuration deletion across application and service classes
2025-04-30 18:30:43 +02:00
Darren Sisson
8aef5df539
change cleanup logic when restarting containers
2025-03-17 17:52:34 +00:00
Andras Bacsai
d632eb2be9
refactor: simplify service start and restart workflows
2025-02-04 14:34:34 +01:00
Andras Bacsai
1fe4dd722b
Revert "rector: arrrrr"
...
This reverts commit 16c0cd10d8 .
2025-01-07 15:31:43 +01:00
Andras Bacsai
16c0cd10d8
rector: arrrrr
2025-01-07 14:52:08 +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
Andras Bacsai
695ab93cf0
fixes
2024-11-06 15:16:12 +01:00
Lucas Michot
1ec224fde1
Inline many variables.
2024-10-31 18:20:11 +01:00
Lucas Michot
d557a22b91
Remove all ray() calls
2024-10-28 13:51:23 +01:00
Andras Bacsai
04e504bb8b
chore: Refactor DockerCleanupJob to remove unused middleware and uniqueId method
2024-09-23 12:10:46 +02:00
Andras Bacsai
5ec45d547a
Merge branch 'next' into fix-#2546-deletion-issues
2024-09-18 18:05:06 +02:00
Andras Bacsai
682b45a2b5
refactor: Improve Docker network connection command in StartService.php
2024-09-16 16:39:16 +02:00
Vahor
66cf6df4b3
skip docker network creation
2024-09-09 23:46:29 +02:00
ayntk-ai
fc3c69f687
Feat: more conformations and fixes
2024-09-05 17:54:32 +02:00
ayntk-ai
b314b08f25
Feat: stop service confirm
2024-09-04 14:34:46 +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
ayntk-ai
4726676248
make things more clear
2024-08-27 14:19:37 +02:00
ayntk-ai
16a5c601e3
graceful db stop and db deletion fixes
2024-08-09 22:15:45 +02:00
ayntk-ai
2ca6ffb84e
fix public function service.php
2024-08-09 19:57:53 +02:00
ayntk-ai
41be1f7666
use public function
2024-08-09 19:39:43 +02:00
ayntk-ai
a4bb87d13b
simplify DeleteService.php
2024-08-09 19:22:14 +02:00
ayntk-ai
1cfddfd529
fix stop large amount of containers
2024-08-09 19:17:58 +02:00
ayntk-ai
72bcf03cbb
graceful service container stop
2024-08-09 18:59:41 +02:00
ayntk-ai
d980c7a425
only run network removal on stop service if it is not a deletion operation
2024-08-09 02:59:41 +02:00
ayntk-ai
53dff4ca4f
simplify uuid variabel
2024-08-09 02:58:59 +02:00
ayntk-ai
e67e03f73f
added comments and removed temp ones
2024-08-09 02:15:40 +02:00
ayntk-ai
86a087056e
fix volume deletion for services
2024-08-09 02:11:42 +02:00
ayntk-ai
0135e2b5c0
add logic
2024-08-09 00:30:11 +02:00
ayntk-ai
4d0acee95c
UI options for deletion WIP
2024-08-08 12:31:37 +02:00
ayntk-ai
74bea37b43
Merge branch 'coollabsio:main' into fix-#2546-deletion-issues
2024-08-08 11:50:57 +02:00
ayntk-ai
df796dffa2
fix delte networks and unused images of services when deleted
2024-08-08 01:02:48 +02:00
Andras Bacsai
e897eb2999
fix: Stop resources gracefully
2024-08-06 13:27:06 +02:00
Andras Bacsai
1fb8d1e14c
revert: pull policy
2024-07-17 07:59:06 +02:00
Andras Bacsai
b1c0f105ab
fix: update docker compose pull command with --policy always
2024-07-15 12:13:21 +02:00