openfirst-cvscommit Mailing List for openFIRST (Page 55)
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: Tim G. <xt...@us...> - 2004-06-23 23:45:53
|
Update of /cvsroot/openfirst/www/htdocs/image/screens In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1795/screens Log Message: Directory /cvsroot/openfirst/www/htdocs/image/screens added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:45:29
|
Update of /cvsroot/openfirst/www/htdocs/image In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1737/image Log Message: Directory /cvsroot/openfirst/www/htdocs/image added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:44:57
|
Update of /cvsroot/openfirst/www/htdocs/error In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1602/error Log Message: Directory /cvsroot/openfirst/www/htdocs/error added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:44:26
|
Update of /cvsroot/openfirst/www/htdocs/developers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1558/developers Log Message: Directory /cvsroot/openfirst/www/htdocs/developers added to the repository |
Update of /cvsroot/openfirst/www/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1287 Added Files: .htaccess about.php bugreports.php contact.php cvsupdate.php downloads.php favicon.ico index.php license.php news.sh news.txt oflogo.php openfirst.ico openfirst.png phpinfo.php quickstart-sambar.php rankings.php rankings.sh release.php robots.txt source.php which-file-type.php Log Message: Import main www directory (I'm moving all the web stuff to CVS, so that the project server can automatically check it out, etc... like KDE does :-) This will make things more consistent for the new developers. --- NEW FILE: source.php --- <?php echo("<h1>View Source: " . $_GET["url"] . "</h1>"); $url = "/home/groups/o/op/openfirst/htdocs" . $_GET["url"]; if (file_exists($url)) { show_source($url); } else { echo("File does not exist."); } ?> --- NEW FILE: downloads.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/kdevelop_down.png">Downloads</h1></td> </tr> </table> <br> The following components have been created (you may <a href="/demo/">try them out with our LiveDemo</a>): <p><b>Note on version numbers</b>: The first number is major release, the second is the minor release base version that the package was designed for (it may work with other versions), and the third is the minor release.</p> <hr> We encourage you to use the releases as much as possible. You <i>can</i> obtain openFIRST modules source from nightly builds or anonymous CVS. The code in CVS, or in nighly builds is never guaranteed to work correctly, and if something is <b>obviously</b> broken you should not complain about it, this only slows the development process. However, if you feel a need to be more cutting-edge than necessary, or if you desire to contribute code to the openFIRST project, you should access the CVS server, or use a <a href="/nightly/">nightly build</a>. <br><br>For Linux, there is a <a href="/installer/installer.sh">download shell script available</a>.</p> <hr> <p>It is important to note that although all of our original code is licensed under the GPL, components of some modules may not be licensed under these terms. Currently, the news module RSS scripts are under a proprietary license, see the headers of the RSS Class for more information.</p> <hr> <p>The modules are inter-operable with multiple versions of each other, as long as the major release version is identical. In general, it is a good idea to use only the most current base version.</p> </hr> <p>Note: For those upgrading from a system released before December, 2003, it is recommended that upgrade all other modules before upgrading the base system. Versions of the base system later than 1.0.1 contain advanced debugging functionality.</p> <table> <tr><th>Module</th><th>Files [<a href="which-file-type.php">Which do I choose?</a>]</th><th>Module Support Status</th></tr> <?php foreach ($current_version as $module => $version) { echo("<tr> <td>" . ucfirst($module) . "</td> <td> <a href='http://prdownloads.sourceforge.net/openfirst/openfirst-$module-$version.tar.gz?download'>openfirst-$module-$version.tar.gz</a><br> <a href='http://prdownloads.sourceforge.net/openfirst/openfirst-$module-$version.tar.bz?download'>openfirst-$module-$version.tar.bz</a><br> <a href='http://prdownloads.sourceforge.net/openfirst/openfirst-$module-$version.zip?download'>openfirst-$module-$version.zip</a> </td> <td> <center><img src='$status[$module]' alt='$status[$module]'></center> </td> </tr>"); } ?> </table> <p align="center"><img src="http://www.openfirst.org/image/messagebox_warning.png"> = module partially supported <img src="http://www.openfirst.org/image/button_ok.png"> = module is fully supported<br> <img src="http://www.openfirst.org/image/button_cancel.png"> = module is no longer supported</p> <p> </p> --- NEW FILE: favicon.ico --- (This appears to be a binary file; contents omitted.) --- NEW FILE: openfirst.ico --- (This appears to be a binary file; contents omitted.) --- NEW FILE: news.txt --- <A HREF="http://sourceforge.net/forum/forum.php?forum_id=368428"><B>Recent Updates -- Atlanta Georgia National Competition</B></A> <I>Tim Ginn (xtimg) - 2004-04-14 21:40</I> - <A HREF="http://sourceforge.net/projects/openfirst/">openFIRST</A><BR>In the past week, I've been working hard to publish new versions of all of the modules. I'd like to thank everyone who helped with this overly-stressful process in the short time frame, particularly those new contributors to the openFIRST project (Dan Schilling, Steven Herold, Bryan Howarth). A lot of bugs are fixed, those that aren't, may now be reported more easily. Last minute features include support for the PEAR Database Abstraction Layer, and other goodies. I'd also like to mention that new developers are always welcome, and should contact an existing project member for more information. <div align="center"> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=368428">[Read More/Comment]</a></div><HR width="100%" size="1" noshade> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=365053"><B>Team 1006 Wins Chairman's Award at FIRST Canadian Regional</B></A> <I>Tim Ginn (xtimg) - 2004-04-03 19:27</I> - <A HREF="http://sourceforge.net/projects/openfirst/">openFIRST</A><BR>Team 1006 won our bid for the Chairman's Award at the 2004 FIRST Canadian Super-Regional. The openFIRST project is a major component of our bid for FIRST's most prestigious award. I'd also like to congratulate the other openFIRST teams on their success-- all made it to the final matches and put on a fantastic show in what in my mind is without a doubt the finest regional that FIRST has.<div align="center"> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=365053">[Read More/Comment]</a></div><HR width="100%" size="1" noshade> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=363509"><B>openFIRST Crew at the Canadian Regional</B></A> <I>Tim Ginn (xtimg) - 2004-03-29 16:08</I> - <A HREF="http://sourceforge.net/projects/openfirst/">openFIRST</A><BR>All of the openFIRST team members will be present at the FIRST Canadian Regional at the Hershey Centre later this week. For more information about the Canadian Regional, see <a href="http://www.firstcanadianregional.org/" >http://www.firstcanadianregional.org/</a> Also, a number of updates are forth-coming; at the moment most us developers are bogged down with other things, like making our team robots work, course-work, university preparations, and the like. If anyone is interested in helping out, please volunteer, there's plenty of work to go around :-)<div align="center"> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=363509">[Read More/Comment]</a></div><HR width="100%" size="1" noshade> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=352967"><B>openFIRST CVS Facilities Restored</B></A> <I>Tim Ginn (xtimg) - 2004-02-16 18:33</I> - <A HREF="http://sourceforge.net/projects/openfirst/">openFIRST</A><BR>Thanks to David Burley (SF user: burley) who seems to be acting as the SF.net guardian angel for this project the CVS facilites are now restored. Those developers and users who wish to use CVS may again proceed to do so. <div align="center"> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=352967">[Read More/Comment]</a></div><HR width="100%" size="1" noshade> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=352519"><B>openFIRST CVS Problems</B></A> <I>Tim Ginn (xtimg) - 2004-02-14 09:03</I> - <A HREF="http://sourceforge.net/projects/openfirst/">openFIRST</A><BR>Those of you experiencing problems with checking out certain modules or making changes will have been noticing problems with lock files. The support request to the SourceForge.net staff in order to fix this has been filed. The inaccessibility is the result of my error in making changes to the CVS configuration in anticipation of bringing new features to the openFIRST website (such as a 5 most-recent commits list, etc.) So, be patient and CVS access will be back to normal soon (and shortly after there should be a number of new commits).<div align="center"> <A HREF="http://sourceforge.net/forum/forum.php?forum_id=352519">[Read More/Comment]</a></div><HR width="100%" size="1" noshade><div align="center"><a href="http://sourceforge.net/news/?group_id=78233">[News archive]</a></div> --- NEW FILE: news.sh --- #!/bin/bash wget -O /home/groups/o/op/openfirst/htdocs/news.txt "http://sourceforge.net/export/projnews.php?group_id=78233&limit=5&flat=1&show_summaries=1" replace target=\"_blank\" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace target=\"_new\" "" -- /home/groups/o/op/openfirst/htdocs/news.txt /usr/bin/tidy -q -m -c /home/groups/o/op/openfirst/htdocs/news.txt replace "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 3.2//EN\">" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "<html>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "<head>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "<title></title>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "<style type=\"text/css\">" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace " div.c1 {text-align: center}" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace 'class="c1"' 'style="text-align: center"' -- /home/groups/o/op/openfirst/htdocs/news.txt replace "</style>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "</head>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "<body>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "</body>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "</html>" "" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "xtimg" "Tim Ginn (xtimg)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "ngalasso" "Nick Galasso (ngalasso)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "steph025" "Stephanie Closs (steph025)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "daviddibiase" "David DiBiase (daviddibiase)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "chris_p_781" "Chris Pellett (chris_p_781)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "i-greg" "Greg Inozemtsev (i-greg)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "trashed20" "Mike Marantis (trashed20)" -- /home/groups/o/op/openfirst/htdocs/news.txt replace "<meta name=\"generator\" content=\"HTML Tidy, see www.w3.org\">" "" -- /home/groups/o/op/openfirst/htdocs/news.txt --- NEW FILE: about.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/help.png"> About openFIRST</h1></td> </tr> </table> <blockquote><p>openFIRST is an initiative to help FIRST Robotics web sites prosper by aiding their developers with design and construction of components for their team's web site. To do this, we have developed open-source components using PHP and ASP using the services of SourceForge.net.</p> <p>openFIRST was initially founded by David Di Biase and Tim Ginn in 2003 at the FIRST Canadian Regional, where both their teams competed. During the competition David and Tim discussed a potential project of this mass. The weeks following consisted of constant develop until the beginning of 2004 season, where they released their creation to the world.</p> <p>To this day the openFIRST development is striving to expand and create one of the largest most widely used open-source softwares for the FIRST competition's of North America. Their next goal is to expand the openFIRST source code and make it even more advanced and easy-to-use with the help of FIRST student programmers.</p> <p>If you are interested in joining the openFIRST development team then please contact David. Our team is especially looking for FIRST mentors who are fluent in PHP. We require a professional eye to review our work and ensure its up to par with normal standards. Your help would be greatly appreciated.</p> <p>Read more about: <a href="/developers/">The developers</a>, or <a href="/demo/">View a demonstration of this</a>.</p></blockquote> --- NEW FILE: cvsupdate.php --- <?php mail("xt...@us...", $_SERVER["QUERY_STRING"]); ?> --- NEW FILE: oflogo.php --- <?php $img = $_GET["img"]; $type = $_GET["type"]; if (is_readable("image/$img-$type.png")) { header("Content-type: image/png"); passthru("cat image/$img-$type.png"); } elseif(is_readable("image/$img-$type.gif")) { header("Content-type: image/gif"); passthru("cat image/$img-$type.gif"); } ?> --- NEW FILE: which-file-type.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/kthememgr.png">Which File Type Do I Choose?</h1></td> </tr> </table> <p>In general, the openFIRST project consistently releases packages in three different formats, Tar-Gzip, Tar-Bzip, and Zip.</p> <p>The Tar-Gzip and Tar-Bzip versions contain unix-style end-of-line characters, which means that Microsoft ® Windows ® users who download these versions may see odd-looking black boxes throughout the code which make it difficult to interpret. The Zip file version contains Windows-style end-of-line characters, which eliminates the odd-looking black-boxes for Windows ® users.</p> <p>The functionality of all software is equivalent in each of the three package types. Windows ® users should download the Zip version and may uncompress it using archive programs such as: Winzip or PK Zip. Users of other Operating Systems should download the file best-suited to their archive software of choice. In general, Bzip files provide the smallest download and the best compression, however some archive software may not support Bzip compression.</p> <p><b>In summary:</b> <br>Microsoft ® Windows ® users should download the Zip version. <br>Other Operating System users should download the Tar-Bzip version, or the Tar-Gzip version. --- NEW FILE: rankings.sh --- #!/bin/sh wget -O /home/groups/o/op/openfirst/htdocs/res/1.html http://www2.usfirst.org/2003comp/events/CMP/matchsum.html --- NEW FILE: release.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/kjots.png">Release Notes </h1></td> </tr> </table> <p>Modules are currently tested with the following web servers: <br /> </p> <p> <center> <p><a href="http://httpd.apache.org/"> <img style="border: 0px;" src="/image/tested/apache.png" alt="Apache Web Server" title="Apache Web Server" /></a> <a href="http://www.microsoft.com/iis/"><img style="border: 0px;" src="/image/tested/iis.png" alt="Microsoft Internet Information Services" title="Microsoft Internet Information Services" /></a> <a href="http://www.sambar.com"><img style="border: 0px;" src="/image/tested/sambar.png" alt="Sambar Web Server" title="Sambar Web Server" /></a> </p> <p><strong>No release notes.</strong> </p> </center> </p> <p><a href='quickstart-sambar.php'><b>Sambar Quick Install Guide</b></a></p> <p>Read the README file included with the distributions. Each time you download a new module, or upgrade an existing module, you should run the Module Installer found in the config directory (example: http://www.yoursite.com/openfirst/config/). </p> <br> Currently (as of November 9th,2003) openFIRST is almost at a level where it may be released for its official version (1.0). Due to a lack of time of the students involved in this project we have been delayed a month or two. We plan to have a release out before the official FIRST competition build period.<br><br>You may use our <a href="http://www.openfirst.org/nightly/">Nightly Build System</a> to retrieve the latest version of the software. Please note that the SourceForge file lister is *not* updated with the latest system until we have an official release prepared. --- NEW FILE: rankings.php --- <h1>Canadian Team National Rankings</h1> <p>Statistics are updated from the FIRST database. The statistics may be delayed for up to two minutes after the time they are published by the FIRST organization. </p><p> The following option will allow you to set what part of the page you view as soon as the statistics are updated.</p> <form method="get" action="rankings.php"> <select name="view"> <option value="Championship">Championship</option> <option value="Archimedes">Archimedes</option> <option value="Curie">Curie</option> <option value="Newton">Newton</option> <option value="Galileo">Galileo</option> </select> <input type="submit" value="View" /> </form> <?php for($x = 1; $x <= 5; $x++) { if($x == 1) { $v = "Championship"; } elseif($x == 2) { $v="Archimedes"; echo("</table>"); } elseif($x == 3) { echo("</table>"); $v="Curie"; } elseif($x == 4) { echo("</table>"); $v="Newton"; } else { echo("</table>"); $v="Galileo"; } echo("<a name=\"$v\" id=\"$v\"><h2>$v Division</h2></a>"); if(file_exists("res/$x.html")) { $rank = fopen("res/$x.html", "r"); ?> <table> <tr> <td>Overall Ranking</td><td>Team Number</td><td>Team Name</td><td> Average Points</td><td>Highest Points/match</td><td>Matches Played</td> </tr> <tr> <?php while (!feof ($rank)) { $line = fgets ($rank, 1024); if (eregi ("(.*)Crescent(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)771(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)Kincardine(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)Mobotics(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)Lyons(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)Martingrove(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)SWATT(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)SIMBOT(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi ("(.*)Woburn(.*)", $line, $out)) { $line = str_replace("bgcolor=\"", "style=\"color: #000000; color: #000000; background-color: ", $line); echo $line; echo("</tr>"); } elseif (eregi("(.*)data is not yet available(.*)",$line, $out)) { echo("<td><b>This data has not yet been published by the Regional administration.</b></td>"); echo("</tr>"); } } fclose($rank); } } ?> --- NEW FILE: index.php --- <h1><img src="/image/news_subscribe.png" alt="" title=""> News & Updates</h1> <?php include("news.txt"); ?> <hr /> <h1><img src="/image/star.png" alt="" title=""> Founding Members</h1> <p>We would like to commemorate members of the following teams for their support and talent in the development of the openFIRST project. If your team would like to become apart of this project then please send us a list of persons willing to support us. Please be sure to include their skills (such as PHP programming, testing skills etc.).</p> <p align="center"> <table> <tr><td bgcolor='#2766AB' valign='bottom'><center><p> <a href="http://www.portperryrobotics.ca"> <img src=' http://www.portperryrobotics.ca/images/openfirst.png' alt='Torch' title='Torch' border='0'><img src='http://www.portperryrobotics.ca/image/first.jpeg' alt='FIRST Team 1006' title='FIRST Team 1006' border='0'> </a> <br><a href="http://www.portperryrobotics.ca"> Port Perry FIRST Robotics (Team #1006 from Port Perry, Ontario)</a></p> </center> </td><td valign='bottom'><center> <p><a href="http://www.archangelrobotics.com/"><img src="/image/archangels.png" alt="ArchAngel Robotics" border="0" title="ArchAngel Robotics"></a> <br><a href='http://www.archangelrobotics.com/'>Archangel Robotics (Team #1049 from Toronto, Ontario)</a></p></center> </td></tr></table> --- NEW FILE: .htaccess --- Options Indexes DirectoryIndex index.php index.php3 index.shtml index.html php_value register_globals off php_value auto_append_file "/home/groups/o/op/openfirst/inc/footers.php" php_value auto_prepend_file "/home/groups/o/op/openfirst/inc/headers.php" php_value include_path "/home/groups/o/op/openfirst/inc:." php_value session.save_path "/home/groups/o/op/openfirst/tmp" php_value session.cookie_domain "openfirst.sourceforge.net" ErrorDocument 400 /error/error-handler.php ErrorDocument 401 /error/error-handler.php ErrorDocument 402 /error/error-handler.php ErrorDocument 403 /error/error-handler.php ErrorDocument 404 /error/error-handler.php ErrorDocument 405 /error/error-handler.php ErrorDocument 406 /error/error-handler.php ErrorDocument 407 /error/error-handler.php ErrorDocument 408 /error/error-handler.php ErrorDocument 409 /error/error-handler.php ErrorDocument 410 /error/error-handler.php ErrorDocument 500 /error/error-handler.php ErrorDocument 501 /error/error-handler.php ErrorDocument 502 /error/error-handler.php ErrorDocument 503 /error/error-handler.php ErrorDocument 504 /error/error-handler.php ErrorDocument 505 /error/error-handler.php ErrorDocument 506 /error/error-handler.php ErrorDocument 507 /error/error-handler.php ErrorDocument 508 /error/error-handler.php ErrorDocument 509 /error/error-handler.php ErrorDocument 510 /error/error-handler.php Redirect Permanent /screens.php http://openfirst.sourceforge.net/modules/screens.php Redirect Permanent /modules.php http://openfirst.sourceforge.net/modules/ Redirect Permanent /developers.php http://openfirst.sourceforge.net/developers/ Redirect Permanent /images/ http://openfirst.sourceforge.net/image/ --- NEW FILE: robots.txt --- --- NEW FILE: contact.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/email.png"> Contacts</h1></td> </tr> </table> <p>The e-mail addresses for the active staff members are:</p> <ul> <li><a href="mailto:da...@op...">da...@op...</a></li> <li><a href="mailto:ti...@op...">ti...@op...</a></li> <li><a href="mailto:ste...@op...">ste...@op...</a></li> <li><a href="mailto:gr...@op...">gr...@op...</a></li> </ul> <p><b>Founding teams:</b></p> <p>St. Michael's College School Archangel Robotics<br> <a href="http://www.archangelrobotics.com/">http://www.archangelrobotics.com</a></p> <p>Port Perry High School Robotics<br> <a href="http://www.portperryrobotics.ca">http://www.portperryrobotics.ca</a></p> <p><b>Contributing teams:</b></p> <p>Sinclair Sprockets Robotics Team<br> <a href="http://www.sinclairsprockets.com">http://www.sinclairsprockets.com</a></p> <p>Kinetic Knights<br> <a href="http://www.kineticknights.com/kineticknights/">http://www.kineticknights.com/kineticknights/</a> <p><b>Useful links:</b></p> <p>FIRST Canadian Regional<a href="http://www.firstcanadianregional.org"><br> http://www.firstcanadianregional.org</a></p> <p>USFIRST Robotics Competition<br> <a href="http://www.usfirst.org">http://www.usfirst.org</a></p> --- NEW FILE: quickstart-sambar.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/kjots.png">Quick Start Guide - Sambar Server </h1></td> </tr> </table> <p>This is a guide on how to go from a computer running the Windows Operating System and no webserver software, to a computer which has a working openFIRST system.</p> <h2>Software to Download</h2> <p>Before you begin, you should download the following software, downloading all of these setup programs will require about 20 MB of disk space: <br><a href='http://www.openfirst.org/downloads.php'>openFIRST system</a> (at the bare minimum you require the base system) <br><a href='http://www.sambar.com/'>Sambar Server</a> (get the latest production version, at the time of writing this was 6.0.1, this is listed on the main page under the heading 'Latest...') <br><a href='http://www.php.net/downloads.php'>PHP</a> - Get the latest version under the Windows Binaries package. Sambar requires the zip package, rather than the installer version. <h2>Sambar Setup</h2> <p>Open the Sambar Setup program, and confirm <b>Yes</b> that you would like to continue <br>Read and accept the license agreement <b>I Agree</b>. <br>Install the full system (default option) and choose <b>Next ></b> <br>Select the directory to install Sambar in. This example will use: <b>C:\sambar60-1</b> <br>Click <b>Install</b> <br>The Sambar setup program will install the server, once it is complete, click the <b>Close</b> button. <br>If you wish, you may view the readme file. <br>Do not load the Sambar server yet, if you do so, you will have to restart it after the next steps by right clicking on the icon and selecting restart</p> <h2>PHP Setup</h2> <p>Create a directory called <b>C:\tmp</b> (PHP requires this to store temporary files). <br>Open and extract the PHP software to a temporary folder. <br>Copy the folder which PHP has extracted to <b>C:\</b> and rename it to <b>php</b>. <br>Copy from the <b>sapi</b> directory <b>php4isapi.dll</b> to <b>C:\php</b>. <br>Go to the Sambar <b>Installation Directory (C:\Sambar60-1)</b> and open the <b>config</b> folder. <br>Open <b>config.ini</b> in <b>Notepad</b> <br>Under the <b>[http]</b> heading, change the line that reads: <code>Default Page = index.htm index.html index.stm index.asp</code> to read: <code>Default Page = <b>index.php</b> index.htm index.html index.stm index.asp</code> <br>Close <b>Notepad</b> and select <b>Yes</b> to save the changes <br>Open <b>mappings.ini</b> (located in the same place as config.ini) in <b>Notepad</b> <br>Change the line under <b>[isapi]</b> that reads: <br><code># *.php = c:\php\php4isapi.dll</code> <br>to read: <br><code>*.php = C:\php\php4isapi.dll</code> <br>by removing the # and space. <br>Close <b>Notepad</b> and select <b>Yes</b> to save the changes </p> <h2>openFIRST Base Setup</h2> <p>Open and extract the openFIRST base module to a temporary location <br>From the base module, open the <b>openfirst</b> directory and copy all of the files to the <b>docs</b> folder in the <b>C:\sambar60-1</b> <br>Start the sambar server using the icon <b>Sambar Server 6.0-1</b> (the version number may be different) <br>Proceed through the openFIRST base configuration, following the instructions. When it comes time to login, use the username <b>admin</b> and the password <b>openfirst</b>. (You may have to login several times initially after install).</p> <h2>openFIRST Module Setup</h2> <p>To install a module, extract the compressed archive to a temporary folder and copy it to the <b>docs</b> folder. <br>In the <b>openFIRST Configuration Utility</b> select <b>Install Modules</b> click the <b>checkbox(es)</b> beside the module(s) you wish to install, and click on <b>Create Tables</b> <br>Click on <b>Module Administrator</b> and click the checkboxes for <b>Activate</b> and <b>Show on Menu</b>.</p> <p>Congratulations, you now have a complete openFIRST system.</p> --- NEW FILE: openfirst.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: bugreports.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/edit.png"> Bug Reports</h1></td> </tr> </table> <p>To submit a new bug report, or view detailed information about existing bug reports: <b><a href="http://bugzilla.openfirst.org">Access the openFIRST Bugzilla site</a></b></p> <img src="http://bugzilla.openfirst.org/graphs/-All-_NEW_ASSIGNED_REOPENED_UNCONFIRMED_VERIFIED_LATER_REMIND.png" alt="Bug Chart"> <?php $bz = fopen("bz.html", "r"); if($bz) { while(!feof($bz)) { $line = fgets($bz, 2048); if(! strpos($line, "<html>")) { echo $line; } } } ?> --- NEW FILE: license.php --- <table width="100%"> <tr> <td><h1><img src="http://www.openfirst.org/image/files.png">License</h1></td> </tr> </table><br> <blockquote> <p>openFIRST components are distributed under the GPL. The following is the complete text of the GPL.</p> <h2><a name="SEC1" href="http://www.gnu.org/copyleft/gpl.html#TOC1">GNU GENERAL PUBLIC LICENSE</a></h2> <p> Version 2, June 1991 </p> <pre> Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. </pre> <h2><a name="SEC2" href="http://www.gnu.org/copyleft/gpl.html#TOC2">Preamble</a></h2> <p> The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. </p> <p> When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. </p> <p> To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. </p> <p> For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. </p> <p> We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. </p> <p> Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. </p> <p> Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. </p> <p> The precise terms and conditions for copying, distribution and modification follow. </p> <h2><a name="SEC3" href="http://www.gnu.org/copyleft/gpl.html#TOC3">TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</a></h2> <p> <strong>0.</strong> This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". <p> Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. <p> <strong>1.</strong> You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. <p> You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. <p> <strong>2.</strong> You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: <p> <ul> <li><strong>a)</strong> You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. <p> <li><strong>b)</strong> You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. <p> <li><strong>c)</strong> If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) </ul> These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. <p> Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. <p> In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. <p> <strong>3.</strong> You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: <!-- we use this doubled UL to get the sub-sections indented, --> <!-- while making the bullets as unobvious as possible. --> <ul> <li><strong>a)</strong> Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, <p> <li><strong>b)</strong> Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, <p> <li><strong>c)</strong> Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) </ul> The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. <p> If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. <p> <strong>4.</strong> You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. <p> <strong>5.</strong> You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. <p> <strong>6.</strong> Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. <p> <strong>7.</strong> If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. <p> If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. <p> It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. <p> This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. <p> <strong>8.</strong> If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. <p> <strong>9.</strong> The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. <p> Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. <p> <strong>10.</strong> If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. <p><strong>NO WARRANTY</strong></p> <p> <strong>11.</strong> BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. <p> <strong>12.</strong> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. <p> <h2>END OF TERMS AND CONDITIONS</h2> </blockquote> --- NEW FILE: phpinfo.php --- <?php phpinfo(); ?> |
From: Tim G. <xt...@us...> - 2004-06-23 23:38:32
|
Update of /cvsroot/openfirst/www/tmp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv453/tmp Log Message: Directory /cvsroot/openfirst/www/tmp added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:38:32
|
Update of /cvsroot/openfirst/www/pkg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv453/pkg Log Message: Directory /cvsroot/openfirst/www/pkg added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:38:32
|
Update of /cvsroot/openfirst/www/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv453/inc Log Message: Directory /cvsroot/openfirst/www/inc added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:38:32
|
Update of /cvsroot/openfirst/www/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv453/htdocs Log Message: Directory /cvsroot/openfirst/www/htdocs added to the repository |
From: Tim G. <xt...@us...> - 2004-06-23 23:38:31
|
Update of /cvsroot/openfirst/www/cgi-bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv453/cgi-bin Log Message: Directory /cvsroot/openfirst/www/cgi-bin added to the repository |
From: Dan <sc...@us...> - 2004-04-21 22:35:10
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31086 Modified Files: workspace.php Log Message: Add igloo folder type Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** workspace.php 12 Apr 2004 13:21:54 -0000 1.24 --- workspace.php 21 Apr 2004 22:34:42 -0000 1.25 *************** *** 376,379 **** --- 376,380 ---- <option value="folder_cd.png">CD-ROM</option> <option value="folder_home.png">Home</option> + <option value="folder_home2.png">Igloo</option> <option value="folder_html.png">Web</option> <option value="folder_image.png">Images</option> |
From: Dan <sc...@us...> - 2004-04-21 22:31:40
|
Update of /cvsroot/openfirst/members/setup In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30136 Modified Files: setup.mssql setup.mysql Log Message: Add igloo folder type Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/members/setup/setup.mysql,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** setup.mysql 23 Dec 2003 14:41:24 -0000 1.15 --- setup.mysql 21 Apr 2004 22:29:44 -0000 1.16 *************** *** 71,74 **** --- 71,75 ---- INSERT INTO ofirst_resources_links (address, name, category, type, creator, date) VALUES('http://www.openfirst.org', 'open FIRST Web Portal System', 'General', 'icons/mimetypes/html.png', 'open FIRST Development Team', ''); INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder.png', 'icons/filesystems/folder.png', 'Standard Sub Directory'); + INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder_home2.png', 'icons/filesystems/folder_home2.png','Igloo Sub Directory'); INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder_green.png', 'icons/filesystems/folder_green.png', 'Standard Sub Directory'); INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder_red.png', 'icons/filesystems/folder_red.png', 'Standard Sub Directory'); Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/members/setup/setup.mssql,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** setup.mssql 23 Dec 2003 14:41:24 -0000 1.6 --- setup.mssql 21 Apr 2004 22:29:37 -0000 1.7 *************** *** 71,74 **** --- 71,75 ---- INSERT INTO ofirst_resources_links (address, name, category, type, creator, date) VALUES('http://www.openfirst.org', 'open FIRST Web Portal System', 'General', 'icons/mimetypes/html.png', 'open FIRST Development Team', ''); INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder.png', 'icons/filesystems/folder.png', 'Standard Sub Directory'); + INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder_home2.png', 'icons/filesystems/folder_home2.png','Igloo Sub Directory'); INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder_green.png', 'icons/filesystems/folder_green.png', 'Standard Sub Directory'); INSERT INTO ofirst_workspace_filetypes (extension, image, description) VALUES ('dir-folder_red.png', 'icons/filesystems/folder_red.png', 'Standard Sub Directory'); |
From: Tim G. <xt...@us...> - 2004-04-15 03:24:43
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8240 Modified Files: dbase.php Log Message: Remove temporary testing stuff Index: dbase.php =================================================================== RCS file: /cvsroot/openfirst/base/config/dbase.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** dbase.php 12 Apr 2004 19:38:09 -0000 1.10 --- dbase.php 15 Apr 2004 03:24:35 -0000 1.11 *************** *** 41,45 **** $newlink = "", $intclientflags = "") { global $dbasetype, $peardb, $connectdsn; - echo("CONNECT"); if($peardb) { $connectdsn = "$dbasetype://$username:$password@$server/"; --- 41,44 ---- *************** *** 76,80 **** function ofirst_select_db($databasename, $linkidentifier = "") { global $dbasetype, $peardb, $connectdsn; - echo "SELECTDB"; if($peardb) { return($connectdsn =& DB::connect("$connectdsn$databasename")); --- 75,78 ---- |
From: Tim G. <xt...@us...> - 2004-04-15 01:25:51
|
Update of /cvsroot/openfirst/logger In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22229 Modified Files: graph.php index.php logger.php rawdata.php reset.php stats.php track.php Log Message: Fix all copyright headers Index: track.php =================================================================== RCS file: /cvsroot/openfirst/logger/track.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** track.php 24 Dec 2003 03:29:49 -0000 1.18 --- track.php 15 Apr 2004 01:25:43 -0000 1.19 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: index.php =================================================================== RCS file: /cvsroot/openfirst/logger/index.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** index.php 7 Apr 2004 11:46:21 -0000 1.12 --- index.php 15 Apr 2004 01:25:43 -0000 1.13 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: reset.php =================================================================== RCS file: /cvsroot/openfirst/logger/reset.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** reset.php 22 Dec 2003 19:32:45 -0000 1.8 --- reset.php 15 Apr 2004 01:25:43 -0000 1.9 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: rawdata.php =================================================================== RCS file: /cvsroot/openfirst/logger/rawdata.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** rawdata.php 7 Apr 2004 11:46:22 -0000 1.12 --- rawdata.php 15 Apr 2004 01:25:43 -0000 1.13 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: logger.php =================================================================== RCS file: /cvsroot/openfirst/logger/logger.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** logger.php 24 Dec 2003 19:32:20 -0000 1.10 --- logger.php 15 Apr 2004 01:25:43 -0000 1.11 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: stats.php =================================================================== RCS file: /cvsroot/openfirst/logger/stats.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** stats.php 24 Dec 2003 19:32:20 -0000 1.9 --- stats.php 15 Apr 2004 01:25:43 -0000 1.10 *************** *** 16,23 **** * 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 --- 16,19 ---- Index: graph.php =================================================================== RCS file: /cvsroot/openfirst/logger/graph.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** graph.php 24 Dec 2003 19:32:20 -0000 1.5 --- graph.php 15 Apr 2004 01:25:43 -0000 1.6 *************** *** 16,23 **** * 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 --- 16,19 ---- |
From: Tim G. <xt...@us...> - 2004-04-15 01:21:52
|
Update of /cvsroot/openfirst/base/config/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21557 Modified Files: mail.php Log Message: Set default mail from, in case it is needed. Index: mail.php =================================================================== RCS file: /cvsroot/openfirst/base/config/functions/mail.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mail.php 13 Sep 2003 19:50:02 -0000 1.5 --- mail.php 15 Apr 2004 01:21:43 -0000 1.6 *************** *** 1,95 **** ! <?php ! /* ! * openFIRST.base - config/functions/mail.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * 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: Provide mail functions capable of dealing with multi-part messages. ! ! // Produces multi-part mail messages in a manner able to be used as a drop-in replacement for mail(); ! function multipartmail($to, $subject = "openFIRST Mailing", $message = "No message given.", $headers = "", $additionalparamaters = "") { ! global $header; ! global $footer; ! global $basepath; ! ! $fheader = ""; ! $ffooter = ""; ! $info = ""; ! ! $headers .= "Mime-Version: 1.0\r\n"; ! $headers .= "Content-Type: multipart/alternative; boundary=openfirst-mail.boundry\r\n"; ! ! $textmessage = $message; ! ! while(stristr($textmessage,"<")) { ! $textmessage = str_replace(substr($textmessage, strpos($textmessage, "<"), strpos($textmessage, ">") - strpos($textmessage, "<") + 1), "", $textmessage); ! } ! $textmessage = str_replace("<", "<", str_replace(">", ">", $textmessage)); ! ! $info .= "--openfirst-mail.boundry ! Content-Type: text/plain; charset=ISO-8859-1 ! Content-Transfer-Encoding: 7bit ! ! $textmessage ! ! --openfirst-mail.boundry ! Content-Type: text/html; charset=ISO-8859-1 ! Content-Transfer-Encoding: 7bit"; ! ! $fle = fopen($header, "r"); ! while(!feof($fle)) { ! $fheader .= fgets($fle); ! } ! fclose($fle); ! $fle = fopen($footer, "r"); ! while(!feof($fle)) { ! $ffooter .= fgets($fle); ! } ! fclose($fle); ! // Strip the PHP tags from the header. ! while(stristr($fheader,"<?")) { ! $fheader = str_replace(substr($fheader, strpos($fheader, "<?"), strpos($fheader, "?>") - strpos($fheader, "<?") + 2), "", $fheader); ! } ! while(stristr($ffooter,"<?")) { ! $ffooter = str_replace(substr($ffooter, strpos($ffooter, "<?"), strpos($ffooter, "?>") - strpos($ffooter, "<?") + 2), "", $ffooter); ! } ! // Strip the ASP tags from the header. ! ! while(stristr($fheader,"<%")) { ! $fheader = str_replace(substr($fheader, strpos($fheader, "<%"), strpos($fheader, "%>") - strpos($fheader, "<%") + 2), "", $fheader); ! } ! while(stristr($ffooter,"<%")) { ! $ffooter = str_replace(substr($ffooter, strpos($ffooter, "<%"), strpos($ffooter, "%>") - strpos($ffooter, "<%") + 2), "", $ffooter); ! } ! $fheader = str_replace("src=\"/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $fheader); ! $fheader = str_replace("src='/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $fheader); ! $fheader = str_replace("src=/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $fheader); ! $ffooter = str_replace("src=\"/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $ffooter); ! $ffooter = str_replace("src='/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $ffooter); ! $ffooter = str_replace("src=/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $ffooter); ! ! $info .= ("$fheader<pre>$message</pre>$ffooter"); ! return(mail($to, $subject, $info, $headers)); ! } ! ?> --- 1,97 ---- ! <?php ! /* ! * openFIRST.base - config/functions/mail.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@po...> ! * ! * 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: Provide mail functions capable of dealing with multi-part messages. ! ! // Produces multi-part mail messages in a manner able to be used as a drop-in replacement for mail(); ! function multipartmail($to, $subject = "openFIRST Mailing", $message = "No message given.", $headers = "", $additionalparamaters = "") { ! global $header; ! global $footer; ! global $basepath; ! global $mailfrom; ! ! if(ini_get("sendmail_from") == "") { ! ini_set("sendmail_from", $mailfrom); ! } ! ! $fheader = ""; ! $ffooter = ""; ! $info = ""; ! ! $headers .= "Mime-Version: 1.0\r\n"; ! $headers .= "Content-Type: multipart/alternative; boundary=openfirst-mail.boundry\r\n"; ! ! $textmessage = $message; ! ! while(stristr($textmessage,"<")) { ! $textmessage = str_replace(substr($textmessage, strpos($textmessage, "<"), strpos($textmessage, ">") - strpos($textmessage, "<") + 1), "", $textmessage); ! } ! $textmessage = str_replace("<", "<", str_replace(">", ">", $textmessage)); ! ! $info .= "--openfirst-mail.boundry ! Content-Type: text/plain; charset=ISO-8859-1 ! Content-Transfer-Encoding: 7bit ! ! $textmessage ! ! --openfirst-mail.boundry ! Content-Type: text/html; charset=ISO-8859-1 ! Content-Transfer-Encoding: 7bit"; ! ! $fle = fopen($header, "r"); ! while(!feof($fle)) { ! $fheader .= fgets($fle); ! } ! fclose($fle); ! $fle = fopen($footer, "r"); ! while(!feof($fle)) { ! $ffooter .= fgets($fle); ! } ! fclose($fle); ! // Strip the PHP tags from the header. ! while(stristr($fheader,"<?")) { ! $fheader = str_replace(substr($fheader, strpos($fheader, "<?"), strpos($fheader, "?>") - strpos($fheader, "<?") + 2), "", $fheader); ! } ! while(stristr($ffooter,"<?")) { ! $ffooter = str_replace(substr($ffooter, strpos($ffooter, "<?"), strpos($ffooter, "?>") - strpos($ffooter, "<?") + 2), "", $ffooter); ! } ! // Strip the ASP tags from the header. ! ! while(stristr($fheader,"<%")) { ! $fheader = str_replace(substr($fheader, strpos($fheader, "<%"), strpos($fheader, "%>") - strpos($fheader, "<%") + 2), "", $fheader); ! } ! while(stristr($ffooter,"<%")) { ! $ffooter = str_replace(substr($ffooter, strpos($ffooter, "<%"), strpos($ffooter, "%>") - strpos($ffooter, "<%") + 2), "", $ffooter); ! } ! $fheader = str_replace("src=\"/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $fheader); ! $fheader = str_replace("src='/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $fheader); ! $fheader = str_replace("src=/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $fheader); ! $ffooter = str_replace("src=\"/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $ffooter); ! $ffooter = str_replace("src='/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $ffooter); ! $ffooter = str_replace("src=/", "src=\"http://" . $_SERVER["SERVER_NAME"] . "/" . $basepath, $ffooter); ! ! $info .= ("$fheader<pre>$message</pre>$ffooter"); ! ! return(mail($to, $subject, $info, $headers)); ! } ! ?> |
From: Tim G. <xt...@us...> - 2004-04-15 00:59:39
|
Update of /cvsroot/openfirst/feedback In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17825 Modified Files: index.php Log Message: Commit final changes to feedback module before release Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/index.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** index.php 9 Apr 2004 18:13:42 -0000 1.18 --- index.php 15 Apr 2004 00:59:30 -0000 1.19 *************** *** 1,126 **** ! <?php ! /* ! * openFIRST.feedback - index.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@sy...> ! * ! * 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 ! * ! */ ! include_once("../config/globals.php"); ! include_once($header); ! ! echo("<h1>Give Feedback</h1>"); ! ! // Get a list of the users able to be contacted via the feedback form. ! $query = ofirst_dbquery("SELECT * FROM ofirst_feedbackusers ORDER BY name;"); ! ! if (ofirst_dbnum_rows($query) != 0){ ! if(isset($_POST["to"]) == true) { ! $messageallowed = false; ! } else { ! ?> ! <form onsubmit="return dhtmlEditorPrepareSubmit();" method="post" action="index.php"> ! <table> ! <tr> ! <th> </th> ! <th>Feedback Form</th> ! </tr> ! <tr> ! <td>Message To:</td> ! <td><select name="to"> ! <?php ! } ! while($feedback = ofirst_dbfetch_object($query)){ ! if(! isset($_POST["to"])) { ! echo("<option value='$feedback->email'>$feedback->name</option>"); ! } else { ! if ($_POST["to"] == $feedback->email) { ! $messageallowed = true; ! } ! } ! } ! if(isset($_POST["to"]) == false) { ! ?> ! </select></td> ! </tr> ! <tr> ! <td>Your E-mail Address<br> ! <font size="1">(used for replies):</font></td> ! <td><input type="text" name="from" style="width: 150px;" value="<?php if(isset($user->email)){echo($user->email); } ?>" /></td> ! </tr> ! <tr> ! <td>Type of feedback: </td> ! <td> ! <?php ! if (function_exists("make_wysiwyg")) { ! if(isset($user->signature)){ $msg = "Insert your feedback here.<br>\n\n$user->signature"; }else{ $msg = "Insert your feedback here."; } ! make_wysiwyg("message",400,200,$msg); ! } else { ! ?> ! <textarea name="message" cols="40" rows="20">Insert your feedback here. ! <?php echo($user->signature); ?> ! </textarea> ! <?php } ?> ! <br> <input type="radio" name="type" value="comment" /> ! Comment ! <input type="radio" name="type" value="question" /> ! Question ! <input type="radio" name="type" value="concern" /> ! Concern </td> ! </tr> ! <tr> ! <td> </td> ! <td><input name="submit" type="submit" value="Send Feedback" /> <input name="reset" type="reset" value="Clear Feedback" /> ! </td> ! </tr> ! </table> ! <p> </p> ! </form> ! ! <?php ! } else { ! if ($messageallowed == true) { ! // Mail who they wish to contact. ! if (isset($user->user)) { $isuser = "registered user"; } else { $isuser = "unregistered user"; } ! if(! isset($_POST["type"])) { $_POST["type"] = "comment"; } ! if (function_exists("multipartmail")) { ! multipartmail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] ! . "\r\n\r\n--\r\nMessage generated by openFIRST.feedback. ! For more information about openFIRST, see: ! http://www.openfirst.org/","From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); ! } else { ! mail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] ! . "\r\n\r\n--\r\nMessage generated by openFIRST.feedback. For more information about openFIRST, see: ! http://www.openfirst.org/","From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); ! } ! // Inform user of message being sent. ! echo("Your message has been sent. You should receive it in the near future."); ! ! } else { ! // Give an error. ! echo("You cannot use the feedback form to contact that person as the administrator of this web site has not allowed it. If you believe you should be able to contact this person, contact the administrator asking them to change their settings."); ! } ! } ! } else { ! echo("Before you can use this, someone must first set up users able to be e-mailed by modifying the database."); ! } ! include_once($footer); ?> --- 1,122 ---- ! <?php ! /* ! * openFIRST.feedback - index.php ! * ! * Copyright (C) 2003, ! * openFIRST Project ! * Original Author: Tim Ginn <tim...@sy...> ! * ! * 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 ! * ! */ ! include_once("../config/globals.php"); ! include_once($header); ! ! echo("<h1>Give Feedback</h1>"); ! ! // Get a list of the users able to be contacted via the feedback form. ! $query = ofirst_dbquery("SELECT * FROM ofirst_feedbackusers ORDER BY name;"); ! ! if (ofirst_dbnum_rows($query) != 0){ ! if(isset($_POST["to"]) == true) { ! $messageallowed = false; ! } else { ! ?> ! <form onsubmit="return dhtmlEditorPrepareSubmit();" method="post" action="index.php"> ! <table> ! <tr> ! <th> </th> ! <th>Feedback Form</th> ! </tr> ! <tr> ! <td>Message To:</td> ! <td><select name="to"> ! <?php ! } ! while($feedback = ofirst_dbfetch_object($query)){ ! if(! isset($_POST["to"])) { ! echo("<option value='$feedback->email'>$feedback->name</option>"); ! } else { ! if ($_POST["to"] == $feedback->email) { ! $messageallowed = true; ! } ! } ! } ! if(isset($_POST["to"]) == false) { ! ?> ! </select></td> ! </tr> ! <tr> ! <td>Your E-mail Address<br> ! <font size="1">(used for replies):</font></td> ! <td><input type="text" name="from" style="width: 150px;" value="<?php if(isset($user->email)){echo($user->email); } ?>" /></td> ! </tr> ! <tr> ! <td>Type of feedback: </td> ! <td> ! <?php ! if (function_exists("make_wysiwyg")) { ! if(isset($user->signature)){ $msg = "Insert your feedback here.<br>\n\n$user->signature"; }else{ $msg = "Insert your feedback here."; } ! make_wysiwyg("message",400,200,$msg); ! } else { ! ?> ! <textarea name="message" cols="40" rows="20">Insert your feedback here. ! <?php echo($user->signature); ?> ! </textarea> ! <?php } ?> ! <br> <input type="radio" name="type" value="comment" /> ! Comment ! <input type="radio" name="type" value="question" /> ! Question ! <input type="radio" name="type" value="concern" /> ! Concern </td> ! </tr> ! <tr> ! <td> </td> ! <td><input name="submit" type="submit" value="Send Feedback" /> <input name="reset" type="reset" value="Clear Feedback" /> ! </td> ! </tr> ! </table> ! <p> </p> ! </form> ! ! <?php ! } else { ! if ($messageallowed == true) { ! // Mail who they wish to contact. ! if (isset($user->user)) { $isuser = "registered user"; } else { $isuser = "unregistered user"; } ! if(! isset($_POST["type"])) { $_POST["type"] = "comment"; } ! if (function_exists("multipartmail")) { ! multipartmail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] ! . "\r\n\r\n--\r\nMessage generated by openFIRST.feedback. ! For more information about openFIRST, see: ! http://www.openfirst.org/","From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); ! } else { ! mail($_POST["to"], "Feedback: $isuser " . $_POST["type"], $_POST["message"] ! . "\r\n\r\n--\r\nMessage generated by openFIRST.feedback. For more information about openFIRST, see: ! http://www.openfirst.org/","From: " . $_POST["from"] ."\r\nReply-To: ". $_POST["from"] ."\r\n"); ! } ! // Inform user of message being sent. ! echo("Your message has been sent. You should receive it in the near future."); ! ! } else { ! // Give an error. ! echo("You cannot use the feedback form to contact that person as the administrator of this web site has not allowed it. If you believe you should be able to contact this person, contact the administrator asking them to change their settings."); ! } ! } ! } else { ! echo("Before you can use this, someone must first set up users able to be e-mailed by modifying the database."); ! } ! include_once($footer); ?> |
From: Tim G. <xt...@us...> - 2004-04-15 00:52:04
|
Update of /cvsroot/openfirst/feedback/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16278 Modified Files: index.php Log Message: Commit final changes to feedback module before release. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/admin/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 15 Apr 2004 00:45:36 -0000 1.14 --- index.php 15 Apr 2004 00:51:54 -0000 1.15 *************** *** 16,23 **** * 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 --- 16,19 ---- *************** *** 40,44 **** $femail = trim(substr($lin, 0, strpos($lin, " "))); // Create the new users for the feedback list ! $query = ofirst_dbquery("INSERT INTO ofirst_feedbackusers (name, email) VALUES ('$fname', '$femail');") or die(mysql_error()); } echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); --- 36,40 ---- $femail = trim(substr($lin, 0, strpos($lin, " "))); // Create the new users for the feedback list ! ofirst_dbquery("INSERT INTO ofirst_feedbackusers (name, email) VALUES ('$fname', '$femail');"); } echo("<p><br>The feedback users have been modified as per your request. [ <a href='index.php'>Manage</a> ]<br></p>"); *************** *** 50,54 **** <p>Use this form to setup the users of the feedback system. Each user should be on a new line with their email address first,<br> then a space and their name (as it should appear on ! the feedback form).</p> <form method='post' action='index.php'>"); --- 46,50 ---- <p>Use this form to setup the users of the feedback system. Each user should be on a new line with their email address first,<br> then a space and their name (as it should appear on ! the feedback form). <b>All e-mail addresses must be unique</b></p> <form method='post' action='index.php'>"); |
From: Tim G. <xt...@us...> - 2004-04-15 00:47:30
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15264 Modified Files: first.php Log Message: Use standardised example addresses in accordance with RFC2606 (http://www.rfc-editor.org/rfc/rfc2606.txt) Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** first.php 15 Apr 2004 00:41:22 -0000 1.38 --- first.php 15 Apr 2004 00:47:20 -0000 1.39 *************** *** 179,183 **** // Declare important variables so that headers can pick them up and preview them ! \$adminnav = str_replace(\"\\\$basepath\", \$basepath, \$module->adminnavigation) . \" | <a href='http://bugzilla.openfirst.org'>Report Bug</a>\"; \$subnav = str_replace(\"\\\$basepath\", \$basepath, \$module->modulenavigation); --- 179,183 ---- // Declare important variables so that headers can pick them up and preview them ! \$adminnav = str_replace(\"\\\$basepath\", \$basepath, \$module->adminnavigation) . \" <a href='http://bugzilla.openfirst.org'>Report Bug</a>\"; \$subnav = str_replace(\"\\\$basepath\", \$basepath, \$module->modulenavigation); *************** *** 407,416 **** <td>Mail Notification<br> <font size="1">(the e-mail address used to notify you when significant events occur)</font></td> ! <td><input type="text" name="mailnotify" value="nobody@localhost"></td> </tr> <tr> <td>Mail From<br> <font size="1">(the e-mail address that mail from the openFIRST site should appear to be from)</font></td> ! <td><input type="text" name="mailfrom" value="no...@op..."></td> </tr> <tr> --- 407,416 ---- <td>Mail Notification<br> <font size="1">(the e-mail address used to notify you when significant events occur)</font></td> ! <td><input type="text" name="mailnotify" value="tea...@ex..."></td> </tr> <tr> <td>Mail From<br> <font size="1">(the e-mail address that mail from the openFIRST site should appear to be from)</font></td> ! <td><input type="text" name="mailfrom" value="no...@ex..."></td> </tr> <tr> |
From: Tim G. <xt...@us...> - 2004-04-15 00:45:44
|
Update of /cvsroot/openfirst/feedback/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14918 Modified Files: index.php Log Message: Use standardised example address in accordance with RFC2606 (http://www.rfc-editor.org/rfc/rfc2606.txt) Index: index.php =================================================================== RCS file: /cvsroot/openfirst/feedback/admin/index.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** index.php 24 Dec 2003 18:22:18 -0000 1.13 --- index.php 15 Apr 2004 00:45:36 -0000 1.14 *************** *** 63,67 **** } else { ! echo("<textarea name='feedbackusers' rows='10' cols='50'>jo...@so... Joe Somebody"); } echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); --- 63,67 ---- } else { ! echo("<textarea name='feedbackusers' rows='10' cols='50'>tea...@ex... Example Team Leader"); } echo("</textarea><br /><input type='submit' value='Update Feedback Users' /></form>"); |
From: Tim G. <xt...@us...> - 2004-04-15 00:41:30
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14217 Modified Files: first.php Log Message: Add standardised divider. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** first.php 12 Apr 2004 19:44:08 -0000 1.37 --- first.php 15 Apr 2004 00:41:22 -0000 1.38 *************** *** 179,183 **** // Declare important variables so that headers can pick them up and preview them ! \$adminnav = str_replace(\"\\\$basepath\", \$basepath, \$module->adminnavigation) . \" <a href='http://bugzilla.openfirst.org'>Report Bug</a>\"; \$subnav = str_replace(\"\\\$basepath\", \$basepath, \$module->modulenavigation); --- 179,183 ---- // Declare important variables so that headers can pick them up and preview them ! \$adminnav = str_replace(\"\\\$basepath\", \$basepath, \$module->adminnavigation) . \" | <a href='http://bugzilla.openfirst.org'>Report Bug</a>\"; \$subnav = str_replace(\"\\\$basepath\", \$basepath, \$module->modulenavigation); |
From: Tim G. <xt...@us...> - 2004-04-15 00:39:01
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13797 Modified Files: install.php Log Message: Increase maximum execution time, to account for the possibility of many modules being installed, and/or a remote database server. Index: install.php =================================================================== RCS file: /cvsroot/openfirst/base/config/install.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** install.php 14 Dec 2003 20:32:29 -0000 1.17 --- install.php 15 Apr 2004 00:38:49 -0000 1.18 *************** *** 31,34 **** --- 31,37 ---- include($header); + ini_set("max_execution_time", 600); // Bypass problem of timeouts when many modules are installed + // 10 minutes should be sufficient, even for remote database servers + if(isset($user->user) == true && $user->membertype == "administrator") { ?> |
From: Tim G. <xt...@us...> - 2004-04-12 23:53:34
|
Update of /cvsroot/openfirst/photogallery/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20184/admin Modified Files: edit.php newgallery.php Log Message: Miscellaneous fixes (bug report credit: Steve Herold) Index: newgallery.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/newgallery.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** newgallery.php 28 Feb 2004 02:12:17 -0000 1.13 --- newgallery.php 12 Apr 2004 23:39:41 -0000 1.14 *************** *** 33,37 **** // Check if user initiates create option and run create options if(isset($_POST['create'])){ ! if(is_writable("../" . $gallerydir)) { mkdir("../".$gallerydir.$_POST['galleryname'],0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); mkdir("../".$gallerydir.$_POST['galleryname']."/thumbs",0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); --- 33,37 ---- // Check if user initiates create option and run create options if(isset($_POST['create'])){ ! if(is_writable("../" . $gallerydir) && ! file_exists("../".$gallerydir.$_POST['galleryname'])) { mkdir("../".$gallerydir.$_POST['galleryname'],0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); mkdir("../".$gallerydir.$_POST['galleryname']."/thumbs",0777) or die("<br><br><center>Can't create folder! [ <a href='index.php'>Manage</a> ]"); *************** *** 44,47 **** --- 44,49 ---- echo "<br><br><center>New gallery added! [ <a href='index.php'>Manage</a> ]</center><br><br>"; + } elseif(is_writable("../" . $gallerydir) && file_exists("../".$gallerydir.$_POST['galleryname'])) { + echo("A gallery by that name already exists.<br> [ <a href='newgallery.php'>New Gallery</a>"); } elseif(file_exists("../" . $gallerydir)) { echo("It appears that the permissions on the photogallery have become incorrect. Index: edit.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/admin/edit.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** edit.php 12 Apr 2004 13:47:52 -0000 1.13 --- edit.php 12 Apr 2004 23:39:41 -0000 1.14 *************** *** 27,31 **** // Check if user is an admin then allow processes ! if(! ISSET($user->user) || $user->membertype != "administrator"){ showlogin(); die(include_once($footer)); --- 27,31 ---- // Check if user is an admin then allow processes ! if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); die(include_once($footer)); *************** *** 72,76 **** // Check if user initiated delete of particular photo and run photo and thumb delete ! if(ISSET($_GET['DELETEPHOTO'])){ $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['ID']."'") or die(ofirst_dberror()); $gallery = ofirst_dbfetch_object($query); --- 72,76 ---- // Check if user initiated delete of particular photo and run photo and thumb delete ! if(isset($_GET['DELETEPHOTO'])){ $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries WHERE ID = '".$_GET['ID']."'") or die(ofirst_dberror()); $gallery = ofirst_dbfetch_object($query); |
From: Tim G. <xt...@us...> - 2004-04-12 23:53:34
|
Update of /cvsroot/openfirst/photogallery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20184 Modified Files: index.php Log Message: Miscellaneous fixes (bug report credit: Steve Herold) Index: index.php =================================================================== RCS file: /cvsroot/openfirst/photogallery/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 28 Feb 2004 02:12:17 -0000 1.14 --- index.php 12 Apr 2004 23:39:40 -0000 1.15 *************** *** 42,46 **** <?php // List galleries from database ! $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries"); while($gallery = ofirst_dbfetch_object($query)){ ?> --- 42,46 ---- <?php // List galleries from database ! $query = ofirst_dbquery("SELECT * FROM ofirst_photogallery_galleries ORDER BY ID desc;"); while($gallery = ofirst_dbfetch_object($query)){ ?> |
From: Tim G. <xt...@us...> - 2004-04-12 23:11:13
|
Update of /cvsroot/openfirst/guestbook In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12605 Modified Files: index.php Log Message: Fix offset problem (bug report credit: Steven Herold) Index: index.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 7 Apr 2004 11:32:29 -0000 1.14 --- index.php 12 Apr 2004 22:57:20 -0000 1.15 *************** *** 42,46 **** </form>"); ! $query = "SELECT * FROM ofirst_guestbook ORDER BY guest LIMIT " . $_GET["start"] . " OFFSET " . $_GET["perpage"] . ";"; $result = ofirst_dbquery($query); --- 42,46 ---- </form>"); ! $query = "SELECT * FROM ofirst_guestbook ORDER BY guest LIMIT " . $_GET["perpage"] . " OFFSET " . $_GET["start"] . ";"; $result = ofirst_dbquery($query); |
From: Tim G. <xt...@us...> - 2004-04-12 23:06:35
|
Update of /cvsroot/openfirst/emoticon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11821 Modified Files: emoticonf.php index.php Log Message: Fix headers, and offset problem Index: emoticonf.php =================================================================== RCS file: /cvsroot/openfirst/emoticon/emoticonf.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** emoticonf.php 7 Apr 2004 11:45:12 -0000 1.14 --- emoticonf.php 12 Apr 2004 22:52:42 -0000 1.15 *************** *** 16,23 **** * 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 --- 16,19 ---- *************** *** 50,54 **** function emoticon_preview ($limit = 5, $start = 0) { global $basepath; ! $query = ofirst_dbquery("SELECT * FROM ofirst_emoticon LIMIT $start OFFSET $limit"); echo "<table><th>Emoticons</th><th></th>"; while ($emot = ofirst_dbfetch_object($query)) { --- 46,50 ---- function emoticon_preview ($limit = 5, $start = 0) { global $basepath; ! $query = ofirst_dbquery("SELECT * FROM ofirst_emoticon LIMIT $limit OFFSET $start"); echo "<table><th>Emoticons</th><th></th>"; while ($emot = ofirst_dbfetch_object($query)) { Index: index.php =================================================================== RCS file: /cvsroot/openfirst/emoticon/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 24 Dec 2003 18:05:50 -0000 1.8 --- index.php 12 Apr 2004 22:52:42 -0000 1.9 *************** *** 16,23 **** * 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 --- 16,19 ---- |