Commit Graph

1497 Commits

Author SHA1 Message Date
Isaac Connor
3e29aa56a3 Return default event path when no Id in Storage 2015-12-21 15:27:53 -05:00
Isaac Connor
16a1768511 fixes 2015-12-21 15:19:57 -05:00
Isaac Connor
70039b4c9d require ZoneMinder::Event 2015-12-21 15:14:23 -05:00
Isaac Connor
ad038edab4 chdir 2015-12-21 14:49:00 -05:00
Isaac Connor
99f9145cdd Fix SQL for loading events 2015-12-21 14:43:55 -05:00
Isaac Connor
892623ce63 Use * to grab all Event columns 2015-12-21 14:14:00 -05:00
Isaac Connor
0cb2d141a5 Fix dbh's 2015-12-21 13:16:07 -05:00
Isaac Connor
dfd7986c01 Merge branch 'master' into multi-server
Conflicts:
	distros/debian_cmake/links
	distros/ubuntu1504_cmake/zoneminder.postinst
2015-12-21 12:57:45 -05:00
Isaac Connor
5683210e42 Add missing ; 2015-12-21 12:42:00 -05:00
Isaac Connor
ca07b951cb Merge branch 'master' into newpointone
Conflicts:
	docs/installationguide/ubuntu.rst
2015-12-21 12:41:25 -05:00
Isaac Connor
1039207f3a Use Event->delete instead of our own delete code 2015-12-21 12:31:48 -05:00
Isaac Connor
2dfab0b408 Add delete and delete_files methods 2015-12-21 12:29:35 -05:00
Isaac Connor
872e5eff15 Merge branch 'multi-server' into newpointone
Conflicts:
	web/lang/en_gb.php
	web/skins/classic/views/filter.php
2015-12-21 11:35:16 -05:00
Isaac Connor
c2a857b498 Merge branch 'storageareas' into newpointone 2015-12-21 11:34:27 -05:00
Isaac Connor
3d00c3a50d Make getDiskPercent take an optional path. When a Server is specified, add it to the Filter object so that we can use in getDiskPercent 2015-12-21 11:34:12 -05:00
Isaac Connor
710197a4f2 Merge branch 'filter_object' into storageareas
Conflicts:
	scripts/ZoneMinder/lib/ZoneMinder/Storage.pm
	scripts/zmfilter.pl.in
2015-12-21 11:27:48 -05:00
Isaac Connor
de83872671 id => Id 2015-12-21 11:25:38 -05:00
Isaac Connor
118dc12ad5 id => Id 2015-12-21 11:25:17 -05:00
Isaac Connor
f6d52e77b9 it is important to return the object from the constructor 2015-12-21 11:13:21 -05:00
Isaac Connor
9f02f4353c it is important to return the object from the constructor 2015-12-21 11:13:01 -05:00
Isaac Connor
e7c337f9f3 fix namespace for dbh 2015-12-21 11:10:45 -05:00
Isaac Connor
ac88867fd2 fix namespace for dbh 2015-12-21 11:10:24 -05:00
Isaac Connor
8682b1af28 rough in a Storage class for the perl side of things 2015-12-21 11:03:53 -05:00
Isaac Connor
30353fbcf9 Add special case for Server Attr's because they are on the Monitor, not the event 2015-12-21 10:33:19 -05:00
Isaac Connor
5553760222 Add special cases for ServerId, ServerName, ServerHost to handle supplying the value of the host that the script is running on. 2015-12-21 10:23:37 -05:00
Isaac Connor
27597c3401 Merge branch 'master' into storageareas
Conflicts:
	docs/installationguide/ubuntu.rst
2015-12-20 11:19:44 -05:00
SteveGilvarry
e28e3c2b75 Merge branch 'master' into feature-h264-videostorage 2015-12-20 14:13:30 +11:00
arjunrc
27b1b37d5b added opt_use_api 2015-12-19 17:43:36 -05:00
Isaac Connor
fd773858a6 Merge branch 'better_zmvideo' into newpointone
Conflicts:
	scripts/zmfilter.pl.in
2015-12-18 14:17:45 -05:00
Isaac Connor
d035753971 Add the event class.
Also, remove the unused Storage class
2015-12-17 14:38:18 -05:00
Isaac Connor
b32ef7751b implement the options to generate videos for events specified by a stored filter. Also implement ability to generate a concatenated video of all events specified by the filter. 2015-12-17 14:36:40 -05:00
Isaac Connor
c71d1e52ac Fix 2015-12-17 13:13:04 -05:00
Isaac Connor
9db9d243f2 Fix 2015-12-17 13:12:37 -05:00
Isaac Connor
6f34022613 add find and find_one routines 2015-12-17 13:11:32 -05:00
Isaac Connor
7a979bb891 remove duplicated routines 2015-12-17 13:11:15 -05:00
Isaac Connor
64f65b55cc use new Filter object to do some of the heavy lifting in zmfilter.pl 2015-12-17 12:57:14 -05:00
Isaac Connor
7365c053e6 Create a Filter object, out of some of the code in zmfilter.pl. The purpose is to be able to use it elsewhere like zmvideo.pl. 2015-12-17 12:56:40 -05:00
Isaac Connor
3121e5550c Create a new class Storage and use it to handle figureing out where the event is actually stored. 2015-12-17 10:47:47 -05:00
Marco
62095b30d0 Added autostop to Down command 2015-12-16 16:58:20 +01:00
Isaac Connor
39e396eb6e Merge branch 'master' into multi-server 2015-12-09 10:36:51 -05:00
Isaac Connor
ac23efebef Merge pull request #1184 from ZoneMinder/TV-IP862_new_firmware
Add code to detect the change in REALM from older to newer firmware
2015-12-09 10:36:27 -05:00
Isaac Connor
7c298c58ed Add code to detect the change in REALM from older to newer firmware 2015-12-08 16:20:38 -05:00
SteveGilvarry
5390605797 Add v to front of version string in version->parse to force conversion of decimal to dotted decimal versions, and change from ge to > to prevent reapplying current version 2015-12-03 10:23:19 +11:00
SteveGilvarry
220ee5e516 Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage 2015-11-29 13:17:22 +11:00
Isaac Connor
4d6c4355db Merge branch 'master' into multi-server 2015-11-20 16:07:50 -05:00
Isaac Connor
d231ac4533 remove comment at end of line 2015-11-10 14:46:12 -05:00
Robin Daermann
49a89b75a8 More verbose error reporting 2015-11-09 16:15:53 +01:00
dreaddy
3479af78bd Add more verbose help 2015-11-06 13:36:29 -05:00
dreaddy
92401193a7 Add missing semicolon 2015-11-06 11:19:12 -05:00
dreaddy
ced0240fc3 Use the ssmtp path set in options first. shell command if ssmtp path empty. display debug suggesting set ssmtp path in option. 2015-11-06 10:43:30 -05:00