cvs: bugtracker / LICENSE 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
session.php template.php user.php /includes/cache account_type.php bug_type.php comment_type.php os_version.php php_version.php status.php users.php
/includes/database basic.php mysql.php mysqli.php /notes current_db_snapshot.sql /template/generic debug.php /template/generic/admin assign.php
index.php /template/generic/bug comment.php index.php /template/generic/report index.php report.php /template/generic/user convert.php create.php
help.php login.php logout.php verify.php /template/php bk.html
| From: | Barry Carlyon | Date: | Wed, 13 Aug 2008 20:18:11 +0000 |
| Subject: | cvs: bugtracker / LICENSE 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 session.php template.php user.php /includes/cache account_type.php bug_type.php comment_type.php os_version.php php_version.php status.php users.php /includes/database basic.php mysql.php mysqli.php /notes current_db_snapshot.sql /template/generic debug.php /template/generic/admin assign.php index.php /template/generic/bug comment.php index.php /template/generic/report index.php report.php /template/generic/user convert.php create.php help.php login.php logout.php verify.php /template/php bk.html |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2400@lists.php.net to get a copy of this message | ||
bcarlyon Wed Aug 13 20:18:11 2008 UTC
Added files:
/bugtracker LICENSE
/bugtracker/includes/database basic.php mysql.php mysqli.php
Removed files:
/bugtracker LICENSE.txt
/bugtracker/includes database.php database_mysql.php
database_mysqli.php
/bugtracker/includes/cache account_type.php bug_type.php
comment_type.php os_version.php
php_version.php status.php users.php
/bugtracker/notes current_db_snapshot.sql
/bugtracker/template/php bk.html
Modified files:
/bugtracker/htdocs cache.php config.php
/bugtracker/htdocs/elements email.php screen.php
/bugtracker/htdocs/index index.php
/bugtracker/includes email.php bug.php cache.php cache_generate.php
cachelist.php comment.php functions.php
sanitize.php session.php template.php user.php
/bugtracker/template/generic debug.php
/bugtracker/template/generic/admin assign.php index.php
/bugtracker/template/generic/bug comment.php index.php
/bugtracker/template/generic/report index.php report.php
/bugtracker/template/generic/user convert.php create.php help.php
login.php logout.php verify.php
Log:
License Update
Removed files that decided to reappaer
Tided up some layout bits regarding file locations
Generally CVS tidyup
Need to commit some 'system' related code changes but need to do them first....
http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/cache.php?r1=1.7&r2=1.8&diff_format=u Index: bugtracker/htdocs/cache.php diff -u bugtracker/htdocs/cache.php:1.7 bugtracker/htdocs/cache.php:1.8 --- bugtracker/htdocs/cache.php:1.7 Mon Aug 11 10:51:22 2008 +++ bugtracker/htdocs/cache.php Wed Aug 13 20:18:09 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* htdocs/cache.php +* Hack file to generate the cache +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cache.php,v 1.8 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ include($_SERVER['DOCUMENT_ROOT'] . '/config.php'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/config.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/htdocs/config.php diff -u bugtracker/htdocs/config.php:1.9 bugtracker/htdocs/config.php:1.10 --- bugtracker/htdocs/config.php:1.9 Wed Aug 13 11:33:12 2008 +++ bugtracker/htdocs/config.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - - * htdocs/config.php Defines some basic varibles - * Also includes the required database functions +/** +* htdocs/config.php +* Defines some basic varibles +* Also includes the required database functions +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: config.php,v 1.10 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ //system shunt http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/elements/email.php?r1=1.5&r2=1.6&diff_format=u Index: bugtracker/htdocs/elements/email.php diff -u bugtracker/htdocs/elements/email.php:1.5 bugtracker/htdocs/elements/email.php:1.6 --- bugtracker/htdocs/elements/email.php:1.5 Mon Aug 11 10:51:22 2008 +++ bugtracker/htdocs/elements/email.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,46 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * htdocs/elements/email.php - * Email encrypt for plain display - */ +/** +* htdocs/elements/email.php +* Email encrypt for plain display, using javascript +* tool: http://tools.dynamicdrive.com/ +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: email.php,v 1.6 2008/08/13 20:18:09 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.4&r2=1.5&diff_format=u Index: bugtracker/htdocs/elements/screen.php diff -u bugtracker/htdocs/elements/screen.php:1.4 bugtracker/htdocs/elements/screen.php:1.5 --- bugtracker/htdocs/elements/screen.php:1.4 Mon Aug 11 10:51:22 2008 +++ bugtracker/htdocs/elements/screen.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * htdocs/elements/screen.php - * Paint it black at night for the developer only - */ +/** +* htdocs/elements/screen.php +* Paint it black at night for the developer only +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: screen.php,v 1.5 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ header('Content-Type: text/css'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/index/index.php?r1=1.22&r2=1.23&diff_format=u Index: bugtracker/htdocs/index/index.php diff -u bugtracker/htdocs/index/index.php:1.22 bugtracker/htdocs/index/index.php:1.23 --- bugtracker/htdocs/index/index.php:1.22 Tue Aug 12 16:30:21 2008 +++ bugtracker/htdocs/index/index.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * htdocs/index/index.php - * Its the main drag - */ +/** +* htdocs/index/index.php +* Its the main drag +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.23 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ /*********************************************************** GSoC PHP Bug Tracker Project @@ -98,5 +112,3 @@ $db->close(); unset($db); -exit; - http://cvs.php.net/viewvc.cgi/bugtracker/includes/email.php?r1=1.8&r2=1.9&diff_format=u Index: bugtracker/includes/email.php diff -u /dev/null bugtracker/includes/email.php:1.9 --- /dev/null Wed Aug 13 20:18:11 2008 +++ bugtracker/includes/email.php Wed Aug 13 20:18:09 2008 @@ -0,0 +1,112 @@ +<?php + +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ + +/** +* includes/email.php +* Its the email class, for sending +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: email.php,v 1.9 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ + +class email { + + public $host = 'mail.rmssvr.net'; + public $username = 'barry@barrycarlyon.co.uk'; + public $password = ''; + + function send_to_list() { + } + function send_to_user($ref,$subject,$message,$from = "bugz <bounce-no-user@php.net>") { + //$ref gives handle or email + global $db; + if (strpos($ref,'@')) + { + //obtain handle from db + $email = $ref; + $handle = 'test'; + } + else + { + //obtain email from db + //technically the logged in user... + $handle = $ref; + $query = 'SELECT email FROM user WHERE handle = ' . "'{$handle}';"; + $db->get_data($query); + $email = $db->fetch_row(); + $email = $email[0]; + } + + $this->to = "$handle <$email>"; + $this->from = $from; + $this->subject = $subject; + $this->message = $message; + + $this->headers = array( + 'From' => $this->from, + 'To' => $this->to, + 'Subject' => $this->subject, + 'Reply-To' => $this->from, + 'X-Mailer' => 'PHP Bugtracker, PHP' . phpversion() + ); + + return $this->send_email(); +// return; + } + function send_to_assigned($bug_id) { + } + function send_to_subscribed($bug_id) { + } + function send_email() { + require_once 'Mail.php'; + + $this->message .= file_get_contents($_SERVER['DOCUMENT_ROOT'] . '../template/docs/email.txt'); + + $smtp = Mail::factory('smtp', + array ( 'host' => $this->host, + 'auth' => true, + 'username' => $this->username, + 'password' => $this->password)); + $mail = $smtp->send($this->to, $this->headers, $this->message); + +// return $mail->getMessage(); + if (PEAR::isError($mail)) + return FALSE; + else + return TRUE; + + } +} + http://cvs.php.net/viewvc.cgi/bugtracker/includes/bug.php?r1=1.10&r2=1.11&diff_format=u Index: bugtracker/includes/bug.php diff -u bugtracker/includes/bug.php:1.10 bugtracker/includes/bug.php:1.11 --- bugtracker/includes/bug.php:1.10 Wed Aug 13 15:48:06 2008 +++ bugtracker/includes/bug.php Wed Aug 13 20:18:09 2008 @@ -1,35 +1,47 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. +/** +* includes/bug.php +* bug creates a class for display and create of bugs +* A lot is missing :-( +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: bug.php,v 1.11 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - - * includes/Bug.php - * bug creates a class for display and create of bugs - * A lot is missing :-( - */ - -//bug class class bug { function report() { //lets add the bug to the bug database shall we? http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache.php?r1=1.14&r2=1.15&diff_format=u Index: bugtracker/includes/cache.php diff -u bugtracker/includes/cache.php:1.14 bugtracker/includes/cache.php:1.15 --- bugtracker/includes/cache.php:1.14 Wed Aug 13 15:42:45 2008 +++ bugtracker/includes/cache.php Wed Aug 13 20:18:09 2008 @@ -1,46 +1,48 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/cache.php - * Its the cache control class - * Functions for querying the file cache - */ - -class cache{ - -/* -public $status = array(); -public $php_version = array(); -public $bug_type = array(); -public $os_version = array(); -public $comment_type = array(); - -public $account_type = array(); -public $user_data = array(); +/** +* includes/cache.php +* Its the cache control class +* Functions for querying the file cache +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cache.php,v 1.15 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ +class cache{ function load_cache() { if ($handle = opendir($_SERVER['DOCUMENT_ROOT'] . '../includes/cache/')) { http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache_generate.php?r1=1.5&r2=1.6&diff_format=u Index: bugtracker/includes/cache_generate.php diff -u bugtracker/includes/cache_generate.php:1.5 bugtracker/includes/cache_generate.php:1.6 --- bugtracker/includes/cache_generate.php:1.5 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/cache_generate.php Wed Aug 13 20:18:09 2008 @@ -1,34 +1,46 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. +* includes/cache_generate.php +* Proof of code for cache file creation +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cache_generate.php,v 1.6 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/cache_generate.php - * Proof of code for cache file creation - */ - - -//cache creator //$cache = $_REQUEST['cache']; $cache = 'all'; //$mode = $_REQUEST['mode']; http://cvs.php.net/viewvc.cgi/bugtracker/includes/cachelist.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/includes/cachelist.php diff -u bugtracker/includes/cachelist.php:1.6 bugtracker/includes/cachelist.php:1.7 --- bugtracker/includes/cachelist.php:1.6 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/cachelist.php Wed Aug 13 20:18:09 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/cache_list.php - * A list of caches that should exist or can be created - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/cache_list.php +* A list of caches that should exist or can be created +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cachelist.php,v 1.7 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $status = array(); $php_version = array(); http://cvs.php.net/viewvc.cgi/bugtracker/includes/comment.php?r1=1.14&r2=1.15&diff_format=u Index: bugtracker/includes/comment.php diff -u bugtracker/includes/comment.php:1.14 bugtracker/includes/comment.php:1.15 --- bugtracker/includes/comment.php:1.14 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/comment.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/comment.php - * Comment class, its the comment engine - */ +/** +* includes/comment.php +* Comment class, its the comment engine +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: comment.php,v 1.15 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ class comment { function first_comment($comments) { http://cvs.php.net/viewvc.cgi/bugtracker/includes/functions.php?r1=1.24&r2=1.25&diff_format=u Index: bugtracker/includes/functions.php diff -u bugtracker/includes/functions.php:1.24 bugtracker/includes/functions.php:1.25 --- bugtracker/includes/functions.php:1.24 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/functions.php Wed Aug 13 20:18:09 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/functions.php - * Some basic functions - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/functions.php +* Some basic functions +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: functions.php,v 1.25 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ function titleit($string) { $string = explode(' ',$string); http://cvs.php.net/viewvc.cgi/bugtracker/includes/sanitize.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/includes/sanitize.php diff -u bugtracker/includes/sanitize.php:1.4 bugtracker/includes/sanitize.php:1.5 --- bugtracker/includes/sanitize.php:1.4 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/sanitize.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/sanitize.php - * Source functions for other use - */ +/** +* includes/sanitize.php +* Source functions for other use +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: sanitize.php,v 1.5 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ class api_helpers_html { /** http://cvs.php.net/viewvc.cgi/bugtracker/includes/session.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/session.php diff -u bugtracker/includes/session.php:1.3 bugtracker/includes/session.php:1.4 --- bugtracker/includes/session.php:1.3 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/session.php Wed Aug 13 20:18:09 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/session.php +* Its the session management class, for maintaing logins +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: session.php,v 1.4 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ class session { http://cvs.php.net/viewvc.cgi/bugtracker/includes/template.php?r1=1.19&r2=1.20&diff_format=u Index: bugtracker/includes/template.php diff -u bugtracker/includes/template.php:1.19 bugtracker/includes/template.php:1.20 --- bugtracker/includes/template.php:1.19 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/template.php Wed Aug 13 20:18:09 2008 @@ -1,45 +1,55 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/template.php - * Template engine version 3 - */ - -//this is the template engine version 3 - -/* - -Release notes - -this file takes all the elements I usually define in functions -add to that all the stuff gsoc has taught me -plus all the stuff I have learnt whilst working with classes - -finally this will actually work properly -at lease it will when all the subsequent functions are written and are operational +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/template.php +* Template engine version 3 +* this is the template engine version 3 +* Release notes +* +* this file takes all the elements I usually define in functions +* add to that all the stuff gsoc has taught me +* plus all the stuff I have learnt whilst working with classes +* +* finally this will actually work properly +* at lease it will when all the subsequent functions are written and are operational +* +* +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: template.php,v 1.20 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ class template { http://cvs.php.net/viewvc.cgi/bugtracker/includes/user.php?r1=1.17&r2=1.18&diff_format=u Index: bugtracker/includes/user.php diff -u bugtracker/includes/user.php:1.17 bugtracker/includes/user.php:1.18 --- bugtracker/includes/user.php:1.17 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/user.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/user.php - * Its the user class for create, delete and manage - */ +/** +* includes/user.php +* Its the user class for create, delete and manage +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: user.php,v 1.18 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ //users class class user { http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/debug.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/template/generic/debug.php diff -u bugtracker/template/generic/debug.php:1.4 bugtracker/template/generic/debug.php:1.5 --- bugtracker/template/generic/debug.php:1.4 Mon Aug 11 10:51:23 2008 +++ bugtracker/template/generic/debug.php Wed Aug 13 20:18:10 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/debug.php - * A file for diplay of the output of the trace function - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/debug.php +* A file for diplay of the output of the trace function +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: debug.php,v 1.5 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $debug = ' <textarea style="width: 95%; height: 200px; border: 1px solid #000;" rows="10" cols="50">debug: http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/admin/assign.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/admin/assign.php diff -u bugtracker/template/generic/admin/assign.php:1.1 bugtracker/template/generic/admin/assign.php:1.2 --- bugtracker/template/generic/admin/assign.php:1.1 Wed Aug 13 14:21:03 2008 +++ bugtracker/template/generic/admin/assign.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/admin/assign.php +* Its the assign a bug to a handle +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: assign.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ $bug_id = loadvar('method'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/admin/index.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/admin/index.php diff -u bugtracker/template/generic/admin/index.php:1.1 bugtracker/template/generic/admin/index.php:1.2 --- bugtracker/template/generic/admin/index.php:1.1 Wed Aug 13 11:33:12 2008 +++ bugtracker/template/generic/admin/index.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/admin/index.php +* Um? +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ $template->page_title .= 'Admin'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/comment.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/template/generic/bug/comment.php diff -u bugtracker/template/generic/bug/comment.php:1.9 bugtracker/template/generic/bug/comment.php:1.10 --- bugtracker/template/generic/bug/comment.php:1.9 Wed Aug 13 11:33:12 2008 +++ bugtracker/template/generic/bug/comment.php Wed Aug 13 20:18:10 2008 @@ -1,34 +1,48 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/bug/comment.php - * Its the comment handler, calls the comment class as needed - */ +/** +* template/generic/bug/comment.php +* Its the comment handler, calls the comment class as needed +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: comment.php,v 1.10 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ //woo is comment time -//most of this involves taking to the comment class +//most of this involves talking to the comment class $content = ''; $template->page_title .= 'Comment'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.31&r2=1.32&diff_format=u Index: bugtracker/template/generic/bug/index.php diff -u bugtracker/template/generic/bug/index.php:1.31 bugtracker/template/generic/bug/index.php:1.32 --- bugtracker/template/generic/bug/index.php:1.31 Wed Aug 13 15:34:53 2008 +++ bugtracker/template/generic/bug/index.php Wed Aug 13 20:18:10 2008 @@ -1,34 +1,48 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/bug/index.php - * Includes functions for bug display, all and single, basic search engine and code download - */ +/** +* template/generic/bug/index.php +* Includes functions for bug display, all and single, basic search engine and code download +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.32 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $content = ''; -$bug_id = $_REQUEST['bug_id']; +$bug_id = loadvar('bug_id'); $bug_id = str_replace('/','',$bug_id); if (substr($bug_id,0,8) == 'download') http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/index.php?r1=1.17&r2=1.18&diff_format=u Index: bugtracker/template/generic/report/index.php diff -u bugtracker/template/generic/report/index.php:1.17 bugtracker/template/generic/report/index.php:1.18 --- bugtracker/template/generic/report/index.php:1.17 Mon Aug 11 10:51:24 2008 +++ bugtracker/template/generic/report/index.php Wed Aug 13 20:18:10 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/report/index.php - * Creates the bug report view - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/report/index.php +* Creates the bug report view +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.18 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ require_once($_SERVER['DOCUMENT_ROOT'] . '../includes/recaptchalib.php'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/report.php?r1=1.13&r2=1.14&diff_format=u Index: bugtracker/template/generic/report/report.php diff -u bugtracker/template/generic/report/report.php:1.13 bugtracker/template/generic/report/report.php:1.14 --- bugtracker/template/generic/report/report.php:1.13 Wed Aug 13 11:13:24 2008 +++ bugtracker/template/generic/report/report.php Wed Aug 13 20:18:10 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/report/report.php - * The report a bug handler - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/report/report.php +* The report a bug handler +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: report.php,v 1.14 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $content = ''; $form_data['php_version'] = loadvar('php_version'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/convert.php?r1=1.11&r2=1.12&diff_format=u Index: bugtracker/template/generic/user/convert.php diff -u bugtracker/template/generic/user/convert.php:1.11 bugtracker/template/generic/user/convert.php:1.12 --- bugtracker/template/generic/user/convert.php:1.11 Wed Aug 13 11:04:40 2008 +++ bugtracker/template/generic/user/convert.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/user/convert.php - * Provides functions to convert a user from temp to real - */ +/** +* template/generic/user/convert.php +* Provides functions to convert a user from temp to real +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: convert.php,v 1.12 2008/08/13 20:18:10 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/create.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/user/create.php diff -u bugtracker/template/generic/user/create.php:1.1 bugtracker/template/generic/user/create.php:1.2 --- bugtracker/template/generic/user/create.php:1.1 Mon Aug 11 19:49:50 2008 +++ bugtracker/template/generic/user/create.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/user/create.php +* Lets create a user +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: create.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ require_once($_SERVER['DOCUMENT_ROOT'] . '../includes/recaptchalib.php'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/help.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/template/generic/user/help.php diff -u bugtracker/template/generic/user/help.php:1.3 bugtracker/template/generic/user/help.php:1.4 --- bugtracker/template/generic/user/help.php:1.3 Mon Aug 11 22:04:00 2008 +++ bugtracker/template/generic/user/help.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/user/help.php +* A collection of account assitance functions +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: help.php,v 1.4 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ $template->page_title .= 'Account Help'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/login.php?r1=1.8&r2=1.9&diff_format=u Index: bugtracker/template/generic/user/login.php diff -u bugtracker/template/generic/user/login.php:1.8 bugtracker/template/generic/user/login.php:1.9 --- bugtracker/template/generic/user/login.php:1.8 Tue Aug 12 16:30:21 2008 +++ bugtracker/template/generic/user/login.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/user/login.php - * Renders a login form and controls what happens on attempted login - */ +/** +* template/generic/user/login.php +* Renders a login form and controls what happens on attempted login +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: login.php,v 1.9 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ if ($user->logged_in_temp) { http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/logout.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/user/logout.php diff -u bugtracker/template/generic/user/logout.php:1.1 bugtracker/template/generic/user/logout.php:1.2 --- bugtracker/template/generic/user/logout.php:1.1 Wed Aug 13 10:23:28 2008 +++ bugtracker/template/generic/user/logout.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,47 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/user/logout.php +* Its the user logout function, basically a session murderer +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: logout.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ -//so user wants to logout do they? - +/* +* so user wants to logout do they? +*/ $session->end_session(); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/verify.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/template/generic/user/verify.php diff -u bugtracker/template/generic/user/verify.php:1.6 bugtracker/template/generic/user/verify.php:1.7 --- bugtracker/template/generic/user/verify.php:1.6 Mon Aug 11 10:51:25 2008 +++ bugtracker/template/generic/user/verify.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/user/verify.php - * Verify a users email address is correct, by md5ing some fun bits from a user profile - */ +/** +* template/generic/user/verify.php +* Verify a users email address is correct, by md5ing some fun bits from a user profile +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: verify.php,v 1.7 2008/08/13 20:18:10 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 http://cvs.php.net/viewvc.cgi/bugtracker/includes/database/basic.php?view=markup&rev=1.1 Index: bugtracker/includes/database/basic.php +++ bugtracker/includes/database/basic.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * LEGACY FILE includes/database/basic.php * Long description for file (if any)... * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * * * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. * * @category BugTracking * @package GSoC Bugtracker * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2004-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version CVS: $Id: basic.php,v 1.1 2008/08/13 20:18:10 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ //system shunt $database = array( 'host' => 'localhost', 'name' => 'gsoc_bugtracker', 'user' => 'gsoc', 'password' => 'cakedoesrock' ); define('CONFIG_ARRAY','configuration'); define('USER_TABLE','bug_user'); $recaptcha_key = '6LdlXwAAAAAAAA_SQn5B7hqK8bd3mrBERvmbvsZO'; $recaptcha_prv = '6LdlXwAAAAAAAD5Tvwhyk0I2GKVgJE5UonW3oYDY'; //class class db { public $query_count = 0; function test_connect() { global $database; $this->host = $database['host']; $this->name = $database['name']; $this->user = $database['user']; $this->pass = $database['password']; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return 'offline'; } $this->connect_id = $connection; if (! @ mysql_select_db($this->name)) { //no db name connect return 'offline'; } return ($connection); } function get_data($query) { $query = str_replace(array('"NOW()"',"'NOW()'"),'NOW()',$query); $this->query = $query; $this->query_count ++; //global $content; //$content .= '<br />I did a query! ' . $query . ' - ' . $this->query_count . '<br />'; if(!($result = @ mysql_query ($query, $this->connect_id))) { $this->handle_error(); } else { $this->result = $result; $this->insert_id = ''; $this->affected_rows = ''; $this->total_rows = ''; if (substr($query,0,11) == 'INSERT INTO') { $this->insert_id = mysql_insert_id($this->connect_id); } else if (substr($query,0,6) == 'UPDATE') { $this->affected_rows = mysql_affected_rows($this->connect_id); } else if (substr($query,0,6) == 'SELECT') { $this->total_rows = mysql_num_rows($this->result); } return $result; } } function fetch_row($result = '') { $result = $result ? $result : $this->result; return mysql_fetch_array($result); } function handle_error($error = '') { global $content; $content .= "<br /><br /><b>Error " . mysql_errno() . " : ". mysql_error() . ' - ' . $this->query . '</b><br /><br />'; return; } function close() { @ mysql_close($this->connect_id); } } //////////////////////////////////////////////////////////////////////////// /* function getdata($query) { //make a database connection global $database; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return "offline"; } else { if (!(mysql_select_db($database['name']))) showerror(); if(!($result = @ mysql_query ($query, $connection))) showerror(); } return $result; } function showerror() { print("Error " . mysql_errno() . " : ". mysql_error()); } */ http://cvs.php.net/viewvc.cgi/bugtracker/includes/database/mysql.php?view=markup&rev=1.1 Index: bugtracker/includes/database/mysql.php +++ bugtracker/includes/database/mysql.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * includes/database/mysql.php * Mysql version of the database class * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. * * @category BugTracking * @package GSoC Bugtracker * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2004-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version CVS: $Id: mysql.php,v 1.1 2008/08/13 20:18:10 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ //class class db { public $query_count = 0; public $query = ''; function test_connect() { global $database; $this->host = $database['host']; $this->name = $database['name']; $this->user = $database['user']; $this->pass = $database['password']; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return 'offline'; } $this->connect_id = $connection; if (! @ mysql_select_db($this->name)) { //no db name connect return 'offline'; } return ($connection); } function protect_data($data) { //$data = mysqli_real_escape_string($this->connect_id,$data); return $data; } function get_data($query) { if (!$query) { global $content; $content .= '<div id="error">No Query</div>'; return; } $query = str_replace(array('"NOW()"',"'NOW()'"),'NOW()',$query); $this->query = $query; $this->query_count ++; //global $content; //$content .= '<br />I did a query! ' . $query . ' - ' . $this->query_count . '<br />'; if(!($result = @ mysql_query ($query, $this->connect_id))) { $this->handle_error(); } else { $this->result = $result; $this->insert_id = ''; $this->affected_rows = ''; $this->total_rows = ''; if (substr($query,0,11) == 'INSERT INTO') { $this->insert_id = mysql_insert_id($this->connect_id); } else if (substr($query,0,6) == 'UPDATE') { $this->affected_rows = mysql_affected_rows($this->connect_id); } else if (substr($query,0,6) == 'SELECT') { $this->total_rows = mysql_num_rows($this->result); } return $result; } } function fetch_row($result = '') { $result = $result ? $result : $this->result; return mysql_fetch_array($result); } function handle_error($error = '') { global $content; $content .= "<br /><br /><b>Error " . mysql_errno() . " : ". mysql_error() . ' - ' . $this->query . '</b><br /><br />'; return; } function close() { @ mysql_close($this->connect_id); } } //////////////////////////////////////////////////////////////////////////// /* function getdata($query) { //make a database connection global $database; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return "offline"; } else { if (!(mysql_select_db($database['name']))) showerror(); if(!($result = @ mysql_query ($query, $connection))) showerror(); } return $result; } function showerror() { print("Error " . mysql_errno() . " : ". mysql_error()); } */ http://cvs.php.net/viewvc.cgi/bugtracker/includes/database/mysqli.php?view=markup&rev=1.1 Index: bugtracker/includes/database/mysqli.php +++ bugtracker/includes/database/mysqli.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * includes/database/mysqli.php * Is the mysqli version of the database class * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. * * @category BugTracking * @package GSoC Bugtracker * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2004-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version CVS: $Id: mysqli.php,v 1.1 2008/08/13 20:18:10 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ //class class db { public $query_count = 0; public $query = ''; function test_connect() { global $database; $this->host = $database['host']; $this->name = $database['name']; $this->user = $database['user']; $this->pass = $database['password']; if (!($connection = mysqli_connect($database['host'], $database['user'], $database['password'], $database['name']))) { return 'offline'; } $this->connect_id = $connection; /* if (! @ mysqli_select_db($this->name)) { //no db name connect return 'offline'; } */ return ($connection); } function protect_data($data) { $data = mysqli_real_escape_string($this->connect_id,$data); return $data; } function get_data($query) { if (!$query) { global $content; $content .= '<div id="error">No Query</div>'; return; } $query = str_replace(array('"NOW()"',"'NOW()'"),'NOW()',$query); // $query = mysqli_real_escape_string($this->connect_id,$query); $this->query = $query; $this->query_count ++; //global $content; //$content .= '<br />I did a query! ' . $query . ' - ' . $this->query_count . '<br />'; if(!($result = @ mysqli_query ($this->connect_id,$query))) { $this->handle_error(); } else { $this->result = $result; $this->insert_id = ''; $this->affected_rows = ''; $this->total_rows = ''; if (substr($query,0,11) == 'INSERT INTO') { $this->insert_id = mysqli_insert_id($this->connect_id); } if ( (substr($query,0,6) == 'UPDATE') || (substr($query,0,11) == 'INSERT INTO') || (substr($query,0,11) == 'DELETE FROM') ) { $this->affected_rows = mysqli_affected_rows($this->connect_id); } else if (substr($query,0,6) == 'SELECT') { $this->total_rows = mysqli_num_rows($this->result); } return $result; } } function fetch_row($result = '') { $result = $result ? $result : $this->result; return mysqli_fetch_array($result); } function handle_error($error = '') { global $content; $content .= '<div id="error">Error ' . mysqli_errno($this->connect_id) . " : ". mysqli_error($this->connect_id) . ' - ' . $this->query . '</div>'; return; } function close() { @ mysqli_close($this->connect_id); } }
http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/cache.php?r1=1.7&r2=1.8&diff_format=u Index: bugtracker/htdocs/cache.php diff -u bugtracker/htdocs/cache.php:1.7 bugtracker/htdocs/cache.php:1.8 --- bugtracker/htdocs/cache.php:1.7 Mon Aug 11 10:51:22 2008 +++ bugtracker/htdocs/cache.php Wed Aug 13 20:18:09 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* htdocs/cache.php +* Hack file to generate the cache +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cache.php,v 1.8 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ include($_SERVER['DOCUMENT_ROOT'] . '/config.php'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/config.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/htdocs/config.php diff -u bugtracker/htdocs/config.php:1.9 bugtracker/htdocs/config.php:1.10 --- bugtracker/htdocs/config.php:1.9 Wed Aug 13 11:33:12 2008 +++ bugtracker/htdocs/config.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - - * htdocs/config.php Defines some basic varibles - * Also includes the required database functions +/** +* htdocs/config.php +* Defines some basic varibles +* Also includes the required database functions +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: config.php,v 1.10 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ //system shunt http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/elements/email.php?r1=1.5&r2=1.6&diff_format=u Index: bugtracker/htdocs/elements/email.php diff -u bugtracker/htdocs/elements/email.php:1.5 bugtracker/htdocs/elements/email.php:1.6 --- bugtracker/htdocs/elements/email.php:1.5 Mon Aug 11 10:51:22 2008 +++ bugtracker/htdocs/elements/email.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,46 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * htdocs/elements/email.php - * Email encrypt for plain display - */ +/** +* htdocs/elements/email.php +* Email encrypt for plain display, using javascript +* tool: http://tools.dynamicdrive.com/ +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: email.php,v 1.6 2008/08/13 20:18:09 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.4&r2=1.5&diff_format=u Index: bugtracker/htdocs/elements/screen.php diff -u bugtracker/htdocs/elements/screen.php:1.4 bugtracker/htdocs/elements/screen.php:1.5 --- bugtracker/htdocs/elements/screen.php:1.4 Mon Aug 11 10:51:22 2008 +++ bugtracker/htdocs/elements/screen.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * htdocs/elements/screen.php - * Paint it black at night for the developer only - */ +/** +* htdocs/elements/screen.php +* Paint it black at night for the developer only +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: screen.php,v 1.5 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ header('Content-Type: text/css'); http://cvs.php.net/viewvc.cgi/bugtracker/htdocs/index/index.php?r1=1.22&r2=1.23&diff_format=u Index: bugtracker/htdocs/index/index.php diff -u bugtracker/htdocs/index/index.php:1.22 bugtracker/htdocs/index/index.php:1.23 --- bugtracker/htdocs/index/index.php:1.22 Tue Aug 12 16:30:21 2008 +++ bugtracker/htdocs/index/index.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * htdocs/index/index.php - * Its the main drag - */ +/** +* htdocs/index/index.php +* Its the main drag +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.23 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ /*********************************************************** GSoC PHP Bug Tracker Project @@ -98,5 +112,3 @@ $db->close(); unset($db); -exit; - http://cvs.php.net/viewvc.cgi/bugtracker/includes/email.php?r1=1.8&r2=1.9&diff_format=u Index: bugtracker/includes/email.php diff -u /dev/null bugtracker/includes/email.php:1.9 --- /dev/null Wed Aug 13 20:18:11 2008 +++ bugtracker/includes/email.php Wed Aug 13 20:18:09 2008 @@ -0,0 +1,112 @@ +<?php + +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ + +/** +* includes/email.php +* Its the email class, for sending +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: email.php,v 1.9 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ + +class email { + + public $host = 'mail.rmssvr.net'; + public $username = 'barry@barrycarlyon.co.uk'; + public $password = ''; + + function send_to_list() { + } + function send_to_user($ref,$subject,$message,$from = "bugz <bounce-no-user@php.net>") { + //$ref gives handle or email + global $db; + if (strpos($ref,'@')) + { + //obtain handle from db + $email = $ref; + $handle = 'test'; + } + else + { + //obtain email from db + //technically the logged in user... + $handle = $ref; + $query = 'SELECT email FROM user WHERE handle = ' . "'{$handle}';"; + $db->get_data($query); + $email = $db->fetch_row(); + $email = $email[0]; + } + + $this->to = "$handle <$email>"; + $this->from = $from; + $this->subject = $subject; + $this->message = $message; + + $this->headers = array( + 'From' => $this->from, + 'To' => $this->to, + 'Subject' => $this->subject, + 'Reply-To' => $this->from, + 'X-Mailer' => 'PHP Bugtracker, PHP' . phpversion() + ); + + return $this->send_email(); +// return; + } + function send_to_assigned($bug_id) { + } + function send_to_subscribed($bug_id) { + } + function send_email() { + require_once 'Mail.php'; + + $this->message .= file_get_contents($_SERVER['DOCUMENT_ROOT'] . '../template/docs/email.txt'); + + $smtp = Mail::factory('smtp', + array ( 'host' => $this->host, + 'auth' => true, + 'username' => $this->username, + 'password' => $this->password)); + $mail = $smtp->send($this->to, $this->headers, $this->message); + +// return $mail->getMessage(); + if (PEAR::isError($mail)) + return FALSE; + else + return TRUE; + + } +} + http://cvs.php.net/viewvc.cgi/bugtracker/includes/bug.php?r1=1.10&r2=1.11&diff_format=u Index: bugtracker/includes/bug.php diff -u bugtracker/includes/bug.php:1.10 bugtracker/includes/bug.php:1.11 --- bugtracker/includes/bug.php:1.10 Wed Aug 13 15:48:06 2008 +++ bugtracker/includes/bug.php Wed Aug 13 20:18:09 2008 @@ -1,35 +1,47 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. +/** +* includes/bug.php +* bug creates a class for display and create of bugs +* A lot is missing :-( +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: bug.php,v 1.11 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - - * includes/Bug.php - * bug creates a class for display and create of bugs - * A lot is missing :-( - */ - -//bug class class bug { function report() { //lets add the bug to the bug database shall we? http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache.php?r1=1.14&r2=1.15&diff_format=u Index: bugtracker/includes/cache.php diff -u bugtracker/includes/cache.php:1.14 bugtracker/includes/cache.php:1.15 --- bugtracker/includes/cache.php:1.14 Wed Aug 13 15:42:45 2008 +++ bugtracker/includes/cache.php Wed Aug 13 20:18:09 2008 @@ -1,46 +1,48 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/cache.php - * Its the cache control class - * Functions for querying the file cache - */ - -class cache{ - -/* -public $status = array(); -public $php_version = array(); -public $bug_type = array(); -public $os_version = array(); -public $comment_type = array(); - -public $account_type = array(); -public $user_data = array(); +/** +* includes/cache.php +* Its the cache control class +* Functions for querying the file cache +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cache.php,v 1.15 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ +class cache{ function load_cache() { if ($handle = opendir($_SERVER['DOCUMENT_ROOT'] . '../includes/cache/')) { http://cvs.php.net/viewvc.cgi/bugtracker/includes/cache_generate.php?r1=1.5&r2=1.6&diff_format=u Index: bugtracker/includes/cache_generate.php diff -u bugtracker/includes/cache_generate.php:1.5 bugtracker/includes/cache_generate.php:1.6 --- bugtracker/includes/cache_generate.php:1.5 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/cache_generate.php Wed Aug 13 20:18:09 2008 @@ -1,34 +1,46 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. +* includes/cache_generate.php +* Proof of code for cache file creation +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cache_generate.php,v 1.6 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/cache_generate.php - * Proof of code for cache file creation - */ - - -//cache creator //$cache = $_REQUEST['cache']; $cache = 'all'; //$mode = $_REQUEST['mode']; http://cvs.php.net/viewvc.cgi/bugtracker/includes/cachelist.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/includes/cachelist.php diff -u bugtracker/includes/cachelist.php:1.6 bugtracker/includes/cachelist.php:1.7 --- bugtracker/includes/cachelist.php:1.6 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/cachelist.php Wed Aug 13 20:18:09 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/cache_list.php - * A list of caches that should exist or can be created - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/cache_list.php +* A list of caches that should exist or can be created +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: cachelist.php,v 1.7 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $status = array(); $php_version = array(); http://cvs.php.net/viewvc.cgi/bugtracker/includes/comment.php?r1=1.14&r2=1.15&diff_format=u Index: bugtracker/includes/comment.php diff -u bugtracker/includes/comment.php:1.14 bugtracker/includes/comment.php:1.15 --- bugtracker/includes/comment.php:1.14 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/comment.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/comment.php - * Comment class, its the comment engine - */ +/** +* includes/comment.php +* Comment class, its the comment engine +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: comment.php,v 1.15 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ class comment { function first_comment($comments) { http://cvs.php.net/viewvc.cgi/bugtracker/includes/functions.php?r1=1.24&r2=1.25&diff_format=u Index: bugtracker/includes/functions.php diff -u bugtracker/includes/functions.php:1.24 bugtracker/includes/functions.php:1.25 --- bugtracker/includes/functions.php:1.24 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/functions.php Wed Aug 13 20:18:09 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/functions.php - * Some basic functions - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/functions.php +* Some basic functions +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: functions.php,v 1.25 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ function titleit($string) { $string = explode(' ',$string); http://cvs.php.net/viewvc.cgi/bugtracker/includes/sanitize.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/includes/sanitize.php diff -u bugtracker/includes/sanitize.php:1.4 bugtracker/includes/sanitize.php:1.5 --- bugtracker/includes/sanitize.php:1.4 Mon Aug 11 10:51:22 2008 +++ bugtracker/includes/sanitize.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/sanitize.php - * Source functions for other use - */ +/** +* includes/sanitize.php +* Source functions for other use +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: sanitize.php,v 1.5 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ class api_helpers_html { /** http://cvs.php.net/viewvc.cgi/bugtracker/includes/session.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/includes/session.php diff -u bugtracker/includes/session.php:1.3 bugtracker/includes/session.php:1.4 --- bugtracker/includes/session.php:1.3 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/session.php Wed Aug 13 20:18:09 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/session.php +* Its the session management class, for maintaing logins +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: session.php,v 1.4 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ class session { http://cvs.php.net/viewvc.cgi/bugtracker/includes/template.php?r1=1.19&r2=1.20&diff_format=u Index: bugtracker/includes/template.php diff -u bugtracker/includes/template.php:1.19 bugtracker/includes/template.php:1.20 --- bugtracker/includes/template.php:1.19 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/template.php Wed Aug 13 20:18:09 2008 @@ -1,45 +1,55 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/template.php - * Template engine version 3 - */ - -//this is the template engine version 3 - -/* - -Release notes - -this file takes all the elements I usually define in functions -add to that all the stuff gsoc has taught me -plus all the stuff I have learnt whilst working with classes - -finally this will actually work properly -at lease it will when all the subsequent functions are written and are operational +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* includes/template.php +* Template engine version 3 +* this is the template engine version 3 +* Release notes +* +* this file takes all the elements I usually define in functions +* add to that all the stuff gsoc has taught me +* plus all the stuff I have learnt whilst working with classes +* +* finally this will actually work properly +* at lease it will when all the subsequent functions are written and are operational +* +* +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: template.php,v 1.20 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ class template { http://cvs.php.net/viewvc.cgi/bugtracker/includes/user.php?r1=1.17&r2=1.18&diff_format=u Index: bugtracker/includes/user.php diff -u bugtracker/includes/user.php:1.17 bugtracker/includes/user.php:1.18 --- bugtracker/includes/user.php:1.17 Wed Aug 13 14:21:03 2008 +++ bugtracker/includes/user.php Wed Aug 13 20:18:09 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * includes/user.php - * Its the user class for create, delete and manage - */ +/** +* includes/user.php +* Its the user class for create, delete and manage +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: user.php,v 1.18 2008/08/13 20:18:09 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ //users class class user { http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/debug.php?r1=1.4&r2=1.5&diff_format=u Index: bugtracker/template/generic/debug.php diff -u bugtracker/template/generic/debug.php:1.4 bugtracker/template/generic/debug.php:1.5 --- bugtracker/template/generic/debug.php:1.4 Mon Aug 11 10:51:23 2008 +++ bugtracker/template/generic/debug.php Wed Aug 13 20:18:10 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/debug.php - * A file for diplay of the output of the trace function - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/debug.php +* A file for diplay of the output of the trace function +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: debug.php,v 1.5 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $debug = ' <textarea style="width: 95%; height: 200px; border: 1px solid #000;" rows="10" cols="50">debug: http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/admin/assign.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/admin/assign.php diff -u bugtracker/template/generic/admin/assign.php:1.1 bugtracker/template/generic/admin/assign.php:1.2 --- bugtracker/template/generic/admin/assign.php:1.1 Wed Aug 13 14:21:03 2008 +++ bugtracker/template/generic/admin/assign.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/admin/assign.php +* Its the assign a bug to a handle +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: assign.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ $bug_id = loadvar('method'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/admin/index.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/admin/index.php diff -u bugtracker/template/generic/admin/index.php:1.1 bugtracker/template/generic/admin/index.php:1.2 --- bugtracker/template/generic/admin/index.php:1.1 Wed Aug 13 11:33:12 2008 +++ bugtracker/template/generic/admin/index.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/admin/index.php +* Um? +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ $template->page_title .= 'Admin'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/comment.php?r1=1.9&r2=1.10&diff_format=u Index: bugtracker/template/generic/bug/comment.php diff -u bugtracker/template/generic/bug/comment.php:1.9 bugtracker/template/generic/bug/comment.php:1.10 --- bugtracker/template/generic/bug/comment.php:1.9 Wed Aug 13 11:33:12 2008 +++ bugtracker/template/generic/bug/comment.php Wed Aug 13 20:18:10 2008 @@ -1,34 +1,48 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/bug/comment.php - * Its the comment handler, calls the comment class as needed - */ +/** +* template/generic/bug/comment.php +* Its the comment handler, calls the comment class as needed +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: comment.php,v 1.10 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ //woo is comment time -//most of this involves taking to the comment class +//most of this involves talking to the comment class $content = ''; $template->page_title .= 'Comment'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/bug/index.php?r1=1.31&r2=1.32&diff_format=u Index: bugtracker/template/generic/bug/index.php diff -u bugtracker/template/generic/bug/index.php:1.31 bugtracker/template/generic/bug/index.php:1.32 --- bugtracker/template/generic/bug/index.php:1.31 Wed Aug 13 15:34:53 2008 +++ bugtracker/template/generic/bug/index.php Wed Aug 13 20:18:10 2008 @@ -1,34 +1,48 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/bug/index.php - * Includes functions for bug display, all and single, basic search engine and code download - */ +/** +* template/generic/bug/index.php +* Includes functions for bug display, all and single, basic search engine and code download +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.32 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $content = ''; -$bug_id = $_REQUEST['bug_id']; +$bug_id = loadvar('bug_id'); $bug_id = str_replace('/','',$bug_id); if (substr($bug_id,0,8) == 'download') http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/index.php?r1=1.17&r2=1.18&diff_format=u Index: bugtracker/template/generic/report/index.php diff -u bugtracker/template/generic/report/index.php:1.17 bugtracker/template/generic/report/index.php:1.18 --- bugtracker/template/generic/report/index.php:1.17 Mon Aug 11 10:51:24 2008 +++ bugtracker/template/generic/report/index.php Wed Aug 13 20:18:10 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/report/index.php - * Creates the bug report view - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/report/index.php +* Creates the bug report view +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: index.php,v 1.18 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ require_once($_SERVER['DOCUMENT_ROOT'] . '../includes/recaptchalib.php'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/report/report.php?r1=1.13&r2=1.14&diff_format=u Index: bugtracker/template/generic/report/report.php diff -u bugtracker/template/generic/report/report.php:1.13 bugtracker/template/generic/report/report.php:1.14 --- bugtracker/template/generic/report/report.php:1.13 Wed Aug 13 11:13:24 2008 +++ bugtracker/template/generic/report/report.php Wed Aug 13 20:18:10 2008 @@ -1,32 +1,45 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/report/report.php - * The report a bug handler - */ +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/report/report.php +* The report a bug handler +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: report.php,v 1.14 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ $content = ''; $form_data['php_version'] = loadvar('php_version'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/convert.php?r1=1.11&r2=1.12&diff_format=u Index: bugtracker/template/generic/user/convert.php diff -u bugtracker/template/generic/user/convert.php:1.11 bugtracker/template/generic/user/convert.php:1.12 --- bugtracker/template/generic/user/convert.php:1.11 Wed Aug 13 11:04:40 2008 +++ bugtracker/template/generic/user/convert.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/user/convert.php - * Provides functions to convert a user from temp to real - */ +/** +* template/generic/user/convert.php +* Provides functions to convert a user from temp to real +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: convert.php,v 1.12 2008/08/13 20:18:10 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/create.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/user/create.php diff -u bugtracker/template/generic/user/create.php:1.1 bugtracker/template/generic/user/create.php:1.2 --- bugtracker/template/generic/user/create.php:1.1 Mon Aug 11 19:49:50 2008 +++ bugtracker/template/generic/user/create.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/user/create.php +* Lets create a user +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: create.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ require_once($_SERVER['DOCUMENT_ROOT'] . '../includes/recaptchalib.php'); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/help.php?r1=1.3&r2=1.4&diff_format=u Index: bugtracker/template/generic/user/help.php diff -u bugtracker/template/generic/user/help.php:1.3 bugtracker/template/generic/user/help.php:1.4 --- bugtracker/template/generic/user/help.php:1.3 Mon Aug 11 22:04:00 2008 +++ bugtracker/template/generic/user/help.php Wed Aug 13 20:18:10 2008 @@ -1,29 +1,44 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/user/help.php +* A collection of account assitance functions +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: help.php,v 1.4 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ $template->page_title .= 'Account Help'; http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/login.php?r1=1.8&r2=1.9&diff_format=u Index: bugtracker/template/generic/user/login.php diff -u bugtracker/template/generic/user/login.php:1.8 bugtracker/template/generic/user/login.php:1.9 --- bugtracker/template/generic/user/login.php:1.8 Tue Aug 12 16:30:21 2008 +++ bugtracker/template/generic/user/login.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/user/login.php - * Renders a login form and controls what happens on attempted login - */ +/** +* template/generic/user/login.php +* Renders a login form and controls what happens on attempted login +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: login.php,v 1.9 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ +*/ if ($user->logged_in_temp) { http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/logout.php?r1=1.1&r2=1.2&diff_format=u Index: bugtracker/template/generic/user/logout.php diff -u bugtracker/template/generic/user/logout.php:1.1 bugtracker/template/generic/user/logout.php:1.2 --- bugtracker/template/generic/user/logout.php:1.1 Wed Aug 13 10:23:28 2008 +++ bugtracker/template/generic/user/logout.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,47 @@ <?php -/* - -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ +/** +* template/generic/user/logout.php +* Its the user logout function, basically a session murderer +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: logout.php,v 1.2 2008/08/13 20:18:10 bcarlyon Exp $ +* @link http://gsoc.barrycarlyon.servegame.org/ */ -//so user wants to logout do they? - +/* +* so user wants to logout do they? +*/ $session->end_session(); http://cvs.php.net/viewvc.cgi/bugtracker/template/generic/user/verify.php?r1=1.6&r2=1.7&diff_format=u Index: bugtracker/template/generic/user/verify.php diff -u bugtracker/template/generic/user/verify.php:1.6 bugtracker/template/generic/user/verify.php:1.7 --- bugtracker/template/generic/user/verify.php:1.6 Mon Aug 11 10:51:25 2008 +++ bugtracker/template/generic/user/verify.php Wed Aug 13 20:18:10 2008 @@ -1,31 +1,45 @@ <?php -/* +/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ -Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of the GSOC_PHP_BUGTRACKER nor the names of its contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -EXPRESS 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 COPYRIGHT OWNER OR 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. - - * template/generic/user/verify.php - * Verify a users email address is correct, by md5ing some fun bits from a user profile - */ +/** +* template/generic/user/verify.php +* Verify a users email address is correct, by md5ing some fun bits from a user profile +* +* Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> +* All rights reserved. +* +* PHP versions 5 +* +* LICENSE: Redistribution and use in source and binary forms, with or without +* modification, are 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 of the author may not be used to endorse or promote products +* derived from this software without specific prior written permission. +* +* THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. +* +* @category BugTracking +* @package GSoC Bugtracker +* @author Barry Carlyon <bcarlyon@php.net> +* @copyright 2004-2008 Barry Carlyon +* @license http://www.opensource.org/licenses/bsd-license.php BSD License +* @version CVS: $Id: verify.php,v 1.7 2008/08/13 20:18:10 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 http://cvs.php.net/viewvc.cgi/bugtracker/includes/database/basic.php?view=markup&rev=1.1 Index: bugtracker/includes/database/basic.php +++ bugtracker/includes/database/basic.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * LEGACY FILE includes/database/basic.php * Long description for file (if any)... * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * * * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. * * @category BugTracking * @package GSoC Bugtracker * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2004-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version CVS: $Id: basic.php,v 1.1 2008/08/13 20:18:10 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ //system shunt $database = array( 'host' => 'localhost', 'name' => 'gsoc_bugtracker', 'user' => 'gsoc', 'password' => 'cakedoesrock' ); define('CONFIG_ARRAY','configuration'); define('USER_TABLE','bug_user'); $recaptcha_key = '6LdlXwAAAAAAAA_SQn5B7hqK8bd3mrBERvmbvsZO'; $recaptcha_prv = '6LdlXwAAAAAAAD5Tvwhyk0I2GKVgJE5UonW3oYDY'; //class class db { public $query_count = 0; function test_connect() { global $database; $this->host = $database['host']; $this->name = $database['name']; $this->user = $database['user']; $this->pass = $database['password']; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return 'offline'; } $this->connect_id = $connection; if (! @ mysql_select_db($this->name)) { //no db name connect return 'offline'; } return ($connection); } function get_data($query) { $query = str_replace(array('"NOW()"',"'NOW()'"),'NOW()',$query); $this->query = $query; $this->query_count ++; //global $content; //$content .= '<br />I did a query! ' . $query . ' - ' . $this->query_count . '<br />'; if(!($result = @ mysql_query ($query, $this->connect_id))) { $this->handle_error(); } else { $this->result = $result; $this->insert_id = ''; $this->affected_rows = ''; $this->total_rows = ''; if (substr($query,0,11) == 'INSERT INTO') { $this->insert_id = mysql_insert_id($this->connect_id); } else if (substr($query,0,6) == 'UPDATE') { $this->affected_rows = mysql_affected_rows($this->connect_id); } else if (substr($query,0,6) == 'SELECT') { $this->total_rows = mysql_num_rows($this->result); } return $result; } } function fetch_row($result = '') { $result = $result ? $result : $this->result; return mysql_fetch_array($result); } function handle_error($error = '') { global $content; $content .= "<br /><br /><b>Error " . mysql_errno() . " : ". mysql_error() . ' - ' . $this->query . '</b><br /><br />'; return; } function close() { @ mysql_close($this->connect_id); } } //////////////////////////////////////////////////////////////////////////// /* function getdata($query) { //make a database connection global $database; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return "offline"; } else { if (!(mysql_select_db($database['name']))) showerror(); if(!($result = @ mysql_query ($query, $connection))) showerror(); } return $result; } function showerror() { print("Error " . mysql_errno() . " : ". mysql_error()); } */ http://cvs.php.net/viewvc.cgi/bugtracker/includes/database/mysql.php?view=markup&rev=1.1 Index: bugtracker/includes/database/mysql.php +++ bugtracker/includes/database/mysql.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * includes/database/mysql.php * Mysql version of the database class * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. * * @category BugTracking * @package GSoC Bugtracker * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2004-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version CVS: $Id: mysql.php,v 1.1 2008/08/13 20:18:10 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ //class class db { public $query_count = 0; public $query = ''; function test_connect() { global $database; $this->host = $database['host']; $this->name = $database['name']; $this->user = $database['user']; $this->pass = $database['password']; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return 'offline'; } $this->connect_id = $connection; if (! @ mysql_select_db($this->name)) { //no db name connect return 'offline'; } return ($connection); } function protect_data($data) { //$data = mysqli_real_escape_string($this->connect_id,$data); return $data; } function get_data($query) { if (!$query) { global $content; $content .= '<div id="error">No Query</div>'; return; } $query = str_replace(array('"NOW()"',"'NOW()'"),'NOW()',$query); $this->query = $query; $this->query_count ++; //global $content; //$content .= '<br />I did a query! ' . $query . ' - ' . $this->query_count . '<br />'; if(!($result = @ mysql_query ($query, $this->connect_id))) { $this->handle_error(); } else { $this->result = $result; $this->insert_id = ''; $this->affected_rows = ''; $this->total_rows = ''; if (substr($query,0,11) == 'INSERT INTO') { $this->insert_id = mysql_insert_id($this->connect_id); } else if (substr($query,0,6) == 'UPDATE') { $this->affected_rows = mysql_affected_rows($this->connect_id); } else if (substr($query,0,6) == 'SELECT') { $this->total_rows = mysql_num_rows($this->result); } return $result; } } function fetch_row($result = '') { $result = $result ? $result : $this->result; return mysql_fetch_array($result); } function handle_error($error = '') { global $content; $content .= "<br /><br /><b>Error " . mysql_errno() . " : ". mysql_error() . ' - ' . $this->query . '</b><br /><br />'; return; } function close() { @ mysql_close($this->connect_id); } } //////////////////////////////////////////////////////////////////////////// /* function getdata($query) { //make a database connection global $database; if (!($connection = @ mysql_connect($database['host'], $database['user'], $database['password']))) { return "offline"; } else { if (!(mysql_select_db($database['name']))) showerror(); if(!($result = @ mysql_query ($query, $connection))) showerror(); } return $result; } function showerror() { print("Error " . mysql_errno() . " : ". mysql_error()); } */ http://cvs.php.net/viewvc.cgi/bugtracker/includes/database/mysqli.php?view=markup&rev=1.1 Index: bugtracker/includes/database/mysqli.php +++ bugtracker/includes/database/mysqli.php <?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:*/ /** * includes/database/mysqli.php * Is the mysqli version of the database class * * Copyright (c) 2008, Barry Carlyon <bcarlyon@php.net> * All rights reserved. * * PHP versions 5 * * LICENSE: Redistribution and use in source and binary forms, with or without * modification, are 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 of the author may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS 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 FREEBSD PROJECT OR 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. * * @category BugTracking * @package GSoC Bugtracker * @author Barry Carlyon <bcarlyon@php.net> * @copyright 2004-2008 Barry Carlyon * @license http://www.opensource.org/licenses/bsd-license.php BSD License * @version CVS: $Id: mysqli.php,v 1.1 2008/08/13 20:18:10 bcarlyon Exp $ * @link http://gsoc.barrycarlyon.servegame.org/ */ //class class db { public $query_count = 0; public $query = ''; function test_connect() { global $database; $this->host = $database['host']; $this->name = $database['name']; $this->user = $database['user']; $this->pass = $database['password']; if (!($connection = mysqli_connect($database['host'], $database['user'], $database['password'], $database['name']))) { return 'offline'; } $this->connect_id = $connection; /* if (! @ mysqli_select_db($this->name)) { //no db name connect return 'offline'; } */ return ($connection); } function protect_data($data) { $data = mysqli_real_escape_string($this->connect_id,$data); return $data; } function get_data($query) { if (!$query) { global $content; $content .= '<div id="error">No Query</div>'; return; } $query = str_replace(array('"NOW()"',"'NOW()'"),'NOW()',$query); // $query = mysqli_real_escape_string($this->connect_id,$query); $this->query = $query; $this->query_count ++; //global $content; //$content .= '<br />I did a query! ' . $query . ' - ' . $this->query_count . '<br />'; if(!($result = @ mysqli_query ($this->connect_id,$query))) { $this->handle_error(); } else { $this->result = $result; $this->insert_id = ''; $this->affected_rows = ''; $this->total_rows = ''; if (substr($query,0,11) == 'INSERT INTO') { $this->insert_id = mysqli_insert_id($this->connect_id); } if ( (substr($query,0,6) == 'UPDATE') || (substr($query,0,11) == 'INSERT INTO') || (substr($query,0,11) == 'DELETE FROM') ) { $this->affected_rows = mysqli_affected_rows($this->connect_id); } else if (substr($query,0,6) == 'SELECT') { $this->total_rows = mysqli_num_rows($this->result); } return $result; } } function fetch_row($result = '') { $result = $result ? $result : $this->result; return mysqli_fetch_array($result); } function handle_error($error = '') { global $content; $content .= '<div id="error">Error ' . mysqli_errno($this->connect_id) . " : ". mysqli_error($this->connect_id) . ' - ' . $this->query . '</div>'; return; } function close() { @ mysqli_close($this->connect_id); } }