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
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
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
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
Harsh Singh
c3c2823411
fix: api controllers may set components as properties without a PHP 8.2 deprecation ( #8431 )
2026-11-27 08:41:36 -05:00
Harsh Singh
df27d2da28
fix: API model rules answer a validation error for a list instead of a 500 ( #8425 )
2026-11-27 08:41:17 -05:00
Harsh Singh
8e709bb9d5
fix: API filters answer 400 for a nested array in a named parameter instead of a 500 ( #8423 )
2026-11-27 08:40:33 -05:00
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
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
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
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
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
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
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
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
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