cvs: pearweb /public_html/bugs bug-pwd-finder.php bug.php bugtypes.inc index.php report.php search.php stats.php /public_html/bugs/include
cvs-auth.inc functions.inc prepend.inc resolve.inc trusted-devs.inc

From: Date: Tue, 15 Jun 2004 16:23:37 +0000
Subject: cvs: pearweb /public_html/bugs bug-pwd-finder.php bug.php bugtypes.inc index.php report.php search.php stats.php /public_html/bugs/include
cvs-auth.inc functions.inc prepend.inc resolve.inc trusted-devs.inc
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20684@lists.php.net to get a copy of this message
danielc Tue Jun 15 12:23:37 2004 EDT Modified files: /pearweb/public_html/bugs bug-pwd-finder.php bug.php bugtypes.inc index.php report.php search.php stats.php /pearweb/public_html/bugs/include cvs-auth.inc functions.inc prepend.inc resolve.inc trusted-devs.inc Log: Add/enhance page-level docblock.

http://cvs.php.net/diff.php/pearweb/public_html/bugs/bug-pwd-finder.php?r1=1.5&r2=1.6&ty=u Index: pearweb/public_html/bugs/bug-pwd-finder.php diff -u pearweb/public_html/bugs/bug-pwd-finder.php:1.5 pearweb/public_html/bugs/bug-pwd-finder.php:1.6 --- pearweb/public_html/bugs/bug-pwd-finder.php:1.5 Sun May 9 12:00:25 2004 +++ pearweb/public_html/bugs/bug-pwd-finder.php Tue Jun 15 12:23:37 2004 @@ -1,5 +1,28 @@ <?php + +/** + * Procedure for emailing a password reminder to a user + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: bug-pwd-finder.php,v 1.6 2004/06/15 16:23:37 danielc Exp $ + */ + +/** + * Obtain common includes + */ require_once './include/prepend.inc'; + if (isset($_GET['bug_id'])) { http://cvs.php.net/diff.php/pearweb/public_html/bugs/bug.php?r1=1.39&r2=1.40&ty=u Index: pearweb/public_html/bugs/bug.php diff -u pearweb/public_html/bugs/bug.php:1.39 pearweb/public_html/bugs/bug.php:1.40 --- pearweb/public_html/bugs/bug.php:1.39 Mon Jun 14 18:54:23 2004 +++ pearweb/public_html/bugs/bug.php Tue Jun 15 12:23:37 2004 @@ -1,14 +1,42 @@ <?php /* vim: set noet ts=4 sw=4: : */ -// $Id: bug.php,v 1.39 2004/06/14 22:54:23 danielc Exp $ +/** + * User interface for viewing and editing bug details + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: bug.php,v 1.40 2004/06/15 16:23:37 danielc Exp $ + */ -require_once './include/prepend.inc'; -require_once './include/cvs-auth.inc'; -require_once './include/trusted-devs.inc'; /* * NOTE: another require exists in the code below, so if changing * the include path, make sure to change it too. */ + +/** + * Obtain common includes + */ +require_once './include/prepend.inc'; + +/** + * Get user's CVS password + */ +require_once './include/cvs-auth.inc'; + +/** + * Obtain a list of the trusted developers + */ +require_once './include/trusted-devs.inc'; error_reporting(E_ALL ^ E_NOTICE); http://cvs.php.net/diff.php/pearweb/public_html/bugs/bugtypes.inc?r1=1.7&r2=1.8&ty=u Index: pearweb/public_html/bugs/bugtypes.inc diff -u pearweb/public_html/bugs/bugtypes.inc:1.7 pearweb/public_html/bugs/bugtypes.inc:1.8 --- pearweb/public_html/bugs/bugtypes.inc:1.7 Fri Dec 5 07:28:13 2003 +++ pearweb/public_html/bugs/bugtypes.inc Tue Jun 15 12:23:37 2004 @@ -1,15 +1,35 @@ <?php + +/** + * Produces the $items array, which is a list of packages + * + * Extra items should be added to include/functions.inc:get_bugtype_mail() + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: bugtypes.inc,v 1.8 2004/06/15 16:23:37 danielc Exp $ + */ + $list = package::listAll(false); + $items = array(); $items['Web Site'] = 'Web Site'; $items['Bug System'] = '&nbsp;&nbsp;&nbsp;Bug System'; $items['PEPr'] = '&nbsp;&nbsp;&nbsp;PEPr'; $items['Documentation'] = 'Documentation'; + foreach ($list as $name => $data) { $items[$name] = $name; } -// Extra items should be added to -// include/functions.inc:get_bugtype_mail() -// ?> http://cvs.php.net/diff.php/pearweb/public_html/bugs/index.php?r1=1.7&r2=1.8&ty=u Index: pearweb/public_html/bugs/index.php diff -u pearweb/public_html/bugs/index.php:1.7 pearweb/public_html/bugs/index.php:1.8 --- pearweb/public_html/bugs/index.php:1.7 Thu May 20 09:49:04 2004 +++ pearweb/public_html/bugs/index.php Tue Jun 15 12:23:37 2004 @@ -1,23 +1,23 @@ <?php -/* - +----------------------------------------------------------------------+ - | PEAR Web site version 1.0 | - +----------------------------------------------------------------------+ - | Copyright (c) 2003 The PEAR Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 2.02 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available at through the world-wide-web at | - | http://www.php.net/license/2_02.txt. | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Author: Martin Jansen <mj@php.net> | - | Tomas V.V.Cox <cox@idecnet.com> | - +----------------------------------------------------------------------+ - $Id: index.php,v 1.7 2004/05/20 13:49:04 pajoye Exp $ -*/ + +/** + * The bug system home page + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: index.php,v 1.8 2004/06/15 16:23:37 danielc Exp $ + */ + response_header("Bugs"); ?> http://cvs.php.net/diff.php/pearweb/public_html/bugs/report.php?r1=1.32&r2=1.33&ty=u Index: pearweb/public_html/bugs/report.php diff -u pearweb/public_html/bugs/report.php:1.32 pearweb/public_html/bugs/report.php:1.33 --- pearweb/public_html/bugs/report.php:1.32 Tue Jun 15 11:37:21 2004 +++ pearweb/public_html/bugs/report.php Tue Jun 15 12:23:37 2004 @@ -5,16 +5,31 @@ * * See pearweb/sql/bugs.sql for the table layout. * - * @category pearweb - * @package Bugs - * @version $Id: report.php,v 1.32 2004/06/15 15:37:21 danielc Exp $ + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: report.php,v 1.33 2004/06/15 16:23:37 danielc Exp $ */ /** - * Obtain needed files + * Obtain common includes */ require_once './include/prepend.inc'; + +/** + * Get user's CVS password + */ require_once './include/cvs-auth.inc'; + error_reporting(E_ALL ^ E_NOTICE); http://cvs.php.net/diff.php/pearweb/public_html/bugs/search.php?r1=1.29&r2=1.30&ty=u Index: pearweb/public_html/bugs/search.php diff -u pearweb/public_html/bugs/search.php:1.29 pearweb/public_html/bugs/search.php:1.30 --- pearweb/public_html/bugs/search.php:1.29 Mon Jun 14 16:38:49 2004 +++ pearweb/public_html/bugs/search.php Tue Jun 15 12:23:37 2004 @@ -1,8 +1,29 @@ <?php /* vim: set noet ts=4 sw=4: : */ -// $Id: search.php,v 1.29 2004/06/14 20:38:49 danielc Exp $ +/** + * Search for bugs + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: search.php,v 1.30 2004/06/15 16:23:37 danielc Exp $ + */ +/** + * Obtain common includes + */ require_once './include/prepend.inc'; + + error_reporting(E_ALL ^ E_NOTICE); if (!empty($_GET['search_for']) && http://cvs.php.net/diff.php/pearweb/public_html/bugs/stats.php?r1=1.9&r2=1.10&ty=u Index: pearweb/public_html/bugs/stats.php diff -u pearweb/public_html/bugs/stats.php:1.9 pearweb/public_html/bugs/stats.php:1.10 --- pearweb/public_html/bugs/stats.php:1.9 Wed May 19 23:04:51 2004 +++ pearweb/public_html/bugs/stats.php Tue Jun 15 12:23:37 2004 @@ -1,6 +1,31 @@ <?php + +/** + * Produce statistical reports about bugs + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: stats.php,v 1.10 2004/06/15 16:23:37 danielc Exp $ + */ + +/** + * Obtain common includes + */ require_once './include/prepend.inc'; + + error_reporting(E_ALL ^ E_NOTICE); + response_header('Bugs Stat'); $sql .= 'LEFT JOIN packages ON packages.name = bugdb.package_name '; http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/cvs-auth.inc?r1=1.1&r2=1.2&ty=u Index: pearweb/public_html/bugs/include/cvs-auth.inc diff -u pearweb/public_html/bugs/include/cvs-auth.inc:1.1 pearweb/public_html/bugs/include/cvs-auth.inc:1.2 --- pearweb/public_html/bugs/include/cvs-auth.inc:1.1 Mon Sep 8 14:25:28 2003 +++ pearweb/public_html/bugs/include/cvs-auth.inc Tue Jun 15 12:23:37 2004 @@ -1,5 +1,22 @@ <?php -/* $Id: cvs-auth.inc,v 1.1 2003/09/08 18:25:28 cox Exp $ */ + +/** + * Obtains users's CVS password + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: cvs-auth.inc,v 1.2 2004/06/15 16:23:37 danielc Exp $ + */ $ignore_password = false; $passwd_file = "/repository/CVSROOT/passwd"; http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/functions.inc?r1=1.46&r2=1.47&ty=u Index: pearweb/public_html/bugs/include/functions.inc diff -u pearweb/public_html/bugs/include/functions.inc:1.46 pearweb/public_html/bugs/include/functions.inc:1.47 --- pearweb/public_html/bugs/include/functions.inc:1.46 Mon Jun 14 18:47:02 2004 +++ pearweb/public_html/bugs/include/functions.inc Tue Jun 15 12:23:37 2004 @@ -1,9 +1,21 @@ <?php /* vim: set noet ts=4 sw=4 ft=php : */ /** - * @category pearweb - * @package Bugs - * @version $Id: functions.inc,v 1.46 2004/06/14 22:47:02 danielc Exp $ + * Contains functions and variables used throughout the bug system + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: functions.inc,v 1.47 2004/06/15 16:23:37 danielc Exp $ */ // used in mail_bug_updates(), below, and class for search results http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/prepend.inc?r1=1.4&r2=1.5&ty=u Index: pearweb/public_html/bugs/include/prepend.inc diff -u pearweb/public_html/bugs/include/prepend.inc:1.4 pearweb/public_html/bugs/include/prepend.inc:1.5 --- pearweb/public_html/bugs/include/prepend.inc:1.4 Wed Jun 9 11:17:33 2004 +++ pearweb/public_html/bugs/include/prepend.inc Tue Jun 15 12:23:37 2004 @@ -1,7 +1,33 @@ <?php +/** + * Performs the requires/includes needed for the entire bug system + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: prepend.inc,v 1.5 2004/06/15 16:23:37 danielc Exp $ + */ + $extra_styles[] = '/css/bugs.css'; //require_once './include/layout.inc'; + +/** + * Obtain the functions and variables used throughout the bug system + */ require_once './include/functions.inc'; + +/** + * Obtain the $RESOLVE_REASONS array + */ require './include/resolve.inc'; http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/resolve.inc?r1=1.4&r2=1.5&ty=u Index: pearweb/public_html/bugs/include/resolve.inc diff -u pearweb/public_html/bugs/include/resolve.inc:1.4 pearweb/public_html/bugs/include/resolve.inc:1.5 --- pearweb/public_html/bugs/include/resolve.inc:1.4 Mon Jun 7 15:06:16 2004 +++ pearweb/public_html/bugs/include/resolve.inc Tue Jun 15 12:23:37 2004 @@ -1,5 +1,23 @@ <?php +/** + * Creates the $RESOLVE_REASONS array + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: resolve.inc,v 1.5 2004/06/15 16:23:37 danielc Exp $ + */ + $RESOLVE_REASONS = array( /* 'trysnapshot4' => array( http://cvs.php.net/diff.php/pearweb/public_html/bugs/include/trusted-devs.inc?r1=1.3&r2=1.4&ty=u Index: pearweb/public_html/bugs/include/trusted-devs.inc diff -u pearweb/public_html/bugs/include/trusted-devs.inc:1.3 pearweb/public_html/bugs/include/trusted-devs.inc:1.4 --- pearweb/public_html/bugs/include/trusted-devs.inc:1.3 Tue May 18 12:31:02 2004 +++ pearweb/public_html/bugs/include/trusted-devs.inc Tue Jun 15 12:23:37 2004 @@ -1,5 +1,28 @@ <?php + +/** + * Produces the $trusted_developers array + * + * This source file is subject to version 3.0 of the PHP license, + * that is bundled with this package in the file LICENSE, and is + * available through the world-wide-web at the following URI: + * http://www.php.net/license/3_0.txt. + * If you did not receive a copy of the PHP license and are unable to + * obtain it through the world-wide-web, please send a note to + * license@php.net so we can mail you a copy immediately. + * + * @category pearweb + * @package Bugs + * @copyright Copyright (c) 1997-2004 The PHP Group + * @license http://www.php.net/license/3_0.txt PHP License + * @version $Id: trusted-devs.inc,v 1.4 2004/06/15 16:23:37 danielc Exp $ + */ + +/** + * Figure out PEAR karma levels + */ require_once "Damblan/Karma.php"; + $karma = new Damblan_Karma($dbh); $dev_list = $karma->getUsers("pear.bug.admin");
« previous php.pear.cvs (#20684) next »