Commit Graph
807 Commits
Author SHA1 Message Date
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 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 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 296c6c6af6 fix: API saves refuse a datetime with an hour, minute or second out of range (#8106) 2026-11-26 08:49:12 -05:00
Harsh Singh 3ca22ce72b fix: API server add requires a Name and edit refuses a blank one (#8349) 2026-11-26 08:48:20 -05:00
Jash Ambaliya 9459d91fa0 feat: API can generate an event video refs #8265 (#8266) 2026-11-26 08:47:45 -05:00
Harsh Singh 8d1189246f fix: require Name on API manufacturer add (#8329) 2026-11-26 08:41:07 -05:00
Harsh Singh d57c35e514 fix: API tag add and edit refuse a name that differs only in case from another tag (#8319) 2026-11-26 08:39:43 -05:00
Harsh Singh 3de2512ea4 fix: API state delete makes default active when it deletes the active state (#8313) 2026-11-26 08:31:29 -05:00
Harsh Singh 9ed6586f00 fix: API role add requires a Name (#8347) 2026-11-26 08:09:25 -05:00
Harsh Singh c35c8a179a fix: API group add requires a Name (#8345) 2026-11-26 08:09:11 -05:00
Harsh Singh 917d34437b fix: API config edit refuses a value that is not valid for the option's type (#8315) 2026-11-26 08:06:20 -05:00
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 2649b3cf4d feat: API sends a PTZ command to a controllable monitor refs #8206 (#8207) 2026-11-25 20:38:53 -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
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 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 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 764ecbdf0d feat: API monitors index filters on query string parameters refs #8249 (#8250) 2026-11-25 17:57:09 -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 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 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 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 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 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 21348c3ae7 fix: API role add answers with the new role id (#8100) 2026-11-24 19:11:01 -05:00
Harsh Singh fe1c0c12e5 fix: API monitor edit checks the Device path against the stored Type when the request has no Type (#8089) 2026-11-24 19:10:45 -05:00
Harsh Singh bc73a3f781 fix: use Validation::notBlank in the Role and Frame models instead of the deprecated notEmpty (#8087) 2026-11-24 19:10:41 -05:00
Jash Ambaliya aac769dd54 fix: orphaned empty events end at their start in API EndTime and timeline range refs #7821 (#7822) 2026-11-24 18:07:03 -05:00
Harsh Singh 48fb520cce fix: require Name on API camera model and encoder template add (#7970) 2026-11-23 23:04:48 -05:00
Harsh Singh bdfabb22ff fix: API zone edit converts pixel thresholds when Coords are not sent (#7968) 2026-11-23 23:04:43 -05:00
Harsh Singh a3d7091ca3 fix: API users index and view include the user's Role (#7966) 2026-11-23 23:04:39 -05:00
Jash Ambaliya 327cd84217 fix: API role delete answers 500 when the delete fails instead of 200 refs #7887 (#7888) 2026-11-23 23:03:15 -05:00
Jash Ambaliya 2609b71119 fix: API snapshot add records the authenticated user and time, and edit cannot change them refs #7598 (#7599) 2026-11-23 08:49:52 -05:00
Jash Ambaliya 989224a903 fix: API storage add and edit refuse a Name or Path with characters the web console strips refs #7648 (#7649) 2026-11-23 08:49:45 -05:00
Jash Ambaliya 73f02ce2e1 fix: API zone add and edit refuse a MonitorId that is not a plain value refs #7564 (#7565) 2026-11-23 08:49:14 -05:00
Jash Ambaliya db13a3f664 fix: API user add requires Username and Password refs #7488 (#7489) 2026-11-23 08:48:32 -05:00
Jash Ambaliya d9e9ec159b fix: role view lists members without their password hash refs #7482 (#7483) 2026-11-23 08:48:20 -05:00
Jash Ambaliya 2c1a36ee22 fix: API role add and edit answer 400 when the save fails or add isn't a POST, instead of 200 refs #7381 (#7382) 2026-11-23 08:47:47 -05:00
Isaac Connor 9b420381c8 Merge pull request #7685 from AJ0070/fix-group-members-only-save
fix: API groups edit saves Group MonitorIds as the member list
2026-11-22 19:24:46 -05:00
Isaac Connor 0776238296 Merge pull request #7681 from AJ0070/fix-api-failed-save-400
fix: API add and edit answer 400 when the save fails in Monitors, Events, Servers, ServerStats and Zones
2026-11-22 19:21:34 -05:00
Isaac Connor bd1d666f27 Merge pull request #7487 from AJ0070/sec-51-api-daemoncheck-perm
fix: API daemonCheck refuses a user with System None
2026-11-22 18:53:33 -05:00
Isaac Connor 14c5e36935 Merge pull request #7455 from AJ0070/sec-26-monitor-name-api
fix: API monitor save rejects names with characters the web UI strips
2026-11-22 18:53:14 -05:00
Jash 92a183c7be fix: API groups edit saves Group MonitorIds as the member list refs #7684 2026-11-22 20:19:33 +05:30
Jash 8a3d9ff455 fix: API add and edit answer 400 when the save fails in Monitors, Events, Servers, ServerStats and Zones refs #7680 2026-11-22 20:19:13 +05:30
Isaac Connor 462f6acc21 Merge remote-tracking branch 'upstream/master' into deprecate-php7
# Conflicts:
#	web/ajax/stream.php
#	web/includes/actions/options.php
#	web/views/image.php
2026-11-22 09:22:34 -05:00
Isaac Connor 13cb3e9893 Merge pull request #7324 from AJ0070/fix-api-host-endpoints
fix: API getDiskPercent returns 404 for a deleted monitor's id
2026-11-22 08:50:19 -05:00
Isaac Connor c859e7f66f Merge pull request #7332 from AJ0070/fix-api-zones-controller
fix: API zone add, edit and delete don't restart zmc for a deleted monitor
2026-11-22 08:47:02 -05:00