Commit Graph
782 Commits
Author SHA1 Message Date
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
Harsh Singh 21348c3ae7 fix: API role add answers with the new role id (#8100) 2026-11-24 19:11: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 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 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 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 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 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
Isaac Connor 14c5e36935 Merge pull request #7455 from AJ0070/sec-26-monitor-name-api
fix: API monitor save rejects names with characters the web UI strips
2026-11-22 18:53:14 -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
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 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
Isaac Connor aee66ddce9 Merge pull request #7122 from AJ0070/fix-groups-view
fix: re-registering a notification token keeps its owner unless an admin names one
2026-11-21 21:00:44 -05:00
Isaac Connor adc36852b4 Merge pull request #7328 from AJ0070/fix-api-search-array-param
fix: API events index applies the DateTime and StartTime/EndTime filters to query-string parameters too
2026-11-21 20:59:28 -05:00
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
Isaac Connor 50a4e52a9a Merge pull request #7158 from AJ0070/fix-api-events-controller
fix: API events index applies sort and direction when the request has no limit or page
2026-11-21 20:45:08 -05:00
Isaac Connor efde621a47 Merge pull request #7162 from AJ0070/fix-api-zones
fix: API zone edit with only Coords keeps a Percent zone's coordinates in percent
2026-11-21 20:44:10 -05:00
Jash 0b2eea0e72 fix: API zone add, edit and delete don't restart zmc for a deleted monitor refs #7331 2026-11-22 06:09:26 +05:30
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 65b55416a8 fix: API events index applies the DateTime and StartTime/EndTime filters to query-string parameters too refs #7327 2026-11-22 06:04:32 +05:30
Jash 4f011a8f9b fix: API getDiskPercent returns 404 for a deleted monitor's id refs #7323 2026-11-22 05:57:14 +05:30
Jash f04da0ea71 fix: API monitor edit adjusts zones when the resolution changes, as the web save does refs #7211 2026-11-21 23:47:34 +05:30
Jash 0eb2ac139f fix: API monitor add and edit start or stop zmtrack like the web save refs #7185 2026-11-21 23:21:45 +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 1f4b1117f6 fix: API events index applies sort and direction when the request has no limit or page refs #7157 2026-11-21 23:03:52 +05:30
Jash 2928ab506a fix: re-registering a notification token keeps its owner unless an admin names one refs #7121 2026-11-21 22:39:30 +05:30
Jash 38680474bd fix: API snapshots edit refuses a GET instead of answering an empty message refs #7109 2026-11-21 22:32:07 +05:30
Isaac Connor 2b67ff9527 Merge pull request #7001 from AJ0070/fix-api-groups-tags-presets-json
fix: API groups and tags edit refuse a GET instead of answering an empty message
2026-11-21 09:46:40 -05:00
Isaac Connor ca3dc91104 Merge pull request #6919 from AJ0070/fix-api-edit-allow-method
fix: API edit for events, servers, storage and four others only saves for POST or PUT
2026-11-21 09:46:04 -05:00
Isaac Connor 2248c49e63 Merge pull request #6993 from AJ0070/fix-api-eventdata-non-post
fix: API event_data add and edit refuse other methods instead of answering null
2026-11-21 09:45:42 -05:00
Isaac Connor 0a2f37392e Merge pull request #6977 from AJ0070/fix-api-users-delete-failure
fix: API user delete answers 500 when the delete fails instead of 200
2026-11-20 12:58:30 -05:00
Isaac Connor ccfee0669c Merge pull request #6987 from AJ0070/fix-api-configs-index-confd
fix: API configs list reports values set in conf.d instead of the database values
2026-11-20 12:57:53 -05:00