coolify/app/Http/Controllers
Andras Bacsai 78031b991a fix: allow all environment variable fields in API endpoints
Fixes #6847

The API endpoints for environment variables were rejecting valid fields
like is_buildtime, is_runtime, is_multiline, and is_shown_once with
422 errors, even though the code was using these fields internally.

Changes:
- Added missing fields to $allowedFields in create_env()
- Added missing fields to $allowedFields in update_env_by_uuid()
- Updated allowed fields in create_bulk_envs()
- Added validation rules for is_runtime and is_buildtime

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 10:44:06 +02:00
..
Api fix: allow all environment variable fields in API endpoints 2025-10-13 10:44:06 +02:00
Webhook refactor(webhook): remove Webhook model and related logic; add migrations to drop webhooks and kubernetes tables 2025-09-10 19:35:53 +02:00
Controller.php refactor(invitation): rename methods for consistency and enhance invitation deletion logic 2025-06-25 11:45:55 +02:00
MagicController.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
OauthController.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
UploadController.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00