Repository navigation
CyberHub 1.5.2 is a small, cumulative Core update for existing 1.5.0 or 1.5.1 installations. It merges #7 and #8, supporting the shared backend used by the web edition and the standalone app.
Changes
- Keep saved Gallery folders: starting CyberHub with an extra folder on the command line now adds it for that session. Saved folders keep their identities, favorites, collections and tags. Saving another setting does not persist the temporary folder. The extra folder itself remains session-only.
- Host and cross-origin checks: unrecognized Host names without a valid token are rejected; POSTs from foreign/null/cross-site origins are blocked. Non-empty
text/plainand form-urlencoded POSTs are rejected. Normal same-origin JSON requests, multipart uploads, local/IP access and authenticated LAN clients retain their existing paths. - Includes the 1.5.1 metadata correction when updating directly from 1.5.0.
Custom host names / reverse proxies
If you access CyberHub through a custom name without a token, add that host name to network.allowed_hosts in settings.json, or use the comma-separated CYBERHUB_ALLOWED_HOSTS environment variable, then restart. IP addresses, localhost and the computer's own names remain accepted. An unrecognized name returns 421 with instructions; cross-origin POSTs return 403, and the unsupported body types return 415.
Update
- Open Settings → CyberHub system updates → Check for updates.
- Install 1.5.2, then restart CyberHub and refresh the browser.
Alternatively, import cyberhub_update_v1.5.2.zip through Settings → Maintenance → Import ZIP, then restart. Core versions older than 1.5.0 must first use the existing 1.5.0 system update.
Settings stays at 1.6.0 and Module Manager at 1.1.1. This patch preserves optional modules, settings, databases, thumbnails, attachments and models. It does not replace Lite/Full starter bundles or publish a new Desktop app.
Validation on macOS: 121 Core Python tests, 22 Core browser-logic tests and 33 Desktop unit tests passed, plus a temporary-data Gallery integration check. Windows, Docker and a real reverse proxy were not executed; no GPU inference was part of this Core patch validation.