coolify/tests/Unit
Andras Bacsai 16d9c02e73 fix(install): use Rocky Linux RHEL Docker repository
Add a Rocky-specific Docker install path to the stable and nightly install scripts, using Docker's documented RHEL repository flow. Include a unit test to lock in the Rocky repo selection and command set.
2026-04-14 10:31:01 +02:00
..
Actions chore: prepare for PR 2026-03-10 18:32:19 +01:00
Api Add autogenerate_domain API parameter for applications 2025-12-05 21:16:04 +01:00
Jobs Combine stop+start into single activity for real-time logs 2025-12-03 16:21:26 +01:00
Livewire feat: enhance environment variable handling to support mixed formats and add comprehensive tests 2025-12-27 15:24:09 +01:00
Notifications/Channels
Parsers Inject commit-based image tags for Docker Compose build services 2025-12-05 11:41:47 +01:00
Policies feat(healthchecks): add command health checks with input validation 2026-02-25 11:38:09 +01:00
Project/Database feat: add validation methods for S3 bucket names, paths, and server paths; update import logic to prevent command injection 2025-11-25 16:40:35 +01:00
Rules
AllExcludedContainersConsistencyTest.php
ApplicationComposeEditorLoadTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
ApplicationConfigurationChangeTest.php fix: trigger configuration changed detection for build settings 2025-11-27 12:22:54 +01:00
ApplicationDeploymentCustomBuildCommandTest.php Fix: Docker build args injection regex to support service names 2025-12-01 13:16:05 +01:00
ApplicationDeploymentEmptyEnvTest.php
ApplicationDeploymentErrorLoggingTest.php
ApplicationDeploymentNixpacksNullEnvTest.php fix(deployment): properly escape shell arguments in nixpacks commands 2026-03-23 21:55:46 +01:00
ApplicationDeploymentTypeTest.php fix(application): clarify deployment type precedence logic 2026-03-12 13:48:30 +01:00
ApplicationGitSecurityTest.php
ApplicationHealthcheckRemovalTest.php
ApplicationNetworkAliasesSyncTest.php
ApplicationParserStringableTest.php
ApplicationPortDetectionTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
ApplicationServiceEnvironmentVariablesTest.php
ApplicationSettingStaticCastTest.php
ApplicationWatchPathsTest.php
BashEnvEscapingTest.php
CheckForUpdatesJobTest.php Fix: Fragile service name parsing in applyServiceApplicationPrerequisites 2025-11-28 17:42:04 +01:00
CheckTraefikVersionForServerJobTest.php
CheckTraefikVersionJobTest.php
ClickhouseOfficialImageMigrationTest.php fix: prevent metric charts from freezing when navigating with wire:navigate 2026-01-02 12:36:17 +01:00
CloudInitScriptValidationTest.php
ComposerAuthEnvEscapingTest.php fix(env): skip escaping for valid JSON in environment variables (#6160) 2026-01-28 10:59:00 +01:00
ContainerHealthStatusTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
ContainerStatusAggregatorTest.php Fix complex status logic: handle degraded sub-resources and mixed running+starting states 2025-12-02 21:47:15 +01:00
CoolifyTaskCleanupTest.php
DatabaseBackupSecurityTest.php fix(backup): use escapeshellarg for credentials in database backup commands 2026-03-25 23:43:57 +01:00
DatalistComponentTest.php
DeploymentCommandNewlineInjectionTest.php fix(deployment): normalize whitespace in pre/post deployment commands 2026-03-25 20:57:17 +01:00
DeploymentExceptionTest.php
DockerComposeEmptyStringPreservationTest.php
DockerComposeEmptyTopLevelSectionsTest.php
DockerComposeLabelParsingTest.php
DockerComposePreserveRepositoryStartCommandTest.php fix(docker-compose): respect preserveRepository when injecting --project-directory 2026-03-13 13:53:03 +01:00
DockerComposeRawContentRemovalTest.php
DockerComposeRawSeparationTest.php
DockerfileArgInsertionTest.php
DockerImageAutoParseTest.php
DockerImageParserTest.php
DockerImagePreviewTagResolutionTest.php feat(deployments): support Docker image tags for preview deployments 2026-03-30 13:35:35 +02:00
DockerNetworkInjectionTest.php fix: add validation and escaping for Docker network names 2026-03-28 12:28:59 +01:00
EnvironmentVariableFillableTest.php feat(models): add is_required to EnvironmentVariable fillable array 2026-03-02 12:34:30 +01:00
EnvironmentVariableMagicVariableTest.php feat: add magic variable detection and update UI behavior accordingly 2025-12-27 15:24:09 +01:00
EnvironmentVariableParsingEdgeCasesTest.php fix(bootstrap): add bounds check to extractBalancedBraceContent 2026-03-02 12:24:40 +01:00
EnvVarInputComponentTest.php
EscapeShellValueTest.php fix(deployment): properly escape shell arguments in nixpacks commands 2026-03-23 21:55:46 +01:00
ExcludeFromHealthCheckTest.php
ExecuteInDockerEscapingTest.php chore: prepare for PR 2026-02-25 11:50:57 +01:00
ExtractHardcodedEnvironmentVariablesTest.php feat: add comprehensive environment variable parsing with nested resolution and hardcoded variable detection 2025-12-27 15:24:53 +01:00
ExtractYamlEnvironmentCommentsTest.php feat: add function to extract inline comments from docker-compose YAML environment variables 2025-12-27 15:24:09 +01:00
FileStorageSecurityTest.php fix(storage): consistent path validation and escaping for file volumes 2026-03-25 23:44:37 +01:00
FormatBytesTest.php
FormatContainerStatusTest.php
GetContainersStatusEmptyContainerSafeguardTest.php chore: prepare for PR 2026-03-10 18:34:37 +01:00
GetContainersStatusServiceAggregationTest.php
GitlabSourceCommandsTest.php feat(gitlab): add GitLab source integration with SSH and HTTP basic auth 2026-03-11 15:30:46 +01:00
GitLsRemoteParsingTest.php
GitRefValidationTest.php fix(models): replace forceFill/forceCreate with fill/create and add fillable guards 2026-03-31 13:45:31 +02:00
GlobalSearchNewImageQuickActionTest.php
HealthCheckCommandInjectionTest.php Squashed commit from '4fhp-investigate-os-command-injection' 2026-03-16 16:40:16 +01:00
HetznerDeletionFailedNotificationTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
HetznerServiceTest.php feat: add Hetzner Cloud server linking for manually-added servers 2025-12-11 22:14:41 +01:00
HetznerSshKeysTest.php
InsecurePrngArchTest.php refactor: use random_int() for email change verification codes 2026-03-28 12:25:54 +01:00
InstallScriptRockyDockerRepoTest.php fix(install): use Rocky Linux RHEL Docker repository 2026-04-14 10:31:01 +02:00
LocalFileVolumeReadOnlyTest.php fix: Detect read-only Docker volumes with long-form syntax and enable refresh 2025-12-11 14:18:58 +01:00
LogDrainCommandInjectionTest.php fix(log-drain): prevent command injection by base64-encoding environment variables 2026-03-10 22:22:51 +01:00
LogViewerXssSecurityTest.php Move inline styles to global CSS file 2025-12-04 13:15:01 +01:00
MetricsDownsamplingTest.php fix: prevent metric charts from freezing when navigating with wire:navigate 2026-01-02 12:36:17 +01:00
ModelFillableRegressionTest.php fix(models): replace forceFill/forceCreate with fill/create and add fillable guards 2026-03-31 13:45:31 +02:00
NestedEnvironmentVariableParsingTest.php chore: prepare for PR 2026-03-10 17:37:13 +01:00
NestedEnvironmentVariableTest.php feat: add comprehensive environment variable parsing with nested resolution and hardcoded variable detection 2025-12-27 15:24:53 +01:00
NotifyOutdatedTraefikServersJobTest.php
ParseCommandsByLineForSudoTest.php fix: resolve Docker validation race conditions and sudo prefix bug 2025-11-27 09:04:42 +01:00
ParseDockerVolumeStringTest.php
ParseEnvFormatToArrayTest.php feat: add comment field to environment variables 2025-12-27 15:24:09 +01:00
PathTraversalSecurityTest.php
PersistentVolumeSecurityTest.php fix(storage): use escapeshellarg for volume names in shell commands 2026-03-26 11:06:30 +01:00
PostgresqlInitScriptSecurityTest.php fix: enhance security by validating and escaping database names, file paths, and proxy configuration filenames to prevent command injection 2025-11-27 14:36:31 +01:00
PostgRESTDetectionTest.php Fix PostgREST misclassification and empty Domains section 2025-12-01 16:52:09 +01:00
PreSaveValidationTest.php
PreviewDeploymentBindMountTest.php fix(storages): hide PR suffix for services and fix instantSave logic 2026-03-16 21:10:00 +01:00
PreviewDeploymentPortTest.php test: Add comprehensive preview deployment port and path tests 2025-12-17 21:35:54 +01:00
PrivateKeyStorageTest.php chore: prepare for PR 2026-02-26 16:27:02 +01:00
ProxyConfigRecoveryTest.php feat(proxy): validate stored config matches current proxy type 2026-03-24 21:32:34 +01:00
ProxyConfigurationSecurityTest.php fix: enhance security by validating and escaping database names, file paths, and proxy configuration filenames to prevent command injection 2025-11-27 14:36:31 +01:00
ProxyCustomCommandsTest.php
ProxyHelperTest.php Fix: Traefik proxy startup issues - handle null versions and filter predefined networks 2025-11-28 17:53:26 +01:00
RestartCountTrackingTest.php
RestoreJobFinishedNullServerTest.php
RestoreJobFinishedSecurityTest.php
RestoreJobFinishedShellEscapingTest.php feat: improve S3 restore path handling and validation state 2025-11-25 10:18:30 +01:00
S3RestoreSecurityTest.php
S3RestoreTest.php
S3StorageTest.php
SafeExternalUrlTest.php fix: add URL validation for GitHub source api_url and html_url fields 2026-03-26 13:45:33 +01:00
SafeWebhookUrlTest.php fix: add URL validation for notification webhook fields 2026-03-28 12:22:59 +01:00
SanitizeLogsForExportTest.php feat(gitlab): add GitLab source integration with SSH and HTTP basic auth 2026-03-11 15:30:46 +01:00
ScheduledJobManagerLockTest.php chore: prepare for PR 2026-02-25 12:07:29 +01:00
ScheduledJobsRetryConfigTest.php
ScheduledTaskJobTimeoutTest.php
SendWebhookJobTest.php fix(webhooks): add validation to block unsafe webhook URLs 2026-03-28 14:23:08 +01:00
ServerBackoffTest.php feat(jobs): implement exponential backoff for unreachable servers 2026-03-26 10:51:36 +01:00
ServerBootstrapDestinationAttributesTest.php refactor(models): extract defaultStandaloneDockerAttributes method on Server 2026-03-31 14:44:45 +02:00
ServerManagerJobExecutionTimeTest.php Fix: Pass $serverTimezone to shouldRunNow() in ServerCheckJob dispatch 2025-12-02 16:58:43 +01:00
ServerManagerJobSentinelCheckTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
ServerQueryScopeTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
ServerStatusAccessorTest.php
ServiceApplicationPrerequisitesTest.php Fix: Fragile service name parsing in applyServiceApplicationPrerequisites 2025-11-28 17:42:04 +01:00
ServiceConfigurationRefreshTest.php
ServiceExcludedStatusTest.php
ServiceIndexValidationTest.php fix(proxy): add validation and normalization for database proxy timeout 2026-03-10 09:59:19 +01:00
ServiceNameSecurityTest.php
ServiceParserEnvVarPreservationTest.php fix(parsers): preserve ${VAR} references in compose instead of resolving to DB values 2026-03-24 21:52:36 +01:00
ServiceParserImageUpdateTest.php fix(models): replace forceFill/forceCreate with fill/create and add fillable guards 2026-03-31 13:45:31 +02:00
ServiceParserPathDuplicationTest.php fix: prevent SERVICE_FQDN/SERVICE_URL path duplication on FQDN updates 2025-11-27 10:57:24 +01:00
ServiceParserPortDetectionLogicTest.php
ServicePortSpecificVariablesTest.php
ServiceRequiredPortTest.php test(factories): add missing model factories for app test suite 2026-03-03 09:50:05 +01:00
SshCommandInjectionTest.php chore: prepare for PR 2026-03-03 11:51:38 +01:00
SshKeyValidationTest.php fix(ssh): handle chmod failures gracefully and simplify key management 2026-03-16 21:27:10 +01:00
SshMultiplexingDisableTest.php Fix SSH multiplexing contention for concurrent scheduled tasks (#6736) 2025-12-05 09:54:30 +01:00
SshRetryMechanismTest.php
StartKeydbConfigPermissionTest.php chore: prepare for PR 2026-02-23 13:26:01 +01:00
StartProxyTest.php
StartRedisConfigPermissionTest.php chore: prepare for PR 2026-02-23 13:26:01 +01:00
StartupExecutionCleanupTest.php
StopProxyTest.php fix(docker): migrate database start actions from --time to -t flag 2025-11-28 11:18:12 +01:00
StripCoolifyCustomFieldsTest.php
TimescaleDbDetectionTest.php
UnmanagedContainerCommandInjectionTest.php fix(livewire): add input validation to unmanaged container operations 2026-03-25 20:42:00 +01:00
UpdateComposeAbbreviatedVariablesTest.php
UpdateCoolifyTest.php Fix: Fragile service name parsing in applyServiceApplicationPrerequisites 2025-11-28 17:42:04 +01:00
ValidateShellSafePathTest.php
ValidationPatternsTest.php fix: add validation and escaping for Docker network names 2026-03-28 12:28:59 +01:00
ValidGitRepositoryUrlTest.php
ValidHostnameTest.php feat(validation): make hostname validation case-insensitive and expand allowed characters 2026-03-24 08:03:08 +01:00
ValidProxyConfigFilenameTest.php Add ValidProxyConfigFilename rule for dynamic proxy config validation 2025-12-09 16:12:45 +01:00
VolumeArrayFormatSecurityTest.php
VolumeSecurityTest.php
WindowsPathVolumeTest.php