Repository navigation
What's changed since v0.2.4
- Splits the dashboard into routed pages: Overview, Servers, Latency, Logs, Events, Alerts, served by a small front controller and router (
src/, PSR-4, still no Composer). - Adds an English + Simplified Chinese UI (
?lang=en|zh-CN, remembered in a cookie, defaults to the browser language). - Adds dark / light / system themes (
?theme=, remembered in a cookie, works without JavaScript). - Shows latency as a matrix by default, plus a redrawn zoomable map (
/latency?view=map) with clickable nodes. - Adds a phone layout with a bottom tab bar, and the overview's numbers now refresh in place via
/overview/live. - Adds
/alerts: a password-protected page (PHP session + CSRF,no-store) that shows the JSON export of any external health checker. The format (signalops-healthcheck-page-v1) is documented in the README. - Collector changes: the latency map falls back to the reverse ping direction, the bot journal reports a "recovered incident" state, there is an optional
database.kinds_sqlarchive breakdown, and endpoint labels were added. - Still no build step: plain CSS + ES modules under
public/assets/site/, with self-hosted IBM Plex fonts (OFL included). - Adds an example nginx vhost (
deploy/nginx/signalops-status.conf) andscripts/dev-router.phpfor clean URLs on the PHP built-in server. - The public footer shows render stats only, with no PHP version or server software details.
Why upgrade
v0.3 turns the single long dashboard into a dense, navigable console that also works on phones and in Chinese, while keeping the same zero-build PHP deployment. The v0.2 page is still served at /index.php, so existing links and embeds keep working.
Upgrade notes
- Existing configs continue to work. New optional keys:
auth.*,alerts.export_path,alerts.stale_after_seconds,ui.cache_dir(seeconfig/signalops.example.php). - Clean URLs need
public/as the document root, with unknown paths sent topublic/index.php(see the nginx example). - The new pages only read the cached snapshot. Keep the cache warmer timer installed, or the pages show "no snapshot yet" until the first refresh.
- To use
/alertsin production, setauth.password_hash(php -r 'echo password_hash("...", PASSWORD_DEFAULT), PHP_EOL;') and pointalerts.export_pathat your checker's JSON. Keep/alertsout of CDN cache rules. - Try it locally:
php -S 127.0.0.1:8080 -t public scripts/dev-router.php.
Verification
php scripts/test-core.php(87 checks) andphp scripts/test-home.php(531 checks) pass on PHP 8.5.- All pages checked in demo mode in a browser: dark and light themes, zh-CN, phone width, latency map; no console errors.
- Confirmed the release contains no TradeFlash-specific code, hostnames, IPs, credentials, or production data.