Commit Graph
743 Commits
Author SHA1 Message Date
Jash Ambaliya ef3aba17e5 fix: cycle view sidebar escapes the monitor name refs #7554 (#7555) 2026-11-23 08:45:55 -05:00
Jash Ambaliya 38779c213c fix: add monitors CSV import offers only existing monitors the user can edit (#7491)
* fix: add monitors CSV import offers only existing monitors the user can edit refs #7490

* fix: network probe matches only existing monitors the user can edit refs #7490
2026-11-23 08:45:49 -05:00
Jash Ambaliya f2bf406690 fix: files view only serves event folders of monitors the user can view unless they have System view (#7423)
* fix: files view only serves event folders of monitors the user can view unless they have System view refs #7422

* fix: resolve the requested path with realpath before the files view storage and monitor checks refs #7422
2026-11-23 08:45:44 -05:00
Jash Ambaliya 699e25f75a test: API events sort test also loads the index() helpers that #7328 split out refs #7385 (#7386) 2026-11-23 08:45:41 -05:00
Isaac Connor 4822401d21 Merge pull request #7707 from AJ0070/fix-timeline-view
fix: panning or zooming the timeline at the current time keeps the range length instead of halving it
2026-11-22 21:11:19 -05:00
Isaac Connor e67bae98cb Merge pull request #7388 from AJ0070/fix-zone-view-ui
fix: zone overlay treats coordinates without decimals as pixels, as zmc and the zones table do
2026-11-22 21:10:52 -05:00
Isaac Connor c6e7f1cfe5 Merge pull request #7453 from AJ0070/sec-25-website-path-xss
fix: escape the monitor Path and other values in the website object tag
2026-11-22 21:05:47 -05:00
Isaac Connor 2d4af3c2a9 Merge pull request #7457 from AJ0070/sec-27-monitor-edit-attr
fix: escape stored monitor fields printed in monitor edit page inputs
2026-11-22 21:05:27 -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 eddbc4a620 Merge pull request #7683 from AJ0070/fix-zmccontrol-deleted-monitor
fix: Monitor zmcControl does nothing for a deleted monitor except stop
2026-11-22 19:19:06 -05:00
Isaac Connor 565bef2711 Merge pull request #7425 from AJ0070/sec-12-report-perm
fix: report view and report creation need Events permission and the view hides events of monitors the user cannot view
2026-11-22 19:18:04 -05:00
Isaac Connor 5b76614d84 Merge pull request #7475 from AJ0070/sec-40-log-create-audit
fix: log create refuses the AUD level instead of writing an audit record
2026-11-22 19:17:42 -05:00
Isaac Connor 90bab2d879 Merge pull request #7517 from AJ0070/sec-72-modal-title-sql-escape
fix: storage and filter debug modals escape the storage name and the filter SQL
2026-11-22 18:54:55 -05:00
Isaac Connor 46388dcfae Merge pull request #7485 from AJ0070/sec-50-auth-token-type
fix: web UI logs in only with an access token, not a refresh token
2026-11-22 18:54:12 -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
Isaac Connor d2f7dcb3bd Merge pull request #7477 from AJ0070/sec-44-new-user-password
fix: Add User refuses an empty password
2026-11-22 18:18:27 -05:00
Jash 0b032470eb fix: panning or zooming the timeline at the current time keeps the range length instead of halving it refs #7706 2026-11-22 22:56:54 +05:30
Isaac Connor cd74ce5fde Merge pull request #5502 from connortechnology/deprecate-php7
chore!: require PHP 8.0 and update php-jwt to 7.2.1
2026-11-22 10:20:52 -05:00
Isaac Connor d814823b75 Merge pull request #7298 from AJ0070/fix-monitor-stream-url
fix: server URLs bracket an IPv6 address stored as the hostname
2026-11-22 09:56:34 -05:00
Isaac Connor f635b9d4ec Merge remote-tracking branch 'upstream/master' into deprecate-php7 2026-11-22 09:55:48 -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 0e957beba3 fix: Monitor zmcControl does nothing for a deleted monitor except stop refs #7682 2026-11-22 20:19:23 +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 439e9b9483 Merge pull request #7260 from AJ0070/fix-options-network
fix: Options selects keep a saved value that is not one of the choices, so saving the tab doesn't change it
2026-11-22 09:29:33 -05:00
Isaac ConnorandClaude Opus 5.5 1e67f05455 fix: say where to fix a secret that is set in a config file
A ZM_AUTH_HASH_SECRET that is too short or the shipped default is refused
for tokens, and the log line said to set it in Options or run
zmupdate.pl -f. Both only change the Config table, so neither helps when
zm.conf or a conf.d file sets the secret: Options shows it read-only and
the file value keeps winning.

authHashSecretFix() names the file when one sets the secret, using the
same loadConfigFiles() Options uses to mark file-set values.

Reported in review by nabbi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 09:24:33 -05:00
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 e9872aeffd Merge pull request #7312 from AJ0070/fix-event-audit-report
fix: Event Audit report closes the monitor bracket when only one monitor is shown
2026-11-22 09:09:47 -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 4a5ab594a1 Merge pull request #7334 from AJ0070/fix-zone-view-missing-zone-test
test: zone view missing-zone test stubs the Event and ZonePreset includes the view now requires
2026-11-22 08:49:10 -05:00
Isaac Connor f0db1ee6c9 Merge pull request #7348 from AJ0070/fix-logs-view-table
fix: log delete by selected ids reports a failed DELETE instead of answering success
2026-11-22 08:48:50 -05:00
Isaac Connor 8296412030 Merge pull request #7322 from AJ0070/fix-image-view
fix: image view doesn't let browsers cache the snapshot or alarm image of an event that is still recording
2026-11-22 08:47:58 -05:00
Isaac Connor 80e5760008 Merge pull request #7350 from AJ0070/fix-options-user-delete-result
fix: deleting users in Options reports a failed DELETE and doesn't log out or redirect as if it worked
2026-11-22 08:47:24 -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
Isaac Connor a23e2ddcc4 Merge pull request #7336 from AJ0070/fix-device-modal-test-stub
test: device modal missing-row test's dbQuery stub returns success, as devices.php now checks it
2026-11-22 08:46:04 -05:00
Isaac Connor d55004135a Merge pull request #7352 from AJ0070/fix-group-save-membership
fix: saving a group reports a failed monitor membership update instead of redirecting as if it saved
2026-11-22 08:42:39 -05:00
Isaac Connor 80426c5bf8 Merge pull request #7358 from AJ0070/fix-ai-delete-results
fix: deleting AI object classes, datasets or models reports a failed DELETE instead of refreshing as if it worked
2026-11-22 08:41:57 -05:00
Isaac Connor ca0b68d099 Merge pull request #7356 from AJ0070/fix-server-delete-in-use
fix: deleting a server that monitors, storage areas or cron jobs still use is refused, as storage delete already is
2026-11-22 08:41:35 -05:00
Isaac Connor 692c44dc56 Merge pull request #7362 from AJ0070/fix-ajax-status-entities
fix: status request for events or frames with count=1 returns a one-item list, not a bare row
2026-11-22 08:41:15 -05:00
Jash 2494a442d1 fix: match an IPv6 Origin host against a server Hostname in corsAllowedOrigin refs #7297 2026-11-22 11:56:31 +05:30
Jash 0f04d45842 fix: server URLs bracket an IPv6 address stored as the hostname refs #7297 2026-11-22 11:55:50 +05:30
Jash d4c4b17de1 fix: storage and filter debug modals escape the storage name and the filter SQL refs #7516 2026-11-22 11:52:30 +05:30
Jash 6b9124b713 fix: stub Server in the options delete test and delete the cleaned server id refs #7355 2026-11-22 11:41:26 +05:30
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 1f1b94d508 fix: web UI logs in only with an access token, not a refresh token refs #7484 2026-11-22 11:27:33 +05:30
Jash a7d0d58032 fix: Add User refuses an empty password refs #7476 2026-11-22 11:15:59 +05:30
Jash d20d3f64c6 fix: log create refuses the AUD level instead of writing an audit record refs #7474 2026-11-22 11:15:48 +05:30
Jash f9253b42c3 fix: escape stored monitor fields printed in monitor edit page inputs refs #7456 2026-11-22 10:57:34 +05:30