Merge branch 'master' of dev.sourcefabric.org:airtime
Conflicts: application/configs/conf.php install/airtime-install.php
This commit is contained in:
commit
a20e279840
|
@ -176,8 +176,4 @@ function load_airtime_config(){
|
|||
'database' => $ini_array['database']['dbname']),
|
||||
'api_key' => array($ini_array['general']['api_key'])
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -212,4 +212,3 @@ class ApiController extends Zend_Controller_Action
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -181,4 +181,3 @@ class AccessRecur {
|
|||
}
|
||||
|
||||
} // class AccessRecur
|
||||
?>
|
||||
|
|
|
@ -619,4 +619,3 @@ class Alib {
|
|||
} // fn test
|
||||
|
||||
} // class Alib
|
||||
?>
|
||||
|
|
|
@ -484,4 +484,3 @@ class Backup
|
|||
}
|
||||
|
||||
} // classs Backup
|
||||
?>
|
||||
|
|
|
@ -2183,4 +2183,4 @@ class BasicStor {
|
|||
}
|
||||
|
||||
} // class BasicStor
|
||||
?>
|
||||
|
||||
|
|
|
@ -1723,4 +1723,3 @@ class GreenBox extends BasicStor {
|
|||
} // fn removePerm
|
||||
|
||||
} // class GreenBox
|
||||
?>
|
||||
|
|
|
@ -1746,4 +1746,3 @@ class LocStor extends BasicStor {
|
|||
/* ==================================================== auxiliary methods */
|
||||
|
||||
} // class LocStor
|
||||
?>
|
||||
|
|
|
@ -349,4 +349,3 @@ class M3uPlaylistAnimateElement {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -1386,4 +1386,3 @@ class PlaylistMetadataExport
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -439,4 +439,4 @@ class Prefs {
|
|||
}
|
||||
|
||||
} // class Prefs
|
||||
?>
|
||||
|
||||
|
|
|
@ -287,4 +287,3 @@ class Renderer
|
|||
|
||||
} // class Renderer
|
||||
|
||||
?>
|
||||
|
|
|
@ -433,4 +433,4 @@ class Restore {
|
|||
}
|
||||
|
||||
} // class Restore
|
||||
?>
|
||||
|
||||
|
|
|
@ -704,4 +704,3 @@ class Schedule {
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -310,4 +310,3 @@ class SmilPlaylistAnimateElement {
|
|||
}
|
||||
} // class SmilPlaylistAnimateElement
|
||||
|
||||
?>
|
||||
|
|
|
@ -1958,4 +1958,4 @@ class StoredFile {
|
|||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -680,4 +680,4 @@ class Subjects {
|
|||
} // fn test
|
||||
|
||||
} // class Subjects
|
||||
?>
|
||||
|
||||
|
|
|
@ -1830,4 +1830,4 @@ class Transport
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -416,4 +416,4 @@ class TransportRecord
|
|||
}
|
||||
|
||||
} // class TransportRecord
|
||||
?>
|
||||
|
||||
|
|
|
@ -382,4 +382,4 @@ class Validator {
|
|||
|
||||
} // class Validator
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -395,4 +395,4 @@ class XmlParser {
|
|||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -324,5 +324,3 @@ $audioClipFormat = array(
|
|||
// 'regexp'=>'^\d{4}(-\d{2}(-\d{2}(T\d{2}:\d{2}(:\d{2}\.\d+)?(Z)|([\+\-]?\d{2}:\d{2}))?)?)?$',
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
|
@ -211,4 +211,4 @@ class Cron {
|
|||
return $this->cronfile.' "'.str_replace('"','\"',serialize($this->params)).'"';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -14,4 +14,4 @@ class CronJob
|
|||
{
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -281,4 +281,4 @@ class Crontab
|
|||
return $returnar;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ require_once (dirname(__FILE__).'/'.$p['class'].'.php');
|
|||
$cronjob = new $p['class']();
|
||||
$ret = $cronjob->execute($p['params']);
|
||||
exit(0);
|
||||
?>
|
|
@ -18,4 +18,3 @@ if (!$r) {
|
|||
}
|
||||
|
||||
exit(0);
|
||||
?>
|
|
@ -39,4 +39,3 @@ if (TR_LOG_LEVEL>1) {
|
|||
$tr->trLog("transportCronJob($pid) end ($trtok)");
|
||||
}
|
||||
exit(0);
|
||||
?>
|
|
@ -1,17 +1,3 @@
|
|||
<?php
|
||||
header ("location: html/");
|
||||
exit;
|
||||
/*
|
||||
?>
|
||||
<html><head>
|
||||
<title>StorageServer module</title>
|
||||
</head><body>
|
||||
<h3>StorageServer module</h3>
|
||||
<br>
|
||||
<a href="../html/" accesskey="H"><b>H</b>TML client</a><br>
|
||||
<a href="../xmlrpc/" accesskey="X"><b>X</b>mlRpc test</a><br>
|
||||
<a href="../tests/" accesskey="T"><b>T</b>est</a><br>
|
||||
</body></html>
|
||||
<?
|
||||
*/
|
||||
?>
|
|
@ -110,8 +110,3 @@ $playlistFormat = array(
|
|||
*/
|
||||
);
|
||||
|
||||
/*
|
||||
?
|
||||
ls:filename Text auto
|
||||
*/
|
||||
?>
|
||||
|
|
|
@ -21,4 +21,4 @@ $result = PHPUnit::run($suite);
|
|||
|
||||
echo $result->toString();
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -178,4 +178,4 @@ class PlaylistTests extends PHPUnit_TestCase {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -39,4 +39,3 @@ class SchedulerExportTests extends PHPUnit_TestCase {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -125,4 +125,3 @@ class SchedulerTests extends PHPUnit_TestCase {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -84,4 +84,3 @@ class StoredFileTest extends PHPUnit_TestCase {
|
|||
}
|
||||
|
||||
}
|
||||
?>
|
|
@ -22,4 +22,3 @@ if (is_array($r)) {
|
|||
print_r($r);
|
||||
}
|
||||
echo"\n";
|
||||
?>
|
|
@ -1,4 +1,3 @@
|
|||
<?php
|
||||
header ("location: ../");
|
||||
exit;
|
||||
?>
|
|
@ -22,4 +22,4 @@ $sql3 = "SELECT TIMESTAMP '2011-01-01 00:00:00.000' + INTERVAL '01:00:00.123456'
|
|||
$result3 = $con->query($sql3);
|
||||
var_dump($result3->fetchAll());
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -140,4 +140,3 @@ $comm = "ls -l ".$CC_CONFIG['storageDir']."/a23"; echo `$comm`;
|
|||
if(file_exists("../trans/log")) echo `tail -n 25 ../trans/log`;
|
||||
echo "#Transport test: OK.\n\n";
|
||||
*/
|
||||
?>
|
|
@ -59,4 +59,3 @@ echo "$r\n";
|
|||
|
||||
echo "#storeWebstream test: OK.\n\n"
|
||||
*/
|
||||
?>
|
|
@ -338,8 +338,3 @@ $webstreamFormat = array(
|
|||
*/
|
||||
);
|
||||
|
||||
/*
|
||||
?
|
||||
ls:filename Text auto
|
||||
*/
|
||||
?>
|
|
@ -3830,4 +3830,4 @@ class XR_LocStor extends LocStor {
|
|||
|
||||
} // class XR_LocStor
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?php
|
||||
header ("location: xrLocStor.php");
|
||||
exit;
|
||||
?>
|
|
@ -96,4 +96,4 @@ fclose($fp);
|
|||
fclose($putdata);
|
||||
|
||||
header("HTTP/1.1 200");
|
||||
?>
|
||||
|
||||
|
|
|
@ -508,4 +508,3 @@ $r = $spc->DisplayScheduleMethod($this->Base->sessid, '20040101T00:00:00', '2005
|
|||
#$r = $spc->GetSchedulerTimeMethod(); var_dump($r);
|
||||
================= */
|
||||
|
||||
?>
|
|
@ -125,4 +125,3 @@ switch ($ftype) {
|
|||
// var_dump($ftype);
|
||||
http_error(500, "500 Unknown ftype ($ftype)");
|
||||
}
|
||||
?>
|
|
@ -169,4 +169,4 @@ foreach ($methods as $method => $description) {
|
|||
|
||||
$s = new XML_RPC_Server($defs);
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -365,4 +365,3 @@ if (isset($infos[$method]['r'])) {
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
|
@ -23,4 +23,3 @@ class Application_Validate_UserNameValidate extends Zend_Validate_Abstract
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -14,4 +14,3 @@ class Airtime_View_Helper_LoggedInAs extends Zend_View_Helper_Abstract
|
|||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -153,4 +153,4 @@ $command = __DIR__."/../utils/airtime-import --copy ../audio_samples/ > /dev/nul
|
|||
$command = "python ".__DIR__."/../pypo/install/pypo-install.py";
|
||||
system($command);
|
||||
echo "******************************* Install Complete *******************************\n";
|
||||
?>
|
||||
|
||||
|
|
|
@ -227,4 +227,4 @@ airtime_uninstall_delete_files($CC_CONFIG['storageDir']);
|
|||
$command = "python ".__DIR__."/../pypo/install/pypo-uninstall.py";
|
||||
system($command);
|
||||
echo "****************************** Uninstall Complete ******************************\n";
|
||||
?>
|
||||
|
||||
|
|
|
@ -99,4 +99,4 @@ if (PEAR::isError($r)) {
|
|||
die($r->getMessage());
|
||||
}
|
||||
exit(0);
|
||||
?>
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?php
|
||||
header ("location: ../");
|
||||
exit;
|
||||
?>
|
|
@ -84,4 +84,4 @@ function install_setDirPermissions($filePath) {
|
|||
// }
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
|
|
@ -8,12 +8,7 @@ if (isset($arr["DOCUMENT_ROOT"]) && ($arr["DOCUMENT_ROOT"] != "") ) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Install twitter Cron job
|
||||
//------------------------------------------------------------------------
|
||||
<?php
|
||||
require_once(dirname(__FILE__).'/../../../storageServer/var/cron/Cron.php');
|
||||
$m = '*';
|
||||
$h ='*';
|
||||
|
@ -41,4 +36,4 @@ echo " adding new entry\n";
|
|||
$cron->ct->addCron($m, $h, $dom, $mon, $dow, $command);
|
||||
$cron->closeCrontab();
|
||||
echo "Done.\n";
|
||||
?>
|
||||
|
||||
|
|
|
@ -8,12 +8,7 @@ if (isset($arr["DOCUMENT_ROOT"]) && ($arr["DOCUMENT_ROOT"] != "") ) {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Uninstall twitter Cron job
|
||||
//------------------------------------------------------------------------
|
||||
<?php
|
||||
require_once(dirname(__FILE__).'/../../../storageServer/var/cron/Cron.php');
|
||||
$old_regex = '/ui_twitterCron\.php/';
|
||||
|
||||
|
@ -34,4 +29,3 @@ foreach ($cron->ct->getByType(CRON_CMD) as $id => $line) {
|
|||
|
||||
$cron->closeCrontab();
|
||||
echo "Done.\n";
|
||||
?>
|
|
@ -97,4 +97,3 @@ $scheduleGroup = new ScheduleGroup();
|
|||
$scheduleGroup->add($playTime, null, $pl->getId());
|
||||
|
||||
echo " SUCCESS: Playlist scheduled at $playTime\n\n";
|
||||
?>
|
||||
|
|
|
@ -122,4 +122,3 @@ switch($argv[1]){
|
|||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -192,5 +192,3 @@ function admDumpGroup(&$bs, $gid, $ind='')
|
|||
#var_export($res);
|
||||
#var_dump($res);
|
||||
echo "$res";
|
||||
|
||||
?>
|
|
@ -346,4 +346,3 @@ if ($g_errors > 0) {
|
|||
echo " *** Total: ".($g_fileCount+$g_duplicates)." files in $time seconds = $speed files/second.\n";
|
||||
echo "==========================================================================\n";
|
||||
|
||||
?>
|
||||
|
|
|
@ -252,4 +252,3 @@ foreach ($groups as $grname => $group) {
|
|||
/* -------------------------------------------------------- restoring objects */
|
||||
ls_restore_restoreObject($tree, /*$storId,*/ FALSE);
|
||||
|
||||
?>
|
|
@ -1,5 +1,3 @@
|
|||
#!/usr/bin/php
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Do database restore in background. - command line php application
|
||||
|
@ -31,11 +29,8 @@
|
|||
$rs->addLogItem('argv:'.print_r($argv,true));
|
||||
}
|
||||
|
||||
# sleep(2);
|
||||
|
||||
$backupfile = $argv[1];
|
||||
$token = $argv[3];
|
||||
$sessid = $argv[4];
|
||||
$rs->startRestore($backupfile,$token,$sessid);
|
||||
|
||||
?>
|
|
@ -22,9 +22,6 @@
|
|||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
#
|
||||
# Author : $Author$
|
||||
# Version : $Revision$
|
||||
# Location : $URL$
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue