Skip to content

TicketsCAD v4.0.3 — map-overlay rename, upgrade orchestrator, Traccar ingest

Choose a tag to compare

@ejosterberg ejosterberg released this 24 Jul 13:42

Point release over v4.0.2. Bug fixes only — no schema change; upgrade in place.

Fixed

  • Map overlays — renaming a map markup (marker, line, circle, or polygon) no longer erases its shape. A rename now updates only the name and leaves the geometry and colour intact. (#3)
  • Location ingest (Traccar / OwnTracks / OpenGTS) — opening the ingest URL in a web browser to test it used to return {"error":"Not authenticated"}, which led people to chase a non-existent authentication problem. The endpoint now answers a browser with a clear "this URL is correct — it accepts POST only, and this is not an auth failure" message. Position forwarding itself was always POST and is unaffected.
  • Upgrade orchestrator (tools/upgrade/run.php) — the one-command legacy → v4 upgrade could fail two ways: the pre-upgrade database backup silently produced an empty file, and the schema-migration steps aborted with Cannot redeclare step(). Both are fixed — the backup falls back to the built-in PDO dump when mysqldump can't authenticate, and each migration step now runs as an isolated subprocess.

Full test suite: 3473 passing; schema + API-contract audits clean.

See CHANGELOG.md for full history.