cvs: bugtracker / LICENSE.txt /htdocs cache.php config.php /htdocs/elements email.php screen.php /htdocs/index index.php /includes bug.php
cache.php cache_generate.php cachelist.php comment.php database.php database_mysql.php database_mysqli.php email.php functions.php sanitize.php
template.php user.php /template/generic debug.php /template/generic/bug comment.php index.php /template/generic/report index.php report.php
/template/generic/user convert.php login.php verify.php
| From: | Barry Carlyon | Date: | Mon, 11 Aug 2008 09:09:55 +0000 |
| Subject: | cvs: bugtracker / LICENSE.txt /htdocs cache.php config.php /htdocs/elements email.php screen.php /htdocs/index index.php /includes bug.php cache.php cache_generate.php cachelist.php comment.php database.php database_mysql.php database_mysqli.php email.php functions.php sanitize.php template.php user.php /template/generic debug.php /template/generic/bug comment.php index.php /template/generic/report index.php report.php /template/generic/user convert.php login.php verify.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2366@lists.php.net to get a copy of this message | ||
bcarlyon Mon Aug 11 09:09:55 2008 UTC
Added files:
/bugtracker LICENSE.txt
Modified files:
/bugtracker/htdocs cache.php config.php
/bugtracker/htdocs/elements email.php screen.php
/bugtracker/htdocs/index index.php
/bugtracker/includes bug.php cache.php cache_generate.php
cachelist.php comment.php database.php
database_mysql.php database_mysqli.php
email.php functions.php sanitize.php
template.php user.php
/bugtracker/template/generic debug.php
/bugtracker/template/generic/bug comment.php index.php
/bugtracker/template/generic/report index.php report.php
/bugtracker/template/generic/user convert.php login.php verify.php
Log:
Added the PHP License :-)
http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/cache.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/htdocs/cache.php diff -u bugtracker/htdocs/cache.php:1.4 bugtracker/htdocs/cache.php:1.5 --- bugtracker/htdocs/cache.php:1.4 Thu Jul 31 12:34:20 2008 +++ bugtracker/htdocs/cache.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * Cache.php -> Temporary File for Cache Test + * + * Merely includes the cache class for test purposes + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cache.php,v 1.5 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + include($_SERVER['DOCUMENT_ROOT'] . '/config.php'); include($_SERVER['DOCUMENT_ROOT'] . '../includes/functions.php'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/config.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/htdocs/config.php diff -u bugtracker/htdocs/config.php:1.4 bugtracker/htdocs/config.php:1.5 --- bugtracker/htdocs/config.php:1.4 Sun Aug 10 23:39:57 2008 +++ bugtracker/htdocs/config.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,27 @@ <?php +/** + * htdocs/config.php Defines some basic varibles + * + * Also includes the required database functions + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: config.php,v 1.5 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //system shunt $database = array( 'type' => 'mysqli', http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/elements/email.php?r1=1.2&r2=1.3&diff_format=u Index: bugtracker/htdocs/elements/email.php diff -u bugtracker/htdocs/elements/email.php:1.2 bugtracker/htdocs/elements/email.php:1.3 --- bugtracker/htdocs/elements/email.php:1.2 Thu Jul 10 20:56:41 2008 +++ bugtracker/htdocs/elements/email.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,27 @@ <?php +/** + * htdocs/elements/email.php + * + * Email encrypt for plain display + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: email.php,v 1.3 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + $email = $_GET['e']; if ($email == 'security') { http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/elements/screen.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/htdocs/elements/screen.php diff -u bugtracker/htdocs/elements/screen.php:1.1 bugtracker/htdocs/elements/screen.php:1.2 --- bugtracker/htdocs/elements/screen.php:1.1 Sat Jul 26 02:33:43 2008 +++ bugtracker/htdocs/elements/screen.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,27 @@ <?php +/** + * htdocs/elements/screen.php + * + * Paint it black at night for the developer only + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: screen.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + header('Content-Type: text/css'); $file = file_get_contents($_SERVER['DOCUMENT_ROOT'] . 'elements/screen.css'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/index/index.php?r1=1.18&r2=1.19&diff_format=u Index: bugtracker/htdocs/index/index.php diff -u bugtracker/htdocs/index/index.php:1.18 bugtracker/htdocs/index/index.php:1.19 --- bugtracker/htdocs/index/index.php:1.18 Sun Aug 10 21:38:41 2008 +++ bugtracker/htdocs/index/index.php Mon Aug 11 09:09:54 2008 @@ -1,10 +1,31 @@ <?php +/** + * htdocs/index/index.php + * + * Its the main drag + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: index.php,v 1.19 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + /*********************************************************** GSoC PHP Bug Tracker Project Barry Carlyon 2008 -License: ***********************************************************/ //backtrace has something to talk too http://cvs.php.net/viewvc.cgi/bugtracker/includes/bug.php?r1=1.5&r2=1.6&diff_format=u Index: bugtracker/includes/bug.php diff -u bugtracker/includes/bug.php:1.5 bugtracker/includes/bug.php:1.6 --- bugtracker/includes/bug.php:1.5 Thu Aug 7 08:59:50 2008 +++ bugtracker/includes/bug.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/Bug.php + * + * Its a class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: bug.php,v 1.6 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * bug creates a class for display and create of bugs + * + * A lot is missing :-( + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //bug class class bug { function report() { http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/includes/cache.php diff -u bugtracker/includes/cache.php:1.6 bugtracker/includes/cache.php:1.7 --- bugtracker/includes/cache.php:1.6 Sun Aug 10 23:39:58 2008 +++ bugtracker/includes/cache.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/cache.php + * + * Its the cache control class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cache.php,v 1.7 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * Cache class + * + * Functions for querying the file cache + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + class cache{ /* http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache_generate.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/includes/cache_generate.php diff -u bugtracker/includes/cache_generate.php:1.1 bugtracker/includes/cache_generate.php:1.2 --- bugtracker/includes/cache_generate.php:1.1 Thu Jul 31 12:34:20 2008 +++ bugtracker/includes/cache_generate.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * includes/cache_generate.php + * + * Proof of code for cache file creation + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cache_generate.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + //cache creator //$cache = $_REQUEST['cache']; $cache = 'all'; http://cvs.php.net/viewvc.cgi/bugtracker/includes/cachelist.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/cachelist.php diff -u bugtracker/includes/cachelist.php:1.3 bugtracker/includes/cachelist.php:1.4 --- bugtracker/includes/cachelist.php:1.3 Thu Jul 10 20:56:41 2008 +++ bugtracker/includes/cachelist.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * includes/cache_list.php + * + * A list of caches that should exist or can be created + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cachelist.php,v 1.4 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + $status = array(); $php_version = array(); $bug_type = array(); http://cvs.php.net/viewvc.cgi/bugtracker/includes/comment.php?r1=1.11&r2=1.12&diff_format=u Index: bugtracker/includes/comment.php diff -u bugtracker/includes/comment.php:1.11 bugtracker/includes/comment.php:1.12 --- bugtracker/includes/comment.php:1.11 Thu Aug 7 14:27:23 2008 +++ bugtracker/includes/comment.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/comment.php + * + * Comment class, its the comment engine + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: comment.php,v 1.12 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * comment class + * + * Creation of comments! + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + class comment { function first_comment($comments) { //upto 4 comments to add http://cvs.php.net/viewvc.cgi/bugtracker/includes/database.php?r1=1.2&r2=1.3&diff_format=u Index: bugtracker/includes/database.php diff -u bugtracker/includes/database.php:1.2 bugtracker/includes/database.php:1.3 --- bugtracker/includes/database.php:1.2 Thu Jul 10 20:56:41 2008 +++ bugtracker/includes/database.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * LEGACY FILE includes/database.php + * + * Long description for file (if any)... + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: database.php,v 1.3 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + //system shunt $database = array( 'host' => 'localhost', http://cvs.php.net/viewvc.cgi/bugtracker/includes/database_mysql.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/database_mysql.php diff -u bugtracker/includes/database_mysql.php:1.3 bugtracker/includes/database_mysql.php:1.4 --- bugtracker/includes/database_mysql.php:1.3 Wed Jul 16 04:19:20 2008 +++ bugtracker/includes/database_mysql.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/database_mysql.php + * + * mysql class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: database_mysql.php,v 1.4 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/database_mysql.php + * + * Mysql version of the database class + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //class class db { public $query_count = 0; http://cvs.php.net/viewvc.cgi/bugtracker/includes/database_mysqli.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/includes/database_mysqli.php diff -u bugtracker/includes/database_mysqli.php:1.4 bugtracker/includes/database_mysqli.php:1.5 --- bugtracker/includes/database_mysqli.php:1.4 Sun Aug 10 23:39:58 2008 +++ bugtracker/includes/database_mysqli.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/database_mysqli.php + * + * Database mysqli connect class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: database_mysqli.php,v 1.5 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/database_mysqli.php + * + * Is the mysqli version of the database class + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //class class db { public $query_count = 0; http://cvs.php.net/viewvc.cgi/bugtracker/includes/email.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/email.php diff -u bugtracker/includes/email.php:1.3 bugtracker/includes/email.php:1.4 --- bugtracker/includes/email.php:1.3 Thu Jul 10 20:56:41 2008 +++ bugtracker/includes/email.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/email.php + * + * Its the email class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: email.php,v 1.4 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/email.php + * + * Its the email class, for sending + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //email class class email { http://cvs.php.net/viewvc.cgi/bugtracker/includes/functions.php?r1=1.21&r2=1.22&diff_format=u Index: bugtracker/includes/functions.php diff -u bugtracker/includes/functions.php:1.21 bugtracker/includes/functions.php:1.22 --- bugtracker/includes/functions.php:1.21 Thu Aug 7 13:31:55 2008 +++ bugtracker/includes/functions.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * includes/functions.php + * + * Some basic functions + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: functions.php,v 1.22 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + function titleit($string) { $string = explode(' ',$string); $newstring = ''; http://cvs.php.net/viewvc.cgi/bugtracker/includes/sanitize.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/includes/sanitize.php diff -u bugtracker/includes/sanitize.php:1.1 bugtracker/includes/sanitize.php:1.2 --- bugtracker/includes/sanitize.php:1.1 Thu Jul 31 02:38:33 2008 +++ bugtracker/includes/sanitize.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/sanitize.php + * + * Source functions for other use + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: sanitize.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/sanitize.php + * + * Sanitize functions + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + class api_helpers_html { /** * Template parameters set during the execution of template rendering http://cvs.php.net/viewvc.cgi/bugtracker/includes/template.php?r1=1.11&r2=1.12&diff_format=u Index: bugtracker/includes/template.php diff -u bugtracker/includes/template.php:1.11 bugtracker/includes/template.php:1.12 --- bugtracker/includes/template.php:1.11 Sun Aug 10 21:38:41 2008 +++ bugtracker/includes/template.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/template.php + * + * Template engine version 3 + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: template.php,v 1.12 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/template.php + * + * The template engine version 3 + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //this is the template engine version 3 /* @@ -30,7 +66,8 @@ public $content_title = ' '; - public $login = '<li> </li>'; +// public $login = '<li> </li>'; + public $login = '<li><a href="/login/" title="Login">Login</a></li>'; public $template_data = array(); public $form_data = array(); http://cvs.php.net/viewvc.cgi/bugtracker/includes/user.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/includes/user.php diff -u bugtracker/includes/user.php:1.9 bugtracker/includes/user.php:1.10 --- bugtracker/includes/user.php:1.9 Sun Aug 10 23:39:58 2008 +++ bugtracker/includes/user.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/user.php + * + * Its the user class for create, delete and manage + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: user.php,v 1.10 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/user.php + * + * Its the user add, delete, create, and manage + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //users class class user { public $logged_in = FALSE; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/debug.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/debug.php diff -u bugtracker/template/generic/debug.php:1.1 bugtracker/template/generic/debug.php:1.2 --- bugtracker/template/generic/debug.php:1.1 Fri Aug 1 10:51:11 2008 +++ bugtracker/template/generic/debug.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * template/generic/debug.php + * + * A file for diplay of the output of the trace function + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: debug.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + $debug = ' <textarea style="width: 95%; height: 200px; border: 1px solid #000;" rows="10" cols="50">debug: trace: http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/comment.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/template/generic/bug/comment.php diff -u bugtracker/template/generic/bug/comment.php:1.4 bugtracker/template/generic/bug/comment.php:1.5 --- bugtracker/template/generic/bug/comment.php:1.4 Thu Aug 7 14:27:23 2008 +++ bugtracker/template/generic/bug/comment.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/bug/comment.php + * + * Its the comment handler, calls the comment class as needed + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: comment.php,v 1.5 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //woo is comment time //most of this involves taking to the comment class http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.24&r2=1.25&diff_format=u Index: bugtracker/template/generic/bug/index.php diff -u bugtracker/template/generic/bug/index.php:1.24 bugtracker/template/generic/bug/index.php:1.25 --- bugtracker/template/generic/bug/index.php:1.24 Thu Aug 7 14:27:23 2008 +++ bugtracker/template/generic/bug/index.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/bug/index.php + * + * Includes functions for bug display, all and single, basic search engine and code download + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: index.php,v 1.25 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + $content = ''; $bug_id = $_REQUEST['bug_id']; $bug_id = str_replace('/','',$bug_id); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/index.php?r1=1.14&r2=1.15&diff_format=u Index: bugtracker/template/generic/report/index.php diff -u bugtracker/template/generic/report/index.php:1.14 bugtracker/template/generic/report/index.php:1.15 --- bugtracker/template/generic/report/index.php:1.14 Thu Aug 7 13:31:55 2008 +++ bugtracker/template/generic/report/index.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,28 @@ <?php +/** + * template/generic/report/index.php + * + * Creates the bug report view + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: index.php,v 1.15 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + require_once($_SERVER['DOCUMENT_ROOT'] . '../includes/recaptchalib.php'); $template->page_title .= 'Reporting a bug'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/report.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/template/generic/report/report.php diff -u bugtracker/template/generic/report/report.php:1.9 bugtracker/template/generic/report/report.php:1.10 --- bugtracker/template/generic/report/report.php:1.9 Sun Aug 10 21:38:41 2008 +++ bugtracker/template/generic/report/report.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,28 @@ <?php +/** + * template/generic/report/report.php + * + * The report a bug handler + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: report.php,v 1.10 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + $content = ''; $form_data['email'] = loadvar('email'); $form_data['php_version'] = loadvar('php_version'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/convert.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/template/generic/user/convert.php diff -u bugtracker/template/generic/user/convert.php:1.6 bugtracker/template/generic/user/convert.php:1.7 --- bugtracker/template/generic/user/convert.php:1.6 Sun Aug 10 23:39:58 2008 +++ bugtracker/template/generic/user/convert.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/user/convert.php + * + * Provides functions to convert a user from temp to real + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: convert.php,v 1.7 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //convert a user from a temp account to a real account //check for logged in http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/login.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/template/generic/user/login.php diff -u bugtracker/template/generic/user/login.php:1.3 bugtracker/template/generic/user/login.php:1.4 --- bugtracker/template/generic/user/login.php:1.3 Sun Aug 10 21:38:41 2008 +++ bugtracker/template/generic/user/login.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/user/login.php + * + * Renders a login form and controls what happens on attempted login + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: login.php,v 1.4 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + if ($user->logged_in_temp) { header("Location: /user/convert/"); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/verify.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/template/generic/user/verify.php diff -u bugtracker/template/generic/user/verify.php:1.3 bugtracker/template/generic/user/verify.php:1.4 --- bugtracker/template/generic/user/verify.php:1.3 Sun Aug 10 23:39:58 2008 +++ bugtracker/template/generic/user/verify.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/user/verify.php + * + * Verify a users email address is correct, by md5ing some fun bits from a user profile + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: verify.php,v 1.4 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //file to verify a user //this needs to verify to the normal user db in case of a password change between temp user and real user @@ -38,7 +60,7 @@ if ($db->affected_rows) { $content .= '<div id="success">Your verify keys match for this email address'; - $content .= '<br />And you account has been updated'; + $content .= '<br />And your account has been updated'; $content .= '<br />One moment whilst we convert your old entires to your new handle, and remove your temporary status'; //update user history @@ -65,11 +87,12 @@ $db->get_data($query); $content .= '<br />Updated ' . $db->affected_rows . ' rows'; //logical no need to update the other two fields of handleness + $content .= '<br />Comments'; $query = 'UPDATE ' . COMMENT_TABLE . ' SET handle = \'' . $handle . '\' WHERE handle = \'' . $old_handle . '\''; $db->get_data($query); $content .= '<br />Updated ' . $db->affected_rows . ' rows'; - $content .= '<br />You should now be able to login'; + $content .= '<br />You should now be able to <a href="/login/" title="Login">login</a>'; $content .= '</div>'; //recache the users files http://cvs.php.net/viewvc.cgi/bugtracker/LICENSE.txt?view=markup&rev=1.1 Index: bugtracker/LICENSE.txt +++ bugtracker/LICENSE.txt -------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2008 The PHP Group. All rights reserved. -------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact group@php.net. 4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name, without prior written permission from group@php.net. You may indicate that your software works in conjunction with PHP by saying "Foo for PHP" instead of calling it "PHP Foo" or "phpfoo" 5. The PHP Group may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. Once covered code has been published under a particular version of the license, you may always continue to use it under the terms of that version. You may also choose to use such covered code under the terms of any subsequent version of the license published by the PHP Group. No one other than the PHP Group has the right to modify the terms applicable to covered code created under this License. 6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes PHP software, freely available from <http://www.php.net/software/>". THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- This software consists of voluntary contributions made by many individuals on behalf of the PHP Group. The PHP Group can be contacted via Email at group@php.net. For more information on the PHP Group and the PHP project, please see <http://www.php.net>. PHP includes the Zend Engine, freely available at <http://www.zend.com>.
http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/cache.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/htdocs/cache.php diff -u bugtracker/htdocs/cache.php:1.4 bugtracker/htdocs/cache.php:1.5 --- bugtracker/htdocs/cache.php:1.4 Thu Jul 31 12:34:20 2008 +++ bugtracker/htdocs/cache.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * Cache.php -> Temporary File for Cache Test + * + * Merely includes the cache class for test purposes + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cache.php,v 1.5 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + include($_SERVER['DOCUMENT_ROOT'] . '/config.php'); include($_SERVER['DOCUMENT_ROOT'] . '../includes/functions.php'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/config.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/htdocs/config.php diff -u bugtracker/htdocs/config.php:1.4 bugtracker/htdocs/config.php:1.5 --- bugtracker/htdocs/config.php:1.4 Sun Aug 10 23:39:57 2008 +++ bugtracker/htdocs/config.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,27 @@ <?php +/** + * htdocs/config.php Defines some basic varibles + * + * Also includes the required database functions + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: config.php,v 1.5 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //system shunt $database = array( 'type' => 'mysqli', http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/elements/email.php?r1=1.2&r2=1.3&diff_format=u Index: bugtracker/htdocs/elements/email.php diff -u bugtracker/htdocs/elements/email.php:1.2 bugtracker/htdocs/elements/email.php:1.3 --- bugtracker/htdocs/elements/email.php:1.2 Thu Jul 10 20:56:41 2008 +++ bugtracker/htdocs/elements/email.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,27 @@ <?php +/** + * htdocs/elements/email.php + * + * Email encrypt for plain display + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: email.php,v 1.3 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + $email = $_GET['e']; if ($email == 'security') { http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/elements/screen.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/htdocs/elements/screen.php diff -u bugtracker/htdocs/elements/screen.php:1.1 bugtracker/htdocs/elements/screen.php:1.2 --- bugtracker/htdocs/elements/screen.php:1.1 Sat Jul 26 02:33:43 2008 +++ bugtracker/htdocs/elements/screen.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,27 @@ <?php +/** + * htdocs/elements/screen.php + * + * Paint it black at night for the developer only + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: screen.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + header('Content-Type: text/css'); $file = file_get_contents($_SERVER['DOCUMENT_ROOT'] . 'elements/screen.css'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/index/index.php?r1=1.18&r2=1.19&diff_format=u Index: bugtracker/htdocs/index/index.php diff -u bugtracker/htdocs/index/index.php:1.18 bugtracker/htdocs/index/index.php:1.19 --- bugtracker/htdocs/index/index.php:1.18 Sun Aug 10 21:38:41 2008 +++ bugtracker/htdocs/index/index.php Mon Aug 11 09:09:54 2008 @@ -1,10 +1,31 @@ <?php +/** + * htdocs/index/index.php + * + * Its the main drag + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: index.php,v 1.19 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + /*********************************************************** GSoC PHP Bug Tracker Project Barry Carlyon 2008 -License: ***********************************************************/ //backtrace has something to talk too http://cvs.php.net/viewvc.cgi/bugtracker/includes/bug.php?r1=1.5&r2=1.6&diff_format=u Index: bugtracker/includes/bug.php diff -u bugtracker/includes/bug.php:1.5 bugtracker/includes/bug.php:1.6 --- bugtracker/includes/bug.php:1.5 Thu Aug 7 08:59:50 2008 +++ bugtracker/includes/bug.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/Bug.php + * + * Its a class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: bug.php,v 1.6 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * bug creates a class for display and create of bugs + * + * A lot is missing :-( + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //bug class class bug { function report() { http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/includes/cache.php diff -u bugtracker/includes/cache.php:1.6 bugtracker/includes/cache.php:1.7 --- bugtracker/includes/cache.php:1.6 Sun Aug 10 23:39:58 2008 +++ bugtracker/includes/cache.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/cache.php + * + * Its the cache control class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cache.php,v 1.7 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * Cache class + * + * Functions for querying the file cache + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + class cache{ /* http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache_generate.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/includes/cache_generate.php diff -u bugtracker/includes/cache_generate.php:1.1 bugtracker/includes/cache_generate.php:1.2 --- bugtracker/includes/cache_generate.php:1.1 Thu Jul 31 12:34:20 2008 +++ bugtracker/includes/cache_generate.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * includes/cache_generate.php + * + * Proof of code for cache file creation + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cache_generate.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + //cache creator //$cache = $_REQUEST['cache']; $cache = 'all'; http://cvs.php.net/viewvc.cgi/bugtracker/includes/cachelist.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/cachelist.php diff -u bugtracker/includes/cachelist.php:1.3 bugtracker/includes/cachelist.php:1.4 --- bugtracker/includes/cachelist.php:1.3 Thu Jul 10 20:56:41 2008 +++ bugtracker/includes/cachelist.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * includes/cache_list.php + * + * A list of caches that should exist or can be created + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: cachelist.php,v 1.4 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + $status = array(); $php_version = array(); $bug_type = array(); http://cvs.php.net/viewvc.cgi/bugtracker/includes/comment.php?r1=1.11&r2=1.12&diff_format=u Index: bugtracker/includes/comment.php diff -u bugtracker/includes/comment.php:1.11 bugtracker/includes/comment.php:1.12 --- bugtracker/includes/comment.php:1.11 Thu Aug 7 14:27:23 2008 +++ bugtracker/includes/comment.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/comment.php + * + * Comment class, its the comment engine + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: comment.php,v 1.12 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * comment class + * + * Creation of comments! + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + class comment { function first_comment($comments) { //upto 4 comments to add http://cvs.php.net/viewvc.cgi/bugtracker/includes/database.php?r1=1.2&r2=1.3&diff_format=u Index: bugtracker/includes/database.php diff -u bugtracker/includes/database.php:1.2 bugtracker/includes/database.php:1.3 --- bugtracker/includes/database.php:1.2 Thu Jul 10 20:56:41 2008 +++ bugtracker/includes/database.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * LEGACY FILE includes/database.php + * + * Long description for file (if any)... + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: database.php,v 1.3 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + //system shunt $database = array( 'host' => 'localhost', http://cvs.php.net/viewvc.cgi/bugtracker/includes/database_mysql.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/database_mysql.php diff -u bugtracker/includes/database_mysql.php:1.3 bugtracker/includes/database_mysql.php:1.4 --- bugtracker/includes/database_mysql.php:1.3 Wed Jul 16 04:19:20 2008 +++ bugtracker/includes/database_mysql.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/database_mysql.php + * + * mysql class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: database_mysql.php,v 1.4 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/database_mysql.php + * + * Mysql version of the database class + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //class class db { public $query_count = 0; http://cvs.php.net/viewvc.cgi/bugtracker/includes/database_mysqli.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/includes/database_mysqli.php diff -u bugtracker/includes/database_mysqli.php:1.4 bugtracker/includes/database_mysqli.php:1.5 --- bugtracker/includes/database_mysqli.php:1.4 Sun Aug 10 23:39:58 2008 +++ bugtracker/includes/database_mysqli.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/database_mysqli.php + * + * Database mysqli connect class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: database_mysqli.php,v 1.5 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/database_mysqli.php + * + * Is the mysqli version of the database class + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //class class db { public $query_count = 0; http://cvs.php.net/viewvc.cgi/bugtracker/includes/email.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/email.php diff -u bugtracker/includes/email.php:1.3 bugtracker/includes/email.php:1.4 --- bugtracker/includes/email.php:1.3 Thu Jul 10 20:56:41 2008 +++ bugtracker/includes/email.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/email.php + * + * Its the email class + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: email.php,v 1.4 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/email.php + * + * Its the email class, for sending + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //email class class email { http://cvs.php.net/viewvc.cgi/bugtracker/includes/functions.php?r1=1.21&r2=1.22&diff_format=u Index: bugtracker/includes/functions.php diff -u bugtracker/includes/functions.php:1.21 bugtracker/includes/functions.php:1.22 --- bugtracker/includes/functions.php:1.21 Thu Aug 7 13:31:55 2008 +++ bugtracker/includes/functions.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * includes/functions.php + * + * Some basic functions + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: functions.php,v 1.22 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + function titleit($string) { $string = explode(' ',$string); $newstring = ''; http://cvs.php.net/viewvc.cgi/bugtracker/includes/sanitize.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/includes/sanitize.php diff -u bugtracker/includes/sanitize.php:1.1 bugtracker/includes/sanitize.php:1.2 --- bugtracker/includes/sanitize.php:1.1 Thu Jul 31 02:38:33 2008 +++ bugtracker/includes/sanitize.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/sanitize.php + * + * Source functions for other use + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: sanitize.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/sanitize.php + * + * Sanitize functions + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + class api_helpers_html { /** * Template parameters set during the execution of template rendering http://cvs.php.net/viewvc.cgi/bugtracker/includes/template.php?r1=1.11&r2=1.12&diff_format=u Index: bugtracker/includes/template.php diff -u bugtracker/includes/template.php:1.11 bugtracker/includes/template.php:1.12 --- bugtracker/includes/template.php:1.11 Sun Aug 10 21:38:41 2008 +++ bugtracker/includes/template.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/template.php + * + * Template engine version 3 + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: template.php,v 1.12 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/template.php + * + * The template engine version 3 + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //this is the template engine version 3 /* @@ -30,7 +66,8 @@ public $content_title = ' '; - public $login = '<li> </li>'; +// public $login = '<li> </li>'; + public $login = '<li><a href="/login/" title="Login">Login</a></li>'; public $template_data = array(); public $form_data = array(); http://cvs.php.net/viewvc.cgi/bugtracker/includes/user.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/includes/user.php diff -u bugtracker/includes/user.php:1.9 bugtracker/includes/user.php:1.10 --- bugtracker/includes/user.php:1.9 Sun Aug 10 23:39:58 2008 +++ bugtracker/includes/user.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,41 @@ <?php +/** + * includes/user.php + * + * Its the user class for create, delete and manage + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: user.php,v 1.10 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + +/** + * includes/user.php + * + * Its the user add, delete, create, and manage + * + * @category PHP + * @package GSoC Bugtracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version Release: @package_version@ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //users class class user { public $logged_in = FALSE; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/debug.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/debug.php diff -u bugtracker/template/generic/debug.php:1.1 bugtracker/template/generic/debug.php:1.2 --- bugtracker/template/generic/debug.php:1.1 Fri Aug 1 10:51:11 2008 +++ bugtracker/template/generic/debug.php Mon Aug 11 09:09:54 2008 @@ -1,5 +1,28 @@ <?php +/** + * template/generic/debug.php + * + * A file for diplay of the output of the trace function + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: debug.php,v 1.2 2008/08/11 09:09:54 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + $debug = ' <textarea style="width: 95%; height: 200px; border: 1px solid #000;" rows="10" cols="50">debug: trace: http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/comment.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/template/generic/bug/comment.php diff -u bugtracker/template/generic/bug/comment.php:1.4 bugtracker/template/generic/bug/comment.php:1.5 --- bugtracker/template/generic/bug/comment.php:1.4 Thu Aug 7 14:27:23 2008 +++ bugtracker/template/generic/bug/comment.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/bug/comment.php + * + * Its the comment handler, calls the comment class as needed + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: comment.php,v 1.5 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //woo is comment time //most of this involves taking to the comment class http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.24&r2=1.25&diff_format=u Index: bugtracker/template/generic/bug/index.php diff -u bugtracker/template/generic/bug/index.php:1.24 bugtracker/template/generic/bug/index.php:1.25 --- bugtracker/template/generic/bug/index.php:1.24 Thu Aug 7 14:27:23 2008 +++ bugtracker/template/generic/bug/index.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/bug/index.php + * + * Includes functions for bug display, all and single, basic search engine and code download + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: index.php,v 1.25 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + $content = ''; $bug_id = $_REQUEST['bug_id']; $bug_id = str_replace('/','',$bug_id); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/index.php?r1=1.14&r2=1.15&diff_format=u Index: bugtracker/template/generic/report/index.php diff -u bugtracker/template/generic/report/index.php:1.14 bugtracker/template/generic/report/index.php:1.15 --- bugtracker/template/generic/report/index.php:1.14 Thu Aug 7 13:31:55 2008 +++ bugtracker/template/generic/report/index.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,28 @@ <?php +/** + * template/generic/report/index.php + * + * Creates the bug report view + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: index.php,v 1.15 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + require_once($_SERVER['DOCUMENT_ROOT'] . '../includes/recaptchalib.php'); $template->page_title .= 'Reporting a bug'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/report.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/template/generic/report/report.php diff -u bugtracker/template/generic/report/report.php:1.9 bugtracker/template/generic/report/report.php:1.10 --- bugtracker/template/generic/report/report.php:1.9 Sun Aug 10 21:38:41 2008 +++ bugtracker/template/generic/report/report.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,28 @@ <?php +/** + * template/generic/report/report.php + * + * The report a bug handler + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: report.php,v 1.10 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + + $content = ''; $form_data['email'] = loadvar('email'); $form_data['php_version'] = loadvar('php_version'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/convert.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/template/generic/user/convert.php diff -u bugtracker/template/generic/user/convert.php:1.6 bugtracker/template/generic/user/convert.php:1.7 --- bugtracker/template/generic/user/convert.php:1.6 Sun Aug 10 23:39:58 2008 +++ bugtracker/template/generic/user/convert.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/user/convert.php + * + * Provides functions to convert a user from temp to real + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: convert.php,v 1.7 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //convert a user from a temp account to a real account //check for logged in http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/login.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/template/generic/user/login.php diff -u bugtracker/template/generic/user/login.php:1.3 bugtracker/template/generic/user/login.php:1.4 --- bugtracker/template/generic/user/login.php:1.3 Sun Aug 10 21:38:41 2008 +++ bugtracker/template/generic/user/login.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/user/login.php + * + * Renders a login form and controls what happens on attempted login + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: login.php,v 1.4 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + if ($user->logged_in_temp) { header("Location: /user/convert/"); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/verify.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/template/generic/user/verify.php diff -u bugtracker/template/generic/user/verify.php:1.3 bugtracker/template/generic/user/verify.php:1.4 --- bugtracker/template/generic/user/verify.php:1.3 Sun Aug 10 23:39:58 2008 +++ bugtracker/template/generic/user/verify.php Mon Aug 11 09:09:55 2008 @@ -1,5 +1,27 @@ <?php +/** + * template/generic/user/verify.php + * + * Verify a users email address is correct, by md5ing some fun bits from a user profile + * + * PHP 5 + * + * LICENSE: This source file is subject to version 3.0 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category PHP + * @package GSoC BugTracker + * @author Barry Carlyon <bcarlyon@php.net> + * @copyright 1997-2008 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id: verify.php,v 1.4 2008/08/11 09:09:55 bcarlyon Exp $ + * @link http://gsoc.barrycarlyon.servegame.org + */ + //file to verify a user //this needs to verify to the normal user db in case of a password change between temp user and real user @@ -38,7 +60,7 @@ if ($db->affected_rows) { $content .= '<div id="success">Your verify keys match for this email address'; - $content .= '<br />And you account has been updated'; + $content .= '<br />And your account has been updated'; $content .= '<br />One moment whilst we convert your old entires to your new handle, and remove your temporary status'; //update user history @@ -65,11 +87,12 @@ $db->get_data($query); $content .= '<br />Updated ' . $db->affected_rows . ' rows'; //logical no need to update the other two fields of handleness + $content .= '<br />Comments'; $query = 'UPDATE ' . COMMENT_TABLE . ' SET handle = \'' . $handle . '\' WHERE handle = \'' . $old_handle . '\''; $db->get_data($query); $content .= '<br />Updated ' . $db->affected_rows . ' rows'; - $content .= '<br />You should now be able to login'; + $content .= '<br />You should now be able to <a href="/login/" title="Login">login</a>'; $content .= '</div>'; //recache the users files http://cvs.php.net/viewvc.cgi/bugtracker/LICENSE.txt?view=markup&rev=1.1 Index: bugtracker/LICENSE.txt +++ bugtracker/LICENSE.txt -------------------------------------------------------------------- The PHP License, version 3.01 Copyright (c) 1999 - 2008 The PHP Group. All rights reserved. -------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The name "PHP" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact group@php.net. 4. Products derived from this software may not be called "PHP", nor may "PHP" appear in their name, without prior written permission from group@php.net. You may indicate that your software works in conjunction with PHP by saying "Foo for PHP" instead of calling it "PHP Foo" or "phpfoo" 5. The PHP Group may publish revised and/or new versions of the license from time to time. Each version will be given a distinguishing version number. Once covered code has been published under a particular version of the license, you may always continue to use it under the terms of that version. You may also choose to use such covered code under the terms of any subsequent version of the license published by the PHP Group. No one other than the PHP Group has the right to modify the terms applicable to covered code created under this License. 6. Redistributions of any form whatsoever must retain the following acknowledgment: "This product includes PHP software, freely available from <http://www.php.net/software/>". THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------- This software consists of voluntary contributions made by many individuals on behalf of the PHP Group. The PHP Group can be contacted via Email at group@php.net. For more information on the PHP Group and the PHP project, please see <http://www.php.net>. PHP includes the Zend Engine, freely available at <http://www.zend.com>.