Harsh Singh
bbbbc81faf
fix: API tag and event edits keep the assignment date and user of the tag links that stay ( #8545 )
2026-11-29 17:39:12 -05:00
Harsh Singh
185c542356
fix: API zone add requires a Name and zone presets require a non-blank Name ( #8543 )
2026-11-29 17:39:08 -05:00
Harsh Singh
1cbe230713
fix: monitor probe opens without an undefined array key warning on a host with no default route ( #8541 )
2026-11-29 17:39:04 -05:00
Harsh Singh
a0025281a0
fix: montage review keeps a fractional display interval instead of reading 70.2 as 702 ( #8537 )
2026-11-29 17:39:01 -05:00
Harsh Singh
08bc20d83a
fix: options save refuses a list for an option or a new menu entry field instead of storing Array or dying ( #8525 )
2026-11-29 17:38:47 -05:00
Harsh Singh
ec8f4f3c8a
fix: event rename and detail refuse a list for the name, cause or notes instead of writing Array ( #8523 )
2026-11-29 17:38:43 -05:00
Harsh Singh
e136b16f04
fix: console restart skips a WebSite monitor instead of starting a capture daemon for it ( #8521 )
2026-11-29 17:38:40 -05:00
Harsh Singh
9d5e7a8c51
fix: exporting a running event no longer raises a strtotime null deprecation ( #8519 )
2026-11-29 17:38:36 -05:00
Harsh Singh
c69b5a5e4e
fix: console footer event links match no events when no monitor is listed instead of every event ( #8517 )
2026-11-29 17:38:33 -05:00
Harsh Singh
2f9f658a9a
fix: control capability delete skips an id that is not a whole number instead of deleting another ( #8515 )
2026-11-29 17:38:29 -05:00
Harsh Singh
be73856784
fix: log view lists no rows when a filter value cannot be read instead of every row ( #8513 )
2026-11-29 17:38:26 -05:00
Harsh Singh
9d806cf65b
fix: IP addresses sort by their numbers in the Add Monitors table and the ONVIF probe list ( #8563 )
2026-11-29 17:38:09 -05:00
Harsh Singh
1cd0289998
fix: stream ajax refuses a non-numeric VARPLAY rate instead of dying on it ( #8476 )
2026-11-28 23:57:47 -05:00
Harsh Singh
d2474aaaa7
fix: API events search treats a list in a named parameter as a list of values instead of dying on it ( #8480 )
2026-11-28 23:57:20 -05:00
Harsh Singh
a113f7fd28
fix: API monitor add and edit answer a validation error for a list Device on a Local monitor instead of a 500 ( #8486 )
2026-11-28 23:56:03 -05:00
Harsh Singh
457470ea4e
fix: trigger ajax refuses a list for cause, text or showtext instead of writing Array ( #8488 )
2026-11-28 23:55:39 -05:00
Harsh Singh
fc2bb717f1
fix: log delete by ids ignores a nested list instead of deleting log row 1 ( #8490 )
2026-11-28 18:35:25 -05:00
Harsh Singh
561b3810ce
fix: API states are keyed on Id so an Id in the body no longer renumbers the state or gives a 500 ( #8484 )
2026-11-28 12:13:25 -05:00
Harsh Singh
49c5febd64
fix: options menu delete and sort order ignore a nested list instead of using entry 1 ( #8492 )
2026-11-28 11:08:19 -05:00
Harsh Singh
6d000ec263
fix: group save ignores a nested list among the monitor ids instead of adding monitor 1 ( #8494 )
2026-11-28 11:06:26 -05:00
Harsh Singh
65730848df
fix: API saves refuse null and an empty list for a NOT NULL column instead of a 500 ( #8496 )
2026-11-28 11:06:11 -05:00
Harsh Singh
949483246f
fix: status ajax answers an error for a list as a requested element instead of a TypeError ( #8500 )
2026-11-28 11:05:43 -05:00
Harsh Singh
ecb7533962
fix: watch view ignores a list as mid instead of opening monitor 1 ( #8502 )
2026-11-28 11:05:29 -05:00
Harsh Singh
8a107cfef3
fix: API tag add requires a Name ( #8472 )
2026-11-28 11:04:52 -05:00
Harsh Singh
7397e5f593
fix: API frame edit validates the values before it updates the row ( #8474 )
2026-11-28 11:04:27 -05:00
Harsh Singh
7b832e3666
fix: API filters write a list given with = or <> as IN or NOT IN instead of a 500 ( #8478 )
2026-11-28 11:04:11 -05:00
Harsh Singh
0983385d33
test: ai action save and delete tests stub what ai_class.php now calls ( #8470 )
2026-11-28 11:03:54 -05:00
Jash Ambaliya
69196f3ae7
feat: console Restart button restarts the selected monitors' capture daemons refs #8226 ( #8227 )
2026-11-28 10:52:11 -05:00
Jash Ambaliya
15514e6997
fix: Monitor Path strips percent-encoded credentials from the stored path refs #7600 ( #7601 )
2026-11-27 20:44:41 -05:00
1e14cb4b94
fix: ignore an array ServerId in the log filter instead of failing the query refs #7741 ( #7742 )
...
Co-authored-by: Isaac Connor <isaac@zoneminder.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-27 19:15:28 -05:00
Jash Ambaliya
ca30622be7
fix: API user delete keeps the preferences when the user delete fails ( #7894 )
...
* fix: API user delete keeps the preferences when the user delete fails refs #7893
* test: stub getDataSource on the User fake in the user delete preferences test refs #7893
2026-11-27 18:47:12 -05:00
Isaac Connor and Claude Opus 5.5
af00ba10c8
test: PHP test stubs know the helpers and include path merged code now uses ( #8468 )
...
* test: PHP test stubs know the helpers and include path merged code now uses
Twenty tests in tests/php failed on master after PRs that each passed on
their own landed together: code under test started calling a helper, or
loading a file, that these tests' stand-ins didn't provide.
- validCardinal(): actions/group.php, actions/controlcap.php and
ajax/reports.php deleteRequest() reduce request ids with it (#7800 ).
The five group save tests, the controlcap test and the reports delete
test now carry a copy of it.
- ZM\scalar_values_differ(): Object.php changes() compares with it
(#7774 ). The group, storage, user and zmtrack tests that load
Object.php now carry a copy.
- authHashTtl(): generateAuthHash() takes its freshness limit from it
(#8367 ). test_auth_hash_slot_age lifts it out of auth.php alongside
generateAuthHash().
- includes/log_redact.php: ajax/status.php requires it relative to web/
(#7930 ). The five status tests put web/ on the include path before
including status.php, as the web server's working directory does.
- test_reports_ajax_forged_id: deleteRequest() now reports a delete()
that returns false (#7820 ), and the stub Report::delete() returned
nothing, so it returns true.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* test: filter text test lifts filterSelectionScalars() with getFilterSelection()
getFilterSelection() in _monitor_filters.php now passes request and cookie
values through filterSelectionScalars() (#8455 ), so the test has to
evaluate that function too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-27 18:43:21 -05:00
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