Commit Graph
431 Commits
Author SHA1 Message Date
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
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
Jash 3aca6da910 fix: bulk event detail edit reports failed updates instead of redirecting refs #6841 2026-11-19 13:48:55 +05:30
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
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
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 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 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
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 035dde831a Merge pull request #6380 from AJ0070/fix-states-shutdown
fix: run state actions with array names, shutdown command type, refused shutdown and cancel button in the modal
2026-11-17 08:32:03 -05:00
Isaac Connor 9c5328577e Merge pull request #6376 from AJ0070/fix-user-edit-rename-groups
fix: renaming your own user keeps the session, unposted group permissions, uid notice in user view
2026-11-17 08:27:50 -05:00
Isaac Connor 47658034e3 Merge pull request #6396 from AJ0070/fix-login-keep-destination
fix: keep the post-login destination after a failed login attempt
2026-11-17 08:26:12 -05:00
Isaac Connor 6db9265a96 Merge pull request #6540 from AJ0070/fix-events-delete-audit-count
fix: events delete audit count
2026-11-17 08:18:47 -05:00
Jash 4a192ea2b3 fix: events delete audit counts only the events actually deleted refs #6539 2026-11-17 08:57:57 +05:30
Jash 1b20d66dfe fix: skip threshold rescaling by zone Units, not by a decimal point in Coords refs #6342 2026-11-16 19:06:54 +05:30
Jash ab0d184448 fix: keep the post-login destination after a failed login attempt refs #6395 2026-11-16 13:59:38 +05:30
Jash c0c7332744 fix: run state actions with array names, shutdown command type, refused shutdown and cancel button in the modal refs #6379 2026-11-16 13:20:51 +05:30
Jash fd3a700ae5 fix: snapshots delete follows Snapshots edit, saving a deleted snapshot or report, bad search params, audit with no viewable monitors refs #6377 2026-11-16 13:17:56 +05:30
Jash 0acd815473 fix: renaming your own user keeps the session, unposted group permissions, uid notice in user view refs #6375 2026-11-16 13:14:22 +05:30
Jash a94ddccbe4 fix: filter editor validation on save, relative date values, reset, execute button and negative limit refs #6348 2026-11-16 12:09:27 +05:30
Jash 8d2f007e98 fix: monitor edit unticked boxes on redraw, Speaker save, return location presets and zone thresholds on resize refs #6342 2026-11-16 11:55:53 +05:30
Jash bc48ae4535 fix: log out after deleting your own user with others, port fields capped at 65535 refs #6338 2026-11-16 11:42:38 +05:30
Jash 746c75f67a fix: storage modal empty Path, storage save without fields, cron save of a deleted job refs #6128 2026-11-16 09:28:17 +05:30
Isaac Connor 33579c9fab Merge pull request #6043 from AJ0070/sonnet-gpu-dnsmasq
fix: dnsmasq options save and config parsing
2026-11-15 21:22:03 -05:00
Isaac Connor 82f7a6a47d Merge pull request #6052 from AJ0070/sonnet-groups-snapshot
fix: group dropdown, parent validation and modal Save button
2026-11-15 21:20:29 -05:00
Isaac Connor 471c13dabf Merge pull request #6137 from singhharsh1708/fix/version-remind-month
fix: make the update notice reminder options do something
2026-11-15 21:02:11 -05:00
Isaac Connor 037cdd327c Merge pull request #6139 from AJ0070/sonnet-options-menu
fix: menu save leaves entries that were not on the form
2026-11-15 21:01:16 -05:00
Isaac Connor d51d27f8cb Merge pull request #6293 from singhharsh1708/fix/groups-clear-cookie
fix: clearing the selected group no longer fails with an error
2026-11-15 20:48:59 -05:00
Isaac Connor 3fc3411842 Merge pull request #6006 from AJ0070/cron-action-types
fix: refuse non-string scheduled task fields instead of a TypeError
2026-11-15 18:08:56 -05:00
singhharsh1708 e1ba460dbf fix: clearing the selected group no longer fails with an error 2026-11-16 04:34:23 +05:30
Isaac Connor ae14761dc2 Merge pull request #5998 from AJ0070/reports-search-total
fix: Reports list search and total, and saving with no fields
2026-11-15 18:04:03 -05:00
Jash 358df838b9 fix: saving the menu leaves entries that were not on the form unchanged refs #6138 2026-11-16 02:38:30 +05:30
singhharsh1708 82e51f1a22 fix: make the update notice reminder options do something 2026-11-16 02:37:20 +05:30
Jash 9237f37af4 fix: group dropdown on repeated calls, parent group validation and the group Save button refs #6051 2026-11-16 01:09:10 +05:30
Jash 33dd11b9ca fix: dnsmasq options keep every setting on save and read value-less, long and multi-value lines refs #6042 2026-11-16 00:59:10 +05:30
Jash f383a86a0d fix: save a snapshot without warnings when no snapshot fields are posted refs #6011 2026-11-15 23:37:45 +05:30
Jash 31905cf390 fix: only save role permissions the form offers and require a string role name refs #6011 2026-11-15 23:37:45 +05:30
Jash 312b7dfa0a fix: refuse non-string scheduled task fields instead of a TypeError refs #6005 2026-11-15 23:31:48 +05:30
Jash 0ceac22c1c fix: save a report without warnings when no report fields are posted refs #5997 2026-11-15 23:23:33 +05:30
Jash 566200beeb fix: leave deleted monitors out of saved run states and refuse state names zmpkg treats as commands refs #5973 2026-11-15 12:49:14 +05:30