Commit Graph

1401 Commits

Author SHA1 Message Date
Isaac Connor
edd77e692e Add debug of capturing and analysing status 2025-02-04 20:03:35 -05:00
Isaac Connor
64411489bc Merge branch 'master' of github.com:ZoneMinder/zoneminder 2025-01-24 12:34:15 -05:00
Isaac Connor
53d7d910d7 Log monitor id and name in error message about not being able to load control 2025-01-14 06:59:38 -05:00
Isaac Connor
1502723a74 Move ping to Control.pm 2025-01-14 06:58:42 -05:00
Isaac Connor
b5ee966d90 Add some -> and test for ControlDevice so as not to give a warning 2025-01-05 13:12:40 -05:00
Isaac Connor
833cc41b0b If self{address} exists, use that instead of concatenating host + port 2025-01-05 13:11:19 -05:00
Isaac Connor
7c180887c7 Add missing } 2025-01-04 12:12:57 -05:00
Isaac Connor
27dfdd1b4e Upgrade Amcrest to use parent's code 2024-12-21 14:32:48 -05:00
Isaac Connor
7b59995a48 Use parent's credentials in HikVision 2024-12-21 14:32:48 -05:00
Isaac Connor
4c4ae608e0 Fix quoting on default for Importance 2024-12-13 11:40:39 -05:00
Isaac Connor
ce35018319 Don't use a pre-prepared sth. A db disconnect can invalidate it and cause a crash. 2024-11-24 13:00:01 -05:00
Isaac Connor
70c715212f Move authentication options to it's own tab 2024-11-17 10:16:31 -05:00
Isaac Connor
15733c284f Update to latest PRO version. Uses self{} fields instead of local variables so we can use Control:: parent functions. Adds firmware detection and updating. Better credential parsing. 2024-11-06 16:32:26 -05:00
Isaac Connor
6e1e077a90 If shm size is 0 don't log an error 2024-10-04 14:35:06 -04:00
Isaac Connor
045756c3fc Remove obsolete ZM_WEB_RESIZE_CONSOLE 2024-10-01 16:29:22 -04:00
Isaac Connor
012b3a376c Put back reserved2 for better alignment 2024-09-30 13:48:44 -04:00
Isaac Connor
07100343d4 Fix Longitude=>longitude 2024-09-30 13:48:11 -04:00
Isaac Connor
d5266127d7 Add syslog priorities for remaining debug levels 2024-09-30 09:55:20 -04:00
Isaac Connor
99f90724ed Make NULL be case-insensitive 2024-09-03 09:50:58 -04:00
Isaac Connor
b721b64a89 Default Importance to Normal instead of 0 2024-07-16 09:33:12 -04:00
Isaac Connor
a24fbe4574 Add EmailServer to filter to override server set in options 2024-07-10 17:14:36 -04:00
Isaac Connor
6cf84df1e0 Add credentials function to Control.pm so it is available to all controls 2024-06-28 14:34:29 -04:00
Isaac Connor
d5ae43032c Add get/put commands 2024-06-23 13:08:55 -04:00
Isaac Connor
a17f6b6b24 Add function to Control API get_realm which grabs a url and figures out what the realm should be. Assumes the control implements get() command and stores credentials in the object 2024-06-23 12:46:42 -04:00
Isaac Connor
e6f9dbae2e move image_count to shared mem. Use it in monitorstream to detect when last_write_time % buffer_count hasn't changed, but there is in fact a new image. 2024-05-21 14:53:52 -04:00
Isaac Connor
7bfd94b9d2 Merge branch 'patch-6' of github.com:IgorA100/zoneminder into IgorA100-patch-6 2024-05-15 11:45:49 -04:00
IgorA100
3648bfd56f Merge branch 'ZoneMinder:master' into patch-6 2024-05-08 01:15:45 +03:00
Isaac Connor
4a38036255 Handle failure to open serial port better. Log error and don't crash. 2024-04-30 07:02:56 -04:00
IgorA100
a720292025 Merge branch 'ZoneMinder:master' into patch-6 2024-04-07 20:45:21 +03:00
Isaac Connor
8a6414bb46 Merge branch 'support_mariadb' 2024-04-05 18:13:04 -04:00
Isaac Connor
c0c8a041ee Fix missing ? 2024-04-05 18:12:24 -04:00
IgorA100
49704656b8 Merge branch 'ZoneMinder:master' into patch-6 2024-04-05 22:58:55 +03:00
Isaac Connor
d5aa5bfa46 Add Object_Types table and perl code to use it. 2024-03-29 18:42:46 -04:00
Isaac Connor
443e3bd0fd Width and Height cannot be nullm hence make defaults 0 2024-03-29 18:20:56 -04:00
IgorA100
c77078d098 Merge branch 'ZoneMinder:master' into patch-6 2024-03-28 23:31:53 +03:00
Isaac Connor
434ce6a08c Use ZM_DB_TYPE when connecting to db. 2024-03-28 09:56:04 -04:00
Isaac Connor
2241c88654 Fix comman translation 2024-03-24 11:49:25 -04:00
Isaac Connor
2b8bb77040 Replace , with . in cpuloads 2024-03-23 11:31:01 -04:00
Isaac Connor
1fe81e40f7 Replace commas with periods 2024-03-22 17:32:05 -04:00
IgorA100
2bd081310d Merge branch 'master' into patch-6 2024-03-22 00:52:20 +03:00
Isaac Connor
39e2c9a5a6 Move array_diff down to where it is used 2024-03-21 12:43:01 -04:00
Isaac Connor
2e4133507a Add Network.pm 2024-03-21 10:34:54 -04:00
Isaac Connor
fda44f6e3f Fixups for Manufacturer and Model routines. OutputCodec default is 0 as it is NOT NULL. Also Importance is an integer, so default should be 0. 2024-03-21 10:33:03 -04:00
Isaac Connor
586614e2bb Updates to hash_diff and parseNameEqualsValueToHash 2024-03-21 10:09:02 -04:00
Isaac Connor
789e07297d Add defaults for control fields 2024-03-21 10:00:05 -04:00
Isaac Connor
c6e71b19dc Update to add new api credentials, get_config, set_config, reboot, ping and parse ip/auth from Monitor->Path 2024-03-21 09:44:03 -04:00
Isaac Connor
7e26498b80 Get ip/authentication from Monitor->Path if possibile. Add new api components credentials, reboot, ping. 2024-03-21 09:38:06 -04:00
Isaac Connor
ba19ad3ed6 Don't populate CpuLoad in CpuLoad() as it overwrites stored value. Need to add in proper object support Fixes load being 0 2024-03-20 10:37:55 -04:00
Isaac Connor
6ee529cca5 Fully specify logging functions as we don't actually import them into our namespace 2024-03-20 09:55:34 -04:00
IgorA100
95ee9f816d Merge branch 'ZoneMinder:master' into patch-6 2024-03-15 23:20:35 +03:00