coolify/resources/views/livewire/security
Andras Bacsai d93a13eeee feat: add YAML validation for cloud-init scripts
Add ValidCloudInitYaml validation rule to ensure cloud-init scripts
are properly formatted before saving. The validator supports:
- Cloud-config YAML (with or without #cloud-config header)
- Bash scripts (starting with #!)
- Empty/null values (optional field)

Uses Symfony YAML parser to validate YAML syntax and provides
detailed error messages when validation fails.

Added comprehensive unit tests covering:
- Valid cloud-config with/without header
- Valid bash scripts
- Invalid YAML syntax detection
- Complex multi-section cloud-config

Applied validation to:
- ByHetzner component (server creation)
- CloudInitScriptForm component (script management)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-11 13:56:55 +02:00
..
private-key feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled. 2025-08-26 10:27:38 +02:00
api-tokens.blade.php fix(api-tokens): update settings link for API enablement message 2025-10-09 11:22:10 +02:00
cloud-init-script-form.blade.php feat: add YAML validation for cloud-init scripts 2025-10-11 13:56:55 +02:00
cloud-init-scripts.blade.php fix: improve cloud-init scripts UI styling and behavior 2025-10-11 13:30:44 +02:00
cloud-provider-token-form.blade.php fix: update cloud provider token form with improved placeholder and guidance for API token creation 2025-10-10 15:40:20 +02:00
cloud-provider-tokens.blade.php improved hetzner features 2025-10-09 12:53:57 +02:00
cloud-tokens.blade.php init of cloud providers 2025-10-08 20:47:50 +02:00