Commit Graph
713 Commits
Author SHA1 Message Date
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
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
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 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 a7d0d58032 fix: Add User refuses an empty password refs #7476 2026-11-22 11:15:59 +05:30
Isaac Connor 182b5a7c8f Merge pull request #7360 from AJ0070/fix-cron-delete-result
fix: deleting scheduled tasks reports a failed DELETE, after still rebuilding the crontab for the ones that were removed
2026-11-21 23:47:23 -05:00
Isaac Connor 026c55318f Merge pull request #7242 from AJ0070/fix-tag-create-length
fix: creating a tag over 64 characters is refused with a message, as renaming already is
2026-11-21 23:32:58 -05:00
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 6dfdaaa988 Merge pull request #7188 from AJ0070/fix-console-view
fix: console Source filter matches what the Source column shows
2026-11-21 23:30:16 -05:00
Isaac Connor a76ad90960 Merge pull request #7296 from AJ0070/fix-controlcaps-edit
fix: saving a control capability with a blank Name is refused with a message instead of saving a nameless entry
2026-11-21 23:29:54 -05:00
Isaac Connor b285a52675 Merge pull request #7248 from AJ0070/fix-monitor-preset-modal
fix: monitor view ignores a preset id that no longer exists instead of warning
2026-11-21 23:29:09 -05:00
Isaac Connor 16db3f3332 Merge pull request #7368 from AJ0070/fix-frames-list
fix: frames view shows the error page for a missing or unviewable event instead of an empty table
2026-11-21 23:27:17 -05:00
Isaac Connor ee9b933a95 Merge pull request #7190 from AJ0070/fix-events-filter-bar
fix: events filter bar shows the selected tags after a reload when several were chosen
2026-11-21 22:58:20 -05:00
Isaac Connor bcec7837f5 Merge pull request #7194 from AJ0070/fix-login-session
fix: login page shows the invalid password message only for the attempt that failed
2026-11-21 22:55:10 -05:00
Isaac Connor e3fdea2b43 Merge pull request #7196 from AJ0070/fix-zone-presets-view
fix: saving a zone preset with blank Overload or Extend frames stores 0 instead of NULL
2026-11-21 22:53:46 -05:00
Isaac Connor c4b0b6cd4f Merge pull request #7210 from AJ0070/fix-monitor-resize-zones
fix: changing a monitor's resolution keeps legacy pixel zones covering the same area
2026-11-21 22:48:26 -05:00
Isaac Connor b1b79b7641 Merge pull request #7220 from AJ0070/fix-export-misc-stale-html
fix: a Misc export leaves out the HTML pages an earlier export left in the event directory
2026-11-21 22:47:50 -05:00
Isaac Connor 2dc672d3ca Merge pull request #7354 from AJ0070/fix-options-delete-results
fix: Options server, storage and role deletes and the menu reset report a failed query instead of carrying on as if it worked
2026-11-21 22:46:17 -05:00
Isaac Connor 2c96b10c99 Merge pull request #7208 from AJ0070/fix-user-perm-preview
fix: user page effective permission shows Edit when one group gives View and another Edit
2026-11-21 22:33:05 -05:00
Isaac Connor 58838d58ef Merge pull request #7232 from AJ0070/fix-frame-stats
fix: frame stats label a zone deleted since the event by its id instead of a blank cell
2026-11-21 22:25:37 -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 68e5c60e74 Merge pull request #7230 from AJ0070/fix-vernum-three-digit
fix: verNum pads each version field to four digits so 1.39.100 sorts before 1.40.0
2026-11-21 21:56:19 -05:00
Isaac Connor 846651803f Merge pull request #7074 from AJ0070/fix-timeline-merged-slot-event
fix: timeline bar made of several short events opens the event under the pointer
2026-11-21 21:31:04 -05:00
Isaac Connor 2168baecd6 Merge pull request #7058 from singhharsh1708/fix/p23-export-default-scale
fix: export page lists events from monitors whose default scale is fit to width
2026-11-21 21:27:32 -05:00
Isaac Connor 05a41888fc Merge pull request #7072 from AJ0070/fix-monitor-stream-src-relay-none
fix: stream URLs no longer warn when the session has no username under the none and plain auth relays
2026-11-21 21:26:53 -05:00
Isaac Connor 11e2085b77 Merge pull request #7066 from singhharsh1708/fix/t23-date-now-bounds
fix: date filter terms compared with NOW() match the whole current day
2026-11-21 21:24:29 -05:00
Isaac Connor b01462a351 Merge pull request #7070 from AJ0070/fix-export-sort-keeps-selection
fix: export page keeps the selected events when sorting and builds a valid query for restricted users
2026-11-21 21:24:08 -05:00
Isaac Connor 3abf52bf27 Merge pull request #7166 from AJ0070/fix-zones-list-view
fix: table locale follows the user's language instead of always the system default
2026-11-21 21:23:47 -05:00
Isaac Connor 5a7a443083 Merge pull request #7176 from AJ0070/fix-monitor-clone
fix: a cloned monitor gets its own web colour
2026-11-21 21:22:15 -05:00
Isaac Connor 0062e95948 Merge pull request #7172 from AJ0070/fix-deleted-monitors-sweep
fix: probe views, dnsmasq leases and storage monitor counts leave out deleted monitors
2026-11-21 21:21:38 -05:00
Isaac Connor a62a95af25 Merge pull request #7170 from AJ0070/fix-monitor-delete
fix: control view leaves deleted monitors out of its monitor list
2026-11-21 21:20:49 -05:00