Commit Graph

19849 Commits (af57b5358345554a9ae469cec70f9e04401d3660)

Author SHA1 Message Date
Isaac Connor d09c4ffc93 Test for values being trueish as passing null to strcmp is deprecated 2022-06-23 14:11:20 -04:00
Isaac Connor 1978bc4659 Test for is_array first, get rid of ctype_digit test as passing a null to it is deprecated 2022-06-23 14:11:09 -04:00
Isaac Connor f60bb23f15 Use date() instead of strftime() for date formatting now that strftime is deprecated 2022-06-23 14:10:58 -04:00
Andrew Bauer 37e4858d31 additional runtime requires for rpm specfile 2022-06-21 15:18:22 -05:00
Isaac Connor c30af1564c Release 1.36.19 2022-06-17 11:29:36 -04:00
Isaac Connor 6c4ac261c4 Escape single quotes in config values. Fixes #3508. 2022-06-17 10:54:44 -04:00
Isaac Connor 0c1d101266 Handle php versions < 5.6.1 which don't have non-blocking semaphore support 2022-06-13 15:54:37 -04:00
Nic Boet 84bf07080c Fix semaphore_tries on systems without System V
This appears to be impacting systems without php System V semaphore support
have_semaphore is not a boolean

Signed-off-by: Nic Boet <nic@boet.cc>
2022-06-07 09:45:21 -04:00
Isaac Connor 27057157da Add a progress ticker, and delete events in chunks of 10. Fixes #3444 2022-06-06 13:10:21 -04:00
Isaac Connor 658ec3a7d7 Only return error messages, not a bunch of empty arrays 2022-06-06 13:10:09 -04:00
Isaac Connor f0e6be64de load Private as well as Name,Value from Config 2022-06-05 12:15:53 -04:00
Isaac Connor 472555ae79 Only include config if logged in or auth turned off. Login view doesn't require any config. 2022-06-05 12:11:55 -04:00
Isaac Connor 4c84aaa996 whitespace 2022-06-05 12:08:05 -04:00
Isaac Connor 93a21a7188 Bump version to pickup zm_update-1.36.18.sql 2022-06-05 12:00:32 -04:00
Isaac Connor f477f50d56 Add Private to Config 2022-06-05 11:59:20 -04:00
Isaac Connor db885cac5a fix eslint 2022-06-02 16:43:23 -04:00
Isaac Connor a5f8ea2e82 Don't trim select values. In monitor selects are all well defined. Fixes not being able to multi-select groups or linked monitors 2022-06-02 16:28:25 -04:00
Isaac Connor d1bfb78235 use a global mode variable to determine if we are editing and disable clicking on image. disabling the onclick doesn't seem to be working. When activating edit mode and saving positions use #monitor instead of #monitorFrame which went away. 2022-06-02 13:56:16 -04:00
Isaac Connor 7e5c4d4a76 Only set onclick if a new function is given 2022-06-02 13:54:48 -04:00
Isaac Connor 6a287708c6 use zm_setcookie function with will set required cookie fields so that cookie actually gets set 2022-06-02 13:53:39 -04:00
Isaac Connor 56d57fc1aa Bump version 1.36.17 2022-05-31 16:06:50 -04:00
Isaac Connor e270577f40 center stream on cycle 2022-05-31 14:19:54 -04:00
Isaac Connor f044cfa280 add a newline 2022-05-31 14:19:41 -04:00
Isaac Connor bc3ab9cf66 Use monitorStream scaling 2022-05-31 14:19:27 -04:00
Isaac Connor 7def1944b6 Always force width and height on img to sane values 2022-05-31 14:18:56 -04:00
Isaac Connor ee559a5bc2 fix spacing 2022-05-31 13:59:29 -04:00
Isaac Connor 9aa7f70c0f remove connkey from initial zms single jpeg in montage. 2022-05-31 13:59:17 -04:00
Isaac Connor 722a0174d7 use monitorStream more in watch 2022-05-31 13:58:48 -04:00
Isaac Connor 8d7293202d use monitorStream more in cycle 2022-05-31 13:58:33 -04:00
Isaac Connor afbf5ebe60 Start stream with single jpeg. Add monitor div around imagefeed 2022-05-31 13:58:13 -04:00
Isaac Connor cb11ce100f Include connKey is debug line 2022-05-31 13:57:41 -04:00
Isaac Connor d9c24f96c2 Don't delete the socket file because another zms might have opened it and be waiting on the lock. This should remove a ton of zms error messages 2022-05-31 13:35:57 -04:00
Isaac Connor 6479a1ec99 Implement semaphore retry. Make not getting the semaphore an error 2022-05-31 13:14:30 -04:00
Isaac Connor da0cf59144 fix borders and centering on live view 2022-05-31 12:43:20 -04:00
Isaac Connor a782aea12f Handle ctrl-click for opening in a new window 2022-05-31 12:01:01 -04:00
Isaac Connor 858167a779 just like in master use .monitor.alert for styling 2022-05-31 12:00:38 -04:00
Isaac Connor a26042ea02 Don't change width if it is a percent 2022-05-31 12:00:17 -04:00
Isaac Connor 1fc9ddb54b Put live stream in a monitor div so that it lays out right 2022-05-31 11:44:04 -04:00
Isaac Connor bd4195d0c7 ZM_OPT_USE_GEOLOCATION is globally included so remove from monitor.js.php. Only test Path if not empty and handle exceptions in parsing it. 2022-05-31 11:43:44 -04:00
Isaac Connor d584431160 Fix centering of live view 2022-05-31 11:42:44 -04:00
Isaac Connor c481a812d0 Put back click on image in montage to bring live view 2022-05-31 11:31:57 -04:00
Isaac Connor 67e148052a set _last_error if insert fails 2022-05-31 11:31:24 -04:00
Isaac Connor 5ff68badbc Report more saving errors to ui 2022-05-31 11:31:03 -04:00
Isaac Connor 04ebb81072 Implement CTRL-click to open event in a new tab/window 2022-05-30 14:02:24 -04:00
Isaac Connor 77090f79d5 Merge branch 'release-1.36' of github.com:ZoneMinder/zoneminder into release-1.36 2022-05-30 09:53:42 -04:00
Isaac Connor 760d692086 Zoom by 10% instead of 25% 2022-05-27 10:45:27 -04:00
Isaac Connor 45e3505c60 Implement 25% zoom incrementts with no max 2022-05-27 10:45:09 -04:00
Isaac Connor bcbb7be54b Remove unused variable 2022-05-27 10:43:20 -04:00
Isaac Connor 4c718727c2 Add Width() and Height() to Box. 2022-05-27 10:40:01 -04:00
Isaac Connor e6ddb1bbde Implement a Scale(new_width, new_height) using sw_scale. 2022-05-27 10:38:45 -04:00