Isaac Connor
b385ba7bf4
Merge branch 'master' into improve_filter
2016-10-18 09:59:45 -04:00
Isaac Connor
10e451faa6
fix log line
2016-10-02 12:23:19 -04:00
Isaac Connor
a77de33997
add a test for lib existence
2016-09-27 12:51:04 -04:00
mdrush
69a71b1a37
cleaned up logic
2016-08-27 16:16:01 -07:00
mdrush
16a9de3b1b
added missing brackets
2016-08-27 15:39:04 -07:00
mdrush
2d161924c0
changed error message to debug message
2016-08-27 15:34:10 -07:00
mdrush
52255e594e
improved style, added fallback when ssmtp can't be found
2016-08-27 15:18:00 -07:00
mdrush
574390730a
added missing ssmtp support in sendMessage
2016-08-27 13:10:39 -07:00
Isaac Connor
69461a7c1b
Merge pull request #1579 from peruchi/master
...
Update file sock for multiserver
2016-08-17 10:23:01 -04:00
peruchi
50f55af68f
Update zmdc.pl.in
2016-08-17 10:36:00 -03:00
peruchi
7b389a79a6
Update zmdc.pl.in
2016-08-17 09:45:30 -03:00
Isaac Connor
fbc0086fcc
get the other dbPass use and quote it. Slight visual code style cleanup.
2016-08-08 16:52:09 -04:00
Andrew Bauer
24d471f452
Merge pull request #1503 from ZoneMinder/id_on_console
...
add option to show monitor ID on console
2016-08-06 10:59:03 -05:00
Isaac Connor
9d65ef3bb2
Merge pull request #1556 from knnniggett/banner
...
custom banner text on web console
2016-08-06 10:59:53 -04:00
Andrew Bauer
528230c92d
Merge pull request #1581 from ZoneMinder/fix_1571
...
quote the password
2016-08-06 09:37:11 -05:00
Andrew Bauer
382896dc0d
Merge pull request #1498 from josh4trunks/mysql_port_socket
...
Add support for MySQL Port / Unix Socket
2016-08-06 09:32:32 -05:00
Andrew Bauer
e6b1cf90df
Merge pull request #1566 from gerdesj/Keekoon
...
Control script for Keekoon cameras.
2016-08-06 09:09:40 -05:00
peruchi
0d85d3e60d
Update zmdc.pl.in
2016-08-02 16:26:27 -03:00
peruchi
0238656542
Update file sock for multiserver
...
Added the ZM_SERVER_ID in the creation the sock for not to give conflict in mode multi server.
2016-08-02 15:36:40 -03:00
Isaac Connor
25d58f5192
quote the password
2016-08-02 13:22:44 -04:00
Jon Gerdes
ee720c4561
Control script for Keekoon cameras. Tested with KK002.
2016-07-25 11:20:49 +01:00
Dmitry Smirnov
aed3c3d29a
reduce noise on "zmupdate.pl" invocation
2016-07-14 00:43:32 +10:00
Isaac Connor
85c0377280
When generating video, zmvideo.pl now returns the file path to the video file so don't append eventPath to it
2016-07-12 14:21:54 -04:00
Isaac Connor
6129732e61
restore the behaviour where the generated file names are printed to stdout.
2016-07-11 08:01:43 -04:00
Andy Bauer
19265b631a
custom banner text on web console
2016-07-09 13:11:30 -05:00
Isaac Connor
1069b301a0
functions have been moved from ConfigAdmin to Config
2016-06-12 15:38:59 -04:00
Isaac Connor
2da709848a
remove extra comma screwing up the sql
2016-05-30 09:30:02 -04:00
Isaac Connor
408646ea4d
remove extra s
2016-05-27 10:52:59 -04:00
Isaac Connor
1983f106f4
Add a missing sth->finish
2016-05-27 09:01:01 -04:00
Isaac Connor
b0116f25e9
put back in the lines that populate ZM_SERVER_ID. They got lost somehow in the perl db undo
2016-05-27 08:59:46 -04:00
Isaac Connor
f969186abb
add the ZM_WEB_ID_ON_CONSOLE option and use it to show the ID column on the console
2016-05-26 11:15:13 -04:00
Isaac Connor
795665f8c7
Merge branch 'startup_time' into storageareas
2016-09-29 11:07:55 -04:00
Isaac Connor
29c015ecd3
need to put zmGetStartupTime in exports
2016-09-29 11:07:33 -04:00
Isaac Connor
5c867aa5f5
Merge branch 'fix_auth_timeout' into storageareas
2016-09-29 10:10:38 -04:00
Isaac Connor
8bc7b9562f
introduce config option ZM_AUTH_HASH_TTL which is the # of hours to make an auth hash valid for
2016-09-29 10:04:53 -04:00
Isaac Connor
b074a3257d
add StartTime to log line about deleting an event.
2016-09-28 08:35:19 -04:00
Isaac Connor
89d4b9fec5
ifdef the libswresample lib stuff
2016-09-27 13:34:10 -04:00
Isaac Connor
f40c8d0da8
contains due to glob
2016-09-20 15:54:37 -04:00
Isaac Connor
a3e99cf08d
quick update to Monitor to use Object methods
2016-09-20 12:15:48 -04:00
Isaac Connor
e228de6ebe
detect relative path for ZM_PATH_EVENTS and use ZM_PATH_WEB to make a full path
2016-09-19 16:44:43 -04:00
Isaac Connor
ae4a4681cd
fix using wrong var
2016-09-15 11:41:42 -04:00
Isaac Connor
8f33ed6ca6
introduce another sharedmem variable called startup_time, which is set by zmc indicating when the process started.
2016-09-15 11:16:05 -04:00
Isaac Connor
2b4bad86cb
Merge branch 'master' into storageareas
2016-09-13 10:21:10 -04:00
Isaac Connor
5fb1c45c4e
Merge ../ZoneMinder.connortechnology into storageareas
2016-09-08 11:34:36 -04:00
Isaac Connor
7b0a14ee72
change doulbe quotes to single quotes. Detect if we can't chdir into the monitor dir.
2016-09-08 11:06:02 -04:00
Isaac Connor
e51cc7efc8
add a missing / in error message
2016-08-31 11:21:46 -04:00
Isaac Connor
747382f214
change double quotes to single quotes. When can't connect, print out the path to the sock file
2016-08-22 13:34:02 -04:00
Isaac Connor
d618b612fe
google code style & whitespace
2016-08-22 12:08:49 -04:00
Isaac Connor
707694d4ea
google code style
2016-08-22 11:41:26 -04:00
Isaac Connor
eafe3d7748
Merge branch 'master' into storageareas
2016-08-17 10:31:55 -04:00
Isaac Connor
3d65b0d2ad
Merge branch 'master' into storageareas
2016-08-08 18:09:11 -04:00
Isaac Connor
2451768295
Merge branch 'master' into storageareas
2016-08-08 18:08:46 -04:00
Isaac Connor
99289e4713
Deprecate MAX_AGED_DIRS. Only check age if the fs event isn't in the db. This should work much better.
2016-08-04 12:22:33 -04:00
Isaac Connor
62d3c66e8f
Merge branch 'fix_1571' into storageareas
2016-08-02 13:53:32 -04:00
Isaac Connor
208337635a
Merge branch 'master' into storageareas
2016-08-01 19:30:01 -04:00
Isaac Connor
8eac8a1e1a
Merge branch 'master' into storageareas
2016-07-13 09:50:30 -04:00
Isaac Connor
1e2ec7028e
better debugging. add back deleting of zmswap files. detaint them so that they can be deleted. Use Objects to fix up deleting events
2016-07-12 14:16:20 -04:00
Isaac Connor
26369268bb
merge Steve's updates, work on zmaudit
2016-07-12 11:27:25 -04:00
Isaac Connor
e29a0ebe71
Merge branch 'feature-h264-videostorage' into storageareas
2016-06-21 13:48:32 -04:00
Isaac Connor
76cb031a5e
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-06-12 07:14:30 -04:00
Isaac Connor
c0cb1419a3
fixup delete_empty_directories
2016-06-07 22:03:46 -04:00
Isaac Connor
eb4e36789d
maybe fix delete_empty_directories
2016-06-07 21:43:47 -04:00
Isaac Connor
5ff53ebce0
More output on errors, make them non-fatal
2016-06-07 21:37:33 -04:00
Isaac Connor
b081d2e3bf
rename fs_monitor to monitor_id, which is what it is
2016-06-06 10:30:52 -04:00
Isaac Connor
2460bccdac
fix missing $
2016-06-06 10:18:21 -04:00
Isaac Connor
5f83bac59c
add line to delete empty directories
2016-06-03 12:01:31 -04:00
Isaac Connor
ad185809f8
Merge branch 'fix_zmaudit' into storageareas
2016-06-03 11:57:38 -04:00
Isaac Connor
575180ba5e
introduce new function that recursively deletes empty directories. Call it on each monitor dir
2016-06-03 11:35:28 -04:00
Isaac Connor
ef9c0ca33a
Debug the SQL on execute, not on parse
2016-06-03 11:15:40 -04:00
Isaac Connor
b8c406f969
Merge branch 'master' into storageareas
2016-06-03 09:32:55 -04:00
Isaac Connor
b8cf7c04c1
Fix messed up SQL. die when the selectFrameData sql doesn't execute
2016-05-31 09:14:50 -04:00
Isaac Connor
8a14d6f4d2
Don't not load the event if it was videod before
2016-05-30 14:57:46 -04:00
Isaac Connor
409545b386
Add concat to the usage line and format it better
2016-05-30 14:08:38 -04:00
Isaac Connor
326c4f1fee
Check for existence of libraries specified in LD_PRELOAD and warn about them not existing
2016-05-30 14:08:08 -04:00
Isaac Connor
4469f909fa
Add support for DefaultVideo to video generation
2016-05-30 14:07:40 -04:00
Isaac Connor
07878e3e13
Put back the code that makes getDiskPercent look in the storagearea
2016-05-30 10:43:51 -04:00
Isaac Connor
886d88b184
Merge branch 'improve_filter' into storageareas
2016-05-30 09:30:18 -04:00
Isaac Connor
63ac75b440
use ::Database::dbh instead of 3013self{dbh}
2016-05-30 09:27:36 -04:00
Isaac Connor
2663781adc
put back missing my =__git_main[0];
2016-05-30 09:13:39 -04:00
Isaac Connor
7bc95561ad
fix
2016-05-29 11:37:32 -04:00
Isaac Connor
d52a6f9a95
Merge branch 'improve_filter' into storageareas
2016-05-27 09:57:05 -04:00
Isaac Connor
419e67caa1
Put back the code that populates ZM_SERVER_ID
2016-05-26 12:42:22 -04:00
Isaac Connor
05709f3084
Merge branch 'id_on_console' into storageareas
2016-05-26 11:17:41 -04:00
Isaac Connor
b9322a02e8
Merge branch 'get_rid_of_ConfigAdmin' into storageareas
2016-05-26 09:56:16 -04:00
Isaac Connor
e329bacb78
remove deprecated ConfigAdmin
2016-05-26 09:51:48 -04:00
Isaac Connor
7a08d4620f
Merge branch 'master' into storageareas
2016-05-25 10:17:46 -04:00
Isaac Connor
a0af99459a
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-05-25 10:12:22 -04:00
Isaac Connor
aedba1bc7f
whitespace, google code style. Adds special cases for ServerId Attribute. ANd uses * to load all event fields instead of specifying each one.
2016-05-24 16:49:04 -04:00
Isaac Connor
8fabeb78d3
Merge branch 'fix_zone_edit' into storageareas
2016-05-24 15:55:49 -04:00
Isaac Connor
3f880fad3a
Merge pull request #1500 from knnniggett/zmdc_unlink
...
remove one unlink, add better error reporting to the rest
2016-05-24 14:35:39 -04:00
Andrew Bauer
0052bb080c
unlink only if file exists
2016-05-24 12:13:17 -05:00
Andrew Bauer
11701357aa
remove one unlink, add better error reporting to the rest
2016-05-24 09:01:32 -05:00
Andrew Bauer
bc163b33fc
move multiserver message to once during startup only
2016-05-23 20:06:29 -05:00
josh4trunks
57a25373fa
Add logic to Config.pm
2016-05-22 08:53:30 -07:00
josh4trunks
a3fe6ea181
Apply changes to Logger.pm
2016-05-22 08:28:23 -07:00
josh4trunks
38e1cc909c
Reapply changes to Database.pm
2016-05-22 08:19:18 -07:00
Isaac Connor
1e52934dcf
Implement a time function that gets unix_timestamp from StartTime, and implement check_for_files_in_filessytem
2016-05-20 20:33:47 -04:00
Andrew Bauer
8bbb443c67
fix invalid key name in config hash
2016-05-20 10:35:03 -05:00
Isaac Connor
bb5dbf3e4a
Need to import Config Data into Config
2016-05-20 09:29:40 -04:00
Isaac Connor
182fa9a5cd
revert the bulk of the merge_db_connects changes.
2016-05-20 08:53:53 -04:00
Isaac Connor
924acf4284
fix zmdc.pl hang due to needing to connect to db after fork
2016-05-19 15:01:31 -04:00
Isaac Connor
8e06c0ec63
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2016-05-19 12:08:56 -04:00
Isaac Connor
183f9c70a4
Must use ZoneMinder instead of ZoneMinder::Logger
2016-05-19 12:08:45 -04:00
Isaac Connor
d57690903d
Must use ZoneMinder instead of ZoneMinder::Logger
2016-05-19 12:08:25 -04:00
Andrew Bauer
8bac5fbdfb
typo - remove extra comma
2016-05-18 16:58:04 -05:00
Andrew Bauer
46039a1887
Merge pull request #1472 from ZoneMinder/v4l1_compat
...
V4l1 compat
2016-05-16 13:02:27 -05:00
Isaac Connor
0b00659f26
Merge branch 'update_zmupdate' into storageareas
2016-05-16 12:24:14 -04:00
Isaac Connor
b53a0a564d
Don't need the extra use ZoneMinder::Config
2016-05-16 10:07:24 -04:00
Isaac Connor
dd24c35afa
revert bogus optimisation
2016-05-16 10:05:12 -04:00
Isaac Connor
3780f8a2e6
move functions from ConfigAdmin into Config. I see no reason for them to be in a separate module
2016-05-16 09:31:54 -04:00
Isaac Connor
5df85770cd
zmupdate.pl.in
2016-05-13 13:52:34 -04:00
Isaac Connor
3a0aa09c2f
Force reconnect to the db after fork.
2016-05-13 09:09:49 -04:00
Isaac Connor
e9d8b7925a
Merge branch 'db_reconnect' into storageareas
2016-05-10 11:13:09 -04:00
Isaac Connor
aaa4b3a824
check for db connection before assuming that dbh is valid
2016-05-10 11:11:45 -04:00
Isaac Connor
a5ba4759bf
fix new config entry
2016-05-10 10:54:40 -04:00
Isaac Connor
17f4f5789e
Merge branch 'master' into v4l1_compat
2016-05-10 10:10:48 -04:00
Isaac Connor
56e0e4e3c6
Use Event->getPath instead of something wrong
2016-05-10 09:07:09 -04:00
Isaac Connor
a012320a3e
Whitespace and code style changes. Change Event->getEventPath to Event->getPath to sync with PHP version
2016-05-10 09:06:49 -04:00
Isaac Connor
07e988266a
Merge branch 'merge_db_connects' into storageareas
2016-05-09 13:28:40 -04:00
Isaac Connor
1a1e009533
simplify use's, add some sth->finishes and move some lines to take properly use DBI
2016-05-09 13:28:09 -04:00
Isaac Connor
9d9f2453c3
deprecate ConfigAdmin, merge it into Config.pm
2016-05-09 13:27:22 -04:00
Isaac Connor
cd8c9703c0
remove extra q
2016-05-09 12:48:56 -04:00
Isaac Connor
2fec880ff6
fix help/description mixup
2016-05-09 12:48:35 -04:00
Isaac Connor
5806eb0958
Merge branch 'v4l1_compat' into storageareas
2016-05-09 12:46:34 -04:00
Isaac Connor
605edfd6d0
add ENV{LD_PRELOAD} setting
2016-05-09 12:46:26 -04:00
Isaac Connor
08bf97fe85
Add a config entry for ZM_LD_PRELOAD
2016-05-09 12:44:41 -04:00
Isaac Connor
beebe74e7b
Merge branch 'merge_db_connects' into storageareas
2016-05-09 12:26:17 -04:00
Isaac Connor
b33e35bda7
move the require to the top
2016-05-09 12:14:59 -04:00
Isaac Connor
3522c5796b
add BEGIN Back to ZoneMinder.pm
2016-05-09 12:01:26 -04:00
Isaac Connor
e064af4214
Merge branch 'merge_db_connects' into storageareas
2016-05-07 09:35:14 -04:00
Isaac Connor
b444c8a6b4
Move the BEGIN from ZoneMinder to ZoneMinder/Base.
2016-05-07 09:34:45 -04:00
Isaac Connor
6e32b5d266
Use fully specified COnfig hash to simplify Symbol tables
2016-05-07 09:34:04 -04:00
Isaac Connor
1d63062188
Merge branch 'merge_db_connects' into storageareas
2016-05-07 09:30:18 -04:00
Isaac Connor
f55f979cc9
use fully specified Config to simplify symbol tables
2016-05-07 09:30:03 -04:00
Isaac Connor
18442be77f
Merge branch 'merge_db_connects' into storageareas
2016-05-03 14:09:18 -04:00
Isaac Connor
e3d581dcab
use single quotes instead of double quotes
2016-05-03 10:23:09 -04:00
Isaac Connor
24bf91707f
Database module should really use DBI
2016-05-03 10:22:38 -04:00
Isaac Connor
e80db4c433
Use zmDbConnect instead of duplicated db connect code
2016-05-03 10:22:16 -04:00
Isaac Connor
49e3d3be7a
Turn the config loading code from a BEGIN to a function that could be called repeatedly.
2016-05-03 10:21:50 -04:00
Isaac Connor
9406a2337f
Add a BEGIN section to load things in the correct order.
2016-05-03 10:21:01 -04:00
Isaac Connor
2ba18e14fc
Merge branch 'merge_db_connects' into storageareas
2016-05-03 09:05:36 -04:00
Isaac Connor
30f34a6f49
instead of code duplication for opening the db, use zmDbConnect everywhere
2016-05-03 08:59:40 -04:00
Isaac Connor
55d58a140e
instead of code duplication for opening the db, use zmDbConnect everywhere
2016-05-03 08:57:51 -04:00
Isaac Connor
408fba8d24
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-04-30 10:09:52 -04:00
Steve Gilvarry
6bf43631e2
Merge pull request #1428 from ZoneMinder/better_zmvideo
...
Better zmvideo
2016-04-28 22:00:52 +10:00
Isaac Connor
0adbaafd98
Merge branch 'master' into storageareas
2016-04-26 13:10:37 -04:00
Andrew Bauer
1072327dd1
remove extra quote
2016-04-21 08:01:13 -05:00
Andrew Bauer
3a9ab7f685
Merge branch '1128_ssmtp_mail_option' of https://github.com/dreaddy/ZoneMinder into dreaddy-1128_ssmtp_mail_option
2016-04-21 07:27:19 -05:00
Isaac Connor
67f38d07df
Merge branch 'master' into better_zmvideo
2016-04-20 12:04:15 -04:00
Isaac Connor
0da0896757
Merge branch 'master' into storageareas
2016-04-20 10:01:06 -04:00
Isaac Connor
e52e880553
rework open event check to not use group by
2016-04-20 10:00:13 -04:00
Isaac Connor
bb15915ce5
Use EventPrefix, not Prefix
2016-04-19 15:23:36 -04:00
Isaac Connor
588dbc0c3c
Don't JOIN MOnitors to get event prefix. Use {->MonitorID} instead
2016-04-19 15:22:46 -04:00
Isaac Connor
d9646d6ceb
Populate a Monitors hash with the Monitors data so we don't have to use in JOINs later
2016-04-19 15:19:37 -04:00
abi
7058b0862a
suppressed warnings of killall for FreeBSD
2016-04-16 16:39:58 +03:00
Isaac Connor
a2d92300b3
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-04-11 21:51:41 -04:00
Isaac Connor
60642c1fff
Merge branch 'iconnor_video' into storageareas
2016-04-05 12:32:33 -04:00
Isaac Connor
238a25a302
Merge branch 'master' into iconnor_video
2016-04-05 09:38:59 -04:00
Isaac Connor
87088d95ac
change error to Warning... it is possible to not have any filters returned
2016-04-05 09:22:36 -04:00
Andy Bauer
4e9a925933
Merge branch 'Autotools_delete' of https://github.com/SteveGilvarry/ZoneMinder into SteveGilvarry-Autotools_delete
2016-04-04 20:52:49 -05:00
Andy Bauer
7ff8d36598
Merge branch 'depracation_nation' of https://github.com/SteveGilvarry/ZoneMinder into SteveGilvarry-depracation_nation
2016-04-04 20:44:53 -05:00
Isaac Connor
dd7f399959
Merge branch 'remove_local_zm_conf_override' into storageareas
2016-04-04 16:13:44 -04:00
Isaac Connor
a31660c1f6
Remove the code looks for zm.conf in the current dir.
2016-04-04 10:45:58 -04:00
Isaac Connor
82b32578ec
Merge branch 'master' into iconnor_video
2016-04-01 12:54:09 -04:00
Isaac Connor
c9a1a9020d
Merge h264
2016-03-31 11:03:36 -04:00
Isaac Connor
e5a36c02bd
Merge remote-tracking branch 'origin/master' into video_remote
2016-03-30 16:55:24 -04:00
Isaac Connor
ea49dc20d1
Merge branch 'master' into storageareas
2016-03-30 10:58:07 -04:00
Isaac Connor
22554603b1
remove duplicate zmtelemetry.pl entry
2016-03-29 12:31:27 -04:00
Isaac Connor
f0a307e082
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
...
Conflicts:
distros/ubuntu1504_cmake/control
2016-03-29 11:53:17 -04:00
Isaac Connor
e3564f6a63
add zmtelemtry.pl
2016-03-29 11:51:03 -04:00
Sándor Czettner
38e3c92546
Minor grammar fixes
2016-03-25 13:18:43 +00:00
Isaac Connor
6d4d05184c
fix typo
2016-03-23 09:49:38 -04:00
Isaac Connor
d3558c5688
Merge pull request #1323 from knnniggett/zmfilter
...
fix missing Net::SFTP::Foreign::debug warning
2016-03-21 10:47:50 -04:00
Isaac Connor
3a8352eb6b
Merge branch 'master' into storageareas
2016-03-21 10:25:03 -04:00
Kyle Johnson
4e1af516d7
Don't output sudo test cmd to /dev/null. Other tests aren't, and info us useful.
2016-03-11 14:29:48 -07:00
Kyle Johnson
b9085cea64
Fix issue where programs are installed in unexpected paths.
...
For example, on freebsd, sudo is in /usr/local/bin, and as things
were pre-this commit, sudo wasn't being found.
2016-03-11 14:28:16 -07:00
Andrew Bauer
facae6cb0d
use make "-f" parameter instead of "--makefile"
2016-03-10 13:58:41 -06:00
Andrew Bauer
4606d2fbca
Update zmtrigger.pl.in
...
mention the %Q placholder when using showtext
2016-03-10 10:13:38 -06:00
Isaac Connor
313f46dceb
add zmtelemetry.pl to autotools build
2016-03-09 11:26:10 -05:00
Isaac Connor
0e8fc7953d
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-03-07 21:46:10 -05:00
Andy Bauer
ab3c35c629
fix missing Net::SFTP::Foreign::debug warning
2016-03-04 17:21:32 -06:00
Isaac Connor
0d8c63f578
Merge branch 'master' into storageareas
2016-03-02 09:11:55 -05:00
Kyle Johnson
bc89b95470
Merge pull request #1292 from ZoneMinder/telemetry
...
Telemetry Data
2016-03-01 07:17:16 -07:00
SteveGilvarry
d40bf89b17
Remove Phone BW settings used with mobile skin
2016-02-26 22:43:37 +11:00
SteveGilvarry
6b169af655
Remove eyezm configdata
...
Conflicts:
scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
2016-02-26 22:35:24 +11:00
SteveGilvarry
5ff427d9e9
Removed Autotools Makefile.am
...
Conflicts:
Makefile.am
misc/Makefile.am
src/Makefile.am
web/includes/Makefile.am
web/js/Makefile.am
web/skins/classic/css/classic/views/Makefile.am
web/skins/classic/css/flat/views/Makefile.am
web/skins/classic/views/Makefile.am
web/skins/classic/views/js/Makefile.am
2016-02-26 22:19:02 +11:00
Isaac Connor
86c223668d
Merge branch 'master' into storageareas
2016-02-25 19:11:38 -05:00
Andy Bauer
7a42a8c3f9
add Netcat ONVIF compatible ptz control
2016-02-24 10:15:59 -06:00
Isaac Connor
e12152602b
t push origin masterMerge branch 'knnniggett-zmtrigger2' into storageareas
2016-02-22 09:15:45 -05:00
Andrew Bauer
0fce33b2d3
one too many curly brackets
2016-02-22 06:59:14 -06:00
Andy Bauer
a2e06ed70c
Prevent zmtrigger from crashing when memory handles change
2016-02-21 17:55:04 -06:00
Isaac Connor
66e76e4c2e
Merge branch 'zm_trigger_improvements' into storageareas
2016-02-19 11:09:41 -05:00
Isaac Connor
826a22a2a8
add missing .
2016-02-19 11:07:06 -05:00
Isaac Connor
3b07b56400
Use more descriptive names for the channels
2016-02-19 11:05:55 -05:00
Isaac Connor
64c5b64068
Log error before croaking and include port# in the error message
2016-02-19 11:04:02 -05:00
Isaac Connor
327a01cb20
Log error before croaking and show path to file in the error message
2016-02-19 10:59:40 -05:00
Isaac Connor
3a512f87a5
Log the reason for croaking before croaking.
2016-02-19 10:57:52 -05:00
Isaac Connor
68babd783b
Merge branch 'master' into storageareas
2016-02-17 09:46:56 -05:00
Isaac Connor
d1ba45c56a
include the sock path in the error message and output an error on failure to open pid file
2016-02-16 10:02:30 -05:00
Andrew Bauer
8a2dc2897d
Perl DateTime dependency not needed
2016-02-15 14:11:58 -06:00
Andrew Bauer
041585b4a2
Change Info to Debug
2016-02-15 14:03:16 -06:00
Andrew Bauer
e3afa5d1ec
change to testing5
2016-02-15 12:38:13 -06:00
Andrew Bauer
87aceef479
change server endpoint
2016-02-15 08:50:11 -06:00
Andrew Bauer
cd8a4adfab
replace uname system call with native perl when applicable
2016-02-15 08:43:34 -06:00
Andy Bauer
47eaea78be
use units of bytes for total memory
2016-02-13 15:01:22 -06:00
Andy Bauer
ee3f87a2ad
additional refinements to zmtelemetry
2016-02-13 14:53:22 -06:00
Andy Bauer
08af88df10
fix compilation errors
2016-02-13 08:54:40 -06:00
Isaac Connor
0ff0262c8b
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-02-12 19:12:12 -05:00
Andrew Bauer
87857f5dc1
more debug and warnings
2016-02-12 17:45:08 -06:00
Andrew Bauer
24838a91c9
set kernel, distro, and version for Mac OS
2016-02-12 17:38:00 -06:00
Andrew Bauer
3c48d81edb
tweak regex's. add debug
2016-02-12 17:15:04 -06:00
Andrew Bauer
5045da9382
add initial distro determination logic to zmtelemetry
2016-02-12 15:18:45 -06:00
Andrew Bauer
c892e912cf
use uname -p for telemetry architecture
2016-02-12 10:47:12 -06:00
Andrew Bauer
b04e1eb0c6
let mysql generate the uuid
2016-02-12 09:18:15 -06:00
Andrew Bauer
799437fdf1
retrieve telemetry data from the monitors table
2016-02-12 08:59:16 -06:00
Andrew Bauer
017417d8f8
small changes to zmtelemetry
2016-02-12 08:06:51 -06:00
Andrew Bauer
1b6af8afae
modify telemetry parameters
2016-02-11 13:10:36 -06:00
Andrew Bauer
1811d71562
make date format compatible with *BSD
2016-02-11 08:10:16 -06:00
Andrew Bauer
f5ff5d152c
Add count query subroutine
2016-02-11 07:22:31 -06:00
Andy Bauer
6d81ef247e
build telemetry hash then jsonencode it
2016-02-10 20:46:05 -06:00
Andrew Bauer
177a70a248
add getIP subroutine to zmtelemetry.pl
2016-02-10 14:05:34 -06:00
Andrew Bauer
f48ffb60e6
update ZM_TELEMETRY_UUID after creating uuid
2016-02-10 13:37:22 -06:00
Andrew Bauer
18c493a180
Add getUUID subroutine, Add ZM_TELEMETRY_LAST_UPLOAD
2016-02-10 13:04:14 -06:00
Isaac Connor
ddb377245e
fix error report
2016-02-10 13:29:55 -05:00
Isaac Connor
b7256a6891
Merge branch 'master' into storageareas
...
Conflicts:
CMakeLists.txt
configure.ac
db/zm_create.sql.in
version
2016-02-10 09:17:40 -05:00
Isaac Connor
2cd21a07c0
use system() instead of backticks
2016-02-10 09:09:36 -05:00
Isaac Connor
1cb8a7ecf5
add missing -
2016-02-10 09:07:48 -05:00
Andrew Bauer
7a9740b1a4
Update zmtelemetry.pl.in
2016-02-09 14:35:45 -06:00
Kyle Johnson
609784f902
Update telemetry host, port and protocol
2016-02-09 12:49:09 -07:00
Andy Bauer
b718bd298f
Merge branch 'vivotek-ePTZ' of https://github.com/schrorg/ZoneMinder into schrorg-vivotek-ePTZ
2016-02-09 06:56:38 -06:00
Dmitry Smirnov
5bcc414038
codespell: misc. spelling corrections
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2016-02-08 20:41:36 +11:00
Andrew Bauer
f607e3a6fa
zmtelemetry - the typo of my typo is my friend
2016-02-06 14:50:02 -06:00
Andrew Bauer
4ad31695ba
fix typo in cmakefile
2016-02-06 14:25:00 -06:00
Andrew Bauer
e0ee05e05c
add zmtelemetry to cmake
2016-02-06 14:10:42 -06:00
Andrew Bauer
8a537029ea
Initial commit to add zmtelemetry.pl
2016-02-06 14:08:28 -06:00
Isaac Connor
2ca2b07a5e
detaint calls for concurrent zmfilter.pl
2016-02-05 13:14:04 -05:00
Isaac Connor
d7f350ac34
fix parm => name
2016-02-05 11:41:54 -05:00
Isaac Connor
009211ae1e
exec zmfilter concurrently if the flag is et
2016-02-05 11:24:40 -05:00
Isaac Connor
1837cc89ea
Merge branch 'schrorg-vivotek-ePTZ' into storageareas
...
Conflicts:
CMakeLists.txt
configure.ac
version
2016-02-04 12:24:07 -05:00
Isaac Connor
89cff287cd
Merge branch 'master' into storageareas
2016-02-04 12:14:16 -05:00
Isaac Connor
d65c9d797b
fix merge, update to 1.30.1
2016-02-04 12:13:48 -05:00
Isaac Connor
9ace6c518d
Merge pull request #1225 from Simpler1/profiles
...
Added profiles for Wanscam-HW0025 and IPCC-7210W
2016-02-04 11:55:48 -05:00
Isaac Connor
d3755611c5
Merge pull request #1247 from bodegard/master
...
Corrected DB update version comments, fixed typos, and skin font modification
2016-02-04 11:54:02 -05:00
Isaac Connor
52e16dbdd0
Merge pull request #1249 from knnniggett/pelcop
...
Fix PelcoP checksum calculation
2016-02-04 11:52:51 -05:00
Andrew Bauer
748754a213
Merge pull request #1209 from adamreiser/StrictKeyChecking
...
Strict key checking
2016-02-04 10:07:19 -06:00
Isaac Connor
11b206e281
fix getPath -> Path
2016-02-01 12:52:14 -05:00
Isaac Connor
ff46344175
Use Storage Areas in geteventPath
2016-02-01 12:51:43 -05:00
SteveGilvarry
7301e803ed
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
...
Conflicts:
src/zm_monitor.cpp
src/zm_monitor.h
2016-01-30 15:45:08 +11:00
Andy Bauer
fa168027b3
Fix PelcoP checksum calculation
2016-01-24 07:45:04 -06:00
Andrew Bauer
50b113cd02
Merge pull request #1189 from marcolino7/master
...
PTZ - Added autostop to Down command on FI8918W
2016-01-24 07:40:30 -06:00
Brandon Odegard
9c72579c2e
Corrected typo in function info
2016-01-22 12:12:39 -06:00
Andy Bauer
66c66106f5
Process off+time delay condition
2016-01-15 20:31:31 -06:00
Isaac Connor
7700623b16
Move SQL debug to Execute
2016-01-13 09:02:37 -05:00
Isaac Connor
f1831383da
add a check for valid event link. Ignore anything that doesn't look right
2016-01-08 10:36:38 -05:00
Isaac Connor
270c737f40
Merge branch 'master' into storageareas
2016-01-05 09:36:36 -05:00
Isaac Connor
f0486e5b5e
fix dumb mistake, undefing ZM_SERVBER_ID after setting it.
2016-01-04 22:07:07 -05:00
Isaac Connor
a6c3d05071
Debug return events and the sql used
2016-01-04 16:01:07 -05:00
Isaac Connor
455f6d5b7b
have to use ->Path() as {Path} might not be filled in
2016-01-04 15:57:35 -05:00
Isaac Connor
88f902ea20
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2016-01-04 15:29:10 -05:00
Isaac Connor
17adc2b4e5
Rough in a Monitor class
2016-01-04 15:27:42 -05:00
Isaac Connor
196339b48b
Add new object classes to autoconf
2016-01-04 15:19:46 -05:00
Isaac Connor
6e685ec8c8
add Monitor object class and use it in zmaudit.pl to print out path where monitor should have been
2016-01-04 15:13:01 -05:00
Isaac Connor
f04ba9c87e
linefeed when saying that a db monitor doesn't exist in fs
2016-01-04 15:05:49 -05:00
Isaac Connor
fb7b171d6e
fix merge
2016-01-04 14:37:23 -05:00
Simpler1
1432c6ae1f
Added profiles for Wanscam-HW0025 and IPCC-7210W
2016-01-04 12:30:46 -05:00
Isaac Connor
b1205bcaa9
Merge branch 'multi-server' into storageareas
...
Conflicts:
CMakeLists.txt
configure.ac
scripts/zmaudit.pl.in
version
2016-01-02 14:45:24 -05:00
Isaac Connor
bf2195828f
Merge branch 'multi-server' into storageareas
...
Conflicts:
docs/installationguide/index.rst
2016-01-02 14:42:47 -05:00
Andrew Bauer
fc5de5a4f3
Merge pull request #1215 from ZoneMinder/multi-server
...
Multi server
2016-01-01 21:50:31 -06:00
Isaac Connor
54bff42fa0
Remove warnings when no server set
2016-01-01 21:27:30 -05:00
Andrew Bauer
c827f55580
Merge pull request #1040 from ZoneMinder/multi-server
...
Multi server
2016-01-01 09:36:04 -06:00
Isaac Connor
6537b61c36
put Storage Path in prompt when filesystem monitor doesn't exist in db
2015-12-30 08:08:01 -05:00
Adam Reiser
659b3f37f5
Stylistic fix
2015-12-29 21:08:24 -08:00
Adam Reiser
28bf4dfe7b
Add option for strict host key checking
2015-12-29 16:34:11 -08:00
Isaac Connor
07af49511c
Load Storage Object so that we can print it's path
2015-12-24 15:33:46 -05:00
Isaac Connor
d943488475
add sub Storage
2015-12-24 15:32:30 -05:00
Isaac Connor
92ddd57942
include storage path when saying an event is too young to delete
2015-12-24 15:28:36 -05:00
Isaac Connor
ec0d6359a0
Merge branch 'newpointone' of isaac.internal.point-one.com:ZoneMinder.p1 into newpointone
2015-12-24 15:26:24 -05:00
Isaac Connor
177ed076a7
Make zmaudit only look at storage areas that are local
2015-12-24 15:25:56 -05:00
Isaac Connor
492550b5ef
Merge branch 'storageareas' into newpointone
...
Conflicts:
scripts/zmaudit.pl.in
2015-12-24 12:36:40 -05:00
Isaac Connor
c174d74987
Set MOnitorId and StorageID because the Event does not exist in the db
2015-12-24 12:36:16 -05:00
Isaac Connor
45987e92a9
Merge branch 'storageareas' of github.com:ZoneMinder/ZoneMinder into storageareas
2015-12-24 12:34:55 -05:00
Isaac Connor
dfa9a5a390
Add AUTOLOAD
2015-12-23 14:31:56 -05:00
Isaac Connor
1328492c64
fixes
2015-12-23 14:16:09 -05:00
Isaac Connor
33a3661958
cleanup, revent to openprint style objects
2015-12-23 14:03:40 -05:00
Isaac Connor
f32344c647
Add output options to the concat cmd line
2015-12-23 09:33:33 -05:00
SteveGilvarry
1ff2043774
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2015-12-23 19:24:08 +11:00
Isaac Connor
ac0425d14b
sort events before testing and deleting. Makes the output easier to grok
2015-12-22 15:08:38 -05:00
Isaac Connor
12a5621fb8
remove deleted event from fs_events hash so that we don't do it more than once
2015-12-22 14:31:24 -05:00
Isaac Connor
9c6041d55b
require Object
2015-12-22 13:13:45 -05:00
Isaac Connor
39bcb20dac
Skip directories that have non-digits in them
2015-12-22 12:59:37 -05:00
Isaac Connor
9ad22d9ee5
have to set the MonitorId on events that don't exist in db
2015-12-22 12:55:55 -05:00
Isaac Connor
3932ce692c
remove Exporter stuff
2015-12-22 12:55:36 -05:00
Isaac Connor
171fcf0dca
Use Object
2015-12-22 12:40:15 -05:00
Isaac Connor
bc4ce4f009
add Event require and document lgob behaviour and skip monitor dirs that have anything other than digits in them
2015-12-22 12:35:25 -05:00
Isaac Connor
26a92e5fed
require Object
2015-12-22 12:23:24 -05:00
Isaac Connor
7663955dc8
Merge branch 'storageareas' into newpointone
...
Conflicts:
scripts/zmaudit.pl.in
2015-12-22 12:14:29 -05:00
Isaac Connor
e2f8b1adc3
rough in generic object, using some similar syntax to dbix
2015-12-22 12:13:57 -05:00
Isaac Connor
06a5a6d879
rough in Storage area support
2015-12-22 11:50:29 -05:00
Isaac Connor
c9dc53b237
add in find and find_one
2015-12-22 11:50:08 -05:00
Isaac Connor
d4a7258766
rough in Storage Area support
2015-12-22 11:10:17 -05:00
Isaac Connor
1aa79c306b
Merge branch 'multi-server' of github.com:ZoneMinder/ZoneMinder into multi-server
2015-12-22 09:47:45 -05:00
Isaac Connor
12d87c252f
Don't do Videod = 0, since zmvideo might need them to concatting and they won't regenerated if they exist anyways. Or maybe we want to encode them at a higher framerate or something
2015-12-21 16:04:31 -05:00
Isaac Connor
239b494db8
Add M.Id as MonitorID
2015-12-21 15:31:33 -05:00
Isaac Connor
07260adb2a
append ZoneMinder::General to executeShellCommand
2015-12-21 15:30:05 -05:00
Isaac Connor
a4024ffebc
Must do E.*, not *
2015-12-21 15:29:27 -05:00
Isaac Connor
9d454bdc41
Add test for empty storage path
2015-12-21 15:29:18 -05:00
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
Robin Daermann
a942b22541
Add camera control module for Vivotek ePTZ protocol
2015-11-04 17:12:07 +01:00
dreaddy
35617a6cf7
#1128 - Added option to enable send email by ssmtp mail. Option for custom ssmtp path. Conditional checks for new options in filter
2015-11-02 22:16:10 -05:00
Isaac Connor
44168ce05e
Merge branch 'master' into multi-server
2015-10-30 11:29:03 -04:00
SteveGilvarry
d45cf9607b
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2015-10-28 08:12:46 +11:00
Kyle Johnson
1cce60f6ec
Update version check URL
2015-10-23 11:45:32 -06:00
SteveGilvarry
d8494aba2d
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
...
Conflicts:
src/zm_monitor.cpp
src/zm_monitor.h
src/zm_remote_camera_rtsp.h
web/skins/classic/views/monitor.php
2015-10-23 22:07:22 +11:00
Isaac Connor
582cbe7567
Merge branch 'master' into multi-server
2015-10-15 09:01:19 -04:00
Isaac Connor
1367de292e
Fix error message when no ZM_SERVER_NAME or ZM_SERVER_HOST set
2015-10-07 08:57:50 -04:00
Isaac Connor
79d8e4b74f
Merge branch 'master' into fix_zmaudit
2015-10-06 09:30:32 -04:00
Isaac Connor
4a506368dc
Fix zmaudit sleeping and deleting Empty Events now that Frames also has an Id field
2015-10-06 09:30:10 -04:00
Pliable Pixels
e0e048fe7e
fixed version compare logic
2015-10-04 09:10:05 -04:00
Isaac Connor
aa108eff6e
Add Info line on startup saying which Server it is loading for
2015-10-02 12:33:09 +00:00
Isaac Connor
b0b69c5176
parse ZM_SERVER_HOST into ZM_SERVER
2015-10-02 12:32:41 +00:00
Isaac Connor
ea87ffe66f
merge master, bump version to 1.28.108
2015-10-01 11:52:49 -04:00
Bobby Billingsley
4eb4bdbfb5
Added control script for SunEyes SP-P1802SWPTZ
...
(http://www.amazon.com/SunEyes-SP-P1802SWPTZ-Wireless-Camera-1080P/dp/B00MOTBXK6 )
2015-09-30 13:39:50 +02:00
Isaac Connor
e4b0e74f69
merge master
2015-09-24 10:01:27 -04:00
Isaac Connor
d754239a51
add debug statements for when LastWriteTime is not defined.
2015-09-24 09:57:58 -04:00
Isaac Connor
4c2545a5ca
Merge branch 'master' into multi-server
2015-09-17 15:39:26 -04:00
Isaac Connor
6e3c8bb380
revert
2015-09-14 15:15:44 -04:00
Isaac Connor
204f2b1e22
Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
2015-09-10 13:20:06 -04:00
Isaac Connor
31ad75dea9
only add -h hostname to mysql command if it is defined. This helps support local unix-socket mysql access
2015-09-10 13:04:52 -04:00
Pliable Pixels
73fa051ef8
Google recaptcha
2015-08-29 13:29:52 -04:00
Isaac Connor
9cdf8ec317
tabs to spaces
2015-08-27 11:13:44 -04:00
Isaac Connor
80a294da34
tabs to spaces
2015-08-27 11:10:13 -04:00
Isaac Connor
75919c9cd5
Merge branch 'master' into multi-server
...
Conflicts:
docs/installationguide/ubuntu.rst
misc/apache.conf.in
src/zm_monitor.cpp
2015-08-27 10:34:47 -04:00
Pliable Pixels
b4e9a0f0cf
whitespacing
2015-08-26 12:08:10 -04:00
Pliable Pixels
46bd7b492b
adds sanity checks to isActive and default states
2015-08-26 11:20:58 -04:00
Isaac Connor
41637278c9
merge master
2015-08-19 16:08:12 -04:00
SteveGilvarry
f09a551d6a
Merge branch 'master' into feature-h264-videostorage
2015-07-28 21:06:52 +10:00
Isaac Connor
5a363273a2
Merge branch 'master' into multi-server
...
Conflicts:
distros/ubuntu1504/changelog
2015-07-16 16:37:44 -04:00
Andrew Bauer
10adae3696
Merge pull request #941 from ZoneMinder/trigger_on_space
...
add space instead of + to handle old Axis cameras
2015-07-16 13:09:36 -05:00
Isaac Connor
ad23969982
add space instead of + to handle old Axis cameras
2015-07-16 13:06:15 -04:00
Dmitry Smirnov
c788d70b93
zmtrigger: POD documentation
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-07-16 18:35:42 +10:00
Isaac Connor
ca9a391d62
Only load the monitors for our server
2015-07-15 16:24:01 -04:00
Isaac Connor
b8888b9d55
Only load triggers for our Server if ZM_SERVER_ID is set
2015-07-15 16:22:43 -04:00
Andrew Bauer
4e5ca2cead
Merge pull request #937 from ZoneMinder/better_logging
...
improve log
2015-07-15 15:21:08 -05:00
Andrew Bauer
104f375669
Merge pull request #936 from ZoneMinder/handle_serial_trigger_problem
...
add error handling on failure to open serial port
2015-07-15 15:20:56 -05:00
Isaac Connor
51af432468
Only load monitors for our server if ZM_SERVER_ID is specified
2015-07-15 16:18:05 -04:00
Isaac Connor
e318c3bf37
Add ServerId as a filter option
2015-07-15 16:12:35 -04:00
Isaac Connor
01518d6aa9
fix. without this zmc won't restart automatically
2015-07-15 16:08:02 -04:00
Isaac Connor
e4b3344a8c
improve log
2015-07-15 16:06:55 -04:00
Isaac Connor
cf3f160783
add error handling on failure to open serial port
2015-07-15 16:02:02 -04:00
Isaac Connor
4630bad24b
add http to control url if it isn't present
2015-07-15 15:59:21 -04:00
Andy Bauer
561bf43721
fix pod2man generation for out-of-source builds
2015-07-09 19:33:06 -05:00
Isaac Connor
58448adb51
Merge pull request #896 from knnniggett/pod2man
...
Generate man pages for perl scripts & C Binaries in the bin folder
2015-07-03 11:40:24 -04:00
Andy Bauer
1aebbec4e8
Merge branch '898-isRunning-States' of https://github.com/pliablepixels/ZoneMinder into pliablepixels-898-isRunning-States
...
Conflicts:
db/zm_create.sql.in
db/zm_update-1.28.99.sql
2015-06-27 16:32:32 -05:00
Andrew Bauer
b867ee4c4c
Merge pull request #891 from ZoneMinder/zmwatch_cleanup2
...
Zmwatch cleanup2
2015-06-23 08:36:42 -05:00
Andrew Bauer
30c7ab697c
Merge pull request #847 from ZoneMinder/faster_shutdown
...
faster shutdown
2015-06-23 08:19:25 -05:00
Isaac Connor
e4106e34a1
put back build replacements, don't know how I lost those
2015-06-22 13:56:27 -04:00
Andrew Bauer
91e7281695
Merge pull request #890 from ZoneMinder/zmwatch_cleanup1
...
reverse the if statement to reduce indenting
2015-06-22 12:53:06 -05:00
Isaac Connor
612e96bbfe
fix problem causing processes to not be restarted. Also, tabs to spaces
2015-06-22 13:37:26 -04:00
Pliable Pixels
e758d9bf7c
Modified to handle setting isActive for custom states
2015-06-21 09:30:46 -04:00
Andrew Bauer
fa835359a1
Add install target for C binary man pages
2015-06-20 17:33:13 -05:00
Andrew Bauer
13b9921680
Modify zmsystemctl pod documentation
2015-06-20 16:13:40 -05:00
Andrew Bauer
fd239f6545
Generate man pages for perl scripts in the bin folder
2015-06-20 15:22:11 -05:00
Pliable Pixels
f8cc27e224
Protocol for 8918W
2015-06-19 15:45:50 -04:00
Pliable Pixels
991291ce67
declared so perl does not complain of globals
2015-06-19 14:12:08 -04:00
Pliable Pixels
39ee845ff0
Updated 9831W foscam script
2015-06-19 12:58:40 -04:00
Isaac Connor
1f87a696cf
improve debugging for analysis check and restart if can't read shared data
2015-06-19 11:07:20 -04:00
Isaac Connor
3be4a0aa11
re-enable restarting capture process if mem invalid
2015-06-19 09:04:19 -04:00
Isaac Connor
a9175705c1
reverse the if statement to reduce indenting
2015-06-19 08:59:49 -04:00
SteveGilvarry
9b06b1399c
Merge branch 'master' into feature-h264-videostorage
...
Conflicts:
scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
scripts/ZoneMinder/lib/ZoneMinder/Memory.pm.in
src/zm_ffmpeg_camera.cpp
web/skins/classic/views/event.php
web/skins/classic/views/monitor.php
web/skins/classic/views/timeline.php
2015-06-10 23:09:30 +10:00
Isaac Connor
f6a226e700
Correct bareword config entries with newer {} style
2015-05-27 10:00:24 -04:00
Isaac Connor
47192156cd
alter shutdown behaviour to send a term signal to all processes and then go through again to send a KILL if neccessary. This eliminates unneccesary sleeping.
2015-05-21 15:37:08 -04:00
Andrew Bauer
d509861f9e
Merge pull request #838 from ZoneMinder/zmaudit_update1
...
Zmaudit update1: Make MIN_AGE Configurable
2015-05-21 12:10:08 -05:00
Rick Sayre
8c7e633d8f
Undo ZM_VERSION changes
2015-05-18 21:55:00 -07:00
Rick Sayre
ffe46978d2
Undid PATH change, needed for mysqldump; which I see is indeed called
...
many other places with incorrect paths.
Make macros should be setting all this up correctly!
mysqldump is [for example] in /opt/local/bin, not /usr/bin, with pkgin
2015-05-18 21:49:08 -07:00
Rick Sayre
fb5c1abc87
Undid ZM_VERSION hacks
2015-05-18 21:44:41 -07:00
Rick Sayre
12516da3dc
Patched in changes to 1.28.1 to allow OmniOS/Illumos to build and work
...
haven't attempted to build yet, there are some changes
2015-05-17 17:18:54 -07:00
Isaac Connor
8eb5e53aad
Remove with {ZM_PATH_SWAP}
2015-05-14 10:27:11 -04:00
Isaac Connor
3709ac411d
Not having ZM_AUDIT_MIN_AGE should be fatal
2015-05-13 12:36:35 -04:00
Isaac Connor
950cd06535
Revert "Revert "Switch from a MIN_AGE constant in zmaudit.pl to using a ZM_AUDIT_MIN_AGE Config setting""
...
This reverts commit 9c73b7247c
.
2015-05-13 11:38:55 -04:00
Isaac Connor
9c73b7247c
Revert "Switch from a MIN_AGE constant in zmaudit.pl to using a ZM_AUDIT_MIN_AGE Config setting"
...
This reverts commit a5fed03524
.
2015-05-13 11:37:13 -04:00
Isaac Connor
a5fed03524
Switch from a MIN_AGE constant in zmaudit.pl to using a ZM_AUDIT_MIN_AGE Config setting
2015-05-13 11:33:22 -04:00
Isaac Connor
246fadb097
support the old use of just putting the password in the control field
2015-05-13 08:23:16 -04:00
Isaac Connor
e8114c90bb
Fix printMsg. We don't use it as an object method. Update to parse a user:password out of ControlAddress which is what a lot of other scripts do.
2015-05-12 17:08:55 -04:00
Andrew Bauer
c7a50a7cbc
Replace newlines with a space
2015-05-09 12:13:38 -05:00
Andrew Bauer
c7c0622673
rpmbuild incorrectly interprets the text "use standard" as a Perl module dependency.
2015-05-09 12:10:12 -05:00
Dmitry Smirnov
eddada011c
spelling corrections (thanks, /usr/bin/codespell)
2015-04-19 20:38:23 +10:00
Dmitry Smirnov
abc8d3fdd1
ConfigData.pm: wrap extraordinary long lines using new "qqq()" function.
2015-04-19 18:15:51 +10:00
Dmitry Smirnov
458ed9ede9
ZoneMinder.pm: minor re-wrapping
2015-04-19 18:15:23 +10:00
Dmitry Smirnov
62c1429039
wrap long lines
2015-04-19 16:31:53 +10:00
Dmitry Smirnov
6a150d2607
tabs-to-spaces
2015-04-19 15:17:10 +10:00
Dmitry Smirnov
85d75b0b27
Logger.pm: define '$LOGFILE'
...
non-bareword LOGFILE should be defined.
2015-04-17 11:15:49 +10:00
Dmitry Smirnov
59b63188cb
eliminating {Two-argument "open"}/{Bareword file handle}. See pages 202,204 of PBP. (Severity: 5)
2015-04-17 09:33:06 +10:00
Dmitry Smirnov
3d512dbada
eliminate Subroutine prototypes
2015-04-17 09:22:47 +10:00
Dmitry Smirnov
f02b9c94ec
PelcoP.pm: correct package declaration (thanks, perlcritic)
...
Package declaration must match filename at line 25, column 1. Correct the filename or package statement. (Severity: 5)
2015-04-17 08:24:01 +10:00
Dmitry Smirnov
b0909a4c57
autouse Data::Dumper
2015-04-16 15:48:51 +10:00
Dmitry Smirnov
b0d98c6052
zmx10.pl: pod2usage + readability
2015-04-16 15:48:50 +10:00
Dmitry Smirnov
14f3c106fe
zmwatch.pl: comments to POD + readability
2015-04-16 15:48:49 +10:00
Dmitry Smirnov
7ba03132fc
zmvideo.pl: pod2usage + readability
2015-04-16 15:48:48 +10:00
Dmitry Smirnov
fcdd9b6fb5
zmtrigger.pl: comments to POD + readability
2015-04-16 15:48:47 +10:00
Dmitry Smirnov
60b355cb92
zmtrack.pl: pod2usage + readability
2015-04-16 15:48:36 +10:00
Dmitry Smirnov
6f3baca5cd
zmsystemctl.pl: pod2usage
2015-04-16 14:38:27 +10:00
Dmitry Smirnov
b3b9647740
zm.in: tabs-to-spaces
2015-04-16 14:26:31 +10:00
Isaac Connor
1668949f18
Merge pull request #792 from knnniggett/perl
...
cmake - use perl INSTALLDIRS
2015-04-15 11:07:14 -04:00
Isaac Connor
c17d156d95
Merge pull request #798 from onlyjob/PBP
...
zmcontrol.pl, zmfilter.pl: pod2usage + readability improvements.
2015-04-13 10:19:59 -04:00
Andrew Bauer
30765fdedf
hide USE_DEEP_STORAGE
2015-04-12 12:20:20 -05:00
Dmitry Smirnov
afb127125d
zmpkg.pl: correction for "Use of uninitialized value $command in string eq at zmpkg.pl line 62"
2015-04-11 22:41:07 +10:00
Dmitry Smirnov
fa97348535
zmpkg.pl: pod2usage, tabs-to-spaces + readability
2015-04-11 22:39:32 +10:00
Dmitry Smirnov
ac685fd247
zmfilter.pl: pod2usage + beautification
2015-04-11 11:18:21 +10:00
Dmitry Smirnov
fba085a1c5
zmcontrol.pl: pod2usage (draft) + minor readability improvements.
...
Looks like "zmcontrol.pl" was based upon "zmfilter.pl" so it inherited
commented description of the latter.
Therefore "zmcontrol.pl" needs a description...
2015-04-11 11:15:56 +10:00
Andrew Bauer
0cf82a0b71
Allow user to override perl installation. Replace old perl cmake vars with new.
2015-04-10 12:09:01 -05:00
Dmitry Smirnov
53907eeba1
zmcamtool.pl: readability
2015-04-11 00:35:40 +10:00
Dmitry Smirnov
90fa57788a
zmcamtool.pl: pod2usage
2015-04-11 00:35:35 +10:00
Dmitry Smirnov
4dee542e99
zmcamtool.pl: tabs-to-spaces
2015-04-11 00:07:36 +10:00
Dmitry Smirnov
4bb8043fe5
zmaudit.pl: PBP/5 + readability
2015-04-10 20:34:17 +10:00
Dmitry Smirnov
aeb3486322
zmaudit.pl: convert to pod2usage
2015-04-10 20:34:17 +10:00
Andrew Bauer
e6631ebaf1
Propagate new perl changes to the ONVIF perl modules
2015-04-09 20:11:32 -05:00
Dmitry Smirnov
373b53f8f3
zmdc.pl: Usage() --> pod2usage()
2015-04-09 03:56:04 +10:00
Dmitry Smirnov
81860d99a6
zmdc.pl: PBP/5 + reformatting
2015-04-09 03:55:51 +10:00
abauer
a2d9c0c042
Don't copy .in files into staging
2015-04-08 12:22:46 -05:00
Andrew Bauer
e895fd26f7
cmake - use perl INSTALLDIRS
2015-04-07 08:19:21 -05:00
Dmitry Smirnov
904f2989ed
Improving ZM_USE_DEEP_STORAGE description ( #783 ):
...
Removed "If you are upgrading from a previous version of ZoneMinder" from
description. From data loss prospective it is irrelevant whether database
is upgraded or not as fresh install is just as vulnerable.
Changed "enable" to "change" to emphasize the above.
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-04-06 18:39:13 +10:00
Dmitry Smirnov
078c5aa14b
Briefly document "--migrate-events" option in zmupdate.pl ( #783 ).
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-04-06 18:38:14 +10:00
Andrew Bauer
3e8c894a3e
Update ConfigData.pm.in
2015-04-04 09:20:21 -05:00
Isaac Connor
2671e71e33
Merge pull request #763 from onlyjob/podhelp
...
POD: zmupdate.pl converted to "pod2usage"
2015-03-30 13:29:03 -04:00
Dmitry Smirnov
5f6c559476
POD: zmupdate.pl converted to "pod2usage"
...
Best practice for POD documentation is to (re-)use it for displaying usage
info. Now `perldoc zmupdate.pl` shows expected information and we can even
generate man page automatically with `pod2man zmupdate.pl`.
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-03-31 02:47:16 +11:00
Dmitry Smirnov
b0faa138bd
POD: added missing NAME sections
...
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-03-30 15:07:03 +11:00
Dmitry Smirnov
11f7af3b03
fixing POD errors
...
manpage-has-errors-from-pod2man (forgotten '=back' before '=head2')
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-03-30 14:41:01 +11:00
SteveGilvarry
b3313edde0
Merge remote-tracking branch 'upstream/master' into Video-Highlander-Branch
...
Conflicts:
web/skins/classic/views/event.php
2015-03-21 23:49:56 +11:00
Andrew Bauer
7ef503ff59
User configurable arp tool
2015-02-21 13:08:04 -06:00
Andy Bauer
9f3ff787d1
Merge branch '478-onvif-support' of https://github.com/altaroca/ZoneMinder into altaroca-478-onvif-support
...
Conflicts:
CMakeLists.txt
configure.ac
db/zm_create.sql.in
distros/redhat/archive/zoneminder.el6.spec
distros/redhat/zoneminder.el6.spec
web/skins/classic/views/monitor.php
2015-02-18 18:53:47 -06:00
SteveGilvarry
79c82ea880
Merge remote-tracking branch 'upstream/master' into Video-Highlander-Branch
2015-02-17 23:16:42 +11:00
Isaac Connor
856a8ce1d0
minor improvement removing 1 coll to time()
...
improve logging tell which monitor the event belonged to
2015-02-06 09:30:48 -05:00
Isaac Connor
20fec3ed7a
According perldoc DBI we should NOT be calling finish after processing all rows.
2015-02-04 11:15:31 -05:00
Andrew Bauer
d787ad3f7a
Merge pull request #666 from ZoneMinder/kill_zmcontrol
...
Kill zmcontrol
2015-01-07 17:28:08 -06:00
Isaac Connor
21ccb9b91a
introduce the quit command which makes the resident zmcontrol.pl exit
2015-01-07 16:37:26 -05:00
Isaac Connor
a10f2aa31c
Add version to the usage line in zmx10.pl
2015-01-07 09:14:00 -05:00
Isaac Connor
7f934e0e69
Add version to the usage line in zmvideo.pl
2015-01-07 09:11:07 -05:00
Isaac Connor
5b79139a05
Add version to the usage line in zmsystemctl.pl
2015-01-07 09:07:40 -05:00
Isaac Connor
3013d87783
Add -v --version command line param to zmpkg.pl
2015-01-07 09:05:16 -05:00
Isaac Connor
8ea01e631b
Add -v --version command line param to zmfilter.pl
2015-01-07 09:00:46 -05:00
Isaac Connor
94e0ec542a
Add -v --version command line param to zmdc.pl
2015-01-07 08:47:32 -05:00
Isaac Connor
76d0dfa475
Add -v --version command line param to zmcamtool.pl
2015-01-07 08:43:51 -05:00
Isaac Connor
71c94475ff
Add -v --version command line parameters to zmaudit.pl
2015-01-06 21:08:41 -05:00
Stephen Arthur
89a603cf27
Modified zmfilter.pl.in to fix #652 , crashing while processing background filter with no terms
2015-01-03 12:45:18 -05:00
Isaac Connor
4c97bd1137
Merge pull request #638 from KristofRobot/instantNotification
...
zmfilter: Send message for events that are still ongoing
2014-12-29 12:02:51 -05:00
SteveGilvarry
b79c2c1604
Merge remote-tracking branch 'upstream/master' into Video-Highlander-Branch
...
Conflicts:
web/skins/classic/views/event.php
web/skins/classic/views/timeline.php
Also reapplied required PHP Short Tags fix to a event.php and monitor.php that got impacted in merge.
2014-12-25 08:24:48 +10:00
Isaac Connor
50e6784779
this adds two config options to System tab to set the default skin and css
2014-12-17 16:45:41 -05:00
Isaac Connor
d7586c2a28
fix a bare ZM_PATH_BIN which should be $Config{ZM_PATH_BIN}
2014-12-17 16:35:30 -05:00
Kristof Robot
643438e3f2
zmfilter: Send message for events that are still ongoing
2014-12-15 08:15:59 +01:00
Isaac Connor
78f0243c69
This replaces Module::Load with Module::Load::Conditional which can actually handle errors.
...
Then I move the module load call up before the fork so that any errors will be visible and will make zmcontrol.pl die quickly instead of waiting 11 seconds for something that will never happen.
2014-12-12 16:33:18 -05:00
Isaac Connor
a52f07fa8e
Some cleanups, remove code that does nothing.
...
Instead of using ControlDevice to store the password, parse the ControlAddress to get username, password
enforce a port, which fixes the Digest Auth.
2014-12-08 15:54:27 -05:00
SteveGilvarry
cc85424999
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
...
Conflicts:
src/zm_ffmpeg_camera.cpp
2014-12-02 20:18:24 +11:00
Isaac Connor
f69f46c2fb
Don't use Data::Dumper unless you are actually using it for debugging. No need to use ram. It is probably being included by one of the libraries anyways, but let's at least try to keep things as light as possible.
2014-11-25 14:44:08 -05:00
Andrew Bauer
9d7f3c2026
Update zm.in
...
The legacy sysv init script will not work with systemd. This is by design.
2014-11-23 11:09:52 -06:00
Andrew Bauer
83120e69b1
Merge pull request #584 from ZoneMinder/zmupdatefixes
...
Zmupdatefixes
2014-11-19 13:09:07 -06:00
Isaac Connor
cc989dbe19
fix putting the mode back. I merged it to the wrong place
2014-11-19 13:54:10 -05:00
Isaac Connor
f8dd2c6eaf
Merge branch 'master' into controlversionfixes
2014-11-19 12:53:28 -05:00
Isaac Connor
793998484c
Merge branch 'master' into zmupdatefixes
...
Conflicts:
scripts/zmupdate.pl.in
2014-11-19 12:47:31 -05:00
Andrew Bauer
a00f719f12
Merge pull request #531 from SteveGilvarry/ffmpeg-stability-fixes
...
351-Rebase Attempt for ffmpeg stability fixes
2014-11-13 15:18:13 -06:00
jmcastro2014
5fe0b84b3c
Create 3S.pm
...
3S API Control Protocol Module
2014-11-12 08:40:35 -03:00
Isaac Connor
17e38560d6
just update the perldoc parts
2014-11-06 10:02:34 -05:00
SteveGilvarry
2712da614e
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2014-11-05 19:51:15 +11:00
Isaac Connor
4863ce96a3
remove annoying warning.
2014-10-31 14:12:36 -04:00
Isaac Connor
c9c6c17699
add script for TVIP862IC. Should also work with IP672 and others.
2014-10-22 15:08:58 -04:00
Isaac Connor
e23c756ca4
Revert "replace uri_encode with uri_escape"
...
This reverts commit ce5396f4ea
.
2014-10-21 15:17:34 -04:00
Isaac Connor
ce5396f4ea
replace uri_encode with uri_escape
2014-10-21 09:47:31 -04:00
Isaac Connor
5dedbc2135
detect when the control address has a http in front, and do the right thing
2014-10-20 16:55:24 -04:00
Isaac Connor
9ce7da4147
Don't 'use Data::Dumper'; it was only there for debug
2014-10-20 16:47:03 -04:00
SteveGilvarry
ee90541370
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
2014-10-18 15:02:43 +11:00
Isaac Connor
a043526994
Merge pull request #462 from knnniggett/memory
...
Fix for shared data size conflict
2014-10-17 09:18:21 -04:00
Isaac Connor
58b826b0a2
more url documentation
2014-10-15 13:14:56 -04:00
Isaac Connor
348538b778
distros/ubuntu1204/changelog
2014-10-15 13:14:19 -04:00
Isaac Connor
9eb88d3f15
add a check for db connection to handle the db going away and coming back
2014-10-15 09:43:00 -04:00
SteveGilvarry
4245928b35
Merge remote-tracking branch 'upstream/master' into feature-h264-videostorage
...
Conflicts:
src/CMakeLists.txt
src/zm_monitor.cpp
web/skins/classic/js/skin.js
2014-10-12 20:10:36 +11:00
Sune1337
a307b8a1e3
Use value from options (FFMPEG_OPEN_TIMEOUT) as timeout when calling av_open_input_file.
2014-10-12 16:23:58 +11:00
Andrew Bauer
9c8419f89a
detaint to keep perl from complaining
2014-10-10 09:03:30 -05:00
Andrew Bauer
19482851ff
New method to determine bitness
2014-10-10 08:10:03 -05:00
Andrew Bauer
1a5844afef
auto-recreate missing folders during startup
2014-10-05 11:25:41 -05:00
Andrew Bauer
56fd08d6e9
Change TMPDIR default to /var/tmp, Add ZM_SOCKDIR
2014-10-05 09:42:47 -05:00
Jan M. Hochstein
f1b2ba091c
Update meta makefiles
2014-09-12 16:06:19 +02:00
Andrew Bauer
60ed8d7366
Update ConfigData.pm.in
...
Changing the help text for DIR_EVENTS, DIR_IMAGES, and DIR_SOUNDS to make it more obvious that one should not specify a folder outside the web root and that one should probably not ever change these values from their default.
2014-09-12 08:05:15 -05:00
Kyle Johnson
4d579e239a
Merge pull request #502 from knnniggett/systemd-2
...
Initial systemd support.
2014-09-03 15:59:42 -04:00
Isaac Connor
980a7a83bf
Add some text referencing the settings on the monitor settings page
2014-08-21 10:04:08 -04:00
Andrew Bauer
ad364d090a
rename and process zmsystemctl.pl.in
2014-08-19 17:19:44 -05:00
Andrew Bauer
411d77dc7f
remove obsoleted code
2014-08-13 19:02:59 -05:00
Andrew Bauer
1e8e710f5a
full systemd support
2014-08-10 08:47:11 -05:00
Isaac Connor
7cbb079370
revert size check for now
2014-08-04 11:26:33 -04:00
Andrew Bauer
254dffa633
Move ONVIF control script & add dB entry
2014-08-03 15:52:59 -05:00
Isaac Connor
a87f75eee0
any size discrepancy is caused for bailing
2014-08-01 11:27:51 -04:00
Isaac Connor
d5a7a1849a
make zmupdate re-run the most recent update.
2014-07-29 09:47:22 -04:00
Florian Asche
fa67e21c07
Update FI9821W_Y2k.pm
...
Fixed this issue:
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 138.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 141.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 144.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 154.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 156.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 195.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 222.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 247.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 275.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 302.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 329.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 356.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 383.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 399.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 414.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 448.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 671.
"my" variable $cmd masks earlier declaration in same scope at FI9821W_Y2k.pm line 690.
2014-07-22 19:06:04 +02:00
Andrew Bauer
3513f87163
Fix for shared data size conflict
2014-07-07 15:56:56 -05:00
stevegilvarry
17d7404c93
Merging master again
2014-06-28 22:50:28 +10:00
Isaac Connor
c58c4a9720
add the glue to define HOST_OS and use it to detect BSD and use different arguments to killall
2014-06-25 15:28:10 -04:00
stevegilvarry
33090f2264
Merge branch 'master' into feature-h264-videostorage
...
Conflicts:
configure.ac
src/zm_config_defines.h
src/zm_ffmpeg.h
web/index.php
2014-05-30 01:55:24 +10:00
stevegilvarry
df3ab025f8
Imported missing files from master to feature-h264-videostorage
2014-05-30 01:47:52 +10:00
Martin Hagelin
a148e04ea2
Update zmtrigger.pl.in
...
zmtrigger.pl should not open serial port #1 by default. There could be situations where other hardware etc. would be attached to the port that is not used by zoneminder.
Better if this can be commented out by default and if a user needs serial access, he can enable it by removing the comment.
This line also gives an permissions error when running on Ubuntu which prevents zmtrigger to start. That error can probably be fixed by adding the zm user permission to the serial port. But the main issue is that if the program does not need access to the port, it should not open it.
2014-04-30 15:07:29 +02:00
barjac
fd9e808fe1
Update zmupdate.pl.in
...
Fix typo 'from' version replaced with 'to' version.
2014-03-24 13:35:53 +00:00
Andrew Bauer
fbf4de5eb2
Update Wanscam.pm
...
No longer needed for zm 1.27
2014-03-19 11:56:08 -05:00
Andrew Bauer
faacea50ef
Update Wanscam.pm
...
Use full package name when using ZM_VERSION
2014-03-19 11:52:58 -05:00
Isaac Connor
626c7bd6b7
pull this from the Wiki
2014-03-19 11:57:42 -04:00
Andrew Bauer
189d9938cc
Add zmcamtool to autotools file manifest
2014-03-16 07:32:18 -05:00
Andrew Bauer
15f014eb8b
Changes from nagyrobi:
...
Todays computer hardware and internet speeds allow for a much more responsive user interface to be ran. I suggest to optimize these values in the "High bandwidth" profile for today's technology. These values were established at least 8 years ago... There's no risk for the user because on a fresh install and new logins, new browsers "Low bandwidth" is always the default. Optimizing these values produce no noticeable load increase on modern hardware, and a snapy, pleasant user interface if desired.
Also increased event image digits because I often run into situations where very long events run out of file naming digits (max 999 files is too short, that's only 40 seconds).
2014-02-26 09:00:10 -06:00
Andrew Bauer
e5ac6e95fa
Update zmupdate.pl.in
...
mysql generates a warning, instead of an error, when trying to convert to InnoDB and that engine is not available. By temporarily elevating warnings to errors, we can catch these rather than silently failing.
2014-02-04 15:30:04 -06:00
Andrew Bauer
f5ce597609
final cleanup and changes before 1.27 release
2014-02-01 12:17:46 -06:00
Andrew Bauer
e707e72fe3
Perl::Critic recommended a couple minor changes
2014-01-25 12:42:33 -06:00
Andrew Bauer
dbe6fc539c
Additional error checking
2014-01-25 11:26:29 -06:00
Andrew Bauer
ae1731477b
further refinements
2014-01-25 10:39:38 -06:00
Andrew Bauer
2037afb3ca
new subroutine runQuery
2014-01-23 08:41:47 -06:00
Andrew Bauer
869a139809
create rmName subroutine
2014-01-22 19:18:08 -06:00
Andy Bauer
91b0676343
Call checkName for certain reptitive tasks
2014-01-22 09:20:56 -06:00
Andrew Bauer
f00e72be1e
Initial commit for new zmcamtool.pl script
2014-01-21 16:22:30 -06:00
tim
05e395613b
Adding PTZ module for Toshiba IK-WB11A
2014-01-14 00:58:12 -08:00
Andrew Bauer
5ccfa305d3
Merge pull request #294 from knnniggett/glob_ptz_scripts
...
glob ptz scripts under control folder
2014-01-06 08:50:48 -08:00
Kyle Johnson
faaf237731
Revert "Broke zmfilter.pl.in in order to test travis"
...
This reverts commit acc158f3cb
.
2014-01-04 15:10:15 -05:00
Kyle Johnson
acc158f3cb
Broke zmfilter.pl.in in order to test travis
2014-01-04 15:04:14 -05:00
Isaac Connor
d185f05006
robustness/code style changes
2014-01-03 12:55:30 -05:00
Isaac Connor
3d55dde548
COnfig fixes
2014-01-03 09:33:49 -05:00
Kyle Johnson
c5afecc2b4
Revert "Introducing a bug in zmfilter.pl.in to test travis"
...
This reverts commit 337750430b
.
2014-01-02 12:15:06 -05:00
Kyle Johnson
337750430b
Introducing a bug in zmfilter.pl.in to test travis
2014-01-02 12:02:07 -05:00
Kyle Johnson
07b4d83d74
Have Usage() in zmcontrol.pl exit 0 instead of -1
2014-01-02 11:50:39 -05:00
Andrew Bauer
0eac723409
glob ptz scripts under control folder
2014-01-01 12:17:13 -06:00
Dmitry Katsubo
20dd76b354
Using the full path for ZM_VERSION. Using "Control Device" value for user/password.
2014-01-01 13:16:53 +01:00
Dmitry Katsubo
3fb76eaf35
Initial version of control file for Foscam IP cameras.
...
Taken from http://www.zoneminder.com/wiki/index.php/Foscam
2013-12-29 22:24:35 +01:00
Isaac Connor
7b26636bcd
Merge pull request #280 from ZoneMinder/zmfixremoval
...
Remove zmfix
2013-12-22 11:22:18 -08:00
Kfir Itzhak
e9bb632a78
Remove zmfix
2013-12-22 16:08:17 +02:00
Andrew Bauer
b5e4e1e573
Update FI8608W_Y2k.pm
...
Fix typo
2013-12-21 11:32:47 -06:00
Kyle Johnson
2cadb3c5a6
Fixed a small typo in ConfigData.pm.in
2013-12-21 10:55:36 -05:00
Isaac Connor
7251a8e1ae
fixes to $Config changes, also exit if no EVENT_PATH
2013-12-19 13:41:55 -05:00
Isaac Connor
4d9234089c
fix ZM_URL to $Config{ZM_URL}
2013-12-19 13:01:52 -05:00
Isaac Connor
462108583b
fix ZM_EVENT_PATH
2013-12-19 12:55:14 -05:00
Isaac Connor
42642937e4
fix ZM_VERSION
2013-12-17 13:05:58 -05:00
Isaac Connor
9e7d729ca8
use the full path for ZM_VERSION
2013-12-17 12:06:14 -05:00
Isaac Connor
2ced76c20d
do this one too
2013-12-17 11:24:33 -05:00
Isaac Connor
8777295468
use fully specified version
2013-12-17 11:23:03 -05:00
Isaac Connor
1d338ed879
more
2013-12-16 16:36:12 -05:00
Isaac Connor
48a6dcf5ce
Change COnfig from using the subroutine symbol table to just using a global hash
2013-12-16 16:32:02 -05:00
Andrew Bauer
b0b471eb5b
Update zm.in
2013-12-14 09:13:49 -06:00
Andrew Bauer
cd43496a7d
Update zm.in
...
Don't think this is needed. This may contribute to the corrupt Config table issue
2013-12-14 09:05:15 -06:00
Kyle Johnson
c3c3cfbfb9
Merge pull request #264 from ZoneMinder/improvezmpkg
...
Use proper DBI parameter passing in zmpkg.pl to improve security
2013-12-13 10:34:48 -08:00
Kyle Johnson
f39f2fab66
Merge pull request #241 from ZoneMinder/alarmrefblendoption
...
Add alarm reference image blend percentage option and replace the text field if fast blends are enabled
2013-12-13 10:13:34 -08:00
Isaac Connor
2775752a41
use proper DBI parameter passing to improve security
...
remark out call to zmupdate.pl -f
2013-12-06 16:46:21 -05:00
Isaac Connor
150b3a0e7a
document interactive command line option
...
only do innoDB upgrade if interactive
2013-12-06 13:47:39 -05:00
Bartek Zdanowski
f6dca0f575
Fixing bug that stops installation/upgrade if DB is already at current version
2013-11-20 10:39:51 +01:00
Isaac Connor
7da2cdd159
cleanups, only connect and disconnect once. Remove unncessary require's of DBI
...
cleanup MyISAM to InnoDB code
2013-11-13 11:45:53 -05:00
Isaac Connor
29e2cdf561
split the innoDB upgrade out of the version section, so that it always checked for MyISAM tables and if found, offers to update them.
2013-11-13 09:42:10 -05:00
Patrick McGuire
8c0ad352f5
Fix shared memory errors on centos 6.4
2013-11-08 14:53:01 -05:00
Isaac Connor
f4dfd88d9f
handle bad config lines better
2013-11-06 17:02:01 -05:00
Kfir Itzhak
be21a882ab
Merge pull request #242 from ZoneMinder/removeversionnumberfromzm.conf
...
Remove ZM_VERSION from zm.conf
2013-11-04 12:27:50 -08:00
Isaac Connor
7a2f3b5226
add in missing @
2013-11-04 09:57:00 -05:00
Kfir Itzhak
9d5ac7ae8c
Fix cmake installing wrong files in an out-of-source build
2013-11-04 09:56:40 +02:00
Kfir Itzhak
408cac5120
Remove the ZM_BLEND_ALARMED_IMAGES option (not needed anymore, global per monitor now)
2013-11-04 09:11:33 +02:00
Kfir Itzhak
1d0e721ba2
Attempt to get the perl modules to be fully out of source during an out-of-source build
2013-11-03 00:20:49 +02:00
Isaac Connor
d428c832e7
blah
2013-11-01 09:50:50 -04:00
Isaac Connor
72b80d7417
remake this branch off master instead of off mysql2PDO.
...
Establish an automake substitution of @VERSION@ and use it throughotu to override whatever is in zm.conf
2013-11-01 09:47:28 -04:00
Kfir Itzhak
c2bd7c97ec
First attempt at enabling out-of-source building for zm with cmake
2013-10-31 18:10:00 +02:00
Kfir Itzhak
36f525efae
Correctly hard code man dir path into cmake this time hopefully
2013-10-29 12:43:28 +02:00
Kfir Itzhak
604b7f4ccc
Clean files generated by MakeMaker when running cmake's make clean target
2013-10-29 11:21:23 +02:00
Kfir Itzhak
23ec8266d9
Hard code man dir path into cmake to fix issues with some distros
2013-10-29 11:02:47 +02:00
Kfir Itzhak
0143969498
Do not print progress while building zoneminder perl modules unless CMAKE_VERBOSE_MAKEFILE is enabled
2013-10-29 10:01:29 +02:00
Andrew Bauer
54a22e7fe8
We need a toggle for x10 support
2013-10-19 09:22:59 -05:00
Kfir Itzhak
b558d42cdc
Improvements to cmake: Better support for CMAKE_PREFIX_PATH enviroment variable (and similar ones), added ZM_PERL_SUBPREFIX and ZM_PERL_USE_PATH options and improved detection of libraries and headers
2013-10-09 15:41:14 +03:00
Kyle Johnson
03d12ef3e4
Point zmupdate to the github pages site (non-https) for version numbers
2013-10-07 10:11:09 -04:00
Kfir Itzhak
ba727a5611
Changed default HTTP version to 1.0 instead of 1.1, as we don't fully support important HTTP/1.1 features such as chunked encoding
2013-10-07 16:57:26 +03:00
Kfir Itzhak
1609fd688b
Changed default option of ZM_COLOUR_JPEG_FILES to no. It impacts performance and is not needed anymore, all modern image viewers support grayscale JPEG images
2013-10-07 16:54:13 +03:00
Andy Bauer
6b11db11ca
Update CMakeLists.txt
...
Need the zm.in file to be processed by CMake
2013-10-06 17:43:59 -05:00
Knniggett
32ee0a8976
create ZM_PATH_DATA and point zmupdate to ZM_PATH_DATA/db
2013-10-05 18:40:54 -05:00
Knniggett
d0cbb3f498
remove ${CMAKE_CURRENT_SOURCE_DIR} from add_custom_target
2013-10-05 14:29:12 -05:00
mastertheknife
3dbef94b04
Removed INSTALLDIRS from the cmake perl modules CMakeLists.txt
2013-10-04 22:50:50 +03:00
mastertheknife
5607f2823f
Fixed missing perl5 in path in the last commit
2013-10-04 22:40:09 +03:00
mastertheknife
9c3540a952
Attempt to fix issues with perl paths that andy is experiencing
2013-10-04 22:35:16 +03:00
Isaac Connor
60258e7aa1
Check the size of the mmap file before mmaping it. If the mmap file 0 ( can happen with remote cameras that can't be reached because it is offline ) we get sigbus. I think the mmap succeeds, but is zero sized, so the first access causes SIGBUS.
2013-10-04 11:54:21 -04:00
Chris Wiggins
d4654f63ae
merge modern into feature-h264-videostorage
2013-10-04 10:52:53 +13:00
Chris Wiggins
d3d3460f21
merge master into modern
2013-10-04 10:40:30 +13:00
Isaac Connor
34f84a4097
Merge branch 'v1.26.4-beta'
2013-10-03 10:14:09 -04:00
mastertheknife
79b45bec68
Avoid trouble with whitespaces in current directory path
2013-10-03 15:37:46 +03:00
mastertheknife
883e676e29
Fixed path issues when creating packages (rpms and such)
2013-10-03 15:35:10 +03:00
mastertheknife
489e832cf6
Fixed typo in the last commit
2013-10-03 15:15:59 +03:00
mastertheknife
f043c6e955
Changed perl paths again, this time to <prefix>/<libdir>/perl5 and few improvements
2013-10-03 15:08:09 +03:00
mastertheknife
5fce4c516b
Perl modules will be now be installed in <prefix>/<datadir>/zoneminder/perl5
2013-10-01 17:38:51 +03:00
mastertheknife
48f11a8064
Add cmake to zoneminder
2013-09-28 12:59:50 +03:00
Chris Wiggins
10e4ca848f
Update branch to track modern
2013-09-24 14:58:41 +12:00
Chris Wiggins
3dfff0b3ac
Merge branch 'master' into feature-h264-videostorage
2013-09-22 10:44:38 +12:00
Chris Wiggins
e37b118d1f
I was behind in my master. Re-merge
2013-09-20 09:30:23 +12:00
Chris Wiggins
e25b4d85e9
Merge master into modern
2013-09-20 09:12:36 +12:00
Kyle Johnson
5f4ff5c7cf
Return the full path to the generated video
2013-09-19 09:53:20 -04:00
Isaac Connor
ab4c091693
change eq's to le's so that it runs scripts for upgrading from 1.26.0
2013-09-15 12:59:45 -04:00
Chris Wiggins
5e0c0ffc27
Merge upstream master to branch to keep up to date
2013-09-14 01:10:09 +12:00
Chris Wiggins
774a84d487
Updated event processing to actually add frames into the DB. Use MP4 container
2013-09-14 00:50:54 +12:00
Isaac Connor
ab1314f250
clean out autogenerated files
2013-09-12 14:43:57 -04:00
Isaac Connor
e21a08c4b6
new code to look for update scripts instead of having distinct lines for each
2013-09-12 14:40:02 -04:00
Andy Bauer
0bf9aacab2
Update zmupdate.pl.in for 1.26.3 release
2013-09-10 12:46:33 -05:00
mastertheknife
caa73f608b
Merge remote-tracking branch 'origin/develop'
2013-09-09 16:44:58 +03:00
Kyle Johnson
6c134f9b4b
Merge pull request #116 from knnniggett/zmupdate_newrelease
...
Add 1.26.1 and 1.26.2 releases to zmupdate
2013-09-07 19:07:37 -07:00
Knniggett
8f3d95fd38
modify zmupdate.pl.in
2013-09-07 15:11:57 -05:00
Isaac Connor
9c7f02e8c0
Merge branch 'develop' of github.com:ZoneMinder/ZoneMinder into develop
...
Conflicts:
scripts/zmupdate.pl
2013-09-06 14:44:21 -04:00
Isaac Connor
0a9e63ca2c
remove autogenerated files
2013-09-06 14:40:55 -04:00
Chris Wiggins
c61029f780
First iteration of h264 saving in the capture daemon.
...
To use, enable use_mkv_storage in the paths section of the ZM config (be sure to import the new SQL config)
Must have the latest FFMPEG compiled from git with x264 linked in
2013-09-06 15:07:46 +12:00
Kyle Johnson
4cc878e930
Merge branch 'release-1.26' into develop
...
Conflicts:
scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm
2013-09-05 11:40:38 -04:00
Chris Wiggins
d6440ca70e
Change repo to ZoneMinder for pull request
2013-09-05 23:50:51 +12:00
Chris Wiggins
e792c8eb44
Move version check from zoneminder.com to repository
2013-09-05 23:40:03 +12:00