Isaac Connor
cc227027e6
Merge pull request #6903 from AJ0070/fix-api-frames-save-json
...
fix: API frame add/edit answer JSON instead of an HTML flash page or a 500
2026-11-19 22:23:17 -05:00
Isaac Connor
59cea31693
Merge pull request #6911 from singhharsh1708/fix/e20-api-user-delete-prefs
...
fix: api user delete removes the user's preferences first
2026-11-19 22:21:44 -05:00
Isaac Connor
58d7e67c21
Merge pull request #6887 from AJ0070/fix-api-monitors-add-id
...
fix: API monitor add answers with the new id and refuses non-POST requests
2026-11-19 19:36:27 -05:00
Isaac Connor
5602b67173
Merge pull request #6873 from AJ0070/fix-api-events-groupid-operator
...
fix: API events index joins groups for GroupId filters with an operator
2026-11-19 19:36:13 -05:00
Isaac Connor
ebb9976caf
Merge pull request #6867 from AJ0070/fix-api-events-add-json
...
fix: API event add answers JSON with the new id, and the errors on failure
2026-11-19 19:22:13 -05:00
Isaac Connor
47c5b9003b
Merge pull request #6869 from AJ0070/fix-api-events-archive-result
...
fix: API event archive reports a failed write instead of answering archived
2026-11-19 19:21:34 -05:00
singhharsh1708
fafb443170
fix: api user delete removes the user's preferences first
2026-11-20 00:14:01 +05:30
Jash
a1de3f229d
fix: API frame add/edit answer JSON instead of an HTML flash page or a 500 refs #6902
2026-11-19 22:30:57 +05:30
Jash
a82c9170c1
fix: API monitor add answers with the new id and refuses non-POST requests refs #6886
2026-11-19 19:59:19 +05:30
Jash
0c6521b1b7
fix: API events index joins groups for GroupId filters with an operator refs #6872
2026-11-19 18:27:37 +05:30
Jash
06514e8567
fix: API event archive reports a failed write instead of answering archived refs #6868
2026-11-19 17:27:33 +05:30
Jash
b6e37b24c3
fix: API event add answers JSON with the new id, and the errors on failure refs #6866
2026-11-19 17:27:13 +05:30
Jash
af5821e04a
fix: API daemonControl reports an error when the command did not run or zmdc failed refs #6757
2026-11-19 09:16:17 +05:30
Jash
ed7fa99931
fix: API camera models index passes a field allow-list to buildFilter refs #6691
2026-11-18 18:23:33 +05:30
Isaac Connor
49e0cc2f99
Merge pull request #6625 from singhharsh1708/fix/r1-api-group-delete-reparent
...
fix: deleting a group through the API keeps its children under its parent
2026-11-17 21:19:56 -05:00
singhharsh1708
6ab9e959c8
fix: deleting a group through the API keeps its children under its parent
2026-11-18 00:19:18 +05:30
singhharsh1708
007aff0529
fix: API models index filters on Name or Id without an ambiguous column error
2026-11-18 00:18:49 +05:30
Isaac Connor
623c890037
Merge pull request #6357 from AJ0070/fix-api-zones-monitors-index
...
fix: API zone save sets area and percent thresholds, zones and presets index filters, monitors sort
2026-11-17 08:43:48 -05:00
Isaac Connor
0f716930c2
Merge pull request #6361 from AJ0070/fix-api-misc-controllers
...
fix: API roles save to the URL id and work without auth, index filters, in-use deletes, tags ambiguous column
2026-11-17 08:39:28 -05:00
Isaac Connor
4ca5e08a70
Merge pull request #6359 from AJ0070/fix-api-states-servers
...
fix: API states save to the URL id, change requires a state, states and servers index filters
2026-11-17 08:38:27 -05:00
Isaac Connor
940b88fbf8
Merge pull request #6576 from AJ0070/fix-api-event-delete-archived
...
fix: API archived event delete returns 400
2026-11-17 08:18:00 -05:00
Isaac Connor
f3b79301b2
Merge pull request #6574 from AJ0070/fix-api-monitor-delete-twice
...
fix: API delete of an already deleted monitor
2026-11-17 08:14:36 -05:00
Isaac Connor
e1bc24fc1b
Merge pull request #6568 from AJ0070/fix-api-events-auth-params
...
fix: API events index with legacy auth parameters
2026-11-17 08:14:18 -05:00
Isaac Connor
4d5ebcbfa1
Merge pull request #6570 from AJ0070/fix-api-event-stateid
...
fix: API event add without StateId
2026-11-17 08:12:19 -05:00
Jash
35b7d67921
fix: API refuses to delete an archived event with a 400 refs #6575
2026-11-17 10:06:19 +05:30
Jash
2922c1bee3
fix: API monitor delete answers 404 for an already deleted monitor refs #6573
2026-11-17 10:06:09 +05:30
Jash
7348cc0318
fix: API snapshot add fills CreatedBy and CreatedOn refs #6571
2026-11-17 10:05:59 +05:30
Jash
9d7f95538f
fix: API event add defaults StateId to the active run state refs #6569
2026-11-17 10:05:50 +05:30
Jash
315150f0f3
fix: API events index ignores legacy auth query parameters refs #6567
2026-11-17 10:02:52 +05:30
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
dacc9725f5
fix: API roles save to the URL id and work without auth, index filters, in-use deletes, tags ambiguous column refs #6360
2026-11-16 12:35:16 +05:30
Jash
42837b5593
fix: API states save to the URL id, change requires a state, states and servers index filters refs #6358
2026-11-16 12:30:29 +05:30
Jash
33b4c40368
fix: API zone save sets area and percent thresholds, zones and presets index filters, monitors sort refs #6356
2026-11-16 12:28:41 +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