Repository navigation
v0.1.0
Extension Updater 0.1.0
First release: keeps Caloptreyx extensions up to date from the admin area. New releases show up on Admin › Extension Updates and install with one click, several in one rebuild.
Added
- Admin › Extension Updates: every installed Caloptreyx extension with installed version, newest compatible release, status and sanitized release notes; extensions not installed yet with an Install button.
- Update, Update all (one rebuild for all of them), Check now, build progress and the panel's build log, the result after the restart.
- Finds extensions from the Caloptreyx organisation's repositories and their
Metadata.toml: a new extension repository appears without an updater release. - Offers the newest release whose
panel_versionfits this panel (the panel's own check); a newer one that needs a newer panel is shown, not offered. - Downloads only from
github.com/Caloptreyx/<repo>/releases/download, redirects only to GitHub's asset hosts; every archive must match a published SHA-256 (GitHub's asset digest and/or the new<asset>.sha256asset), and its package name and version must match the release. Unverified releases are refused. - A failed rebuild keeps the running panel and puts the previous archives back; Retry forces the rebuild.
- Roll back to : the previous archive of each extension is kept in the database.
- Optional automatic updates once a day at a set hour (off by default; never releases with a license or for a newer panel).
- A banner on admin pages and a card on Admin › Updates while updates are available.
- Stays inside GitHub's 60 requests/hour without a token (release feeds, database cache); an optional token is stored encrypted.
- An Updates switch on each extension: when off, it is never counted as an update, skipped by Update all and automatic updates, and cannot be installed; the newest release is still shown and roll back still works. Logged as
extension:updates. - Viewing needs
extensions.read, installingextensions.manage; installs are logged asextension:uploadandextension:rebuild.
Installing
Upload dev_caloptreyx_updater.c7s.zip under Admin → Extensions or drop it into the heavy image's build/extensions/ and restart. Requires panel 1.2.10 and the heavy image for installing (other panels: notify only). The migrations create four tables prefixed dev_caloptreyx_updater_.