Commit Graph

2657 Commits

Author SHA1 Message Date
Isaac Connor
1e43f55479 Fix spelling 2022-09-28 15:58:59 -04:00
Isaac Connor
9db64b860c Don't try to close the event if we have no Frame information 2022-09-28 15:58:28 -04:00
Isaac Connor
0b11418c6a Update Execute function: Only add the path if there are no substitutions. Include status in debug output. Reload the Event from DB before updating the Executed flag because the executed command may have changed it. 2022-09-28 12:38:21 -04:00
Isaac Connor
812ce283ab Use zmDbFetchOne instead of incorrect dbFetchOne 2022-09-28 12:37:01 -04:00
Isaac Connor
44fd2f99e0 Add zmSQLExecute and zmDbFetchOne to Exports. Add a debug to zmDbFetchOne 2022-09-28 12:35:48 -04:00
Isaac Connor
3e43a1159a Add EPATH to substitutions and don't add path to execute unless no substitutions are being done 2022-09-28 11:08:06 -04:00
Isaac Connor
ae07db6104 Implement the close command in zmeventtool.pl 2022-09-28 11:07:31 -04:00
Isaac Connor
3a75f147ec Implement Event::Close() which fixes up a crashed event. 2022-09-28 11:07:11 -04:00
Isaac Connor
64cae53a52 Include monitor Id in logs, for consistency as well as utility 2022-09-26 09:28:10 -04:00
Isaac Connor
a16e7aad62 Switch to utf8mb4 to support 4 byte unicode which is available since mysql 5.5 2022-09-22 10:15:57 -04:00
VikingGer
e1a2061ba2 Instar control for 720p CGI devices
Onvif just yielded the absolute basic functions, but especially no presets. This control fills the gap.
2022-09-16 15:14:05 +02:00
Isaac Connor
6936a3547c shared data is frequently not valid or zmc not running. These shouldn't be errors as they generated too much noise. We can generate errors higher up. 2022-09-13 17:59:53 -04:00
Jonathan Bennett
c35bbc8c30 Adds the Janus_pin to shared_memory, and a -j to zmu to fetch it 2022-09-07 15:49:47 -05:00
Isaac Connor
8aaa5e52b3 Merge pull request #3582 from megasaturnv/3516-CaseInsensitiveLogin
Issue #3516 case insensitive login
2022-09-06 16:39:53 -04:00
Isaac Connor
46b3edbb10 Add -t option to zmvideo.pl to add transforms like hue=s=0 support 2022-09-06 13:45:16 -04:00
Isaac Connor
783fadc2d4 Make GenearteVideo code handle more options for generating video, including transforms like=hue=s=0 2022-09-06 13:44:53 -04:00
megasaturnv
9d8e32b28c Modified description for ZM_CASE_INSENSITIVE_USERNAMES 2022-09-05 15:49:26 +01:00
megasaturnv
6c0f40f570 Renamed ZM_AUTH_CASE_INSENSITIVE_USERNAMES to ZM_CASE_INSENSITIVE_USERNAMES as name was too long ZoneMinder/zoneminder#3516 2022-09-02 12:03:47 +01:00
megasaturnv
63e5b63eec Added option ZM_AUTH_CASE_INSENSITIVE_USERNAMES to match mixed case usernames to lower case usernames in database ZoneMinder/zoneminder#3516 2022-09-02 11:58:02 +01:00
Isaac Connor
29750a56e7 Merge branch 'master' into add_mqtt 2022-08-25 18:37:54 -04:00
Isaac Connor
4c5ec4c01f Add a Control file for Grandstream cameras 2022-08-17 14:59:02 -04:00
Isaac Connor
dc24be4d99 Test for success loading Control 2022-08-17 14:58:18 -04:00
Isaac Connor
6762ec5166 Split out realm detection and use it in sendCmdPost. Our initial query on / doesn't fail as the camera doesn't require authorization for /. 2022-08-16 13:19:29 -04:00
Jonathan Bennett
ebd4a30666 Update ZM_MIN_RTSP_PORT description 2022-08-09 15:04:09 -05:00
Isaac Connor
165ccf5820 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-08-09 15:48:06 -04:00
Isaac Connor
f09355f2ff If monitor has Control configured and control supports rebooting, reboot camera on fail to capture. 2022-08-09 13:41:43 -04:00
Isaac Connor
6c0e34e84b Fix loading info from ControlAddress. Fix path used when testing auth. 2022-08-09 13:41:14 -04:00
ovargasp
6753a04e91 Latest version of zmAlarmServer 2022-08-05 16:46:11 -06:00
ovargasp
8978ebcc3b Adds Alarm Server for NETSurveillance WEB IP cameras 2022-08-05 15:59:42 -06:00
Robert Jacobson
3190051287 Make proportional and continuous movement actually work 2022-08-04 12:40:31 -04:00
Robert Jacobson
77472492e2 Make zoom buttons work for Axis P5655-E 2022-08-03 09:57:57 -04:00
Isaac Connor
b40423d720 Merge branch 'master' of github.com:ZoneMinder/zoneminder 2022-08-02 20:57:48 -04:00
Isaac Connor
1d40279fcf Check heartbeat time for monitors that don't do decoding 2022-08-02 20:44:10 -04:00
Isaac Connor
42bb0c41a0 Rename zmc_heartbeat_time to just heartbeat_time 2022-08-02 20:43:49 -04:00
Isaac Connor
d0cbb7b478 Sync up with c++ shm alignment to fix same size of 32bit 2022-07-29 10:27:18 -04:00
Isaac Connor
802ecc293c Roughed in Uniview PTZ module. Currently is a copy of Hikvision. Only reboot is correct. 2022-07-12 13:25:47 -04:00
Isaac Connor
82d20f3d1e Restart has different results than start/stop, so actually handle it separately. Should fix zmdc.pl later. 2022-07-04 11:16:44 -04:00
Isaac Connor
7cb08c0ffa Use ImportanceNumber instead of Importance because Importance is a string 2022-06-24 14:02:32 -04:00
Isaac Connor
2bfc85c816 Implement sub ImportanceNumber because Importance is a string but we want to do math on it 2022-06-24 14:01:42 -04:00
Isaac Connor
e03d42103b Return true or false for open 2022-06-24 13:57:59 -04:00
Isaac Connor
0d48c92bc8 Calling zmMemInvalidate when detached should be fine, so turn Error into a debug 2022-06-24 13:57:10 -04:00
Isaac Connor
50df24f8da Return undef if we failed in Monitor::connect. Fixes zmtrigger endlessly complaining about a dead monitor after it has been disabled or moved to a different server 2022-06-21 10:46:57 -04:00
Isaac Connor
4a54931292 Add ZM_TIME_FORMAT_PATTERN 2022-06-01 16:19:51 -04:00
Isaac Connor
5108c016cf Add ZM_LOCALE_DEFAULT, ZM_DATE_FORMAT_PATTERN and ZM_DATETIME_FORMAT_PATTERN config entries 2022-06-01 15:44:57 -04:00
Isaac Connor
06a59ff4af Test against a constant because None==1 not zero. Fixes failed suspend motion detection during move 2022-05-30 15:44:35 -04:00
Isaac Connor
4f0502fbe9 If shared_data:valid is invalid, disconnect and reconnect before erroring. 2022-05-30 15:43:54 -04:00
Isaac Connor
1fc66d3fbf Add debug of reason why we are not running a monitor 2022-05-30 09:52:24 -04:00
Isaac Connor
8f5850e404 Turn on debugging of DB requests in Monitor 2022-05-30 09:52:07 -04:00
Isaac Connor
76b844530b Config entries are not constants, duh 2022-05-19 14:06:30 -04:00
tftadmin Appleton
3d16be1f0f Only keep ZM_COOKIE_LIFETIME entries in Sessions. 2022-05-18 18:59:37 -04:00