coolify/app/Http/Controllers
Poul 68e9184b57 fix(api/destinations): use whereHas instead of ownedByCurrentTeamAPI for back-compat
The ownedByCurrentTeamAPI scope was added to StandaloneDocker/SwarmDocker
*after* 4.0.0-beta.470 — running containers on that beta hit a
BadMethodCallException. Rewrites all team scoping to use
whereHas('server', whereTeamId) which works against any v4.x of
Coolify (StandaloneDocker.server_id -> Server.team_id has been there
since the multi-team change).

Also guards attachedTo() with method_exists and falls back to a manual
attached-resource check covering applications + every standalone DB
relation, so delete() doesn't crash on older versions either.
2026-05-25 11:47:10 +00:00
..
Api fix(api/destinations): use whereHas instead of ownedByCurrentTeamAPI for back-compat 2026-05-25 11:47:10 +00:00
Webhook feat(webhook): skip deployment on [skip ci]/[skip cd] commit markers 2026-04-29 09:12:24 +02:00
Controller.php refactor(auth): upgrade email verification hash to sha256 2026-04-20 12:09:48 +02:00
OauthController.php fix: normalize oauth emails before matching users 2026-04-09 09:38:56 -06:00
UploadController.php fix(backup): add .dmp to allowed extensions for database import (#9869) 2026-04-29 18:57:50 +02:00