fix(health): add verbose messages to all health checks
Universal: Auto Version Bump / Version Bump (push) Successful in 12s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 26s
Generic: Project CI / Lint & Validate (pull_request) Successful in 33s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 4s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 41s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 36s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 7s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 11s
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Failing after 36s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: moko-platform CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report Issues (pull_request) Has been cancelled
Universal: Auto Version Bump / Version Bump (push) Successful in 12s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 26s
Generic: Project CI / Lint & Validate (pull_request) Successful in 33s
Joomla: Extension CI / Release Readiness Check (pull_request) Failing after 4s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 41s
Joomla: Extension CI / Lint & Validate (pull_request) Failing after 36s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 7s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 11s
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Failing after 36s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Project CI / Tests (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.2) (pull_request) Has been cancelled
Joomla: Extension CI / Tests (PHP 8.3) (pull_request) Has been cancelled
Joomla: Extension CI / PHPStan Analysis (pull_request) Has been cancelled
Joomla: Extension CI / Build RC Pre-Release (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: moko-platform CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report Issues (pull_request) Has been cancelled
- Config check: message lists specific issues (Debug ON, Force SSL OFF) - Security/backup/cron: message explains "Not installed" clearly - Backup: also checks for MokoSuiteBackup tables, not just Akeeba - Removed issues array from config — message field replaces it
This commit is contained in:
@@ -968,10 +968,15 @@ class MokoSuiteClient extends CMSPlugin implements BootableExtensionInterface
|
||||
|
||||
if (!in_array($akTable, $tables))
|
||||
{
|
||||
return [
|
||||
'status' => 'ok',
|
||||
'installed' => false,
|
||||
];
|
||||
// Check for MokoSuiteBackup instead
|
||||
if (!in_array($prefix . 'mokosuitebackup_records', $tables))
|
||||
{
|
||||
return [
|
||||
'status' => 'ok',
|
||||
'installed' => false,
|
||||
'message' => 'No backup solution installed (Akeeba Backup or MokoSuiteBackup)',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
// Get the most recent backup
|
||||
@@ -1083,6 +1088,7 @@ class MokoSuiteClient extends CMSPlugin implements BootableExtensionInterface
|
||||
return [
|
||||
'status' => 'ok',
|
||||
'installed' => false,
|
||||
'message' => 'Admin Tools is not installed',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1209,7 +1215,7 @@ class MokoSuiteClient extends CMSPlugin implements BootableExtensionInterface
|
||||
|
||||
if (!in_array($prefix . 'scheduler_tasks', $tables))
|
||||
{
|
||||
return ['status' => 'ok', 'available' => false];
|
||||
return ['status' => 'ok', 'available' => false, 'message' => 'Task Scheduler not available'];
|
||||
}
|
||||
|
||||
$db->setQuery(
|
||||
@@ -1701,6 +1707,7 @@ class MokoSuiteClient extends CMSPlugin implements BootableExtensionInterface
|
||||
|
||||
return [
|
||||
'status' => $status,
|
||||
'message' => $issues ? implode('; ', $issues) : 'All configuration settings are optimal',
|
||||
'debug' => $debug,
|
||||
'error_report' => $errorReport,
|
||||
'gzip' => $gzip,
|
||||
@@ -1709,7 +1716,6 @@ class MokoSuiteClient extends CMSPlugin implements BootableExtensionInterface
|
||||
'force_ssl' => $forceSSL,
|
||||
'caching' => $caching,
|
||||
'lifetime' => $lifetime,
|
||||
'issues' => $issues ?: null,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user