Josef Straßl 86f4a2f579 adding updater functionality 1 mesiac pred
..
packages 86f4a2f579 adding updater functionality 1 mesiac pred
.htaccess 86f4a2f579 adding updater functionality 1 mesiac pred
README.md 86f4a2f579 adding updater functionality 1 mesiac pred
config.sample.php 86f4a2f579 adding updater functionality 1 mesiac pred
index.php 86f4a2f579 adding updater functionality 1 mesiac pred
manage.php 86f4a2f579 adding updater functionality 1 mesiac pred
manifest.json 86f4a2f579 adding updater functionality 1 mesiac pred
manifest.php 86f4a2f579 adding updater functionality 1 mesiac pred
package.php 86f4a2f579 adding updater functionality 1 mesiac pred

README.md

PSA Orderform Update Server

This folder can be deployed as the central update server.

Release ZIPs can be managed through manage.php:

  1. Copy config.sample.php to config.php.
  2. Change UPDATE_SERVER_PASSWORD.
  3. Open index.php or manage.php, log in with the configured password, and upload a ZIP with a vX.Y.Z version.

The management UI stores the ZIP under packages/, calculates SHA-256 and size, and updates manifest.json.

Manual release management is also possible:

  1. Put the package under packages/, for example packages/psa-orderform-v1.3.3.zip.
  2. Calculate its SHA-256 checksum and byte size.
  3. Edit manifest.json and set latest to the version clients should install.

Example release entry:

{
    "latest": "v1.3.3",
    "releases": {
        "v1.3.3": {
            "version": "v1.3.3",
            "package": "packages/psa-orderform-v1.3.3.zip",
            "sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
            "size": 123456,
            "published_at": "2026-06-23T00:00:00+00:00"
        }
    }
}

Clients should use manifest.php, not manifest.json, as their UPDATE_MANIFEST_URL.