Commit Graph
169 Commits
Author SHA1 Message Date
Harsh Singh bbbbc81faf fix: API tag and event edits keep the assignment date and user of the tag links that stay (#8545) 2026-11-29 17:39:12 -05:00
Harsh Singh 185c542356 fix: API zone add requires a Name and zone presets require a non-blank Name (#8543) 2026-11-29 17:39:08 -05:00
Harsh Singh a113f7fd28 fix: API monitor add and edit answer a validation error for a list Device on a Local monitor instead of a 500 (#8486) 2026-11-28 23:56:03 -05:00
Harsh Singh 561b3810ce fix: API states are keyed on Id so an Id in the body no longer renumbers the state or gives a 500 (#8484) 2026-11-28 12:13:25 -05:00
Harsh Singh 65730848df fix: API saves refuse null and an empty list for a NOT NULL column instead of a 500 (#8496) 2026-11-28 11:06:11 -05:00
Harsh Singh 8a107cfef3 fix: API tag add requires a Name (#8472) 2026-11-28 11:04:52 -05:00
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 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 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 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 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
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 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
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
Harsh Singh 4bc6d139f8 fix: API saves refuse a whole number outside the column's range (#8108) 2026-11-25 20:37:20 -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
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 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 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 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 7ed5e0be24 fix: API monitor save rejects names with characters the web UI strips refs #7454 2026-11-22 10:57:24 +05:30
Isaac Connor 7432fc7246 Merge pull request #7330 from AJ0070/fix-api-states-controller
fix: API refuses run states named start, stop, restart, status, logrot or version, as the web UI does
2026-11-21 20:53:09 -05:00
Jash 1d8abd49f4 fix: API refuses run states named start, stop, restart, status, logrot or version, as the web UI does refs #7329 2026-11-22 06:07:02 +05:30
Jash e0e2eb1ff7 fix: API zone edit with only Coords keeps a Percent zone's coordinates in percent refs #7161 2026-11-21 23:05:20 +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
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 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 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 9b80e9c086 fix: API camera model manufacturer join, encoder template and role name uniqueness refs #6463 2026-11-16 17:37:08 +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
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
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 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