coolify/app/Rules
Andras Bacsai 91f538e171 fix(server): handle limit edge case and IPv6 allowlist dedupe
Update server limit enforcement to re-enable force-disabled servers when the
team is at or under its limit (`<= 0` condition).

Improve allowlist validation and matching by:
- supporting IPv6 CIDR mask ranges up to `/128`
- adding IPv6-aware CIDR matching in `checkIPAgainstAllowlist`
- normalizing/deduplicating redundant allowlist entries before saving

Add feature tests for `ServerLimitCheckJob` covering under-limit, at-limit,
over-limit, and no-op scenarios.
2026-03-03 17:03:46 +01:00
..
DockerImageFormat.php feat(docker): enhance Docker image handling with new validation and parsing logic 2025-10-03 11:31:00 +02:00
ValidCloudInitYaml.php feat: add YAML validation for cloud-init scripts 2025-10-11 13:56:55 +02:00
ValidGitBranch.php feat(validation): add custom validation rules for Git repository URLs and branches 2025-08-22 14:38:21 +02:00
ValidGitRepositoryUrl.php fix(validation): update git:// URL validation to support port numbers and tilde characters in paths 2025-09-29 12:21:15 +02:00
ValidHostname.php feat: implement ValidHostname validation rule and integrate it into server creation process 2025-10-10 11:03:13 +02:00
ValidIpOrCidr.php fix(server): handle limit edge case and IPv6 allowlist dedupe 2026-03-03 17:03:46 +01:00
ValidProxyConfigFilename.php Add ValidProxyConfigFilename rule for dynamic proxy config validation 2025-12-09 16:12:45 +01:00
ValidServerIp.php chore: prepare for PR 2026-03-03 11:51:38 +01:00