Commit Graph

11281 Commits

Author SHA1 Message Date
Isaac Connor fb9a12ddba add locking around loading Zone 2018-05-01 12:19:34 -04:00
Isaac Connor 59d5297b4b fix wrong order calculating time we have waited for process to die. 2018-05-01 12:08:31 -04:00
Isaac Connor bbe0025641 correct sort order default 2018-05-01 09:43:09 -04:00
Isaac Connor 11ce50925c Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-05-01 09:42:11 -04:00
Isaac Connor c8eab2d275 remove debug log to stdout that shouldn't be there. It messes up zms 2018-05-01 09:41:46 -04:00
Isaac Connor 433cffcce7 include Id in Filter dropdown 2018-04-30 15:21:05 -04:00
Isaac Connor cae2c9e237 Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-30 15:11:32 -04:00
Isaac Connor 04198aa381 Log valu of dbh if not connected 2018-04-30 15:09:13 -04:00
Isaac Connor 469a7347e8 include zm_terminate to make Capture break out of process is TERM'd 2018-04-30 15:09:00 -04:00
Isaac Connor acd6b5f4a9 limit the # of log lines deleted to 100 to limit the time spent there. 2018-04-30 14:33:41 -04:00
Isaac Connor 3bb1a5b544 Whitespace 2018-04-30 13:02:53 -04:00
Isaac Connor f4b6bde3c2 Put print to STDERR before logging to db because it is more reliable than db 2018-04-30 13:02:43 -04:00
Isaac Connor 8e5ee94420 If we fail to connect, the dbh->trace will crash 2018-04-30 13:02:13 -04:00
Isaac Connor c3b6cd4bab include auth.php if auth is on, and return '' for auth_hash is auth is disabled 2018-04-30 11:24:53 -04:00
Isaac Connor 3c9c05891f Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-30 07:58:02 -07:00
Isaac Connor d3a611ae49 google code style. sth does not have a errstr() method. 2018-04-30 07:56:51 -07:00
Isaac Connor 619feb0dfa Merge ../ZoneMinder.master into storageareas 2018-04-30 10:19:17 -04:00
Isaac Connor 2845f891bc Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-04-30 10:12:41 -04:00
Isaac Connor e55846e716 Log start_time when its > Now 2018-04-30 10:12:34 -04:00
Isaac Connor 6c5e6e6184 Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-30 07:10:38 -07:00
Isaac Connor 3f05d46012 Merge zmdc.pl fixes. We can now handle database disconnects gracefully. 2018-04-30 07:09:23 -07:00
Isaac Connor 5ebfae5f14 fix warnings in building docs by using anonymous links (double underscore at the end) 2018-04-30 09:51:26 -04:00
Isaac Connor f61bdcd118 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-04-29 10:53:31 -04:00
Isaac Connor e891c88a3e Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-28 12:38:57 -04:00
Isaac Connor abd52ebfb1 Add DiskSpace column to storage listing 2018-04-28 12:38:10 -04:00
Isaac Connor ecf8003aef remove extra spaces 2018-04-28 12:32:21 -04:00
Isaac Connor a4da624f4c break out of loops when zm-terminate is set 2018-04-27 13:20:38 -07:00
Isaac Connor d5fedd5470 Update to add cache dir config and api configs 2018-04-27 11:25:01 -04:00
Isaac Connor 348468a98d Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-04-26 22:09:48 -04:00
Isaac Connor 8a80cf686b Merge branch 'master' into storageareas 2018-04-26 21:58:34 -04:00
Isaac Connor 7e88d28857 bump version to .44 2018-04-26 21:58:19 -04:00
Isaac Connor a35412f71d Merge ../ZoneMinder.master 2018-04-26 21:58:01 -04:00
Andrew Bauer 86b2f6a12e New Monitor Type - Website (#2065)
* implement website monitor

* don't check certain fields when using website monitor

* continue to fix javascript errors for website monitors

* check $monitor, not $new_monitor here

* add website monitor documentation

was somehow left out of the initial commit

* fix corruption of functions.php

* add missing comma

* remove errors by testing for existence of key.  If it's a new monitor, then none of the keys will be valid

* If the monitor type is WebSite, then default Status to Running.

* put back start function that got lost in merge.  Don't start StreamCmd's if it's a WebSite

* Add midding comma

* Hide unrelated tabs when type is WebSite. Put back input fields for Type=WebSite

* Don't show control or any of the status fields for WebSite type monitors

* add some parenthesis to ensure order of operations, seems to fix fps and status fields not being shown for regular monitors
2018-04-26 17:18:36 -04:00
Isaac Connor 356badf21d Merge branch 'master' of github.com:ZoneMinder/ZoneMinder 2018-04-26 11:57:46 -04:00
Isaac Connor 00e82fb751 Implement MonitoServerId,StorageServerId,FilterServerID in Filters 2018-04-25 13:05:19 -07:00
Isaac Connor f2073c958f more debug 2018-04-25 10:33:42 -07:00
Isaac Connor dd6683f0be Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-25 10:31:47 -07:00
Isaac Connor 636d0caf30 handle no swap 2018-04-25 10:28:19 -07:00
Isaac Connor 2f9e69d959 Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2018-04-25 12:36:22 -04:00
Isaac Connor 1907b18ac2 fix libnumber-bytes-human => libnumber-bytes-human-perl 2018-04-25 12:36:18 -04:00
Isaac Connor ee8f371deb Merge branch 'storageareas' of github.com:connortechnology/ZoneMinder into storageareas 2018-04-25 11:13:25 -04:00
Isaac Connor 8bdc68dc65 include zm_signal.h so that we have access to zm_terminate. Use zm_terminate to break out of endless loops. Add incoming bytes counts 2018-04-25 10:49:35 -04:00
Isaac Connor 27531750a4 Google code style 2018-04-25 10:48:50 -04:00
Isaac Connor 117555a857 Merge branch 'storageareas' of github.com:/connortechnology/ZoneMinder into storageareas 2018-04-25 09:39:10 -04:00
Isaac Connor 8d1ae6ac49 add back in zm_update-1.31.30.sql 2018-04-25 09:39:05 -04:00
Isaac Connor 61fe2a734b Add SIGHUP handler so that zmc reloads instead of dies 2018-04-25 09:38:18 -04:00
Isaac Connor 371f5dbc00 a zero duration will lead to a non-monotonic non-incrementing pts, so we have to use 1 instead. 2018-04-25 09:37:04 -04:00
Isaac Connor 161fc94496 remove useless () 2018-04-25 09:33:12 -04:00
Isaac Connor 80f73854c7 Include the groupIds hidden when not on general tab 2018-04-25 09:33:02 -04:00
Isaac Connor dfae6661ab use isset when determining if a column exists, otherwise we throw warnings 2018-04-25 09:32:40 -04:00