Isaac Connor
49add21cbd
Merge pull request #6464 from AJ0070/fix-api-models-assoc-unique
...
fix: API CameraModel manufacturer, EncoderTemplate and Role uniqueness
2026-11-16 19:00:04 -05:00
Jash
9b80e9c086
fix: API camera model manufacturer join, encoder template and role name uniqueness refs #6463
2026-11-16 17:37:08 +05:30
Jash
ab4b1741c5
fix: API users controller with auth off, edit method checks, error status codes and empty password refs #6304
2026-11-16 08:59:15 +05:30
Isaac Connor
bc9cb91c2f
Merge pull request #6094 from singhharsh1708/fix/api-event-delete-500
...
fix: answer a successful API event delete with Deleted instead of a 500
2026-11-15 21:11:08 -05:00
Isaac Connor
6473a07f56
Merge pull request #6096 from singhharsh1708/fix/api-event-neighbors
...
fix: limit the API event view Next and Prev to events on monitors the user may view
2026-11-15 21:10:49 -05:00
Isaac Connor
3ee50a79c4
Merge pull request #6279 from singhharsh1708/fix/api-disk-percent-deleted-monitors
...
fix: leave deleted monitors out of the API disk usage report
2026-11-15 20:50:36 -05:00
Isaac Connor
3860485159
Merge pull request #6197 from singhharsh1708/fix/api-model-text-rule
...
fix: stop the API logging a missing validation handler on every user preference and event data save
2026-11-15 20:42:15 -05:00
Isaac Connor
3d5cfa85cd
Merge pull request #6195 from singhharsh1708/fix/api-zone-add-website
...
fix: stop the zones API starting zmc for a WebSite monitor when a zone is added
2026-11-15 20:40:57 -05:00
singhharsh1708
7c177ace7c
fix: leave deleted monitors out of the API disk usage report
2026-11-16 04:32:46 +05:30
singhharsh1708
c102eb76aa
fix: stop the groups API add warning or failing on a missing or array MonitorIds
2026-11-16 03:58:58 +05:30
singhharsh1708
c85c87ae53
fix: stop the API logging a missing validation handler on every user preference and event data save
2026-11-16 03:05:12 +05:30
singhharsh1708
43cc08e198
fix: stop the zones API starting zmc for a WebSite monitor when a zone is added
2026-11-16 03:03:04 +05:30
singhharsh1708
4b12d8b7b3
fix: answer a successful API event delete with Deleted instead of a 500
2026-11-16 02:28:52 +05:30
singhharsh1708
2910081a92
fix: limit the API event view Next and Prev to events on monitors the user may view
2026-11-16 02:28:51 +05:30
Isaac Connor and Claude Opus 4.8
d248166000
fix: remove the per-user ability to disable the API refs #4908
...
Disabling the API per user made pages that rely on it (Montage Review and
others) fail silently: the AJAX event queries came back 401
"API disabled for: <user>" and the page just drew empty boxes with no
indication of why.
Rather than keep a foot-gun that makes the UI look broken, drop the per-user
API-disable control entirely:
- AppController no longer rejects an authenticated user because APIEnabled != 1;
the API is available to any authenticated user.
- Remove the APIEnabled selector from the user edit view and the APIEnabled
column from the users list and the API options tab. The API options tab keeps
its token management (New Token, Revoke Token, Revoke All Tokens).
- The user token section no longer hides itself based on APIEnabled.
The Users.APIEnabled column and the model default are left in place so no
database migration is needed; the value is simply no longer consulted.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-11-15 11:58:24 -05:00
Isaac Connor
f3b2027e1b
Merge pull request #5945 from AJ0070/api-monitor-zone-event-fixes
...
fix: API deleted monitors, default zone, monitor and zone validation, event pagination and file fields
2026-11-15 11:31:23 -05:00
Isaac Connor
8d3b582ccb
Merge pull request #5984 from AJ0070/api-disk-percent-consistent
...
fix: consistent getDiskPercent result and per-monitor storage path
2026-11-15 11:26:36 -05:00
Isaac Connor
2a12d5a0ec
Merge pull request #5978 from AJ0070/api-filter-in-values
...
fix: API IN values, events limit/page validation and default order
2026-11-15 11:26:11 -05:00
Isaac Connor
6c557c95f4
Merge pull request #5982 from AJ0070/api-delete-json-response
...
fix: JSON responses for API deletes, 500 when the delete fails
2026-11-15 11:25:56 -05:00
Isaac Connor
598a84f3b5
Merge pull request #5689 from AJ0070/zmu-credentials-escaping
...
fix: stop escapeshellcmd mangling escaped zmu and daemon arguments
2026-11-15 11:24:34 -05:00
Jash
d57fc6339d
fix: return the same usage shape for one monitor in getDiskPercent and use each monitor's storage area refs #5983
2026-11-15 13:22:58 +05:30
Jash
8924411e68
fix: answer API deletes with a JSON message and a 500 on failure instead of an empty 200 refs #5981
2026-11-15 13:22:49 +05:30
Jash
ab5f1bca2d
fix: parse API IN:(a,b) values, validate events limit and page, and order the events index by Id refs #5977
2026-11-15 12:58:02 +05:30
Jash
8599c75703
fix: return 0 for the API event fileExists and fileSize when the video is missing refs #5944
2026-11-15 11:17:26 +05:30
Jash
50b900cb57
fix: report no next page in the unpaginated API events index refs #5944
2026-11-15 11:17:26 +05:30
Jash
462409ce1a
fix: validate API zone coordinates and write percentages with decimals refs #5944
2026-11-15 11:17:26 +05:30
Jash
f7e16bdaa7
fix: reject a blank monitor name, zero size and unknown server or storage in the API refs #5944
2026-11-15 11:17:26 +05:30
Jash
d949f57f6f
fix: add the default All zone when the API creates a monitor refs #5944
2026-11-15 11:17:26 +05:30
Jash
42a2345a88
fix: hide deleted monitors from the API monitor and group lists refs #5944
2026-11-15 11:17:13 +05:30
Isaac Connor
f6fb3c5cf5
Merge pull request #5755 from AJ0070/group-fixes
...
fix: monitor group filter, edit modal and delete
2026-11-14 23:50:15 -05:00
Isaac Connor
a80850bd06
Merge pull request #5929 from AJ0070/encoder-form-fixes
...
fix: monitor form encoder list, codec filter and API webm container
2026-11-14 23:49:40 -05:00
Isaac Connor
8a332543b3
Merge pull request #5743 from AJ0070/ms-api-add-remote-start
...
fix: start zmc on the monitor's own server when the API adds a monitor
2026-11-14 23:32:15 -05:00
Jash
cd48a6967d
fix: accept the webm output container when saving a monitor through the API refs #5928
2026-11-15 09:47:15 +05:30
Isaac Connor
dc9b7be9ae
Merge pull request #5727 from AJ0070/api-tags-perm
...
fix: check Events permission in the tags API
2026-11-14 19:56:13 -05:00
Isaac Connor
18dee7a711
Merge pull request #5803 from AJ0070/zone-followups
...
fix: zone filter typing, pixel zone bounds, API reload and delete restarts
2026-11-14 18:48:36 -05:00
Isaac Connor
28d463b325
Merge pull request #5913 from AJ0070/api-snapshot-tag-saves
...
fix: API snapshots and tags index, save errors and tag delete
2026-11-14 18:46:41 -05:00
Isaac Connor
e2b3550b1b
Merge pull request #5919 from AJ0070/api-admin-resource-saves
...
fix: id pinning and validation errors in API resource saves
2026-11-14 18:05:45 -05:00
Isaac Connor
2e3fd5e7e8
Merge pull request #5915 from AJ0070/api-resource-routes
...
fix: map API storage, camera_models and zone_presets resources
2026-11-14 18:05:23 -05:00
Isaac Connor
312a16447c
Merge pull request #5917 from AJ0070/api-log-key
...
fix: use Id as the API log key and fix logs view, add and filters
2026-11-14 18:05:02 -05:00
Isaac Connor
07153c73d8
Merge pull request #5811 from AJ0070/notifications-validation
...
fix: validate Notifications API input
2026-11-14 15:38:41 -05:00
Jash
b5fa1aa4b3
fix: check string lengths against the schema in API saves so an over-long value is a field error and not a 500 refs #5918
2026-11-14 23:05:47 +05:30
Jash
001f97069a
fix: answer the API event data add and edit in JSON with the result and validation errors refs #5918
2026-11-14 23:05:47 +05:30
Jash
65b56bc90b
fix: pin the API encoder template id on save, answer a failed save with 422 and require Params on create refs #5918
2026-11-14 23:05:47 +05:30
Jash
4f14a7fc29
fix: serialize the API zone preset view, pin its id on save and answer a failed add or edit with the validation errors refs #5918
2026-11-14 23:05:46 +05:30
Jash
e599232ff5
fix: look up an API server stat by its own alias in view, pin its id on save and answer a failed add or edit with the validation errors refs #5918
2026-11-14 23:05:46 +05:30
Jash
dbc664a6f4
fix: pin the API manufacturer and model id on save, refuse duplicate names and answer a failed add with the validation errors refs #5918
2026-11-14 23:05:46 +05:30
Jash
0d2cdc7dbc
fix: pin the API storage id on save, answer a failed add or edit with the validation errors and refuse to delete a storage area in use refs #5918
2026-11-14 23:05:46 +05:30
Jash
5866cdc6eb
fix: pin the API server id on save and answer a failed server add or edit with the validation errors refs #5918
2026-11-14 23:05:46 +05:30
Jash
7c466cee05
fix: use the Id column as the API log key, apply named filters to the logs index, serialize the log view and require the not null log fields refs #5916
2026-11-14 23:05:29 +05:30
Jash
737377d90c
fix: map the API storage, camera_models and zone_presets resources to their controllers refs #5914
2026-11-14 23:05:22 +05:30