Jash
b493128082
fix: event images saved as analysis JPEGs are found, and a missing frame keeps its id refs #6998
2026-11-20 17:19:31 +05:30
Isaac Connor
59a7c3fb23
Merge pull request #6670 from AJ0070/feat-export-generate-in-exports
...
feat: generate export videos under the exports directory instead of event storage
2026-11-19 19:32:20 -05:00
Isaac Connor
72e5a01150
Merge pull request #6849 from AJ0070/fix-filter-terms-shape
...
fix: Filter::terms() returns only well-formed terms so a malformed filter URL can't fatal
2026-11-19 08:55:58 -05:00
Isaac Connor
c6d6decac7
Merge pull request #6845 from IgorA100/patch-719919
...
Refactor: introduce ZM\ZonePreset ORM model and remove raw SQL for zone presets
2026-11-19 08:53:16 -05:00
Isaac Connor
ca71e82942
Merge pull request #6847 from AJ0070/fix-montage-missing-auto-layout
...
fix: montage keeps working without the Auto layout and preset layouts can't be deleted
2026-11-19 08:50:03 -05:00
Isaac Connor
36a2f8a3c2
Merge pull request #6754 from AJ0070/fix-group-save-result
...
fix: stop the group save when the group row is not saved
2026-11-19 08:49:36 -05:00
Isaac Connor
373d942821
Merge pull request #6760 from AJ0070/fix-zmtrack-lifecycle
...
fix: start and stop zmtrack.pl when a monitor is saved or deleted
2026-11-19 08:48:55 -05:00
Isaac Connor
38799b90d6
Merge pull request #6844 from AJ0070/fix-ai-actions-save-result
...
fix: AI dataset, class and model saves report a failed write instead of redirecting
2026-11-19 08:46:45 -05:00
IgorA100
b173e1f087
Use $preset->get_last_error() instead of $preset->last_error()
...
Unfortunate typo
2026-11-19 16:22:40 +03:00
Jash
b26de52e5b
fix: AI dataset, class and model saves report a failed write instead of redirecting refs #6843
2026-11-19 18:48:50 +05:30
Isaac Connor
4bc5b19ad4
Merge pull request #6836 from AJ0070/fix-filter-storage-server-term
...
fix: Storage Server filter term looks up the event's storage instead of an unjoined alias
2026-11-19 08:18:24 -05:00
Isaac Connor
9e79b3681d
Merge pull request #6842 from AJ0070/fix-eventdetail-save-result
...
fix: bulk event detail edit reports failed updates instead of redirecting
2026-11-19 08:17:50 -05:00
Jash
f763821a20
fix: Filter::terms() returns only well-formed terms so a malformed filter URL can't fatal refs #6848
2026-11-19 15:50:26 +05:30
IgorA100
eeff2844f6
refactor: introduce ZM\ZonePreset ORM model and remove raw SQL for zone presets
2026-11-19 13:07:29 +03:00
Jash
4f1e4643fd
fix: montage keeps working without the Auto layout and preset layouts can't be deleted refs #6846
2026-11-19 15:31:55 +05:30
IgorA100
623af303c2
Added class ZonePreset as extends ZM_Object
2026-11-19 12:54:05 +03:00
Jash
3aca6da910
fix: bulk event detail edit reports failed updates instead of redirecting refs #6841
2026-11-19 13:48:55 +05:30
Jash
b959839fc1
fix: device On/Off reports when the X10 unit doesn't answer refs #6839
2026-11-19 13:44:44 +05:30
Jash
9d90f00c34
fix: Storage Server filter term looks up the event's storage instead of an unjoined alias refs #6835
2026-11-19 13:19:27 +05:30
Isaac Connor
b529a752b3
Merge pull request #6671 from AJ0070/feat-onvif-subscription-status
...
feat: show the ONVIF subscription status in the monitor editor
2026-11-18 23:35:11 -05:00
Isaac Connor
c85e112a1c
Merge pull request #6700 from AJ0070/fix-server-forwarded-lists
...
fix: use the first value of comma-separated forwarded headers
2026-11-18 23:32:12 -05:00
Isaac Connor
6a31d38290
Merge pull request #6710 from AJ0070/fix-viewable-monitors-empty
...
fix: match nothing instead of IN () when a user can view no monitors
2026-11-18 23:28:59 -05:00
Isaac Connor
ee0f6dadcd
Merge pull request #6718 from AJ0070/fix-send-control-command-rc
...
fix: sendControlCommand reports failure when zmcontrol.pl fails
2026-11-18 23:27:26 -05:00
Isaac Connor
9b518d32eb
Merge pull request #6721 from IgorA100/zone-presets
...
Feat: Add localized custom zone preset management (save, update, delete)
2026-11-18 23:22:59 -05:00
Isaac Connor
acf432e209
Merge pull request #6720 from AJ0070/fix-group-name-unicode
...
fix: keep non-ASCII letters in group names
2026-11-18 23:00:05 -05:00
Jash
d4d9143339
fix: start and stop zmtrack.pl when a monitor is saved or deleted refs #6759
2026-11-19 09:16:49 +05:30
Jash
02d180e025
fix: stop the group save when the group row is not saved refs #6753
2026-11-19 08:53:33 +05:30
Isaac Connor
8b13df8ea4
Merge pull request #6747 from singhharsh1708/fix/e-filter-control-relay-encoding
...
fix: url-encode the relayed credentials when restarting a filter on another server
2026-11-18 20:34:24 -05:00
Isaac Connor
4f348118f6
Merge pull request #6708 from AJ0070/fix-server-storage-blank
...
fix: refuse to save a server or storage area with a blank Name or Path
2026-11-18 20:28:23 -05:00
singhharsh1708
380a5c09dc
fix: url-encode the relayed credentials when restarting a filter on another server
2026-11-19 00:51:18 +05:30
IgorA100
580dfe2a19
Use dynamic ZonePresets fields in backend preset actions
...
- Add 'Type' to ZONE_PRESET_EXCLUDED_FIELDS in web/includes/Zone.php so preset loading and saving do not alter zone types.
- Replace hardcoded field and threshold arrays in web/includes/actions/zone.php with ZM\Zone::getZonePresetFields(), dynamically clamping area fields ending in 'Pixels' to [0..100].
- Explicitly set Type = 'Active' when inserting new custom presets into ZonePresets for strict SQL mode compatibility.
2026-11-18 22:18:20 +03:00
IgorA100
a1366536b7
Derive zone preset fields dynamically from ZonePresets schema
...
- Add ZONE_PRESET_EXCLUDED_FIELDS and ZM\Zone::getZonePresetFields() in web/includes/Zone.php to extract configurable column names from ZonePresets without hardcoding field lists.
- Expose var zonePresetFields in web/skins/classic/views/js/zone.js.php.
- Refactor preset saving and applyPreset() in web/skins/classic/views/js/zone.js to iterate over zonePresetFields dynamically while preserving CheckMethodIndex selection.
2026-11-18 21:58:00 +03:00
IgorA100
c0d014d085
Add ability to save, update, and delete custom zone presets
...
# Conflicts:
# web/lang/en_gb.php
# web/lang/ru_ru.php
# web/skins/classic/views/js/zone.js
2026-11-18 17:26:32 +03:00
Jash
25ba9c3c77
fix: keep non-ASCII letters in group names refs #6719
2026-11-18 19:42:08 +05:30
Jash
86267783ed
fix: sendControlCommand reports failure when zmcontrol.pl fails refs #6717
2026-11-18 19:35:03 +05:30
IgorA100
e7ff20eb91
Added const BUILT_IN_PRESETS
2026-11-18 16:51:27 +03:00
Jash
4a4faedaa6
fix: match nothing instead of IN () when a user can view no monitors refs #6709
2026-11-18 19:00:16 +05:30
Jash
57b69ea118
fix: refuse to save a server or storage area with a blank Name or Path refs #6707
2026-11-18 18:53:03 +05:30
Jash
a1495dc22f
fix: use the first value of comma-separated forwarded headers refs #6699
2026-11-18 18:39:36 +05:30
Isaac Connor
09e11048eb
Merge branch 'master' into fix-control-base
2026-11-18 08:09:31 -05:00
Jash
65b68a188e
feat: show the ONVIF subscription status in the monitor editor refs #4191
2026-11-18 14:49:01 +05:30
Jash
fb7b50186f
feat: generate export videos under the exports directory instead of event storage refs #5505
2026-11-18 13:01:37 +05:30
Isaac Connor
30dedee84d
Merge pull request #6088 from singhharsh1708/fix/ptz-rotated-move-command
...
fix: send moveStop again on rotated and flipped PTZ monitors
2026-11-17 21:23:52 -05:00
Isaac Connor
65140665e7
Merge pull request #6644 from IgorA100/patch-644419
...
Feat: Enhance zone type selector with localization, tooltips, and theme-aware color coding
2026-11-17 21:05:31 -05:00
Isaac Connor
b85fa0ab9e
Merge pull request #6331 from AJ0070/fix-zone-editor-legacy-pixels
...
fix: zone editor inputs for inactive zones, player change tracking and legacy pixel zones
2026-11-17 19:15:43 -05:00
IgorA100
94a1490066
HTML Helpers (htmlSelect / htmlOptions):
...
Added a reusable htmlAttributes() helper function to cleanly render arbitrary HTML attributes (such as title, data-*, and boolean attributes) on <select> and <option> elements without breaking backward compatibility.
Preserved existing htmlspecialchars() encoding flags (double_encode = false) to avoid double-encoding regressions.
-------------------------------------
Zone View (zone.php & Localization):
Replaced raw enum strings in the Zone Type dropdown with localized labels via translate() and added explanatory title tooltips for each zone type (Active, Inclusive, Exclusive, Preclusive, Inactive, Privacy).
Assigned semantic CSS classes (zone-type-*) to options and the initial <select> element.
-------------------------------------
Dynamic Styling (zone.js & Skin CSS):
Updated applyZoneType() to dynamically sync the selected option's color class with the <select> element on page load and change events (CSP-compliant, no inline JS).
Added theme-specific color rules for .zone-type-* across light and dark skins to ensure proper contrast and readability.
2026-11-17 23:40:00 +03:00
Isaac Connor
ea96bf8405
Merge pull request #6339 from AJ0070/fix-options-user-delete-port
...
fix: log out after deleting your own user with others, port fields capped at 65535
2026-11-17 08:46:33 -05:00
Isaac Connor
186d0be12c
Merge pull request #6343 from AJ0070/fix-monitor-edit-form
...
fix: monitor edit unticked boxes on redraw, Speaker save, return location presets and zone thresholds on resize
2026-11-17 08:42:43 -05:00
Isaac Connor
c8b99cca8c
Merge pull request #6349 from AJ0070/fix-filter-editor
...
fix: filter editor validation on save, relative date values, reset, execute button and negative limit
2026-11-17 08:40:40 -05:00
Isaac Connor
3808ad6d16
Merge pull request #6363 from AJ0070/fix-ptz-preset-labels
...
fix: PTZ preset label cleared for unlabelled presets, stored without added backslashes, preset passed once
2026-11-17 08:38:43 -05:00