Commit Graph
989 Commits
Author SHA1 Message Date
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
Jash Ambaliya ed266a00b2 fix: user, zone, storage and control forms limit each input to what its column can store refs #8364 (#8365) 2026-11-26 18:34:22 -05:00
Jash Ambaliya bcc175a559 fix: ZM_AUTH_HASH_TTL of 0 means 2 hours on the web side, as it does in zms and zmu refs #8366 (#8367) 2026-11-26 17:56:55 -05:00
Jash Ambaliya cd9fa3171f fix: API groups index, view and associations hide groups the user cannot view refs #7512 (#7513) 2026-11-26 17:55:58 -05:00
Harsh Singh 551e8c7140 fix: a failed AI dataset, class or model save shows its error on the options page (#7266) 2026-11-26 17:48:44 -05:00
Jash Ambaliya ddec4c32d2 feat: offer to clone the zones when cloning a monitor refs #2906 (#6666) 2026-11-26 17:47:56 -05:00
Harsh Singh d1ff6bf234 fix: API group add links monitors given as a MonitorIds array (#8096) 2026-11-26 08:57:34 -05:00
Harsh Singh e91f658118 fix: API storage add requires a Name and Path and edit refuses blank ones (#8351) 2026-11-26 08:56:10 -05:00
Harsh Singh 4ff7afc61b fix: filter view takes the email server as text so a host name no longer blocks saving (#8355) 2026-11-26 08:54:37 -05:00
Harsh Singh 3422c6540e fix: API filters refuse a list given to LIKE, REGEXP and comparison operators instead of a 500 (#8084) 2026-11-26 08:51:14 -05:00
Harsh Singh 59c32b78e5 fix: a malformed JSON string no longer raises an undefined variable warning in checkJsonError (#8126) 2026-11-26 08:50:56 -05:00