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
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
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
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
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
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
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
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
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
Jash Ambaliya
9459d91fa0
feat: API can generate an event video refs #8265 ( #8266 )
2026-11-26 08:47:45 -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
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
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
21348c3ae7
fix: API role add answers with the new role id ( #8100 )
2026-11-24 19:11:01 -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
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
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
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
Jash
122cc6893f
fix: deleting a server that monitors, storage areas or cron jobs still use is refused, as storage delete already is refs #7355
2026-11-22 11:41:14 +05:30
Jash
c5e01466b3
fix: API daemonCheck refuses a user with System None refs #7486
2026-11-22 11:27:44 +05:30
Isaac Connor
c1fca5782a
Merge pull request #7186 from AJ0070/fix-api-monitors-ctl
...
fix: API monitor add and edit start or stop zmtrack like the web save
2026-11-21 23:30:33 -05:00
Isaac Connor
9c4d1a2cd3
Merge pull request #7212 from AJ0070/fix-api-monitor-resize-zones
...
fix: API monitor edit adjusts zones when the resolution changes, as the web save does
2026-11-21 22:24:20 -05:00