Text corrections
parent
cf713b59d7
commit
6fd119157a
|
@ -9,7 +9,7 @@
|
||||||
# *** DO NOT EDIT THIS FILE ***
|
# *** DO NOT EDIT THIS FILE ***
|
||||||
#
|
#
|
||||||
# To make custom changes to the variables below, create a new configuration
|
# To make custom changes to the variables below, create a new configuration
|
||||||
# file, with an extention of .conf, containing your desired modifications.
|
# file, with an extension of .conf, containing your desired modifications.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Full path to the folder events are recorded to.
|
# Full path to the folder events are recorded to.
|
||||||
|
|
|
@ -396,7 +396,7 @@ ZoneMinder provides a sample alarm script called `zmalarm.pl <https://github.com
|
||||||
|
|
||||||
Trouble Shooting
|
Trouble Shooting
|
||||||
-------------------
|
-------------------
|
||||||
Here are some things that will help you track down whats wrong.
|
Here are some things that will help you track down what's wrong.
|
||||||
This is also how to obtain the info that we need to help you on the forums.
|
This is also how to obtain the info that we need to help you on the forums.
|
||||||
|
|
||||||
What logs should I check for errors?
|
What logs should I check for errors?
|
||||||
|
|
|
@ -312,7 +312,7 @@ sub autoStop {
|
||||||
my $msg ='<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">'.authentificationHeader($username, $password).'<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ContinuousMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken>' . $profileToken . '</ProfileToken><Velocity><PanTilt x="0" y="0" xmlns="http://www.onvif.org/ver10/schema"/></Velocity></ContinuousMove></s:Body></s:Envelope>';
|
my $msg ='<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">'.authentificationHeader($username, $password).'<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ContinuousMove xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken>' . $profileToken . '</ProfileToken><Velocity><PanTilt x="0" y="0" xmlns="http://www.onvif.org/ver10/schema"/></Velocity></ContinuousMove></s:Body></s:Envelope>';
|
||||||
$self->sendCmd($cmd, $msg, $content_type);
|
$self->sendCmd($cmd, $msg, $content_type);
|
||||||
|
|
||||||
# Reported to not work, so superceded by the cmd above
|
# Reported to not work, so superseded by the cmd above
|
||||||
$msg = '<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">'.authentificationHeader($username, $password).'<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Stop xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken>' . $profileToken . '</ProfileToken><PanTilt>true</PanTilt><Zoom>false</Zoom></Stop></s:Body></s:Envelope>';
|
$msg = '<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">'.authentificationHeader($username, $password).'<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Stop xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken>' . $profileToken . '</ProfileToken><PanTilt>true</PanTilt><Zoom>false</Zoom></Stop></s:Body></s:Envelope>';
|
||||||
$self->sendCmd($cmd, $msg, $content_type);
|
$self->sendCmd($cmd, $msg, $content_type);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
#
|
#
|
||||||
# This module contains an example overriden trigger connection class
|
# This module contains an example overridden trigger connection class
|
||||||
#
|
#
|
||||||
package ZoneMinder::Trigger::Connection::Example;
|
package ZoneMinder::Trigger::Connection::Example;
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ IFS=',' ;for DISTRO in `echo "$DISTROS"`; do
|
||||||
rm -rf debian
|
rm -rf debian
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
# Generate Changlog
|
# Generate Changelog
|
||||||
if [ "$DISTRO" == "beowulf" ]; then
|
if [ "$DISTRO" == "beowulf" ]; then
|
||||||
cp -Rpd distros/beowulf debian
|
cp -Rpd distros/beowulf debian
|
||||||
else
|
else
|
||||||
|
@ -292,14 +292,14 @@ EOF
|
||||||
# Leave the .orig so that we don't pollute it when building deps
|
# Leave the .orig so that we don't pollute it when building deps
|
||||||
cd ..
|
cd ..
|
||||||
if [ $TYPE == "binary" ]; then
|
if [ $TYPE == "binary" ]; then
|
||||||
# Auto-install all ZoneMinder's depedencies using the Debian control file
|
# Auto-install all ZoneMinder's dependencies using the Debian control file
|
||||||
sudo apt-get install devscripts equivs
|
sudo apt-get install devscripts equivs
|
||||||
sudo mk-build-deps -ir $DIRECTORY.orig/debian/control
|
sudo mk-build-deps -ir $DIRECTORY.orig/debian/control
|
||||||
echo "Status: $?"
|
echo "Status: $?"
|
||||||
DEBUILD=debuild
|
DEBUILD=debuild
|
||||||
else
|
else
|
||||||
if [ $TYPE == "local" ]; then
|
if [ $TYPE == "local" ]; then
|
||||||
# Auto-install all ZoneMinder's depedencies using the Debian control file
|
# Auto-install all ZoneMinder's dependencies using the Debian control file
|
||||||
sudo apt-get install devscripts equivs
|
sudo apt-get install devscripts equivs
|
||||||
sudo mk-build-deps -ir $DIRECTORY.orig/debian/control
|
sudo mk-build-deps -ir $DIRECTORY.orig/debian/control
|
||||||
echo "Status: $?"
|
echo "Status: $?"
|
||||||
|
@ -381,7 +381,7 @@ EOF
|
||||||
done; # foreach distro
|
done; # foreach distro
|
||||||
|
|
||||||
if [ "$INTERACTIVE" != "no" ]; then
|
if [ "$INTERACTIVE" != "no" ]; then
|
||||||
read -p "Do you want to keep the checked out version of Zoneminder (incase you want to modify it later) [y/N]"
|
read -p "Do you want to keep the checked out version of Zoneminder (in case you want to modify it later) [y/N]"
|
||||||
[[ $REPLY == [yY] ]] && { mv "$DIRECTORY.orig" zoneminder_release; echo "The checked out copy is preserved in zoneminder_release"; } || { rm -fr "$DIRECTORY.orig"; echo "The checked out copy has been deleted"; }
|
[[ $REPLY == [yY] ]] && { mv "$DIRECTORY.orig" zoneminder_release; echo "The checked out copy is preserved in zoneminder_release"; } || { rm -fr "$DIRECTORY.orig"; echo "The checked out copy has been deleted"; }
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
else
|
else
|
||||||
|
|
|
@ -101,7 +101,7 @@ commonprep () {
|
||||||
echo "Retrieving Crud ${CRUDVER} submodule..."
|
echo "Retrieving Crud ${CRUDVER} submodule..."
|
||||||
curl -L https://github.com/FriendsOfCake/crud/archive/v${CRUDVER}.tar.gz > build/crud-${CRUDVER}.tar.gz
|
curl -L https://github.com/FriendsOfCake/crud/archive/v${CRUDVER}.tar.gz > build/crud-${CRUDVER}.tar.gz
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: Crud tarball retreival failed..."
|
echo "ERROR: Crud tarball retrieval failed..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -113,7 +113,7 @@ commonprep () {
|
||||||
echo "Retrieving CakePHP-Enum-Behavior ${CEBVER} submodule..."
|
echo "Retrieving CakePHP-Enum-Behavior ${CEBVER} submodule..."
|
||||||
curl -L https://github.com/ZoneMinder/CakePHP-Enum-Behavior/archive/${CEBVER}.tar.gz > build/cakephp-enum-behavior-${CEBVER}.tar.gz
|
curl -L https://github.com/ZoneMinder/CakePHP-Enum-Behavior/archive/${CEBVER}.tar.gz > build/cakephp-enum-behavior-${CEBVER}.tar.gz
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: CakePHP-Enum-Behavior tarball retreival failed..."
|
echo "ERROR: CakePHP-Enum-Behavior tarball retrieval failed..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -125,7 +125,7 @@ commonprep () {
|
||||||
echo "Retrieving RTSP ${RTSPVER} submodule..."
|
echo "Retrieving RTSP ${RTSPVER} submodule..."
|
||||||
curl -L https://github.com/ZoneMinder/RtspServer/archive/${RTSPVER}.tar.gz > build/RtspServer-${RTSPVER}.tar.gz
|
curl -L https://github.com/ZoneMinder/RtspServer/archive/${RTSPVER}.tar.gz > build/RtspServer-${RTSPVER}.tar.gz
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: RtspServer tarball retreival failed..."
|
echo "ERROR: RtspServer tarball retrieval failed..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -159,7 +159,7 @@ movecrud () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# previsouly part of installzm.sh
|
# previously part of installzm.sh
|
||||||
# install the deb and test zoneminder
|
# install the deb and test zoneminder
|
||||||
install_deb () {
|
install_deb () {
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ Replace the default value, DEFAULT, of the specified ZoneMinder
|
||||||
variable, VARIABLE, located in ConfigData.pm.in.
|
variable, VARIABLE, located in ConfigData.pm.in.
|
||||||
|
|
||||||
Default folder for ConfigData is ./scripts/ZoneMinder/lib/ZoneMinder
|
Default folder for ConfigData is ./scripts/ZoneMinder/lib/ZoneMinder
|
||||||
Specify CONFIGDATA DIRETORY to override.
|
Specify CONFIGDATA DIRECTORY to override.
|
||||||
|
|
||||||
Run this script from your build folder, before running configure or cmake.
|
Run this script from your build folder, before running configure or cmake.
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ if ( canEdit('Monitors') ) {
|
||||||
case 'sort' :
|
case 'sort' :
|
||||||
{
|
{
|
||||||
$monitor_ids = $_POST['monitor_ids'];
|
$monitor_ids = $_POST['monitor_ids'];
|
||||||
# Two concurrent sorts could generate odd sortings... so lock the table.
|
# Two concurrent sorts could generate odd sorting... so lock the table.
|
||||||
global $dbConn;
|
global $dbConn;
|
||||||
$dbConn->beginTransaction();
|
$dbConn->beginTransaction();
|
||||||
$dbConn->exec('LOCK TABLES Monitors WRITE');
|
$dbConn->exec('LOCK TABLES Monitors WRITE');
|
||||||
|
|
|
@ -123,7 +123,7 @@ $statusData = array(
|
||||||
global $dateTimeFormatter;
|
global $dateTimeFormatter;
|
||||||
return $dateTimeFormatter->format(strtotime($row['StartDateTime']));
|
return $dateTimeFormatter->format(strtotime($row['StartDateTime']));
|
||||||
}),
|
}),
|
||||||
# Left for backwards compatability. Remove in 1.37
|
# Left for backwards compatibility. Remove in 1.37
|
||||||
'EndDateTime' => true,
|
'EndDateTime' => true,
|
||||||
'EndDateTimeFormatted' => array('postFunction'=>function($row){
|
'EndDateTimeFormatted' => array('postFunction'=>function($row){
|
||||||
global $dateTimeFormatter;
|
global $dateTimeFormatter;
|
||||||
|
@ -157,7 +157,7 @@ $statusData = array(
|
||||||
global $dateTimeFormatter;
|
global $dateTimeFormatter;
|
||||||
return $dateTimeFormatter->format(strtotime($row['StartDateTime']));
|
return $dateTimeFormatter->format(strtotime($row['StartDateTime']));
|
||||||
}),
|
}),
|
||||||
# Left for backwards compatability. Remove in 1.37
|
# Left for backwards compatibility. Remove in 1.37
|
||||||
'EndDateTime' => true,
|
'EndDateTime' => true,
|
||||||
'EndDateTimeFormatted' => array('postFunction'=>function($row){
|
'EndDateTimeFormatted' => array('postFunction'=>function($row){
|
||||||
global $dateTimeFormatter;
|
global $dateTimeFormatter;
|
||||||
|
@ -478,7 +478,7 @@ function getNearEvents() {
|
||||||
}
|
}
|
||||||
$sql .= ' AND E.Id<'.$event['Id'] . ' ORDER BY '.$sortColumn.' '.($sortOrder=='ASC'?'DESC':'ASC');
|
$sql .= ' AND E.Id<'.$event['Id'] . ' ORDER BY '.$sortColumn.' '.($sortOrder=='ASC'?'DESC':'ASC');
|
||||||
if ( $sortColumn != 'E.Id' ) {
|
if ( $sortColumn != 'E.Id' ) {
|
||||||
# When sorting by starttime, if we have two events with the same starttime (diffreent monitors) then we should sort secondly by Id
|
# When sorting by starttime, if we have two events with the same starttime (different monitors) then we should sort secondly by Id
|
||||||
$sql .= ', E.Id DESC';
|
$sql .= ', E.Id DESC';
|
||||||
}
|
}
|
||||||
$sql .= ' LIMIT 1';
|
$sql .= ' LIMIT 1';
|
||||||
|
@ -496,7 +496,7 @@ function getNearEvents() {
|
||||||
}
|
}
|
||||||
$sql .=' AND E.Id>'.$event['Id'] . ' ORDER BY '.$sortColumn.' '.($sortOrder=='ASC'?'ASC':'DESC');
|
$sql .=' AND E.Id>'.$event['Id'] . ' ORDER BY '.$sortColumn.' '.($sortOrder=='ASC'?'ASC':'DESC');
|
||||||
if ( $sortColumn != 'E.Id' ) {
|
if ( $sortColumn != 'E.Id' ) {
|
||||||
# When sorting by starttime, if we have two events with the same starttime (diffreent monitors) then we should sort secondly by Id
|
# When sorting by starttime, if we have two events with the same starttime (different monitors) then we should sort secondly by Id
|
||||||
$sql .= ', E.Id ASC';
|
$sql .= ', E.Id ASC';
|
||||||
}
|
}
|
||||||
$sql .= ' LIMIT 1';
|
$sql .= ' LIMIT 1';
|
||||||
|
|
|
@ -166,7 +166,7 @@ case MSG_DATA_WATCH :
|
||||||
$data['auth'] = $auth_hash;
|
$data['auth'] = $auth_hash;
|
||||||
ZM\Debug('including new auth hash '.$data['auth'].'because doesnt match request auth hash '.$_REQUEST['auth']);
|
ZM\Debug('including new auth hash '.$data['auth'].'because doesnt match request auth hash '.$_REQUEST['auth']);
|
||||||
} else {
|
} else {
|
||||||
ZM\Debug('Not including new auth hash becase it hasn\'t changed '.$auth_hash);
|
ZM\Debug('Not including new auth hash because it hasn\'t changed '.$auth_hash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$data['auth_relay'] = get_auth_relay();
|
$data['auth_relay'] = get_auth_relay();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
//
|
//
|
||||||
// This is simplified version of the logic from ajax/events.php
|
// This is simplified version of the logic from ajax/events.php
|
||||||
// For efficency, sorting and and pagination functionality have been exlcuded
|
// For efficiency, sorting and and pagination functionality have been excluded
|
||||||
//
|
//
|
||||||
|
|
||||||
$message = '';
|
$message = '';
|
||||||
|
|
|
@ -7,7 +7,7 @@ e.g. /api.
|
||||||
app/Config/database.php.default must be configured and copied to
|
app/Config/database.php.default must be configured and copied to
|
||||||
app/Config/database.php
|
app/Config/database.php
|
||||||
|
|
||||||
In adition, Security.salt and Security.cipherSeed in app/Config/core.php should
|
In addition, Security.salt and Security.cipherSeed in app/Config/core.php should
|
||||||
be changed.
|
be changed.
|
||||||
|
|
||||||
The API can run on a dedicated / separate instance, so long as it can access
|
The API can run on a dedicated / separate instance, so long as it can access
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# *** DO NOT EDIT THIS FILE ***
|
# *** DO NOT EDIT THIS FILE ***
|
||||||
#
|
#
|
||||||
# To make custom changes to the variables below, create a new configuration
|
# To make custom changes to the variables below, create a new configuration
|
||||||
# file, with an extention of .conf, under the @ZM_CONFIG_SUBDIR@
|
# file, with an extension of .conf, under the @ZM_CONFIG_SUBDIR@
|
||||||
# folder, containing your desired modifications.
|
# folder, containing your desired modifications.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ ZM_LOGDIR="@ZM_LOGDIR@"
|
||||||
# Set the zoneminder temp dir default to be the one supplied to cmake
|
# Set the zoneminder temp dir default to be the one supplied to cmake
|
||||||
ZM_TMPDIR="@ZM_TMPDIR@"
|
ZM_TMPDIR="@ZM_TMPDIR@"
|
||||||
|
|
||||||
echo "*** This bash script creates the nessecary symlinks for the zoneminder content"
|
echo "*** This bash script creates the necessary symlinks for the zoneminder content"
|
||||||
echo "*** It can use an existing content folder or create a new one"
|
echo "*** It can use an existing content folder or create a new one"
|
||||||
echo "*** For usage: use -h"
|
echo "*** For usage: use -h"
|
||||||
echo "*** The default content directory is: $ZM_PATH_CONTENT"
|
echo "*** The default content directory is: $ZM_PATH_CONTENT"
|
||||||
|
|
Loading…
Reference in New Issue