diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b913f47..6799caf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,11 +20,10 @@ jobs: run: ./tools/sync-docs.sh --check - name: Check UI assets are cache-busted with the app version run: ./tools/check-cache-bust.sh - - name: Check the site's version fallback matches the app version + - name: Check the site's release version placeholder run: | - v=$(sed -n 's/.*"version": *"\([^"]*\)".*/\1/p' app/manifest.json | head -1) - grep -q "id=\"hero-version\">v$v " docs/index.html || { - echo "docs/index.html: hero-version should start with v$v (shown when the GitHub API is unavailable)" + grep -q 'id="relVersion">Latest release on GitHub<' docs/index.html || { + echo "docs/index.html: relVersion placeholder should match the release API fallback" exit 1 } diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 12a9245..9831c26 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,11 @@ # Release Notes +## v1.10.5 - Taller rule editor + +The rule editor now uses more of the screen on tall displays, making it easier +to see more of the configuration at once. The header and Save/Cancel buttons +stay visible while longer configurations scroll. + ## v1.10.4 - Day/Night offsets and Modbus text padding The Day / Night condition can shift sunrise and sunset by a number of minutes, diff --git a/app/html/index.html b/app/html/index.html index ff02081..7ffe90e 100644 --- a/app/html/index.html +++ b/app/html/index.html @@ -4,7 +4,7 @@ Event Engine - + - - - - - + + + + + + diff --git a/app/html/openapi.json b/app/html/openapi.json index a9082bc..6a748e0 100644 --- a/app/html/openapi.json +++ b/app/html/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "ACAP Event Engine", "description": "REST API for the Axis Event Engine ACAP — an If-This-Then-That style rule engine running on Axis cameras.\n\nAll endpoints are served via FastCGI at `/local/acap_event_engine/{endpoint}` and require HTTP Basic Auth with admin credentials.\n\n### Template Variables\nAction strings (URLs, payloads, messages, overlay text, etc.) support `{{...}}` substitution:\n\n| Variable | Value |\n|----------|-------|\n| `{{timestamp}}` | RFC 3339 timestamp in device local time (e.g. `2026-04-30T13:00:00+02:00`) |\n| `{{date}}` | YYYY-MM-DD |\n| `{{time}}` | HH:MM:SS |\n| `{{camera.serial}}` | Device serial number |\n| `{{camera.model}}` | Device model name |\n| `{{camera.ip}}` | Device IP address |\n| `{{trigger_json}}` | Full trigger event data as compact JSON |\n| `{{trigger.KEY}}` | Individual field from the trigger event |\n| `{{var.NAME}}` | Named variable value |\n| `{{counter.NAME}}` | Named counter value |\n| `{{gps.latitude}}`, `{{gps.longitude}}` | Latest coordinates from a fresh GPS fix |\n| `{{gps.speed_kmh}}`, `{{gps.speed_mph}}`, `{{gps.speed_knots}}`, `{{gps.speed_mps}}` | Latest speed in the named units |\n| `{{gps.heading}}`, `{{gps.heading_cardinal}}`, `{{gps.altitude_m}}` | Heading, compass direction, and altitude |\n| `{{gps.age}}` | Seconds since the latest valid fix |\n| `{{trigger.snapshot_base64}}` | Base64 JPEG (when `attach_snapshot` is true on HTTP Request, Email, MQTT Publish, Slack, Teams, or Telegram actions) |\n\nNumeric formatting: `{{trigger.KEY|N}}` rounds a numeric field to N decimal places — e.g. `{{trigger.Temperature|2}}` → `20.35`. GPS values other than age resolve to `--` unless GPS is enabled and a fresh fix is available.\n", - "version": "1.10.4", + "version": "1.10.5", "contact": { "name": "GitHub", "url": "https://github.com/Mo3he" diff --git a/app/html/style.css b/app/html/style.css index 4352cf7..47f384b 100644 --- a/app/html/style.css +++ b/app/html/style.css @@ -448,7 +448,7 @@ a.tab-btn[href^="help"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='ht width: 100%; max-width: 900px; height: 100%; - max-height: 960px; + max-height: 100%; display: flex; flex-direction: column; overflow: hidden; diff --git a/app/manifest.json b/app/manifest.json index 1f87160..ac65af8 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -8,7 +8,7 @@ "vendorId": "70ee172dd9", "vendorUrl": "https://github.com/Mo3he", "runMode": "respawn", - "version": "1.10.4", + "version": "1.10.5", "compatibleOsVersions": [ { "min": "11.11", diff --git a/docs/preview/index.html b/docs/preview/index.html index b2a1ef1..36f39ac 100644 --- a/docs/preview/index.html +++ b/docs/preview/index.html @@ -4,7 +4,7 @@ Event Engine - + - - - - - - + + + + + + diff --git a/docs/preview/mock.js b/docs/preview/mock.js index 8f6da17..a35cfcf 100644 --- a/docs/preview/mock.js +++ b/docs/preview/mock.js @@ -82,7 +82,7 @@ }; const fakeStatus = { - engine_version: '1.10.4', + engine_version: '1.10.5', rules_total: state.rules.length, rules_enabled: state.rules.filter(rule => rule.enabled).length, events_today: 4, @@ -238,7 +238,7 @@ if (url.origin !== window.location.origin) { preview.blockedExternalRequests.push(url.href); if (url.hostname === 'api.github.com') { - return json({ tag_name: 'v1.10.4', html_url: 'https://example.invalid/preview-release' }); + return json({ tag_name: 'v1.10.5', html_url: 'https://example.invalid/preview-release' }); } return text('External requests are disabled in this offline preview.', 451); } diff --git a/docs/preview/style.css b/docs/preview/style.css index 4352cf7..47f384b 100644 --- a/docs/preview/style.css +++ b/docs/preview/style.css @@ -448,7 +448,7 @@ a.tab-btn[href^="help"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='ht width: 100%; max-width: 900px; height: 100%; - max-height: 960px; + max-height: 100%; display: flex; flex-direction: column; overflow: hidden;