Commit Graph
892 Commits
Author SHA1 Message Date
Jash Ambaliya 7d0a578ae7 fix: X10 command refuses a key or command containing a semicolon or control character refs #7548 (#7549) 2026-11-25 18:15:29 -05:00
Jash Ambaliya d882249417 fix: events list escapes the monitor and storage names refs #7566 (#7567) 2026-11-25 18:15:09 -05:00
Jash Ambaliya 50d11f8243 fix: custom menu item links with a scheme other than http or https fall back to the view link refs #7544 (#7545) 2026-11-25 18:13:23 -05:00
Jash Ambaliya b67575e38f feat: filter Debug shows how many events the filter matches refs #8216 (#8217) 2026-11-25 18:05:22 -05:00
Jash Ambaliya 97d812915a feat: Run State dialog lists the monitors that are down refs #8228 (#8229) 2026-11-25 18:04:53 -05:00
Jash Ambaliya 7fcb9f3dd5 feat: filters can tag the events they match refs #8239 (#8240) 2026-11-25 18:04:02 -05:00
Jash Ambaliya 46a9fdd56b fix: name exports after their owner and refuse downloads of other users' exports (#7463)
* fix: name exports after their owner and refuse downloads of other users' exports refs #7462

* fix: prefix exportEvents archives with the owner prefix so archive.php serves them refs #7462

* test: cover exportEvents to archive.php ownership round trip refs #7462
2026-11-25 18:03:26 -05:00
Harsh Singh 65c91163f1 fix: snapshots list ignores an array offset or limit instead of raising a deprecation (#8260) 2026-11-25 18:02:27 -05:00
Jash Ambaliya dfa6863c1f fix: monitor view refuses dupId for a monitor the user cannot edit refs #7492 (#7493) 2026-11-25 18:02:06 -05:00
Isaac ConnorandClaude Opus 4.8 511e818fff test: define canView on the ZM\Event stub in test_video_delete_replay (#8303)
views/video.php builds a ZM\Event and calls canView() on it (refs #5189),
but the test's stub Event class had no canView() method, so the delete-replay
test threw "Call to undefined method ZM\Event::canView()" and the CI PHP Tests
job failed on master once both changes were present. Add a canView() stub
returning true so the test exercises the delete-replay logic as intended.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-25 18:00:35 -05:00
Jash Ambaliya 764ecbdf0d feat: API monitors index filters on query string parameters refs #8249 (#8250) 2026-11-25 17:57:09 -05:00
Jash Ambaliya dadce8ef1b feat: Frames page toolbar links to its event refs #8243 (#8244) 2026-11-25 17:56:52 -05:00
Jash Ambaliya a66cf0bfeb feat: API tags index includes each tag's visible event count refs #8251 (#8252) 2026-11-25 17:50:53 -05:00
Harsh Singh 61bb1f3bf6 fix: events list ignores an array offset or limit instead of raising a deprecation (#8258) 2026-11-25 17:49:38 -05:00
Harsh Singh dd7cd3b62a fix: use Validation::notBlank in the User model instead of the deprecated notEmpty (#8256) 2026-11-25 17:49:23 -05:00
Jash Ambaliya d74e23c162 fix: Options dnsmasq save refuses directives that run programs or include files and values with line breaks (#7521)
* fix: Options dnsmasq save refuses directives that run programs or include files and values with line breaks refs #7520

* fix: dnsmasq save also refuses conf-script and dumpfile refs #7520
2026-11-25 17:48:32 -05:00
Jash Ambaliya a416073800 feat: monitor save refuses an Ffmpeg source path with no protocol refs #8186 (#8187) 2026-11-25 08:46:40 -05:00
Jash Ambaliya acfd734909 feat: Log view can filter by monitor refs #8230 (#8231) 2026-11-25 08:45:50 -05:00
Jash Ambaliya 863565df00 fix: a new camera model typed on the monitor form is looked up under the chosen manufacturer, not by name alone refs #7406 (#7407) 2026-11-25 08:39:08 -05:00
Jash Ambaliya 53a845742a feat: options refuse a zmwatch interval or delay below one second refs #8190 (#8191) 2026-11-25 08:38:46 -05:00
Jash Ambaliya 281735b073 fix: training data deletes report files that could not be removed instead of answering success refs #7401 (#7402) 2026-11-25 08:37:51 -05:00
Jash Ambaliya 45e9e4ab76 fix: html_input and filter terms escape their values and attributes (#7459)
* fix: html_input and filter terms escape their values and attributes refs #7458

* fix: filter bar also escapes a term's id, placeholder and Date data-cookie refs #7458
2026-11-25 08:33:32 -05:00
Jash Ambaliya f9bd6bb481 fix: refuse newlines in allow-listed filter commands (#7439)
* fix: refuse newlines in allow-listed filter commands refs #7438

* fix: allow-listed commands also refuse process substitution refs #7438
2026-11-25 08:33:08 -05:00
Jash Ambaliya cd243d72c8 fix: a filter with actions must be limited to monitors its owner can edit (#7421)
* fix: a filter with actions must be limited to monitors its owner can edit refs #7420

* fix: check monitor view instead of edit when limiting filter actions and stub Monitor in user permissions test refs #7420
2026-11-25 08:06:41 -05:00
Jash Ambaliya c45c88c4fd fix: escape Janus_Profile_Override on the monitor edit page refs #7416 (#7417) 2026-11-25 07:51:47 -05:00
Jash Ambaliya 1327a2b81d fix: video view only deletes a generated video if it is still the file the Delete link named refs #7253 (#7254) 2026-11-25 07:51:20 -05:00
Pliable PixelsandClaude Opus 5.5 47b4b9ef29 fix: keep ZM_PATH_ZMS public so the API returns it refs #8237 (#8238)
Since 22f94133 loadConfig() marks every zm.conf / conf.d value Private
apart from ZM_DIR_SOUNDS. ZM_PATH_ZMS lives in conf.d, so
/api/configs/viewByName/ZM_PATH_ZMS.json returned an empty Value.
zmNinjaNg reads that value to build live stream URLs and fell back to
<portal>/cgi-bin/nph-zms, which breaks live view on installs with
another path (ZoneMinder/zmNinjaNg#584).

ZM_PATH_ZMS is a URL path the browser already requests, so add it to
$public_file_config.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 07:48:46 -05:00
Jash Ambaliya f97a615270 test: bring four PHP tests in line with fixes merged after them refs #8182 (#8183) 2026-11-25 07:42:32 -05:00
Jash Ambaliya 35a86f42bf fix: event audit report needs Events view permission like the report view refs #7897 (#7898) 2026-11-24 22:39:16 -05:00
Jash Ambaliya 70acee7aee fix: event and video views show the error page for a missing event refs #7899 (#7900) 2026-11-24 22:39:00 -05:00
Jash Ambaliya 9d203ecf25 fix: notification and user preference edits write the row in the URL, not an Id from the body (#7427)
* fix: notification and user preference edits write the row in the URL, not an Id from the body refs #7426

* fix: notifications add ignores an Id in the body refs #7426
2026-11-24 22:37:49 -05:00
Jash Ambaliya 577d74006d fix: refuse training load, save and detect on events of monitors the user cannot view refs #7430 (#7431) 2026-11-24 22:37:03 -05:00
Jash Ambaliya fa5c1ba199 fix: report delete in the reports ajax reports a failed delete instead of success refs #7907 (#7908) 2026-11-24 22:36:15 -05:00
Jash Ambaliya 0add0033e4 fix: console sort reports a failed sequence update refs #7921 (#7922) 2026-11-24 22:35:16 -05:00
Jash Ambaliya 1d70bb8f48 fix: console sort skips monitors the user cannot edit refs #7915 (#7916) 2026-11-24 22:34:49 -05:00
Jash Ambaliya 0b3335c089 fix: monitor export hides camera credentials of monitors the user cannot edit (#7918)
* fix: monitor export hides camera credentials of monitors the user cannot edit refs #7917

* fix: monitor export also hides the ControlAddress and ONVIF_URL credentials refs #7917

* fix: monitor export strips credentials with removeUserinfo, including a ControlAddress with a scheme refs #7917
2026-11-24 22:34:26 -05:00
Jash Ambaliya c65d6b5856 fix: device ajax refuses a new device without a Name and KeyString refs #8013 (#8014) 2026-11-24 22:33:22 -05:00
Jash Ambaliya a6d9c0acc0 fix: event actions report a failed write instead of auditing and refreshing (#7950)
* fix: event actions report a failed write instead of auditing and refreshing refs #7949

* test: event delete actions rely on deleteEvent returning the delete result refs #7949
2026-11-24 22:32:39 -05:00
Jash Ambaliya f1f2f6ef5e fix: API storage index refuses filtering on Url without System edit refs #7933 (#7934) 2026-11-24 22:32:10 -05:00
Harsh Singh 7b5466da5c fix: events list no longer lists every event when a monitor filter or a search matches none (#7992) 2026-11-24 20:43:33 -05:00
Jash Ambaliya 26b0bfc0cc fix: extract_auth_values_from_url keeps a literal + in the username and password refs #8007 (#8008) 2026-11-24 19:43:10 -05:00
Jash Ambaliya 99c5efcf23 fix: Options menu items save keeps the stored value when a field is sent as an array refs #8017 (#8018) 2026-11-24 19:42:54 -05:00
Jash Ambaliya 888351d4f0 chore: run the PHP tests in CI (#8038)
* test: make the PHP tests pass from the repo root without a built tree refs #8037

* chore: run the PHP tests in CI refs #8037
2026-11-24 19:40:11 -05:00
Harsh Singh 9c7ff490f1 fix: report view shows the error page for an id that matches no report (#8146) 2026-11-24 19:34:13 -05:00
Harsh Singh f45344153d fix: saving a group that no longer exists reports it instead of inserting a new group (#8148) 2026-11-24 19:33:58 -05:00
Harsh Singh 71edff8865 fix: API event and encoder template add refuse a non-POST instead of answering 500 (#8098) 2026-11-24 19:31:23 -05:00
Harsh Singh 3bcba3f118 fix: saving a filter that no longer exists reports it instead of inserting a new filter (#8154) 2026-11-24 19:31:13 -05:00
Harsh Singh b1251a623a fix: API saves refuse a list or object sent for a plain column (#8110) 2026-11-24 19:31:01 -05:00
Harsh Singh 382d311ec1 fix: the events filter bar lists zones for an Alarmed Zone term instead of raising an undefined variable warning (#8174) 2026-11-24 19:22:56 -05:00
Harsh Singh 441132af53 fix: monitor view thumbnail links to watch only when the monitor can be streamed (#8176) 2026-11-24 19:22:35 -05:00