Commit Graph
1010 Commits
Author SHA1 Message Date
Harsh Singh be9f0e403b fix: add monitors csv import passes fgetcsv escape explicitly, required from PHP 8.4 (#8383) 2026-11-27 18:34:44 -05:00
Harsh Singh d1f345f467 fix: montage view ignores an array whatDisplay value instead of a TypeError (#8453) 2026-11-27 18:33:39 -05:00
Harsh Singh 848a40b510 fix: training save refuses annotations or a label that is a list instead of a TypeError (#8449) 2026-11-27 18:32:42 -05:00
Harsh Singh 3452c912fa fix: video generation ajax refuses a format, rate, scale or transform it cannot use instead of a TypeError (#8451) 2026-11-27 18:32:21 -05:00
Harsh Singh d02b4fa4de fix: monitor filter bar drops a nested array from a filter list (#8455) 2026-11-27 18:32:05 -05:00
Harsh Singh 1d64d8d23c fix: the 1.31.16 update script skips blank entries in a group's MonitorIds (#8459) 2026-11-27 18:30:56 -05:00
Harsh Singh 7ad36d0b30 fix: API frame add answers a validation error for a nested Type instead of a 500 (#8461) 2026-11-27 18:30:21 -05:00
Harsh Singh 93a7340519 fix: API user preference edit answers 400 for a non-object UserPreference instead of a 500 (#8463) 2026-11-27 18:29:54 -05:00
Harsh Singh 3ca2b3b89f fix: API user preference edit answers a JSON message instead of a PHP warning and template text (#8465) 2026-11-27 18:29:29 -05:00
c2e987c90c fix: device save in the device ajax reports a failed query instead of success refs #7909 (#7910)
Co-authored-by: Isaac Connor <isaac@zoneminder.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:31:53 -05:00
Harsh Singh 927cc342c3 fix: API saves refuse an empty string for a NOT NULL number, date or enum column (#8421) 2026-11-27 08:53:03 -05:00
Harsh Singh 2a33f27d7b fix: validStr gives an empty string for an array instead of a TypeError (#8443) 2026-11-27 08:52:31 -05:00
Harsh Singh fabd8819ae fix: API encoder template index answers 400 for a nested Encoder list instead of a 500 (#8439) 2026-11-27 08:49:57 -05:00
Harsh Singh a741f6164d fix: console sort refuses a monitor order that is not a list instead of a TypeError (#8447) 2026-11-27 08:49:25 -05:00
Harsh Singh aa70bcf8cd fix: device and devices ajax answer an unrecognised action for an array action instead of a TypeError (#8445) 2026-11-27 08:49:10 -05:00
Harsh Singh ebb9b27400 fix: API notification add and edit answer 400 for a non-object Notification and no 500 for a nested Token (#8429) 2026-11-27 08:44:04 -05:00
Harsh Singh c50701129b fix: API monitor add and edit answer a validation error for an array ServerId or StorageId instead of a 500 (#8417) 2026-11-27 08:42:07 -05:00
Jash Ambaliya b7385ba41d fix: a zone whose points are not a polygon says why it was not saved instead of redirecting to the zones list refs #8414 (#8415) 2026-11-27 08:41:52 -05:00
Harsh Singh c3c2823411 fix: api controllers may set components as properties without a PHP 8.2 deprecation (#8431) 2026-11-27 08:41:36 -05:00
Harsh Singh df27d2da28 fix: API model rules answer a validation error for a list instead of a 500 (#8425) 2026-11-27 08:41:17 -05:00
Harsh Singh 8e709bb9d5 fix: API filters answer 400 for a nested array in a named parameter instead of a 500 (#8423) 2026-11-27 08:40:33 -05:00
Harsh Singh fa28222141 fix: API index answers 400 for a list in sort or direction instead of a 500 (#8427) 2026-11-27 08:40:13 -05:00
Jash Ambaliya b5e6456b15 fix: image view turns the frame id into an integer before it builds the file name refs #7636 (#7637) 2026-11-27 08:39:57 -05:00
Jash Ambaliya 86bc64209b fix: image view refuses an event or frame id that is a list refs #7638 (#7639) 2026-11-27 08:39:29 -05:00
Jash Ambaliya cbb3f6d088 fix: watch sidebar shows 0, not null, for the frame counts of an event that has just started refs #7363 (#7364) 2026-11-27 08:21:11 -05:00
Jash Ambaliya 658df87448 fix: events list sorts by monitor name when the sort field is MonitorName refs #7263 (#7264) 2026-11-27 08:19:08 -05:00
bad3940375 fix: API add and edit answer 400 when the save fails in 13 more controllers, as Users and Notifications do (#7384)
* fix: API add and edit answer 400 when the save fails in 13 more controllers, as Users and Notifications do refs #7383

* test: misc API controllers test gives its stub controller a response, as the controllers now set a status refs #7383

---------

Co-authored-by: Isaac Connor <isaac@zoneminder.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:16:35 -05:00
73aa1f56f7 fix: filter editor keeps every value of a multi-value Monitor, Server, Storage, Zone or Tags term refs #7271 (#7272)
Co-authored-by: Isaac Connor <isaac@zoneminder.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 08:15:48 -05:00
Jash Ambaliya 03ed383c16 fix: montage layout names are trimmed, so a blank name is refused and padding doesn't get past the preset and duplicate checks refs #7377 (#7378) 2026-11-27 08:15:05 -05:00
Jash Ambaliya 51c9a58479 fix: API daemonStatus says a monitor on another server is not local instead of asking the local zmdc refs #7275 (#7276) 2026-11-27 08:13:08 -05:00
Jash Ambaliya 96b1005063 fix: status ajax hides the userinfo of a monitor's Host, Path and ControlAddress from users who cannot edit it refs #7929 (#7930) 2026-11-26 22:35:51 -05:00
Jash Ambaliya 0d9c9aed55 fix: API storage and event view hide the s3 key and secret in a storage area Url from users who cannot edit System refs #7931 (#7932) 2026-11-26 22:34:08 -05:00
Jash Ambaliya d5eed51d0c fix: API group delete keeps the children where they were when the delete fails refs #7895 (#7896) 2026-11-26 22:33:40 -05:00
Jash Ambaliya 9e2c175b40 fix: reduce request ids to digits before building Report, Group and Control objects refs #7799 (#7800) 2026-11-26 22:33:17 -05:00
Jash Ambaliya b9845ecb18 fix: filter save stops the daemon only after the save succeeds refs #7753 (#7754) 2026-11-26 22:14:14 -05:00
Jash Ambaliya 4444dca629 fix: changes() and array_recursive_diff compare scalar values as strings so 0, null, '10' and '1e1' are not treated as unchanged refs #7773 (#7774) 2026-11-26 22:06:10 -05:00
Jash Ambaliya 8fad643bcd fix: url-encode the relayed credentials in the event view hls source refs #7777 (#7778) 2026-11-26 22:04:49 -05:00
Jash Ambaliya b8276d104a fix: Monitor stream url and html no longer divide by a zero view width or height refs #7781 (#7782) 2026-11-26 22:04:06 -05:00
Jash Ambaliya 4a64a70590 fix: build the montage review link's time range from numerically indexed filter terms refs #7797 (#7798) 2026-11-26 21:40:04 -05:00
Jash Ambaliya fa7e0458f2 fix: log list ignores an array offset or limit instead of raising a deprecation refs #7825 (#7826) 2026-11-26 21:39:44 -05:00
Jash Ambaliya b9078d6b2f fix: auth hash cache tracks the age of each address slot separately refs #7823 (#7824) 2026-11-26 21:38:18 -05:00
Jash Ambaliya ec60196a65 fix: monitor action editor refuses array input and unknown trigger or action values refs #7815 (#7816) 2026-11-26 21:35:44 -05:00
Jash Ambaliya ab87ed5d49 fix: escape action and username in console and training ajax errors, hide reports SQL error refs #7819 (#7820) 2026-11-26 21:34:50 -05:00
Jash Ambaliya b56e314a3f fix: API config delete refuses System and Readonly entries as edit does refs #7889 (#7890) 2026-11-26 21:33:16 -05:00
Jash Ambaliya 99a6d95957 fix: API monitor alarm and daemon actions answer 404 for a deleted monitor refs #7891 (#7892) 2026-11-26 21:32:40 -05:00
Jash Ambaliya d57488b81e fix: API zone edit refuses a GET instead of answering an empty 200 refs #7885 (#7886) 2026-11-26 19:15:07 -05:00
Jash Ambaliya a6a3a0bb1c fix: API zone list and add refuse a deleted monitor refs #7883 (#7884) 2026-11-26 19:14:38 -05:00
Harsh Singh 7c4f7b11db fix: add monitors probe no longer calls curl_close deprecated in PHP 8.5 (#8381) 2026-11-26 19:00:05 -05:00
Harsh Singh ec514eb2d3 fix: forwarded control request reads the reply status from the stream, not $http_response_header deprecated in PHP 8.5 (#8379) 2026-11-26 18:59:49 -05:00
Harsh Singh 92e8ce97f6 fix: role form limits the name input to the 64 characters its column stores (#8385) 2026-11-26 18:59:27 -05:00