coolify/app/Models
Andras Bacsai ab79a51e29 fix(api): improve scheduled tasks API with auth, validation, and execution endpoints
- Add authorization checks ($this->authorize) for all read/write operations
- Use customApiValidator() instead of Validator::make() to match codebase patterns
- Add extra field rejection to prevent mass assignment
- Use Application::ownedByCurrentTeamAPI() for consistent query patterns
- Remove non-existent standalone_postgresql_id from hidden fields
- Add execution listing endpoints for both applications and services
- Add ScheduledTaskExecution OpenAPI schema
- Use $request->only() instead of $request->all() for safe updates
- Add ScheduledTaskFactory and feature tests

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 11:53:58 +01:00
..
Application.php fix: switch custom labels check to UTF-8 2026-01-13 17:12:16 +01:00
ApplicationDeploymentQueue.php fix: add datetime cast to finished_at column (#7418) 2026-01-04 17:23:22 +01:00
ApplicationPreview.php test: Add comprehensive preview deployment port and path tests 2025-12-17 21:35:54 +01:00
ApplicationSetting.php Add per-application Docker image retention for rollback capability 2025-12-05 11:02:07 +01:00
BaseModel.php
CloudInitScript.php
CloudProviderToken.php fix: add UUID support to CloudProviderToken model 2025-12-10 08:59:13 +01:00
DiscordNotificationSettings.php feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings 2025-11-14 11:35:22 +01:00
DockerCleanupExecution.php
EmailNotificationSettings.php feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings 2025-11-14 11:35:22 +01:00
Environment.php
EnvironmentVariable.php fix(env): skip escaping for valid JSON in environment variables (#6160) 2026-01-28 10:59:00 +01:00
GithubApp.php
GitlabApp.php
InstanceSettings.php fix: optimize queries and caching for projects and environments 2026-01-16 11:51:26 +01:00
LocalFileVolume.php fix: Improve read-only volume detection and UI messaging 2025-12-11 21:25:33 +01:00
LocalPersistentVolume.php fix: Prevent N+1 query in LocalPersistentVolume.isDockerComposeResource() 2025-12-11 21:23:46 +01:00
OauthSetting.php
PersonalAccessToken.php
PrivateKey.php refactor: replace queries with cached versions for performance improvements 2025-12-08 13:39:33 +01:00
Project.php fix(docs): remove environments from projects endpoint 2026-01-05 21:52:10 +01:00
ProjectSetting.php
PushoverNotificationSettings.php feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings 2025-11-14 11:35:22 +01:00
S3Storage.php Fix S3 credential whitespace issue with proper trimming 2025-12-15 12:05:54 +01:00
ScheduledDatabaseBackup.php
ScheduledDatabaseBackupExecution.php
ScheduledTask.php fix(api): improve scheduled tasks API with auth, validation, and execution endpoints 2026-02-18 11:53:58 +01:00
ScheduledTaskExecution.php fix(api): improve scheduled tasks API with auth, validation, and execution endpoints 2026-02-18 11:53:58 +01:00
Server.php fix: optimize queries and caching for projects and environments 2026-01-16 11:51:26 +01:00
ServerSetting.php Fix: Concurrent builds ignored & add deployment queue limit (#7488) 2025-12-11 11:03:02 +01:00
Service.php feat(openclaw): add Openclaw service with environment variables and health checks 2026-02-09 12:33:17 +01:00
ServiceApplication.php refactor: replace queries with cached versions for performance improvements 2025-12-08 13:39:33 +01:00
ServiceDatabase.php refactor: replace queries with cached versions for performance improvements 2025-12-08 13:39:33 +01:00
SharedEnvironmentVariable.php
SlackNotificationSettings.php feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings 2025-11-14 11:35:22 +01:00
SslCertificate.php
StandaloneClickhouse.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
StandaloneDocker.php fix: optimize queries and caching for projects and environments 2026-01-16 11:51:26 +01:00
StandaloneDragonfly.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
StandaloneKeydb.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
StandaloneMariadb.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
StandaloneMongodb.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
StandaloneMysql.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
StandalonePostgresql.php fix(database): pgvector 18 version is not parsed properly 2026-02-04 17:59:49 +01:00
StandaloneRedis.php chore: remove raw sql from env relationship 2026-01-06 16:18:37 +01:00
Subscription.php
SwarmDocker.php fix: optimize queries and caching for projects and environments 2026-01-16 11:51:26 +01:00
Tag.php
Team.php feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings 2025-11-14 11:35:22 +01:00
TeamInvitation.php
TelegramNotificationSettings.php feat(proxy): add Traefik version tracking with notifications and dismissible UI warnings 2025-11-14 11:35:22 +01:00
User.php chore: remove unused $server property and add missing import 2026-01-01 15:42:21 +01:00
UserChangelogRead.php
WebhookNotificationSettings.php fix: update webhook notification settings migration to use updateOrInsert and add logging 2025-11-25 15:35:01 +01:00