Commit Graph
999 Commits
Author SHA1 Message Date
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
Harsh Singh 986fbee395 fix: API group add and edit refuse a ParentId that matches no group (#8397) 2026-11-26 18:53:16 -05:00
Harsh Singh 23b5a538f0 fix: API monitor add and edit refuse an Ffmpeg source path with no protocol (#8399) 2026-11-26 18:53:03 -05:00
Jash Ambaliya 6989abebb7 fix: a cookie lifetime under a minute no longer regenerates the session on every request or purges every session refs #8372 (#8373) 2026-11-26 18:52:14 -05:00
Harsh Singh 6405574071 fix: API saves refuse a decimal outside the column's range (#8395) 2026-11-26 18:41:05 -05:00
Harsh Singh abf198c467 fix: the 1.35.11 and 1.35.15 update scripts look only at the current database (#8405) 2026-11-26 18:39:59 -05:00
Harsh Singh 5ceb737be9 fix: API monitor add and edit refuse a ManufacturerId or ModelId that matches no row (#8401) 2026-11-26 18:39:42 -05:00
Harsh Singh f0f2722b6a fix: the 1.31.16 update script quotes the Groups table so it runs on MySQL 8 (#8403) 2026-11-26 18:39:25 -05:00
Harsh Singh 22d4ec85ef fix: emulated prepares test compares the PDO attribute as a bool so it passes on PHP 8.1 to 8.3 (#8407) 2026-11-26 18:38:52 -05:00
Harsh Singh 780dc5ec2e fix: database connection no longer reads the PDO::MYSQL_ATTR constants deprecated in PHP 8.5 (#8377) 2026-11-26 18:37:13 -05:00
Harsh Singh dca9076a6f fix: widen Users.Language so big5_big5 can be saved (#8353) 2026-11-26 18:35:19 -05:00
Jash Ambaliya fc3df666cb fix: monitor form limits each input to what its Monitors column can store refs #8362 (#8363) 2026-11-26 18:34:38 -05:00