Commit Graph

1369 Commits

Author SHA1 Message Date
Isaac Connor
d039227f79 Merge branch 'master' into storageareas 2017-04-12 13:51:10 -04:00
Isaac Connor
58a0c82015 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-04-09 15:41:40 -04:00
Isaac Connor
4215f227da Merge branch 'mastertheknife-ssse3_improvements' into storageareas 2017-04-07 13:43:09 -04:00
Isaac Connor
7f4fb64495 blah 2017-04-07 13:38:41 -04:00
Isaac Connor
ed04c44ad0 comment out delete_empty_directories. It is too intensive 2017-04-07 13:21:33 -04:00
Isaac Connor
94ddfc4053 Fix 2017-04-07 11:58:27 -04:00
Isaac Connor
5c3a582252 The signal we should be blocking is SIGCHLD not SIGINT 2017-04-06 21:21:28 -04:00
Eliot Kent Woodrich
c4ec2d7fab Suppress debug messages on ZM service start/restart
The tests in the script General.pm that determine the format for superuser calls on the target environment may leak debug messages to STDOUT. This can be replicated on a Docker installation of Zoneminder lacking sudo. Starting the Zoneminder process  will display an intimidating series of error messages that can safely be ignored by the user:

e.g.
'''
root@2bfdd23cc27a:~# service zoneminder start

Starting ZoneMinder: Can't exec "sudo": No such file or directory at /usr/share/perl5/ZoneMinder/General.pm line 1                                                   10.
Use of uninitialized value $output in scalar chomp at /usr/share/perl5/ZoneMinder/General.pm line 119.
Use of uninitialized value $output in concatenation (.) or string at /usr/share/perl5/ZoneMinder/General.pm line 1                                                   20.
success
'''

This patch redirects STDERR from the qx(...) calls to the debug message., And if the output of qx(...) is undefined, replaces it with any error in $! resulting from the qx(...) call.
2017-04-05 17:26:19 -07:00
Isaac Connor
a689fcff88 Fix use Time::HiRes 2017-04-05 16:08:47 -04:00
Isaac Connor
c944870526 sleep 100usec 2017-03-31 13:49:44 -04:00
Isaac Connor
58d119d9ed Merge branch 'fix_1762' into storageareas 2017-03-31 13:38:59 -04:00
Isaac Connor
d3b6792a6a block signals around checking for a process to die 2017-03-31 12:25:48 -04:00
Isaac Connor
538658403c Merge pull request #1822 from knnniggett/csrf
Implement CSRF Mitigation
2017-03-30 10:39:55 -04:00
Isaac Connor
8bb9ba7bea Add more debugging 2017-03-29 09:59:58 -04:00
Isaac Connor
a6261b5497 allow filters to act on unfinished events. 2017-03-29 09:39:20 -04:00
Isaac Connor
3cd9e46df9 Merge branch 'knnniggett-csrf' into storageareas 2017-03-28 20:44:38 -04:00
Isaac Connor
d006ebfc3c Merge branch 'csrf' of https://github.com/knnniggett/ZoneMinder into knnniggett-csrf 2017-03-28 20:10:59 -04:00
Andy Bauer
4e16ae6d19 add ZM_ENABLE_CSRF_MAGIC toggle 2017-03-28 17:29:36 -05:00
Isaac Connor
7bce7f962a Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-03-27 16:56:22 -04:00
Isaac Connor
146ac87b51 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-03-24 11:53:53 -04:00
Isaac Connor
7360619941 Merge branch 'master' into storageareas 2017-03-24 11:53:45 -04:00
Isaac Connor
99a011da77 Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2017-03-23 19:56:01 -04:00
Isaac Connor
56acea30fe implement a command line option to limit the monitor to which zmaudit is doing it's job 2017-03-23 19:54:16 -04:00
Andrew Bauer
a43adc241f fix incorrect gpl license mailing address 2017-03-22 07:03:53 -05:00
Isaac Connor
c2461f93cd google code style and a better debug message 2017-03-20 16:47:58 -04:00
Isaac Connor
eba6cec7a1 Merge branch 'master' into storageareas 2017-03-20 12:01:20 -04:00
Andrew Bauer
7bb0d12a4f Merge pull request #1819 from ZoneMinder/Copyright_patch1
Fix failure to attribute previous work
2017-03-20 09:17:03 -05:00
Andrew Bauer
2dcd95bc7f Merge pull request #1504 from ZoneMinder/improve_filter
Improve filter
2017-03-18 21:12:58 -05:00
Steve Gilvarry
3a69238381 Fix failure to attribute previous work
Just fixing this up as there is a issue logged from Debian for it.
2017-03-18 23:05:32 +11:00
Isaac Connor
d135216ac7 Merge branch 'master' into storageareas 2017-02-15 09:30:35 -05:00
Manojav Sridhar
f0b2910647 fix typo for correct checking if a command has excuted for an event, prevents execution on every filter run 2017-02-15 08:10:50 -05:00
Isaac Connor
7ab6818fa0 Merge branch 'sanitize_image_path' of https://github.com/knnniggett/ZoneMinder into storageareas_sanitize 2017-01-25 17:14:30 -05:00
Isaac Connor
052807aaf5 remove extra my 2017-01-15 10:57:39 -05:00
Isaac Connor
c79dfb6a16 fix typos 2017-01-15 10:56:57 -05:00
Isaac Connor
4973d8c74c add support for connect options 2017-01-15 10:54:46 -05:00
Isaac Connor
d24d151f53 Slurp db update file in and do() it instead of calling mysql 2017-01-15 10:54:23 -05:00
Isaac Connor
ac32b001e9 use a real variable for the file handle so that it sticks around. 2017-01-12 13:05:39 -05:00
Isaac Connor
c97ecc2a38 remove debug line 2017-01-12 13:04:44 -05:00
Isaac Connor
a5cdfd2932 call loadMonitors at the beginning. Otherwise we may not know about a monitor while handling a message from it. 2017-01-12 13:03:53 -05:00
Isaac Connor
513cd68c20 remove the verified caching. It makes calling zmMemVerify useless. 2017-01-12 13:02:16 -05:00
Isaac Connor
ed5c3c4ed4 remove debug stautement 2017-01-12 12:58:09 -05:00
Isaac Connor
d9ce1a68c6 restore defaults 2017-01-12 12:56:55 -05:00
Isaac Connor
e94a797a5e remove debug stautement 2017-01-12 12:56:20 -05:00
Isaac Connor
65f7350313 remove debug stautement 2017-01-12 12:55:27 -05:00
Isaac Connor
82eaacc624 switch quotes 2017-01-12 12:54:46 -05:00
Isaac Connor
42484f7680 switch quotes, load monitors at the beginnign 2017-01-12 12:54:40 -05:00
Isaac Connor
0197c550ae Use a real variable for file handle so that it sticks around 2017-01-12 12:54:14 -05:00
Isaac Connor
0f67d9847e remove caching of verified status of an mmap. 2017-01-12 12:53:57 -05:00
Isaac Connor
7502b81064 zmMemVerify now checks valid, so don't need to do it again. 2017-01-10 15:32:38 -05:00
Isaac Connor
04f66917ae Merge branch 'fix_mmap_leak' into storageareas 2017-01-10 15:29:54 -05:00