openfirst-cvscommit Mailing List for openFIRST (Page 6)
Brought to you by:
xtimg
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jamie <ast...@us...> - 2005-11-22 16:37:20
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25779/awards Modified Files: awards.php Log Message: -Serious updates (A whole lot of changes...) (admin/index.php) -no trailing line (awards.php) Index: awards.php =================================================================== RCS file: /cvsroot/openfirst/awards/awards.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** awards.php 30 Jun 2005 02:28:19 -0000 1.8 --- awards.php 22 Nov 2005 16:37:09 -0000 1.9 *************** *** 1,39 **** ! <?php ! /* ! * openFIRST.awards - awards.php ! * ! * Copyright (C) 2005, ! * openFIRST Project ! * Original Author: Jamie Bliss <ja...@op...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Defines the AwardModule class, a child of the Module class. ! ! class AwardModule extends Module { ! function getSlugURI($slug) { ! /* ! supported forms: ! %Date% (some parsable date) ! %Title% (The title exists) ! %ID% (just an integer) ! */ ! } ! } ! ! $awardmod =& new AwardModule(basename(dirname(__FILE__))); ! $ogModuleManager->addModuleFromObject($awardmod); ! ?> --- 1,39 ---- ! <?php ! /* ! * openFIRST.awards - awards.php ! * ! * Copyright (C) 2005, ! * openFIRST Project ! * Original Author: Jamie Bliss <ja...@op...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: Defines the AwardModule class, a child of the Module class. ! ! class AwardModule extends Module { ! function getSlugURI($slug) { ! /* ! supported forms: ! %Date% (some parsable date) ! %Title% (The title exists) ! %ID% (just an integer) ! */ ! } ! } ! ! $awardmod =& new AwardModule(basename(dirname(__FILE__))); ! $ogModuleManager->addModuleFromObject($awardmod); ! ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2005-11-22 16:34:19
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25220/includes Modified Files: globals.php Log Message: -Initialize header variables -Updated current module handling to match ModuleManager -Removed commented-out session-releated code. Index: globals.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/globals.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** globals.php 20 Nov 2005 21:44:20 -0000 1.21 --- globals.php 22 Nov 2005 16:34:07 -0000 1.22 *************** *** 123,126 **** --- 123,128 ---- } require_once('Skin.php'); + $ogMoreHeadItems = array(); + $ogMoreStyles = ''; if (!defined('OPENFIRST_NO_INSTALLATION')) { *************** *** 141,145 **** } - if (!defined('OPENFIRST_INSTALLATION_SCRIPT')) { User::SetupSession(); --- 143,146 ---- *************** *** 183,187 **** $dir = $mod->dir; $module =& $ogModuleManager->addModuleFromDir($dir); ! if ($dir == $curmodule) $ogCurrentModule =& $module; if ($module->getActive()) { $dir = $module->getDir(); --- 184,188 ---- $dir = $mod->dir; $module =& $ogModuleManager->addModuleFromDir($dir); ! if ($dir == $curmodule) $ogModuleManager->setCurrent($dir); if ($module->getActive()) { $dir = $module->getDir(); *************** *** 198,210 **** $ogDB->freeResult($res); } - - /* if (!preg_match('/\A[a-zA-Z0-9]+\z/',session_id())) { - session_regenerate_id(); - }*/ - $ogUser->saveData(); - /* ofDebugVar($_SESSION); - ofDebugVar($_COOKIE);*/ session_write_close(); } --- 199,205 ---- $ogDB->freeResult($res); } + $ogCurrentModule =& $ogModuleManager->getCurrent(); $ogUser->saveData(); session_write_close(); } |
From: Jamie <ast...@us...> - 2005-11-22 16:32:34
|
Update of /cvsroot/openfirst/base/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24888/style Modified Files: headers.php Log Message: changed global site title to $ogSiteTitle, $Title is page-specific. Added $ogMoreHeadItems. Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/style/headers.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** headers.php 21 Nov 2005 20:26:09 -0000 1.10 --- headers.php 22 Nov 2005 16:32:20 -0000 1.11 *************** *** 3,12 **** global $BasePath, $ogModuleManager, $ogMoreStyles, $Home, $ogCurrentModule; ! global $Title, $usersonline, $ogUser, $StylePath; if(! isset($BasePath)){ $BasePath = 'http://openfirst.sourceforge.net'; $StylePath = 'http://openfirst.sourceforge.net/style'; ! $title = "openFIRST Team"; } else { $headerlinks = array(); --- 3,12 ---- global $BasePath, $ogModuleManager, $ogMoreStyles, $Home, $ogCurrentModule; ! global $Title, $ogSiteTitle, $ogMoreHeadItems, $usersonline, $ogUser, $StylePath; if(! isset($BasePath)){ $BasePath = 'http://openfirst.sourceforge.net'; $StylePath = 'http://openfirst.sourceforge.net/style'; ! $Title = "openFIRST Team"; } else { $headerlinks = array(); *************** *** 15,19 **** $module =& $ogModuleManager->getModuleFromDir($dir); if ($module->getActive() && $module->getShowOnMenu()) { ! if ($ogCurrentModule->getDir() == $dir){ $CurrentModule =& $thisModule; $headerlinks[] = ' » <a class="menu selected" href="'.htmlentities("$BasePath/$dir").'">'.htmlentities($module->getName()).'</a> --- 15,19 ---- $module =& $ogModuleManager->getModuleFromDir($dir); if ($module->getActive() && $module->getShowOnMenu()) { ! if (is_object($ogCurrentModule) && $ogCurrentModule->getDir() == $dir){ $CurrentModule =& $thisModule; $headerlinks[] = ' » <a class="menu selected" href="'.htmlentities("$BasePath/$dir").'">'.htmlentities($module->getName()).'</a> *************** *** 36,40 **** <html> <head> ! <title><?php echo htmlentities($Title); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en" /> --- 36,48 ---- <html> <head> ! <title><?php ! $rtitle = array(); ! if (isset($Title)) $rtitle[] = $Title; ! if (isset($ogSiteTitle)) $rtitle[] = $ogSiteTitle; ! $rtitle = implode(' :: ', $rtitle); ! if ($rtitle == '') $rtitle = 'openFIRST'; ! echo htmlentities($rtitle); ! unset($rtitle); ! ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en" /> *************** *** 44,47 **** --- 52,60 ---- <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/style.css" /> <?php + if (isset($ogMoreHeadItems) && is_array($ogMoreHeadItems)) { + foreach($ogMoreHeadItems as $i) { + echo $i; + } + } if (isset($ogMoreStyles) && trim($ogMoreStyles) != '') { echo '<style type="text/css"> *************** *** 88,97 **** // Check if module name has been set then echo ! if(isset($ogCurrentModule) && !$ogCurrentModule->isBase()){ echo '<b>'.htmlentities($ogCurrentModule->getName()).'</b> – '; } // Check if navigation bar option is set then echo options ! if (isset($ogCurrentModule) && ($nav = $ogCurrentModule->getNavBar())) { // Output module navigation bar --- 101,110 ---- // Check if module name has been set then echo ! if (is_object($ogCurrentModule) && !$ogCurrentModule->isBase()){ echo '<b>'.htmlentities($ogCurrentModule->getName()).'</b> – '; } // Check if navigation bar option is set then echo options ! if (is_object($ogCurrentModule) && ($nav = $ogCurrentModule->getNavBar())) { // Output module navigation bar *************** *** 107,111 **** echo $usersonline; } else { ! echo "Welcome to the <b>$Title</b> website!"; } --- 120,124 ---- echo $usersonline; } else { ! echo "Welcome to the <b>$ogSiteTitle</b> website!"; } |
From: Jamie <ast...@us...> - 2005-11-22 16:27:56
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23928/includes Modified Files: settings.php Log Message: Fixed call to User::getName() Index: settings.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/settings.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** settings.php 16 Oct 2005 19:35:30 -0000 1.3 --- settings.php 22 Nov 2005 16:27:46 -0000 1.4 *************** *** 109,115 **** if ($user == false) { global $ogUser; ! $this->user = $ogUser->getuserName(); } else if (is_object($user)) { ! $this->user = $user->getuserName(); } else { $this->user = $user; --- 109,115 ---- if ($user == false) { global $ogUser; ! $this->user = $ogUser->getName(); } else if (is_object($user)) { ! $this->user = $user->getName(); } else { $this->user = $user; |
From: Jamie <ast...@us...> - 2005-11-22 16:27:05
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23731/includes Modified Files: functions.php Log Message: added ofStackTrace() Index: functions.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/functions.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** functions.php 19 Nov 2005 02:09:41 -0000 1.12 --- functions.php 22 Nov 2005 16:26:53 -0000 1.13 *************** *** 211,213 **** --- 211,219 ---- version_compare($left, $right); } + + function ofStackTrace() { + echo '<pre class="stack-trace">'; + debug_print_backtrace(); + echo '</pre>'; + } ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2005-11-22 16:25:47
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23322/includes Modified Files: User.php Log Message: Added getName() (a little overdue) Index: User.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/User.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** User.php 19 Oct 2005 04:03:48 -0000 1.2 --- User.php 22 Nov 2005 16:25:39 -0000 1.3 *************** *** 1,691 **** ! <?php ! /* ! * openFIRST.base - includes/User.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Jamie Bliss <ast...@gm...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by [...1358 lines suppressed...] ! ); ! } ! } ! ! function updateLastSeen() { ! if ( !$this->isRealUser() ) return; ! global $ogDB; ! $this->mLastSeen = date("h:i:s M d, Y"); ! $ogDB->update( 'members', ! array( 'lastseen' => $this->mLastSeen ), ! array( 'user' => $this->mName ) ! ); ! // Don't set $this->mDirty because we saved the changes. ! } ! ! function &getSettingsObject($module=false) { ! return new UserSettings($module,$this); ! } ! } ! ?> |
From: Jamie <ast...@us...> - 2005-11-22 16:23:45
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22763/includes Modified Files: Module.php Log Message: ModuleManager tracks current module now. (An effort to make sure that if a module uses there own class, it will be used instead of w/e globals.php uses.) Index: Module.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/Module.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Module.php 19 Oct 2005 03:58:34 -0000 1.11 --- Module.php 22 Nov 2005 16:23:37 -0000 1.12 *************** *** 38,42 **** */ class ModuleManager { ! /*private*/ var $ids, $dirs, $modules; /** Returns the ID of the module in the dir. --- 38,42 ---- */ class ModuleManager { ! /*private*/ var $ids, $dirs, $modules, $objs = array(), $current; /** Returns the ID of the module in the dir. *************** *** 85,105 **** $dir = $mod->getDir(); $id = $mod->getID(); ! if (!isset($this->ids[$id])) $this->ids[$id] = array(); ! $this->ids[$id][] = $dir; ! $this->dirs[$dir] = $id; $this->modules[$dir] =& $mod; } function &addModuleFromDir($dir) { ! $mod =& Module::createFromDir($dir); ! $dir = $mod->getDir(); ! $id = $mod->getID(); ! if (!isset($this->ids[$id])) $this->ids[$id] = array(); ! $this->ids[$id][] = $dir; ! $this->dirs[$dir] = $id; ! $this->modules[$dir] =& $mod; return $mod; } function getDirs() { if (is_array($this->modules)) { --- 85,119 ---- $dir = $mod->getDir(); $id = $mod->getID(); ! if (!isset($this->modules[$dir])) { ! if (!isset($this->ids[$id])) $this->ids[$id] = array(); ! $this->ids[$id][] = $dir; ! $this->dirs[$dir] = $id; ! } $this->modules[$dir] =& $mod; } function &addModuleFromDir($dir) { ! if (!isset($this->modules[$dir])) { ! $mod =& Module::createFromDir($dir); ! $dir = $mod->getDir(); ! $id = $mod->getID(); ! if (!isset($this->ids[$id])) $this->ids[$id] = array(); ! $this->ids[$id][] = $dir; ! $this->dirs[$dir] = $id; ! $this->modules[$dir] =& $mod; ! } else { ! $mod =& $this->modules[$dir]; ! } return $mod; } + function setCurrent($dir) { + $this->current = $dir; + } + + function &getCurrent() { + return $this->getModuleFromDir($this->current); + } + function getDirs() { if (is_array($this->modules)) { *************** *** 117,122 **** function Module($dir) { global $ogDB; ! $sql = 'SELECT * FROM '.$ogDB->quoteTable('config').' WHERE '.$ogDB->quoteFDPairs(array('dir'=>$dir), ' AND ').' LIMIT 0,1'; ! $res = $ogDB->query($sql); $mod = $ogDB->fetchObject($res); $ogDB->freeResult($res); --- 131,135 ---- function Module($dir) { global $ogDB; ! $res = $ogDB->select('config', '*', array('dir'=>$dir), array('LIMIT' => '0,1')); $mod = $ogDB->fetchObject($res); $ogDB->freeResult($res); *************** *** 148,158 **** /*** STATIC FUNCTIONS ***/ - /** Creates a Module object from a directory in the oF directory. - * This isn't actually possible, since the same module can have multiple dirs - */ - /*static*/ /*function createFromID($ID) { - return new Module($ID); - }*/ - /*static*/ function createFromDir($Dir) { return new Module($Dir); --- 161,164 ---- |
From: Jamie <ast...@us...> - 2005-11-22 16:22:03
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22457/config Modified Files: modules.php Log Message: A readability/performance enhancement Index: modules.php =================================================================== RCS file: /cvsroot/openfirst/base/config/modules.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** modules.php 19 Oct 2005 04:18:00 -0000 1.11 --- modules.php 22 Nov 2005 16:21:55 -0000 1.12 *************** *** 1,105 **** ! <?php ! /* ! * openFIRST.base - config/modules.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Dave DiBiase <dav...@ea...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: configure OpenFIRST modules, including their position on menus ! ! include("../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include($Header); ! ! // Check if user wishes to make updates ! if(isset($_POST['update'])) { ! ! // Query for current module information and loop through with while ! foreach($ogModuleManager->getDirs() as $dir) { ! $mod = $ogModuleManager->getModuleFromDir($dir); ! $name = $mod->getDir(); ! // Set values to update db for checkboxes ! if ( isset($_POST[$name.'-active']) ) { ! $active = true; ! ! } else { ! $active = false; ! } ! $mod->setActive($active); ! if( isset($_POST[$name.'-showonmenu']) ) { ! $showonmenu = true; ! } else { ! $showonmenu = false; ! } ! $mod->setShowOnMenu($showonmenu); ! } ! ! // Successful creation response and die with footers. ! echo "<p>Module information has been updated, thank you. [ <a href='modules.php'>Modules</a> ]</p>"; ! include($Footer); ! die; ! ! } ! ?> ! ! <h1>Module Administrator</h1> ! <p>This utility will allow you to manage modules for certain openFIRST components.<br> ! This includes enabling them, and setting them to be displayed on the menus.</p> ! ! <?php ! // Get module information and output values ! $mods = $ogModuleManager->getDirs(); ! // Make sure that module exists (bug #124) ! if (count($mods) == 0) ! { ! echo "<p class='error'>Please install modules before administrating them! [ <a href='install.php'>Install Component</a> ]</p>"; ! include($footer); ! die; ! } ! ?> ! <form method="post" action="modules.php"> ! <table> ! <tr> ! <th>Module Name</th> ! <th>Activate</th> ! <th>Show Menu</th> ! </tr> ! <?php ! foreach($mods as $dir) { ! $mod = $ogModuleManager->getModuleFromDir($dir); ! ?> ! <tr> ! <td><input name="<?php echo $mod->getDir(); ?>-modulename" type="text" id="modulename" value="<?php echo $mod->getName(); ?>"></td> ! <td bgcolor='<?php if ($mod->getActive()){ echo "#00FF00"; } else { echo "red"; } ?>'><input name="<?php echo $mod->getDir(); ?>-active" type="checkbox" id="active" value="checkbox" <?php if ($mod->getActive()) { echo "checked='checked'"; } ?>></td> ! <td bgcolor='<?php if ($mod->getShowOnMenu()) { echo "#00FF00"; } else { echo "red"; } ?>'><input name="<?php echo $mod->getDir(); ?>-showonmenu" type="checkbox" id="showonmenu" value="checkbox" <?php if($module->getShowOnMenu()) { echo "checked='checked'"; } ?>></td> ! </tr> ! <?php ! } ! ?> ! </table> ! <br> ! <input type="submit" name="update" value="Update Values" /> ! </form> ! ! <?php include($Footer); ?> \ No newline at end of file --- 1,107 ---- ! <?php ! /* ! * openFIRST.base - config/modules.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Dave DiBiase <dav...@ea...> ! * ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! * ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * This program is distributed in the hope that it will be useful, ! * but WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! * GNU General Public License for more details. ! * ! * You should have received a copy of the GNU General Public License ! * along with this program; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! */ ! // Purpose: configure OpenFIRST modules, including their position on menus ! ! include("../includes/globals.php"); ! $ogUser->mustBeAdmin(); ! include($Header); ! ! // Check if user wishes to make updates ! if(isset($_POST['update'])) { ! ! // Query for current module information and loop through with while ! foreach($ogModuleManager->getDirs() as $dir) { ! $mod = $ogModuleManager->getModuleFromDir($dir); ! $name = $mod->getDir(); ! // Set values to update db for checkboxes ! if ( isset($_POST[$name.'-active']) ) { ! $active = true; ! ! } else { ! $active = false; ! } ! $mod->setActive($active); ! if( isset($_POST[$name.'-showonmenu']) ) { ! $showonmenu = true; ! } else { ! $showonmenu = false; ! } ! $mod->setShowOnMenu($showonmenu); ! } ! ! // Successful creation response and die with footers. ! echo "<p>Module information has been updated, thank you. [ <a href='modules.php'>Modules</a> ]</p>"; ! include($Footer); ! die; ! ! } ! ?> ! ! <h1>Module Administrator</h1> ! <p>This utility will allow you to manage modules for certain openFIRST components.<br> ! This includes enabling them, and setting them to be displayed on the menus.</p> ! ! <?php ! // Get module information and output values ! $mods = $ogModuleManager->getDirs(); ! // Make sure that module exists (bug #124) ! if (count($mods) == 0) ! { ! echo "<p class='error'>Please install modules before administrating them! [ <a href='install.php'>Install Component</a> ]</p>"; ! include($footer); ! die; ! } ! ?> ! <form method="post" action="modules.php"> ! <table> ! <tr> ! <th>Module Name</th> ! <th>Activate</th> ! <th>Show Menu</th> ! </tr> ! <?php ! foreach($mods as $dir) { ! $mod = $ogModuleManager->getModuleFromDir($dir); ! $show = $mod->getShowOnMenu(); ! $act = $mod->getActive(); ! ?> ! <tr> ! <td><input name="<?php echo $mod->getDir(); ?>-modulename" type="text" id="modulename" value="<?php echo $mod->getName(); ?>"></td> ! <td bgcolor='<?php if ($act ) { echo "lime"; } else { echo "red"; } ?>'><input name="<?php echo $mod->getDir(); ?>-active" type="checkbox" id="<?php echo $mod->getDir(); ?>-active" value="checkbox" <?php if ($act) { echo "checked='checked'"; } ?>></td> ! <td bgcolor='<?php if ($show) { echo "lime"; } else { echo "red"; } ?>'><input name="<?php echo $mod->getDir(); ?>-showonmenu" type="checkbox" id="<?php echo $mod->getDir(); ?>-showonmenu" value="checkbox" <?php if ($show) { echo "checked='checked'"; } ?>></td> ! </tr> ! <?php ! } ! ?> ! </table> ! <br> ! <input type="submit" name="update" value="Update Values" /> ! </form> ! ! <?php include($Footer); ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2005-11-22 16:15:43
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20869/includes Modified Files: sitesettings.tpl Log Message: Changed $Title to $ogSiteTitle and made $Title exclussively page-specific Index: sitesettings.tpl =================================================================== RCS file: /cvsroot/openfirst/base/includes/sitesettings.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sitesettings.tpl 19 Oct 2005 04:12:21 -0000 1.5 --- sitesettings.tpl 22 Nov 2005 16:15:35 -0000 1.6 *************** *** 1,35 **** ! <?php ! /* ! * openFIRST base configuration file ! * This file has been automatically generated by first.php. ! * it contains the basic configuration options required to ! * operate the OpenFIRST web portal software. Note, that ! * most configuration options are now stored in the MySQL ! * database, in the ofirst_config table. ! */ ! ! $ogEncryptionType = %ENCRYPT%; ! ! $Title = %TITLE%; ! $Version = %VER%; ! ! $ogSQLServer = %DBSERVER%; ! $ogDataBaseType = %DBTYPE%; ! $ogSQLUser = %DBUSER%; ! $ogSQLPassword = %DBPASS%; ! $ogSQLDatabase = %DBNAME%; ! $ogSQLTablePrefix = 'ofirst_'; ! ! $ogPasswordSaveEnabled = !(%COOKIE%); ! $regEnabled = %REG%; ! $Server = %SERVER%; ! $BasePath = %BASEPATH%; ! $fBasePath = %FBASEPATH%; ! $Home = %HOME%; ! $StylePath = "$BasePath/style"; ! $fStylePath = "$fBasePath/style"; ! $Header = %HEADER%; ! $Footer = %FOOTER%; ! $MailNotify = %MASTERMAIL%; ! $MailFrom = %BOTMAIL%; ?> \ No newline at end of file --- 1,35 ---- ! <?php ! /* ! * openFIRST base configuration file ! * This file has been automatically generated by first.php. ! * it contains the basic configuration options required to ! * operate the OpenFIRST web portal software. Note, that ! * most configuration options are now stored in the MySQL ! * database, in the ofirst_config table. ! */ ! ! $ogEncryptionType = %ENCRYPT%; ! ! $ogSiteTitle = %TITLE%; ! $Version = %VER%; ! ! $ogSQLServer = %DBSERVER%; ! $ogDataBaseType = %DBTYPE%; ! $ogSQLUser = %DBUSER%; ! $ogSQLPassword = %DBPASS%; ! $ogSQLDatabase = %DBNAME%; ! $ogSQLTablePrefix = 'ofirst_'; ! ! $ogPasswordSaveEnabled = !(%COOKIE%); ! $regEnabled = %REG%; ! $Server = %SERVER%; ! $BasePath = %BASEPATH%; ! $fBasePath = %FBASEPATH%; ! $Home = %HOME%; ! $StylePath = "$BasePath/style"; ! $fStylePath = "$fBasePath/style"; ! $Header = %HEADER%; ! $Footer = %FOOTER%; ! $MailNotify = %MASTERMAIL%; ! $MailFrom = %BOTMAIL%; ?> \ No newline at end of file |
From: Jamie <ast...@us...> - 2005-11-22 03:32:50
|
Update of /cvsroot/openfirst/base/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9969/includes Modified Files: MSSQLDataBase.php MySQLDataBase.php ODBCDataBase.php dbase.php Log Message: - Added option to makeSelectOps (or w/e) - Added fetchArray() from the 1.1 branch Index: MSSQLDataBase.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/MSSQLDataBase.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MSSQLDataBase.php 15 Oct 2005 19:21:01 -0000 1.2 --- MSSQLDataBase.php 22 Nov 2005 03:32:42 -0000 1.3 *************** *** 111,114 **** --- 111,120 ---- return mssql_fetch_object($resource); } + + function fetchArray($resource, $rownumber = false) { + $this->checkForFunction('mssql_fetch_assoc'); + //@NOTE mssql_fetch_assoc() is undocumented. + return mssql_fetch_assoc($resource); + } function numberOfRows($resource) { Index: ODBCDataBase.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/ODBCDataBase.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ODBCDataBase.php 15 Oct 2005 19:21:01 -0000 1.1 --- ODBCDataBase.php 22 Nov 2005 03:32:42 -0000 1.2 *************** *** 87,90 **** --- 87,99 ---- } + function fetchArray($resource, $rownumber = false) { + $this->checkForFunction('odbc_fetch_array'); + if($rownumber !== false) { + return odbc_fetch_array($resource, $rownumber); + } else { + return odbc_fetch_array($resource); + } + } + function numberOfRows($resource) { $this->checkForFunction('odbc_num_rows'); Index: dbase.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/dbase.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** dbase.php 20 Nov 2005 21:45:10 -0000 1.14 --- dbase.php 22 Nov 2005 03:32:42 -0000 1.15 *************** *** 108,111 **** --- 108,116 ---- # Override } + + function fetchArray($resource, $rownumber = false) { + # Override + } + function numberOfRows($resource) { *************** *** 262,265 **** --- 267,272 ---- if ( isset( $options['ORDER BY'] ) ) { $tailOpts .= " ORDER BY {$options['ORDER BY']}"; + } else if ( isset( $options['order'] ) ) { + $tailOpts .= " ORDER BY ".$this->quoteField($options['order']); } if ( isset( $options['LIMIT'] ) ) { Index: MySQLDataBase.php =================================================================== RCS file: /cvsroot/openfirst/base/includes/MySQLDataBase.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MySQLDataBase.php 19 Oct 2005 03:59:48 -0000 1.3 --- MySQLDataBase.php 22 Nov 2005 03:32:42 -0000 1.4 *************** *** 85,88 **** --- 85,93 ---- } + function fetchArray($resource, $rownumber = false) { + $this->checkForFunction('mysql_fetch_assoc'); + return mysql_fetch_assoc($resource); + } + function numberOfRows($resource) { $this->checkForFunction('mysql_num_rows'); |
From: Jamie <ast...@us...> - 2005-11-21 20:44:36
|
Update of /cvsroot/openfirst/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2938/www Modified Files: updatesite.sh Log Message: I think I have it right now... Index: updatesite.sh =================================================================== RCS file: /cvsroot/openfirst/www/updatesite.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** updatesite.sh 21 Nov 2005 20:27:27 -0000 1.9 --- updatesite.sh 21 Nov 2005 20:44:16 -0000 1.10 *************** *** 21,24 **** --- 21,25 ---- # Grab style files from CVS so that the installer works + rm -fr htdocs/style cvs -d:pserver:anonymous@cvs1:/cvsroot/openfirst export -rHEAD base/style/style.css base/style/images mv -f base/style htdocs |
From: Jamie <ast...@us...> - 2005-11-21 20:27:37
|
Update of /cvsroot/openfirst/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31126/www Modified Files: updatesite.sh Log Message: changed installer style path to of.sf.net/style Index: updatesite.sh =================================================================== RCS file: /cvsroot/openfirst/www/updatesite.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** updatesite.sh 21 Nov 2005 20:24:45 -0000 1.8 --- updatesite.sh 21 Nov 2005 20:27:27 -0000 1.9 *************** *** 22,26 **** # Grab style files from CVS so that the installer works cvs -d:pserver:anonymous@cvs1:/cvsroot/openfirst export -rHEAD base/style/style.css base/style/images ! mv -f base/style/* htdocs # Ensure website can write session information --- 22,26 ---- # Grab style files from CVS so that the installer works cvs -d:pserver:anonymous@cvs1:/cvsroot/openfirst export -rHEAD base/style/style.css base/style/images ! mv -f base/style htdocs # Ensure website can write session information |
From: Jamie <ast...@us...> - 2005-11-21 20:26:18
|
Update of /cvsroot/openfirst/base/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30618/base/style Modified Files: headers.php Log Message: default style path now openfirst.sf.net/style Index: headers.php =================================================================== RCS file: /cvsroot/openfirst/base/style/headers.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** headers.php 19 Oct 2005 03:56:27 -0000 1.9 --- headers.php 21 Nov 2005 20:26:09 -0000 1.10 *************** *** 1,140 **** ! <?php ! header('content-type: text/html; charset=utf-8'); ! ! global $BasePath, $ogModuleManager, $ogMoreStyles, $Home, $ogCurrentModule; ! global $Title, $usersonline, $ogUser, $StylePath; ! ! if(! isset($BasePath)){ ! $BasePath = 'http://openfirst.sourceforge.net'; ! $StylePath = 'http://openfirst.sourceforge.net'; ! $title = "openFIRST Team"; ! } else { ! $headerlinks = array(); ! if (isset($ogModuleManager)) { ! foreach($ogModuleManager->getDirs() as $dir) { ! $module =& $ogModuleManager->getModuleFromDir($dir); ! if ($module->getActive() && $module->getShowOnMenu()) { ! if ($ogCurrentModule->getDir() == $dir){ ! $CurrentModule =& $thisModule; ! $headerlinks[] = ' » <a class="menu selected" href="'.htmlentities("$BasePath/$dir").'">'.htmlentities($module->getName()).'</a> ! '; ! $adminnav = $module->getAdminBar(); ! $subnav = $module->getNavBar(); ! ! } else { ! $headerlinks[] .= ' » <a class="menu" href="'.htmlentities("$BasePath/$dir").'">'.htmlentities($module->getName()).'</a> ! '; ! } ! } ! } ! } ! ! $headers = implode(' |', $headerlinks); ! unset($headerlinks); ! } ! ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html> ! <head> ! <title><?php echo htmlentities($Title); ?></title> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <meta http-equiv="Content-Language" content="en" /> ! <meta name="copyright" content="© 2003 openFIRST http://openfirst.sf.net." /> ! <meta name="author" content="openFIRST - http://openfirst.sf.net" /> ! <meta name="generator" content="openFIRST - http://openfirst.sf.net" /> ! <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/style.css" /> ! <?php ! if (isset($ogMoreStyles) && trim($ogMoreStyles) != '') { ! echo '<style type="text/css"> ! '.htmlentities($ogMoreStyles).' ! </style> ! '; ! } ! ?> ! </head> ! <body> ! ! <table class="nav1"> ! <tr id="toplogo"> ! <td> ! <img src="<?php echo htmlentities($StylePath); ?>/images/openfirst.png" alt="openFIRST Portal System" /> ! </td> ! </tr> ! <tr> ! <th id="topmenu"> ! <?php ! if(isset($headers)){ ! echo("» <a accesskey='h' href='$Home'><u>H</u>ome</a> | " . $headers); ! }else{ ! ?> ! » <a accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> ! | » <a accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> ! | » <a accesskey="r" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease Notes</a> ! | » <a accesskey="m" href="http://openfirst.sourceforge.net/modules.php"><u>M</u>odules</a> ! | » <a accesskey="l" href="http://openfirst.sourceforge.net/license.php"><u>L</u>icense</a> ! | » <a accesskey="b" href="http://openfirst.sourceforge.net/bugreports.php"><u>B</u>ug Reports</a> ! | » <a accesskey="c" href="http://openfirst.sourceforge.net/contact.php"><u>C</u>ontact Us</a> ! | » <a accesskey="a" href="http://openfirst.sourceforge.net/about.php"><u>A</u>bout openFIRST</a> ! | » <a accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> ! <?php } ?> ! </th> ! </tr> ! <tr> ! <td class="nav2" style="background-image: url('<?php echo htmlentities($StylePath); ?>/images/back-light.gif'); "> ! <table width="100%" border="0" cellspacing="0" ! cellpadding="0"> ! <tr> ! <td class="left"> ! <?php ! ! // Check if module name has been set then echo ! if(isset($ogCurrentModule) && !$ogCurrentModule->isBase()){ ! echo '<b>'.htmlentities($ogCurrentModule->getName()).'</b> – '; ! } ! ! // Check if navigation bar option is set then echo options ! if (isset($ogCurrentModule) && ($nav = $ogCurrentModule->getNavBar())) { ! ! // Output module navigation bar ! echo $nav; ! } ! ?> ! </td> ! <td class="right" style="color: #333333;"> ! <?php ! ! // Check if messenger module has activated usersonline option then echo value ! if(isset($usersonline)){ ! echo $usersonline; ! } else { ! echo "Welcome to the <b>$Title</b> website!"; ! } ! ! ?> ! </td> ! </tr> ! </table></td> ! </tr> ! <?php ! ! if (isset($ogUser) && isset($ogCurrentModule) && $ogUser->isAdmin() && ($nav = $ogCurrentModule->getAdminBar())){ ! ?> ! <tr> ! <td id="adminmenu"><b>Admin Options</b> – ! <?php ! // Print admin navigation bar ! echo $nav; ! ?></td> ! </tr> ! <?php ! ! } ! ! ?> ! </table><div id="content"> ! <?php ! ! if ($BasePath == 'http://openfirst.sourceforge.net') { ! unset($BasePath); ! } ! ! ?> --- 1,140 ---- ! <?php ! header('content-type: text/html; charset=utf-8'); ! ! global $BasePath, $ogModuleManager, $ogMoreStyles, $Home, $ogCurrentModule; ! global $Title, $usersonline, $ogUser, $StylePath; ! ! if(! isset($BasePath)){ ! $BasePath = 'http://openfirst.sourceforge.net'; ! $StylePath = 'http://openfirst.sourceforge.net/style'; ! $title = "openFIRST Team"; ! } else { ! $headerlinks = array(); ! if (isset($ogModuleManager)) { ! foreach($ogModuleManager->getDirs() as $dir) { ! $module =& $ogModuleManager->getModuleFromDir($dir); ! if ($module->getActive() && $module->getShowOnMenu()) { ! if ($ogCurrentModule->getDir() == $dir){ ! $CurrentModule =& $thisModule; ! $headerlinks[] = ' » <a class="menu selected" href="'.htmlentities("$BasePath/$dir").'">'.htmlentities($module->getName()).'</a> ! '; ! $adminnav = $module->getAdminBar(); ! $subnav = $module->getNavBar(); ! ! } else { ! $headerlinks[] .= ' » <a class="menu" href="'.htmlentities("$BasePath/$dir").'">'.htmlentities($module->getName()).'</a> ! '; ! } ! } ! } ! } ! ! $headers = implode(' |', $headerlinks); ! unset($headerlinks); ! } ! ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html> ! <head> ! <title><?php echo htmlentities($Title); ?></title> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> ! <meta http-equiv="Content-Language" content="en" /> ! <meta name="copyright" content="© 2003 openFIRST http://openfirst.sf.net." /> ! <meta name="author" content="openFIRST - http://openfirst.sf.net" /> ! <meta name="generator" content="openFIRST - http://openfirst.sf.net" /> ! <link rel="stylesheet" type="text/css" href="<?php echo htmlentities($StylePath); ?>/style.css" /> ! <?php ! if (isset($ogMoreStyles) && trim($ogMoreStyles) != '') { ! echo '<style type="text/css"> ! '.htmlentities($ogMoreStyles).' ! </style> ! '; ! } ! ?> ! </head> ! <body> ! ! <table class="nav1"> ! <tr id="toplogo"> ! <td> ! <img src="<?php echo htmlentities($StylePath); ?>/images/openfirst.png" alt="openFIRST Portal System" /> ! </td> ! </tr> ! <tr> ! <th id="topmenu"> ! <?php ! if(isset($headers)){ ! echo("» <a accesskey='h' href='$Home'><u>H</u>ome</a> | " . $headers); ! }else{ ! ?> ! » <a accesskey="h" href="http://openfirst.sourceforge.net"><u>H</u>ome</a> ! | » <a accesskey="d" href="http://openfirst.sourceforge.net/downloads.php"><u>D</u>ownloads</a> ! | » <a accesskey="r" href="http://openfirst.sourceforge.net/release.php"><u>R</u>elease Notes</a> ! | » <a accesskey="m" href="http://openfirst.sourceforge.net/modules.php"><u>M</u>odules</a> ! | » <a accesskey="l" href="http://openfirst.sourceforge.net/license.php"><u>L</u>icense</a> ! | » <a accesskey="b" href="http://openfirst.sourceforge.net/bugreports.php"><u>B</u>ug Reports</a> ! | » <a accesskey="c" href="http://openfirst.sourceforge.net/contact.php"><u>C</u>ontact Us</a> ! | » <a accesskey="a" href="http://openfirst.sourceforge.net/about.php"><u>A</u>bout openFIRST</a> ! | » <a accesskey="e" href="http://openfirst.sourceforge.net/developers.php">D<u>e</u>velopers</a> ! <?php } ?> ! </th> ! </tr> ! <tr> ! <td class="nav2" style="background-image: url('<?php echo htmlentities($StylePath); ?>/images/back-light.gif'); "> ! <table width="100%" border="0" cellspacing="0" ! cellpadding="0"> ! <tr> ! <td class="left"> ! <?php ! ! // Check if module name has been set then echo ! if(isset($ogCurrentModule) && !$ogCurrentModule->isBase()){ ! echo '<b>'.htmlentities($ogCurrentModule->getName()).'</b> – '; ! } ! ! // Check if navigation bar option is set then echo options ! if (isset($ogCurrentModule) && ($nav = $ogCurrentModule->getNavBar())) { ! ! // Output module navigation bar ! echo $nav; ! } ! ?> ! </td> ! <td class="right" style="color: #333333;"> ! <?php ! ! // Check if messenger module has activated usersonline option then echo value ! if(isset($usersonline)){ ! echo $usersonline; ! } else { ! echo "Welcome to the <b>$Title</b> website!"; ! } ! ! ?> ! </td> ! </tr> ! </table></td> ! </tr> ! <?php ! ! if (isset($ogUser) && isset($ogCurrentModule) && $ogUser->isAdmin() && ($nav = $ogCurrentModule->getAdminBar())){ ! ?> ! <tr> ! <td id="adminmenu"><b>Admin Options</b> – ! <?php ! // Print admin navigation bar ! echo $nav; ! ?></td> ! </tr> ! <?php ! ! } ! ! ?> ! </table><div id="content"> ! <?php ! ! if ($BasePath == 'http://openfirst.sourceforge.net') { ! unset($BasePath); ! } ! ! ?> |
From: Jamie <ast...@us...> - 2005-11-21 20:24:54
|
Update of /cvsroot/openfirst/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30279/www Modified Files: updatesite.sh Log Message: grabs style files for the oF installer Index: updatesite.sh =================================================================== RCS file: /cvsroot/openfirst/www/updatesite.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** updatesite.sh 25 May 2005 21:04:05 -0000 1.7 --- updatesite.sh 21 Nov 2005 20:24:45 -0000 1.8 *************** *** 20,23 **** --- 20,27 ---- cd ../../ + # Grab style files from CVS so that the installer works + cvs -d:pserver:anonymous@cvs1:/cvsroot/openfirst export -rHEAD base/style/style.css base/style/images + mv -f base/style/* htdocs + # Ensure website can write session information chmod o+w,g+w tmp/ |
From: Tim G. <xt...@us...> - 2005-11-21 20:10:23
|
Update of /cvsroot/openfirst/www/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27041 Modified Files: .htaccess Log Message: Fix cvs redirect. Index: .htaccess =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/.htaccess,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** .htaccess 21 Nov 2005 20:08:22 -0000 1.5 --- .htaccess 21 Nov 2005 20:10:15 -0000 1.6 *************** *** 44,48 **** Redirect Permanent /developers/ http://www.openfirst.org/volunteers/ Redirect Permanent /developers http://www.openfirst.org/volunteers/ ! Redirect Permanent /cvs http://www.openfirst.org/doc/cvs Redirect Permanent /cvs/smartcvs http://www.openfirst.org/doc/smartcvs Redirect Permanent /cvs/smartcvs3 http://www.openfirst.org/doc/smartcvs3 --- 44,48 ---- Redirect Permanent /developers/ http://www.openfirst.org/volunteers/ Redirect Permanent /developers http://www.openfirst.org/volunteers/ ! Redirect Permanent /cvs http://www.openfirst.org/doc/ Redirect Permanent /cvs/smartcvs http://www.openfirst.org/doc/smartcvs Redirect Permanent /cvs/smartcvs3 http://www.openfirst.org/doc/smartcvs3 |
Update of /cvsroot/openfirst/www/htdocs/doc/smartcvs3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26586/doc/smartcvs3 Added Files: checkout-to-projectsettings.png choose-directory.png confirmation-to-finish.png enter-password.png index.php license.png new-repository.png program-version.png projectsettings-to-confirmation.png repository-to-manage.png repository-to-modules.png repositorymanager-click-ok.png repositorymanager-to-add.png select-modules.png target-directory.png target-to-checkout.png tip-of-the-day.png welcome-screen.png Log Message: Move cvs to doc/cvs since directory name cvs conflicts with directory CVS used for version control on case insensitive OSes --- NEW FILE: confirmation-to-finish.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tip-of-the-day.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repositorymanager-click-ok.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: checkout-to-projectsettings.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new-repository.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.php --- <h1>SmartCVS Tutorial</h1> <p>These instructions are for SmartCVS 3. If you are using an older version, you probably want the <a href='/cvs/smartcvs'>SmartCVS 2 directions</a></p> Step: <a href="index.php?step=0">0</a> <a href="index.php?step=1">1</a> <a href="index.php?step=2">2</a> <a href="index.php?step=3">3</a> <a href="index.php?step=4">4</a> <a href="index.php?step=5">5</a> <a href="index.php?step=6">6</a> <a href="index.php?step=7">7</a> <a href="index.php?step=8">8</a> <a href="index.php?step=9">9</a> <a href="index.php?step=10">10</a> <a href="index.php?step=11">11</a> <a href="index.php?step=12">12</a> <a href="index.php?step=13">13</a> <a href="index.php?step=14">14</a> <a href="index.php?step=15">15</a> <a href="index.php?step=16">16</a> <a href="index.php?step=all">View all steps on one page</a> <p><b>Note:</b> The screenshots for this tutorial are taken in Linux (with the graphical environment KDE) but the SmartCVS interface is universal across all Operating Systems supporting Java. This tutorial assumes that the user has already <a href="http://www.smartcvs.com/download.html">downloaded SmartCVS</a> to their computer, has finished running the setup program, and has just opened SmartCVS for the very first time.</p> <p>At the end of this tutorial you will have a local copy of the most recent version of the openFIRST system.</p> <?php if(! isset($_GET["step"])) { $_GET["step"] = 0; } $step = $_GET["step"]; if($step == 0 || $step == "all") { ?> <br><img src="license.png" alt="License Agreement Screenshot"> <br>Scroll to the bottom of the license agreement, and check the checkbox labelled <i>I understand and agree to all terms and conditions of this agreement</i>, then click <a href="index.php?step=1"><b>Next ></b></a> <?php } if($step == 1 || $step == "all") { ?> <br><img src="program-version.png" alt="Program Version Screenshot"> <br>Click <a href="index.php?step=2"><b>Finish</b></a>. <?php } if($step == 2 || $step == "all") { ?> <br><img src="tip-of-the-day.png" alt="Tip of the Day"> <br>Dismiss the Tip of the Day window by clicking <a href="index.php?step=3"><b>Close</b></a> <?php } if($step == 3 || $step == "all") { ?> <br><img src="welcome-screen.png" alt="Welcome to SmartCVS"> <br>Click on <a href="index.php?step=4"><b>OK</b></a> <?php } if($step == 4 || $step == "all") { ?> <br><img src="repository-to-manage.png" alt="Choose a repository to manage"> <br>Click on <a href="index.php?step=5"><b>Manage...</b></a> <?php } if($step == 5 || $step == "all") { ?> <br><img src="repositorymanager-to-add.png" alt="Repository Manager Add..."> <br>Click on <a href="index.php?step=6"><b>Add...</b></a> <?php } if($step == 6 || $step == "all") { ?> <br><img src="new-repository.png" alt="New Repository"> <br>Select <b>ext (SSH 1/SSH 2)</b> as the <i>Access Method</i> <br>Enter your SourceForge.net username as the <i>User Name</i> <br>Enter <b>cvs.sourceforge.net</b> as the <i>Server Name</i> <br>Enter <b>/cvsroot/openfirst</b> as the <i>Repository Path</i> <br>Leave <i>Authentication</i> as <b>Password</b> <br>Enter your SourceForge.net password as the <i>Password</i> <br>Uncheck <i>Verify Connection When Pressing 'OK'</i> <br>Click <a href="index.php?step=7"><b>OK</b></a> <?php } if($step == 7 || $step == "all") { ?> <br><img src="repositorymanager-click-ok.png" alt="Click OK"> <br>Click <a href="index.php?step=8"><b>OK</b></a> <?php } if($step == 8 || $step == "all") { ?> <br><img src="repository-to-modules.png" alt="Click Next"> <br>Click <a href="index.php?step=9"><b>Next ></b></a> <?php } if($step == 9 || $step == "all") { ?> <br><img src="select-modules.png" alt="Select Modules"> <br>Type in the modules you would like to check out. A complete list is available at <a href="http://cvs.sourceforge.net/viewcvs.py/openfirst/">http://cvs.sourceforge.net/viewcvs.py/openfirst/</a>. <br>(Note: config, config_asp, and logger_asp are obsolete modules that you probably don't want to check out.) <br>(Note: do not include the / after the module name) <br>Once you have entered all the modules you would like to checkout, click <a href="index.php?step=10"><b>Next ></b></a>. <?php } if($step == 10 || $step == "all") { ?> <br><img src="target-directory.png" alt="Target Directory"> <br>Click on the <a href="index.php?step=11"><i>Folder</i></a> to browse for the location to place your local copy of the files in CVS. <?php } if($step == 11 || $step == "all") { ?> <br><img src="choose-directory.png" alt="Choose Directory"> <br>Choose the directory you wish to place the your local copy of the CVS repository in. <br>Click <a href="index.php?step=12"><b>Select</b></a> <?php } if($step == 12 || $step == "all") { ?> <br><img src="target-to-checkout.png" alt="Target to Checkout"> <br>Click <a href="index.php?step=13"><b>Next ></b></a> <?php } if($step == 13 || $step == "all") { ?> <br><img src="checkout-to-projectsettings.png" alt="Checkout to Project Settings"> <br>Click <a href="index.php?step=14"><b>Next ></b></a> <?php } if($step == 14 || $step == "all") { ?> <br><img src="projectsettings-to-confirmation.png" alt="Project Settings to Confirmation"> <br>Click <a href="index.php?step=15"><b>Next ></b></a> <?php } if($step == 15 || $step == "all") { ?> <br><img src="confirmation-to-finish.png" alt="Confirmation to Finish"> <br>Click <a href="index.php?step=16"><b>Finish</b></a> <?php } if($step == 16 || $step == "all") { ?> <br><img src="enter-password.png" alt="Public Host Key Verification"> <br>Click <b>Yes</b> to state your trust for the SourceForge CVS server. <br>At this point SmartCVS will check out a copy of the CVS repository to your local machine. Depending on the modules you have selected, and the speed of your Internet connection, this process may take a while. <?php } ?> --- NEW FILE: projectsettings-to-confirmation.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: enter-password.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: target-to-checkout.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: choose-directory.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: select-modules.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repositorymanager-to-add.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repository-to-manage.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: welcome-screen.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repository-to-modules.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: program-version.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: license.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: target-directory.png --- (This appears to be a binary file; contents omitted.) |
From: Tim G. <xt...@us...> - 2005-11-21 20:08:32
|
Update of /cvsroot/openfirst/www/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26586 Modified Files: .htaccess Log Message: Move cvs to doc/cvs since directory name cvs conflicts with directory CVS used for version control on case insensitive OSes Index: .htaccess =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/.htaccess,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** .htaccess 5 Nov 2005 14:53:29 -0000 1.4 --- .htaccess 21 Nov 2005 20:08:22 -0000 1.5 *************** *** 44,46 **** --- 44,49 ---- Redirect Permanent /developers/ http://www.openfirst.org/volunteers/ Redirect Permanent /developers http://www.openfirst.org/volunteers/ + Redirect Permanent /cvs http://www.openfirst.org/doc/cvs + Redirect Permanent /cvs/smartcvs http://www.openfirst.org/doc/smartcvs + Redirect Permanent /cvs/smartcvs3 http://www.openfirst.org/doc/smartcvs3 |
Update of /cvsroot/openfirst/www/htdocs/doc/smartcvs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26586/doc/smartcvs Added Files: checkout-to-projectsettings.png choose-directory.png confirmation-to-finish.png enter-password.png index.php license.png new-repository.png program-version.png projectsettings-to-confirmation.png repository-to-manage.png repository-to-modules.png repositorymanager-click-ok.png repositorymanager-to-add.png select-modules.png target-directory.png target-to-checkout.png tip-of-the-day.png welcome-screen.png Log Message: Move cvs to doc/cvs since directory name cvs conflicts with directory CVS used for version control on case insensitive OSes --- NEW FILE: confirmation-to-finish.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tip-of-the-day.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repositorymanager-click-ok.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: checkout-to-projectsettings.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new-repository.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.php --- <h1>SmartCVS Tutorial</h1> Step: <a href="index.php?step=0">0</a> <a href="index.php?step=1">1</a> <a href="index.php?step=2">2</a> <a href="index.php?step=3">3</a> <a href="index.php?step=4">4</a> <a href="index.php?step=5">5</a> <a href="index.php?step=6">6</a> <a href="index.php?step=7">7</a> <a href="index.php?step=8">8</a> <a href="index.php?step=9">9</a> <a href="index.php?step=10">10</a> <a href="index.php?step=11">11</a> <a href="index.php?step=12">12</a> <a href="index.php?step=13">13</a> <a href="index.php?step=14">14</a> <a href="index.php?step=15">15</a> <a href="index.php?step=16">16</a> <a href="index.php?step=all">View all steps on one page</a> <p><b>Note:</b> The screenshots for this tutorial are taken in Linux (with the graphical environment KDE) but the SmartCVS interface is universal across all Operating Systems supporting Java. This tutorial assumes that the user has already <a href="http://www.smartcvs.com/download.html">downloaded SmartCVS</a> to their computer, has finished running the setup program, and has just opened SmartCVS for the very first time.</p> <p>At the end of this tutorial you will have a local copy of the most recent version of the openFIRST system.</p> <?php if(! isset($_GET["step"])) { $_GET["step"] = 0; } $step = $_GET["step"]; if($step == 0 || $step == "all") { ?> <br><img src="license.png" alt="License Agreement Screenshot"> <br>Scroll to the bottom of the license agreement, and check the checkbox labelled <i>I understand and agree to all terms and conditions of this agreement</i>, then click <a href="index.php?step=1"><b>Next ></b></a> <?php } if($step == 1 || $step == "all") { ?> <br><img src="program-version.png" alt="Program Version Screenshot"> <br>Click <a href="index.php?step=2"><b>Finish</b></a>. <?php } if($step == 2 || $step == "all") { ?> <br><img src="tip-of-the-day.png" alt="Tip of the Day"> <br>Dismiss the Tip of the Day window by clicking <a href="index.php?step=3"><b>Close</b></a> <?php } if($step == 3 || $step == "all") { ?> <br><img src="welcome-screen.png" alt="Welcome to SmartCVS"> <br>Click on <a href="index.php?step=4"><b>OK</b></a> <?php } if($step == 4 || $step == "all") { ?> <br><img src="repository-to-manage.png" alt="Choose a repository to manage"> <br>Click on <a href="index.php?step=5"><b>Manage...</b></a> <?php } if($step == 5 || $step == "all") { ?> <br><img src="repositorymanager-to-add.png" alt="Repository Manager Add..."> <br>Click on <a href="index.php?step=6"><b>Add...</b></a> <?php } if($step == 6 || $step == "all") { ?> <br><img src="new-repository.png" alt="New Repository"> <br>Select <b>Built-In SSH-1 (ssh)</b> as the <i>Connection Type</i> <br>Enter your SourceForge.net username as the <i>User Name</i> <br>Enter <b>cvs.sourceforge.net</b> as the <i>Server Name</i> <br>Enter <b>/cvsroot/openfirst</b> as the <i>Repository Path</i> <br>Uncheck <i>Verify Connection When Pressing 'OK'</i> <br>Click <a href="index.php?step=7"><b>OK</b></a> <?php } if($step == 7 || $step == "all") { ?> <br><img src="repositorymanager-click-ok.png" alt="Click OK"> <br>Click <a href="index.php?step=8"><b>OK</b></a> <?php } if($step == 8 || $step == "all") { ?> <br><img src="repository-to-modules.png" alt="Click Next"> <br>Click <a href="index.php?step=9"><b>Next ></b></a> <?php } if($step == 9 || $step == "all") { ?> <br><img src="select-modules.png" alt="Select Modules"> <br>Type in the modules you would like to check out. A complete list is available at <a href="http://cvs.sourceforge.net/viewcvs.py/openfirst/">http://cvs.sourceforge.net/viewcvs.py/openfirst/</a>. <br>(Note: config, config_asp, and logger_asp are obsolete modules that you probably don't want to check out.) <br>(Note: do not include the / after the module name) <br>Once you have entered all the modules you would like to checkout, click <a href="index.php?step=10"><b>Next ></b></a>. <?php } if($step == 10 || $step == "all") { ?> <br><img src="target-directory.png" alt="Target Directory"> <br>Click on the <a href="index.php?step=11"><i>Folder</i></a> to browse for the location to place your local copy of the files in CVS. <?php } if($step == 11 || $step == "all") { ?> <br><img src="choose-directory.png" alt="Choose Directory"> <br>Choose the directory you wish to place the your local copy of the CVS repository in. <br>Click <a href="index.php?step=12"><b>Select</b></a> <?php } if($step == 12 || $step == "all") { ?> <br><img src="target-to-checkout.png" alt="Target to Checkout"> <br>Click <a href="index.php?step=13"><b>Next ></b></a> <?php } if($step == 13 || $step == "all") { ?> <br><img src="checkout-to-projectsettings.png" alt="Checkout to Project Settings"> <br>Click <a href="index.php?step=14"><b>Next ></b></a> <?php } if($step == 14 || $step == "all") { ?> <br><img src="projectsettings-to-confirmation.png" alt="Project Settings to Confirmation"> <br>Click <a href="index.php?step=15"><b>Next ></b></a> <?php } if($step == 15 || $step == "all") { ?> <br><img src="confirmation-to-finish.png" alt="Confirmation to Finish"> <br>Click <a href="index.php?step=16"><b>Finish</b></a> <?php } if($step == 16 || $step == "all") { ?> <br><img src="enter-password.png" alt="Enter Password"> <br>Enter your SourceForge.net password for <i>Password</i> <br>If you are on a private, trusted computer in your home, check <i>Store Password On Disk</i> <br>Click <b>OK</b> <br>At this point SmartCVS will check out a copy of the CVS repository to your local machine. Depending on the modules you have selected, and the speed of your Internet connection, this process may take a while. <?php } ?> --- NEW FILE: projectsettings-to-confirmation.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: enter-password.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: target-to-checkout.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: choose-directory.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: select-modules.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repositorymanager-to-add.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repository-to-manage.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: welcome-screen.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: repository-to-modules.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: program-version.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: license.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: target-directory.png --- (This appears to be a binary file; contents omitted.) |
From: Tim G. <xt...@us...> - 2005-11-21 20:05:58
|
Update of /cvsroot/openfirst/www/htdocs/doc/smartcvs3 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26046/smartcvs3 Log Message: Directory /cvsroot/openfirst/www/htdocs/doc/smartcvs3 added to the repository |
From: Tim G. <xt...@us...> - 2005-11-21 20:05:48
|
Update of /cvsroot/openfirst/www/htdocs/doc/smartcvs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26009/smartcvs Log Message: Directory /cvsroot/openfirst/www/htdocs/doc/smartcvs added to the repository |
From: Jamie <ast...@us...> - 2005-11-21 19:58:58
|
Update of /cvsroot/openfirst/www/htdocs/nightly In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24135/www/htdocs/nightly Removed Files: nightly.php Log Message: Removed. stub. --- nightly.php DELETED --- |
From: Jamie <ast...@us...> - 2005-11-21 19:51:25
|
Update of /cvsroot/openfirst/www/htdocs/nightly In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22880/www/htdocs/nightly Modified Files: package.py Log Message: General cleanup: - Filters the warning from tmpnam (I just need a file to stick the thing, it's only going to be around for 5 minutes at most.) - finalizePackage() exits if the tar doesn't exist (ie, all modules failed) - Removes the tar when everythings done - Fixed bug with interpretation of args - Ouputs the package and module list. Index: package.py =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/nightly/package.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** package.py 21 Nov 2005 18:37:32 -0000 1.2 --- package.py 21 Nov 2005 19:51:17 -0000 1.3 *************** *** 14,17 **** --- 14,19 ---- from optparse import OptionParser from subprocess import * + import warnings + warnings.filterwarnings(action='ignore', message='.*tempnam.*') ## Declare CLI options *************** *** 98,102 **** def finalizePackage(target): ! ## Always generates a warning. I'm too lazy to fix it. tmp = tmpnam() ## gzip takes the liberty of deleting the source file for us. --- 100,105 ---- def finalizePackage(target): ! if not path.exists(target+".tar"): return ! ## Always generates a warning. Filtered farther up. tmp = tmpnam() ## gzip takes the liberty of deleting the source file for us. *************** *** 110,114 **** ## How nice! bzip2 _does_ have an option to keep the source file. system2( "bzip2 -zk %s" % target+".tar" ) ! # remove(target+".tar") def cleanPackage(target): --- 113,117 ---- ## How nice! bzip2 _does_ have an option to keep the source file. system2( "bzip2 -zk %s" % target+".tar" ) ! remove(target+".tar") def cleanPackage(target): *************** *** 140,148 **** ## CVS options not implemented ! package = "pkg/" + args[1] cleanPackage(package) ! modules = args[2:] modules.sort() failed = [] ## Checkout CVS first for mod in modules: --- 143,154 ---- ## CVS options not implemented ! package = "pkg/" + args[0] cleanPackage(package) ! modules = args[1:] modules.sort() failed = [] + + print "Generating package %s using modules %s." % (package, modules) + ## Checkout CVS first for mod in modules: |
From: Jamie <ast...@us...> - 2005-11-21 19:48:24
|
Update of /cvsroot/openfirst/www/htdocs/nightly In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22190/www/htdocs/nightly Modified Files: Makefile Log Message: Added quotes because optparse interprets hyphens as well. Index: Makefile =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/nightly/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 21 Nov 2005 18:37:32 -0000 1.2 --- Makefile 21 Nov 2005 19:48:17 -0000 1.3 *************** *** 4,12 **** $(modules) : ! ./package.py $@-nightly $(subst $(mprefix),,$@) # This module is always available openfirst.base : ! ./package.py openfirst.base-nightly base #Psuedo-target to display help --- 4,12 ---- $(modules) : ! ./package.py "$@-nightly" $(subst $(mprefix),,$@) # This module is always available openfirst.base : ! ./package.py "openfirst.base-nightly" base #Psuedo-target to display help *************** *** 27,35 **** # Modules part of the standard distribution should go here main : ! ./package.py main-nightly base awards # Modules part of the SDK go here sdk : ! ./package.py sdk-nightly modules all : main sdk openfirst.base $(modules) --- 27,35 ---- # Modules part of the standard distribution should go here main : ! ./package.py "main-nightly" base awards # Modules part of the SDK go here sdk : ! ./package.py "sdk-nightly" modules all : main sdk openfirst.base $(modules) |
From: Jamie <ast...@us...> - 2005-11-21 19:47:31
|
Update of /cvsroot/openfirst/www/htdocs/nightly/pkg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22049/www/htdocs/nightly/pkg Modified Files: README Added Files: .cvsignore Log Message: README notes cron dependency ignore *.tar.gz, *.tar.bz2. and *.zip --- NEW FILE: .cvsignore --- *.tar.gz *.tar.bz2 *.zip Index: README =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/nightly/pkg/README,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README 24 Jun 2004 22:28:46 -0000 1.1 --- README 21 Nov 2005 19:47:23 -0000 1.2 *************** *** 1,4 **** ! The files to be in this directory are automatically built. ! This is handled automatically through scripts running on the ! SourceForge.net shell server. --- 1,3 ---- ! When cron is working, the files to be in this directory are automatically built. ! This is handled automatically through scripts running on the SourceForge.net shell server. |
From: Jamie <ast...@us...> - 2005-11-21 19:46:33
|
Update of /cvsroot/openfirst/www/htdocs/nightly In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21867/www/htdocs/nightly Modified Files: makepkg.sh nightly.php Log Message: Forward to Makefile. nightly.php disabled. Add something to prevent malicious visitors from doing a DoS attack. Index: makepkg.sh =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/nightly/makepkg.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** makepkg.sh 30 Jul 2004 03:37:55 -0000 1.2 --- makepkg.sh 21 Nov 2005 19:46:25 -0000 1.3 *************** *** 1,21 **** #!/bin/sh ! ! if [ "$1" = "" ]; then ! echo "<font color="red">Please call me with the paramater of the module name to be packaged.</font><br>" ! ! else ! ! cd pkg ! rm -rf $1/ ! cvs -d:pserver:anonymous@cvs1:/cvsroot/openfirst export -Dtomorrow $1 ! ! rm -rf openfirst-$1-nightly.tar.gz ! tar czf openfirst-$1-nightly.tar.gz $1 ! rm -rf openfirst-$1-nightly.tar.bz ! tar cjf openfirst-$1-nightly.tar.bz $1 ! rm -rf openfirst-$1-nightly.zip ! zip -r openfirst-$1-nightly.zip $1 ! ! echo "<font color="green">Package: <b>$1</b> success!</font><br>" ! fi --- 1,7 ---- #!/bin/sh ! # Forward to the Makefile ! if make all; then ! echo "<font color="green">Package: <b>$1</b> success!</font><br>" ! else ! echo "<font color="red">Please call me with the paramater of the module name to be packaged.</font><br>" fi Index: nightly.php =================================================================== RCS file: /cvsroot/openfirst/www/htdocs/nightly/nightly.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** nightly.php 23 Jun 2004 23:59:38 -0000 1.1 --- nightly.php 21 Nov 2005 19:46:25 -0000 1.2 *************** *** 1,31 **** <?php ! // Create packages for individual modules ! ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh photogallery"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh awards"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh base"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh bashinstall"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh config"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh feedback"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh guestbook"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh logger"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh manual"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh members"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh messenger"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh news"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh projects"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh sidebars"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh search"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh downloads"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh meetings"); ! system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh forum"); ! ! // Create full system packages ! ! system("cd pkg; rm -rf config"); ! system("cd pkg; mv base openfirst; mv */ openfirst"); ! system("cd pkg; rm -rf openfirst-fullsystem-nightly.tar.gz; tar czf openfirst-fullsystem-nightly.tar.gz openfirst/"); ! system("cd pkg; rm -rf openfirst-fullsystem-nightly.tar.bz; tar cjf openfirst-fullsystem-nightly.tar.bz openfirst/"); ! system("cd pkg; rm -rf openfirst-fullsystem-nightly.zip; zip -r openfirst-fullsystem-nightly.zip openfirst/"); ! system("cd pkg; rm -rf openfirst"); ?> --- 1,5 ---- <?php ! // Forward to Makefile ! #system("/home/groups/o/op/openfirst/htdocs/nightly/makepkg.sh"); ! die("This is disabled for security reasons. Please add some security meassures before using me again."); ?> |