Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
14 changes: 7 additions & 7 deletions app/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Event Engine</title>
<link rel="stylesheet" href="style.css?v=1.10.4">
<link rel="stylesheet" href="style.css?v=1.10.5">
<link rel="icon" type="image/svg+xml" id="favicon" href="event_engine_icon_light.svg">
<script>(function(){
var stored=localStorage.getItem('theme');
Expand Down Expand Up @@ -641,11 +641,11 @@ <h3 class="section-title">SOCKS5 Proxy</h3>

<div class="toast-container" id="toast-container"></div>

<script src="api.js?v=1.10.4" onerror="__scriptLoadError('api.js')"></script>
<script src="app.js?v=1.10.4" onerror="__scriptLoadError('app.js')"></script>
<script src="update-checker.js?v=1.10.4" onerror="__scriptLoadError('update-checker.js')"></script>
<script src="device-capabilities.js?v=1.10.4" onerror="__scriptLoadError('device-capabilities.js')"></script>
<script src="settings.js?v=1.10.4" onerror="__scriptLoadError('settings.js')"></script>
<script src="rule-editor.js?v=1.10.4" onerror="__scriptLoadError('rule-editor.js')"></script>
<script src="api.js?v=1.10.5" onerror="__scriptLoadError('api.js')"></script>
<script src="app.js?v=1.10.5" onerror="__scriptLoadError('app.js')"></script>
<script src="update-checker.js?v=1.10.5" onerror="__scriptLoadError('update-checker.js')"></script>
<script src="device-capabilities.js?v=1.10.5" onerror="__scriptLoadError('device-capabilities.js')"></script>
<script src="settings.js?v=1.10.5" onerror="__scriptLoadError('settings.js')"></script>
<script src="rule-editor.js?v=1.10.5" onerror="__scriptLoadError('rule-editor.js')"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion app/html/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion app/html/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 7 additions & 7 deletions docs/preview/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Event Engine</title>
<link rel="stylesheet" href="style.css?v=1.10.4">
<link rel="stylesheet" href="style.css?v=1.10.5">
<link rel="icon" type="image/svg+xml" id="favicon" href="event_engine_icon_light.svg">
<script>(function(){
var stored=localStorage.getItem('theme');
Expand Down Expand Up @@ -642,11 +642,11 @@ <h3 class="section-title">SOCKS5 Proxy</h3>
<div class="toast-container" id="toast-container"></div>

<script src="mock.js"></script>
<script src="api.js?v=1.10.4" onerror="__scriptLoadError('api.js')"></script>
<script src="app.js?v=1.10.4" onerror="__scriptLoadError('app.js')"></script>
<script src="update-checker.js?v=1.10.4" onerror="__scriptLoadError('update-checker.js')"></script>
<script src="device-capabilities.js?v=1.10.4" onerror="__scriptLoadError('device-capabilities.js')"></script>
<script src="settings.js?v=1.10.4" onerror="__scriptLoadError('settings.js')"></script>
<script src="rule-editor.js?v=1.10.4" onerror="__scriptLoadError('rule-editor.js')"></script>
<script src="api.js?v=1.10.5" onerror="__scriptLoadError('api.js')"></script>
<script src="app.js?v=1.10.5" onerror="__scriptLoadError('app.js')"></script>
<script src="update-checker.js?v=1.10.5" onerror="__scriptLoadError('update-checker.js')"></script>
<script src="device-capabilities.js?v=1.10.5" onerror="__scriptLoadError('device-capabilities.js')"></script>
<script src="settings.js?v=1.10.5" onerror="__scriptLoadError('settings.js')"></script>
<script src="rule-editor.js?v=1.10.5" onerror="__scriptLoadError('rule-editor.js')"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions docs/preview/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion docs/preview/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down