Commit Graph
919 Commits
Author SHA1 Message Date
Jash Ambaliya d13098901f fix: API role edit and user preference add and edit refuse other request methods refs #8299 (#8300) 2026-11-25 20:41:44 -05:00
Jash Ambaliya 866400991a feat: monitor settings page links to the monitor's events refs #8281 (#8282) 2026-11-25 20:41:05 -05:00
Jash Ambaliya 9a38906486 fix: filter view shows the error page for a filter that does not exist instead of a blank new filter refs #8301 (#8302) 2026-11-25 20:39:46 -05:00
Jash Ambaliya 2649b3cf4d feat: API sends a PTZ command to a controllable monitor refs #8206 (#8207) 2026-11-25 20:38:53 -05:00
Jash Ambaliya 526638b867 feat: storage areas show their free space in the header and the Storage options tab refs #8220 (#8221) 2026-11-25 20:38:36 -05:00
Harsh Singh 4bc6d139f8 fix: API saves refuse a whole number outside the column's range (#8108) 2026-11-25 20:37:20 -05:00
Harsh Singh 4974ec75a6 fix: renaming a monitor removes its old name link when the storage path goes through a symlink (#8120) 2026-11-25 20:35:32 -05:00
Jash Ambaliya b5e8459d45 feat: filters can select events by their Videoed, Uploaded, Emailed, Messaged and Executed flags refs #8214 (#8215) 2026-11-25 20:34:02 -05:00
Jash Ambaliya 938ff65491 feat: filter Execute reports whether the filter ran, and zmfilter logs the match count at Info for one-off runs refs #8218 (#8219) 2026-11-25 20:32:12 -05:00
Jash Ambaliya c0e12c3ba2 feat: API creates a snapshot from monitors as the web snapshot action does refs #8208 (#8209) 2026-11-25 20:31:24 -05:00
Jash Ambaliya 5b42f076d0 fix: stream seek and max fps round the fraction to microseconds instead of truncating it (#7396)
* fix: stream seek and max fps round the fraction to microseconds instead of truncating it refs #7395

* fix: seek rounds only the fraction so whole seconds stay within a 32-bit int refs #7395
2026-11-25 20:23:30 -05:00
Harsh Singh 885c520334 fix: report chart plots no events when its filter was deleted (#8144) 2026-11-25 18:30:37 -05:00
Harsh Singh f74923c8d5 fix: saving a control capability that no longer exists reports it instead of inserting a new one (#8150) 2026-11-25 18:30:21 -05:00
Jash Ambaliya 8e60f1f3a8 feat: API archives or unarchives many events in one request refs #8202 (#8203) 2026-11-25 18:27:59 -05:00
Jash Ambaliya 6b9f89c1fc feat: API adds and removes a tag on events refs #8204 (#8205) 2026-11-25 18:27:40 -05:00
Jash Ambaliya ab22cbb9fa feat: a monitor daemon's log lines link to that monitor refs #8222 (#8223) 2026-11-25 18:27:23 -05:00
Jash Ambaliya 6fbbd206a5 fix: saving a user that no longer exists reports it instead of creating a new account refs #8297 (#8298) 2026-11-25 18:20:39 -05:00
Jash Ambaliya 86f360d8ff fix: add monitors table escapes the device and CSV values it lists refs #7626 (#7627) 2026-11-25 18:20:34 -05:00
Jash Ambaliya 639c03c104 fix: object detection modal uses only the digits of the event id refs #7478 (#7479) 2026-11-25 18:20:30 -05:00
Jash Ambaliya b5db3eb59c fix: options save skips config rows marked System refs #7472 (#7473) 2026-11-25 18:19:24 -05:00
Jash Ambaliya 5bc06eaa0e feat: snapshot thumbnails link to their events refs #8293 (#8294) 2026-11-25 18:19:08 -05:00
Jash Ambaliya d3e800dc5b fix: Groups view shows why a group was not deleted refs #8287 (#8288) 2026-11-25 18:19:01 -05:00
Jash Ambaliya 6f15c64347 fix: status ajax refuses event, frame and near-event requests for an event whose monitor the user cannot view (#7561)
* fix: status ajax refuses event, frame and near-event requests for an event whose monitor the user cannot view refs #7560

* fix: status event checks use the cleaned id the query binds and refuse a missing event refs #7560
2026-11-25 18:18:38 -05:00
Jash Ambaliya 5ff3e2710a fix: user save accepts a language only as a file name in the lang directory (#7569)
* fix: user save accepts a language only as a file name in the lang directory refs #7568

* fix: API self edit also requires the Language to be a plain name, and an array Language gets the not-saved message refs #7568
2026-11-25 18:18:10 -05:00
Jash Ambaliya 2b51f24923 fix: a password change ends the web sessions that logged in with the old password (#7507)
* fix: a password change ends the web sessions that logged in with the old password refs #7506

* fix: a System edit user changing their own password keeps their session refs #7506
2026-11-25 18:17:11 -05:00
Jash Ambaliya 01abc73df4 fix: object detection modal says there is no image instead of showing a broken one, and refuses an unknown event (#7392)
* fix: object detection modal says there is no image instead of showing a broken one, and refuses an unknown event refs #7391

* fix: object detection modal treats an event the user can't view as unknown refs #7391
2026-11-25 18:16:55 -05:00
Jash Ambaliya 87e8a9a71d fix: user save stores and checks the filtered Username instead of the typed one refs #7556 (#7557) 2026-11-25 18:16:22 -05:00
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