Commit Graph
1479 Commits
Author SHA1 Message Date
copilot-swe-agent[bot]andconnortechnology 27793980ef fix: Address code review feedback
- Add SSL verification state tracking to Dahua.pm to ensure retry logic works for all requests
- Add SSL retry logic to Dahua.pm sendCmd method
- Remove redundant 'use IO::Socket::SSL' statements from TapoC520WS_ONVIF.pm retry blocks

refs #TBD

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-02-02 14:37:57 +00:00
copilot-swe-agent[bot]andconnortechnology bce080c735 feat: Enable SSL certificate verification with fallback for all components
Enable TLS peer certificate verification by default in all components that communicate over HTTPS. If SSL verification fails, log a warning and retry without verification to maintain backward compatibility with cameras using self-signed certificates.

Changes:
- C++ (zm_monitor_go2rtc.cpp): Enable SSL verification for all curl operations (3 locations)
- C++ (zm_monitor_rtsp2web.cpp): Enable SSL verification for all curl operations (3 locations)
- PHP (monitor_probe.php): Enable SSL verification with fallback logic
- Perl (Dahua.pm): Enable SSL verification with LWP::UserAgent
- Perl (TapoC520WS_ONVIF.pm): Enable SSL verification with retry logic in request methods

refs #TBD

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-02-02 14:34:19 +00:00
Isaac Connor 397d2a357e Merge branch 'master' of github.com:ZoneMinder/zoneminder 2026-02-01 10:17:16 -05:00
Isaac Connor 05db51a3ff Fix package name being Frame instead of User 2026-02-01 09:06:14 -05:00
Isaac ConnorandClaude Opus 4.5 d89f2e59db refactor: rename Janus_Use_RTSP_Restream to Restream
Rename Janus-specific restream fields to be more generic since they are
now used by Go2RTC and RTSP2Web as well:
- Janus_Use_RTSP_Restream → Restream
- Janus_RTSP_User → RTSP_User

Update visibility logic so the Restream checkbox appears when RTSPServer
is enabled AND any streaming service (Janus, Go2RTC, or RTSP2Web) is
selected, rather than only when Janus is enabled.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 18:47:37 -05:00
Isaac Connor 872cdb1b44 Add Group.pm which is not actually used anywhere 2026-01-31 16:22:24 -05:00
Isaac Connor 479d3a9b05 Split parsing Path and Control address into their own functions, adding back a hack to handle unescaped passwords on ControlAddress. In Amcrest_HTTP if using ControlAddress fails, fall back to using Path 2026-01-22 11:54:58 -05:00
Isaac Connor b6ee583454 Merge updates from another branch, cleaning up and improve address/auth parsing and improving put() 2026-01-22 10:03:01 -05:00
Isaac Connor f702c6c190 Add last_analysis_view_time to perl shm structure 2026-01-16 15:28:43 -05:00
Isaac Connor 0ee1da73cf Remove primark_key 2026-01-14 09:46:31 -05:00
Isaac Connor 376e6b8899 Only set timezone if it is set in config. 2026-01-14 09:33:50 -05:00
Isaac Connor 32ec9dc801 Add defaults for Type and Scheme to prevent warnings in logs due to undefined values 2026-01-14 09:32:08 -05:00
Isaac Connor 201b2bbd06 Set tz in Date::Manip so that returned unixdate from '-1 hour' is in the current timezone, not UTC 2026-01-14 09:31:55 -05:00
Isaac Connor 8864d5759d Merge pull request #4510 from SteveGilvarry/videojs_update
Videojs update
2026-01-10 10:21:50 -05:00
copilot-swe-agent[bot]andconnortechnology b44aafb0ca Add "Any Tag" filter option for events
- Added "Any Tag" entry with value -1 to availableTags in Filter.php (widget and simple_widget methods)
- Added "Any Tag" entry to filter.php view
- Added translation for "Any Tag" in en_gb.php language file
- Implemented SQL logic in FilterTerm.php to handle "Any Tag" (value -1) using EXISTS query
- Implemented SQL logic in Filter.pm (Perl) to handle "Any Tag" (value -1) using EXISTS query

Co-authored-by: connortechnology <925519+connortechnology@users.noreply.github.com>
2026-01-10 14:13:37 +00:00
Isaac Connor 6cfe79e259 Add AI generated Reolink http api. Tested for camera rebooting. 2026-01-08 17:19:07 -05:00
Isaac Connor 6b30d733c5 Update to use shared code from Control.pm 2026-01-06 14:58:40 -05:00
Isaac Connor cb11f1f264 Clear query as well as path. Use canonical instead of creating our own BaseURL, set uri userinfo 2026-01-06 14:58:13 -05:00
Isaac Connor b323c48b0f address and port are now self{address} and self{port} 2026-01-06 12:36:21 -05:00
Isaac Connor da7ec8a082 Improve error message to tell us what type the object was 2026-01-06 08:44:21 -05:00
Isaac Connor d6650b84b3 Put API back under system for now as the api tab can't show it yet 2026-01-05 16:36:12 -05:00
Isaac Connor 708f386b5c Add uri unescaping password 2026-01-05 12:34:38 -05:00
Isaac Connor 9984b6ee7d Fix duration of autostop 2026-01-05 09:29:36 -05:00
Steve Gilvarry 12450b390f Removing object tags as plugins are dead. I think this page still has reasons to exist but none of this code works in modern browsers. Well that is my opinion. 2025-12-31 19:33:54 +11:00
Isaac Connor 46669166eb Merge branch 'master' of github.com:ZoneMinder/zoneminder 2025-12-19 09:55:54 -05:00
Isaac Connor 6d3b7ddebc Add ZM_WEB_ID_ON_FILTER to optionally remove the Id from the dropdown 2025-12-19 09:55:43 -05:00
Simpler1 adf3eb2381 Fix(Filter): Handle events with multiple tags
Fixes an error that occurred when running a named filter that returned events that contained more than one tag.

Subquery returns more than 1 row
2025-12-19 09:32:19 -05:00
Simpler1 3a0d8d7c8f Fix(tags): "No Tag" filter now works properly. 2025-12-08 15:09:01 -05:00
Isaac Connor 43f281c005 Add ZM_WEB_ANIMATIONS so that we can decide to turn off ui css animations 2025-12-05 14:13:52 -05:00
Isaac Connor 2cfed3d8f1 headers must be an array ref aparently. 2025-11-25 09:01:32 -05:00
Isaac Connor 5bb4caab8f Fixup taking content as a hash. Use URI to convert it to a string. Add headers support in post. 2025-11-24 16:23:28 -05:00
Isaac Connor aaffd5822a Move assigning ua up because it gets used in guess_crednetials 2025-11-11 15:54:49 -05:00
Isaac Connor 9c9a2dcb0b Update to use Control:: methods instead of our own duplicates 2025-11-07 16:24:00 -05:00
Isaac Connor dcc2779882 Don't add extra / in get/post/put. Automatically populate BaseUrl and ua->credentials. Fall back to getting credentials from monitor->User and ->Pass 2025-11-07 16:23:51 -05:00
Isaac Connor 9da6a2e424 Year is 2 digit in deep mode 2025-11-06 21:26:08 -05:00
Isaac Connor 0baa4007e5 Prevent warning when empty ControlDevice 2025-10-24 16:59:48 -04:00
Isaac Connor abcb281542 FIx extra ) 2025-10-24 09:08:43 -04:00
Isaac Connor a0d66fc58f Add support for CurrentDate/Time/DateTime to filters 2025-10-23 19:17:00 -04:00
Isaac Connor 5db736f135 Update default value for ZM_TELEMETRY_SERVER_ENDPOINT 2025-10-21 05:40:34 -04:00
Isaac Connor 48ae1c5f28 Only update storage DiskSpace if assigned an area 2025-10-17 08:17:16 -04:00
Isaac Connor 83532aba60 Use https in zoneminder home url 2025-10-15 17:32:54 -04:00
Isaac Connor 3dddf0e1a8 Reload Storage before updating because it may overwrite changes due to caching 2025-10-10 13:26:12 -04:00
Isaac Connor 468c681f52 Remove default from GO2RTC_PATH 2025-09-27 11:59:44 -04:00
Isaac Connor d887b96922 Fix config=>Config 2025-09-22 14:47:40 -04:00
Isaac Connor f526f26282 Add default for rm 2025-09-22 09:08:42 -04:00
Isaac Connor 7def21c714 OldStorage may be empty, so don't save the storage if no Id 2025-09-15 14:23:52 -04:00
Isaac Connor dd2738c58e Set self{host and delete ping so we can use parent->ping 2025-09-09 17:09:10 -04:00
Isaac Connor b03264957d Populate BaseURL 2025-09-05 15:27:13 -04:00
Isaac Connor 96df4d254d Fix warning 2025-09-05 10:24:47 -04:00
Isaac Connor 0ca432fc6a Use Control::guess_credentials. 2025-09-01 09:36:07 -04:00