You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(34) |
Aug
(215) |
Sep
(180) |
Oct
(135) |
Nov
(105) |
Dec
(81) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(76) |
Feb
(22) |
Mar
(154) |
Apr
(149) |
May
(128) |
Jun
(94) |
Jul
(14) |
Aug
(24) |
Sep
(77) |
Oct
(52) |
Nov
(22) |
Dec
(6) |
| 2003 |
Jan
(4) |
Feb
(10) |
Mar
(6) |
Apr
(29) |
May
(10) |
Jun
(37) |
Jul
(39) |
Aug
(13) |
Sep
(23) |
Oct
(3) |
Nov
(7) |
Dec
(2) |
| 2004 |
Jan
|
Feb
(10) |
Mar
(4) |
Apr
|
May
(35) |
Jun
(4) |
Jul
(17) |
Aug
(6) |
Sep
(14) |
Oct
(18) |
Nov
(2) |
Dec
(14) |
| 2005 |
Jan
(9) |
Feb
(30) |
Mar
(6) |
Apr
|
May
(38) |
Jun
(23) |
Jul
(21) |
Aug
(76) |
Sep
(50) |
Oct
(51) |
Nov
(13) |
Dec
|
|
From: Benjamin C. <bc...@us...> - 2001-08-01 13:56:00
|
Update of /cvsroot/phpbt/phpbt/templates In directory usw-pr-cvs1:/tmp/cvs-serv7509/templates Removed Files: bugdisplay.html bugemail.txt bugform.html bughistory.html buglist.html error.html index.html login.html logout.html newaccount.html newaccountsuccess.html newbugform.html passwordchanged.html passwordform.html projectlist.html queryform.html wrap.html Log Message: Move the templates down a directory to help in creating themes --- bugdisplay.html DELETED --- --- bugemail.txt DELETED --- --- bugform.html DELETED --- --- bughistory.html DELETED --- --- buglist.html DELETED --- --- error.html DELETED --- --- index.html DELETED --- --- login.html DELETED --- --- logout.html DELETED --- --- newaccount.html DELETED --- --- newaccountsuccess.html DELETED --- --- newbugform.html DELETED --- --- passwordchanged.html DELETED --- --- passwordform.html DELETED --- --- projectlist.html DELETED --- --- queryform.html DELETED --- --- wrap.html DELETED --- |
|
From: Benjamin C. <bc...@us...> - 2001-08-01 13:56:00
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv7509
Modified Files:
include.php
Log Message:
Move the templates down a directory to help in creating themes
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- include.php 2001/07/30 13:47:33 1.14
+++ include.php 2001/08/01 13:55:56 1.15
@@ -11,6 +11,7 @@
define ('TIMEFORMAT','g:i A');
define ('ADMINEMAIL','ph...@be...');
define ('ENCRYPTPASS',0); // Whether to store passwords encrypted
+define ('THEME','default/'); // Which set of templates to use
require PHPLIBPATH.'db_mysql.inc';
require PHPLIBPATH.'ct_sql.inc';
@@ -83,7 +84,7 @@
function auth_loginform() {
global $sess;
- include 'templates/login.html';
+ include 'templates/'.THEME.'login.html';
}
@@ -159,7 +160,7 @@
}
}
-$t = new templateclass('templates','keep');
+$t = new templateclass('templates/'.THEME,'keep');
$t->set_var(array(
'TITLE' => '',
'me' => $PHP_SELF,
|
|
From: Benjamin C. <bc...@us...> - 2001-08-01 13:56:00
|
Update of /cvsroot/phpbt/phpbt/admin/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv7509/admin/templates/default
Added Files:
badperm.html componentform.html login.html oslist.html
projectform.html projectlist.html resolutionlist.html
statuslist.html userlist.html versionform.html wrap.html
Log Message:
Move the templates down a directory to help in creating themes
--- NEW FILE: badperm.html ---
<table border="0" width="640">
<tr>
<td align="center">
<font color="#ff0000">
You do not have the permissions required for that function
</font>
</td>
</tr>
</table>
--- NEW FILE: componentform.html ---
<form action="component.php" method="post">
<input type="hidden" name="id" value="{componentid}">
<input type="hidden" name="projectid" value="{projectid}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
<font color="#ff0000">{error}</font>
</td>
</tr>
<tr>
<td align="right" valign="top">Project:</td>
<td>{project}</td>
</tr>
<tr>
<td align="right" valign="top">Name:</td>
<td><input type="text" size="30" maxlength="30" name="name" value="{name}"></td>
</tr>
<tr>
<td align="right" valign="top">Description:</td>
<td><textarea name="description" cols=40 rows=5 wrap=virtual>{description}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Owner:</td>
<td><select name="owner"><option value='0'>None</option>{owner}</select></td>
</tr>
<tr>
<td align="right" valign="top">Active:</td>
<td align="left" valign="top"><input type="checkbox" name="active" value="1" {active}></td>
</tr>
</table>
<input type='submit' name='submit' value='Submit'>
</form>
--- NEW FILE: login.html ---
<?php
global $formvars;
if (!$formvars) {
$formvars = htmlentities(serialize($GLOBALS[HTTP_POST_VARS]));
}
?>
<html>
<head>
<title>phpBT Admin</title>
<!--<link rel="StyleSheet" href="/siteadmin.css" type="text/css">-->
<style>
td { font-family: "Verdana","Tahoma","Arial","Helvetica","Times";
color: rgb(0,0,0);
font-size: 9px; }
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#004433" alink="#004433" vlink="#004433">
<center>
<br>
<br>
<br>
<div align='center'><b>Admin Login</b></div>
<br>
<form action='<?php print $GLOBALS[REQUEST_URI] ?>' method='post'>
<input type="hidden" name="formvars" value="<?php echo $formvars ?>">
<table border="0">
<?php global $username; if ( isset($username) ): ?>
<tr>
<td align='center'>
<font color=red>
<b>Invalid login and/or password</b>
</font>
</td>
</tr>
<?php endif ?>
<tr>
<td>Login:</td>
</tr>
<tr>
<td><input size="30" name='username' value='<?php if (isset($this->auth["uname"])) print $this->auth["uname"] ?>'></td>
</tr>
<tr>
<td>Password:</td>
</tr>
<tr>
<td><input size="30" type='password' name='password'></td>
</tr>
<tr>
<td align="right"><input type="submit" value="Go"></td>
</tr>
<tr>
<td><hr size="1" color="#000000" width="140"></td>
</tr>
</table>
</form>
</center>
</body>
<script language="JavaScript">
<!--
if (document.forms[0][0].value != '') {
document.forms[0][1].focus();
} else {
document.forms[0][0].focus();
}
// -->
</script>
</html>
--- NEW FILE: oslist.html ---
<br>
<table border="0" width="640">
<tr>
<td valign="top">
<b> OS List</b>
<hr size="1">
<table border="0">
<tr bgcolor="#eeeeee">
<th><a href="{nameurl}">Name</a></th>
<th><a href="{descriptionurl}">Regex</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
</tr>
<!-- BEGIN row -->
<tr bgcolor="{bgcolor}">
<td><a href="{me}?op=edit&id={osid}">{name}</a></td>
<td> {regex}</td>
<td align="center">{sortorder}</td>
</tr>
<!-- END row -->
</table>
</td>
<td valign="top">
<div align="right"><b>{action} OS </b></div>
<hr size="1">
<form action="{me}" method="post">
<input type="hidden" name="id" value="{fosid}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
<font color="#ff0000">{error}</font>
</td>
</tr>
<tr>
<td align="right" valign="top">Name:</td>
<td><input type="text" size="20" maxlength="40" name="fname" value="{fname}"></td>
</tr>
<tr>
<td align="right" valign="top">Regex:</td>
<td><input type="text" size="20" maxlength="40" name="fregex" value="{fregex}"></td>
</tr>
<tr>
<td align="right" valign="top">Sort Order:</td>
<td><input type="text" size="3" maxlength="3" name="fsortorder" value="{fsortorder}"></td>
</tr>
</table>
<div align="right">
<input type='submit' name='submit' value='Submit'>
</div>
</form>
</td>
</table>
--- NEW FILE: projectform.html ---
<form action="project.php" method="post">
<input type="hidden" name="id" value="{projectid}">
<table border='0'>
<tr>
<td colspan="2"><font color="#ff0000">{error}</td>
</tr>
<tr>
<td align="right" valign="top">Name:</td>
<td><input type="text" size="30" maxlength="30" name="name" value="{name}"></td>
</tr>
<!-- BEGIN vfield -->
<tr>
<td align="right" valign="top">Version:</td>
<td><input type="text" name="version" value="{version}"></td>
</tr>
<!-- END vfield -->
<tr>
<td align="right" valign="top">Description:</td>
<td><textarea name="description" cols=40 rows=5 wrap=virtual>{description}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Active:</td>
<td align="left" valign="top"><input type="checkbox" name="active" value="1" {active}></td>
</tr>
</table>
<input type='submit' name='submit' value='Submit'>
</form>
<!-- BEGIN box -->
<hr width="640" align="left">
<b>Versions of {name} -
<a href="version.php?op=add&projectid={projectid}">Add a new version</a>
</b>
<br>
<br>
<table border="0">
<tr bgcolor="#eeeeee">
<th>Version</th>
<th>Created</th>
<th>Active</th>
</tr>
<!-- BEGIN verrow -->
<tr bgcolor="{bgcolor}">
<td><a href="version.php?op=edit&id={verid}">{vername}</a></td>
<td>{verdate}</td>
<td align="center">{veractive}</td>
</tr>
<!-- END verrow -->
</table>
<hr width="640" align="left">
<b>Components of {name} -
<a href="component.php?op=add&projectid={projectid}">Add a new component</a>
</b>
<br>
<br>
<table border="0">
<tr bgcolor="#eeeeee">
<th>Component</th>
<th>Created</th>
<th>Active</th>
</tr>
<!-- BEGIN row -->
<tr bgcolor="{bgcolor}">
<td><a href="component.php?op=edit&id={compid}">{compname}</a></td>
<td>{compdate}</td>
<td align="center">{compactive}</td>
</tr>
<!-- END row -->
</table>
<!-- END box -->
--- NEW FILE: projectlist.html ---
<a href="{me}?op=add">Add a new project</a>
<br>
<br>
<table border="0">
<tr bgcolor="#eeeeee">
<th><a href="{nameurl}">Project</a></th>
<th><a href="{createddateurl}">Created</a></th>
<th><a href="{activeurl}">Active</a></th>
</tr>
<!-- BEGIN row -->
<tr bgcolor="{bgcolor}">
<td><a href="{me}?op=edit&id={projectid}">{name}</a></td>
<td align="center">{createddate}</td>
<td align="center">{active}</td>
</tr>
<!-- END row -->
</table>
--- NEW FILE: resolutionlist.html ---
<br>
<table border="0" width="640">
<tr>
<td valign="top">
<b> Resolution List</b>
<hr size="1">
<table border="0">
<tr bgcolor="#eeeeee">
<th><a href="{nameurl}">Name</a></th>
<th><a href="{descriptionurl}">Description</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
</tr>
<!-- BEGIN row -->
<tr bgcolor="{bgcolor}">
<td><a href="{me}?op=edit&id={resolutionid}">{name}</a></td>
<td> {description}</td>
<td align="center">{sortorder}</td>
</tr>
<!-- END row -->
</table>
</td>
<td valign="top">
<div align="right"><b>{action} resolution </b></div>
<hr size="1">
<form action="{me}" method="post">
<input type="hidden" name="id" value="{fresolutionid}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
<font color="#ff0000">{error}</font>
</td>
</tr>
<tr>
<td align="right" valign="top">Name:</td>
<td><input type="text" size="20" maxlength="40" name="fname" value="{fname}"></td>
</tr>
<tr>
<td align="right" valign="top">Description:</td>
<td><textarea name="fdescription" cols=20 rows=5 wrap=virtual>{fdescription}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Sort Order:</td>
<td><input type="text" size="3" maxlength="3" name="fsortorder" value="{fsortorder}"></td>
</tr>
</table>
<div align="right">
<input type='submit' name='submit' value='Submit'>
</div>
</form>
</td>
</table>
--- NEW FILE: statuslist.html ---
<br>
<table border="0" width="640">
<tr>
<td valign="top">
<b> Status List</b>
<hr size="1">
<table border="0">
<tr bgcolor="#eeeeee">
<th><a href="{nameurl}">Name</a></th>
<th><a href="{descriptionurl}">Description</a></th>
<th><a href="{sortorderurl}">Sort Order</a></th>
</tr>
<!-- BEGIN row -->
<tr bgcolor="{bgcolor}">
<td><a href="{me}?op=edit&id={statusid}">{name}</a></td>
<td> {description}</td>
<td align="center">{sortorder}</td>
</tr>
<!-- END row -->
</table>
</td>
<td valign="top">
<div align="right"><b>{action} status </b></div>
<hr size="1">
<form action="{me}" method="post">
<input type="hidden" name="id" value="{fstatusid}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
<font color="#ff0000">{error}</font>
</td>
</tr>
<tr>
<td align="right" valign="top">Name:</td>
<td><input type="text" size="20" maxlength="40" name="fname" value="{fname}"></td>
</tr>
<tr>
<td align="right" valign="top">Description:</td>
<td><textarea name="fdescription" cols=20 rows=5 wrap=virtual>{fdescription}</textarea></td>
</tr>
<tr>
<td align="right" valign="top">Sort Order:</td>
<td><input type="text" size="3" maxlength="3" name="fsortorder" value="{fsortorder}"></td>
</tr>
</table>
<div align="right">
<input type='submit' name='submit' value='Submit'>
</div>
</form>
</td>
</table>
--- NEW FILE: userlist.html ---
<!--<a href="{me}?op=add">Add a new user</a>-->
<br>
<table border="0">
<tr>
<td valign="top">
<b> User List</b>
<hr size="1">
<table border="0">
<tr bgcolor="#eeeeee">
<th><a href="{loginurl}">Login</a></th>
<th><a href="{nameurl}">Name</a></th>
<th><a href="{dateurl}">Created</a></th>
<th><a href="{userlevelurl}">User Level</a></th>
</tr>
<!-- BEGIN row -->
<tr bgcolor="{bgcolor}">
<td><a href="{me}?op=edit&id={userid}">{email}</a></td>
<td align="center">{name}</td>
<td align="center">{date}</td>
<td align="center">{userlevel}</td>
</tr>
<!-- END row -->
<tr>
<td colspan="4" align="center">
<br>
{first} to {last} of {records}
<br>
{pages}
</table>
</td>
<td valign="top">
<div align="right"><b>{action} user </b></div>
<hr size="1">
<form action="user.php" method="post">
<input type="hidden" name="id" value="{fuserid}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
<font color="#ff0000">{error}</font>
</td>
</tr>
<tr>
<td align="right" valign="top">FirstName:</td>
<td><input type="text" size="20" maxlength="40" name="ffirstname" value="{ffirstname}"></td>
</tr>
<tr>
<td align="right" valign="top">LastName:</td>
<td><input type="text" size="20" maxlength="40" name="flastname" value="{flastname}"></td>
</tr>
<tr>
<td align="right" valign="top">Email:</td>
<td><input type="text" size="20" maxlength="40" name="femail" value="{femail}"></td>
</tr>
<tr>
<td align="right" valign="top">Password:</td>
<td><input type="text" size="20" maxlength="40" name="fpassword" value="{fpassword}"></td>
</tr>
<tr>
<td align="right" valign="top">UserType:</td>
<td>
<select name="usertype">
{usertype}
</select>
</td>
</tr>
</table>
<div align="right">
<input type='submit' name='submit' value='Submit'>
</div>
</form>
</td>
</table>
--- NEW FILE: versionform.html ---
<form action="version.php" method="post">
<input type="hidden" name="id" value="{versionid}">
<input type="hidden" name="projectid" value="{projectid}">
<table border='0'>
<tr>
<td colspan="2" align="center" valign="top">
<font color="#ff0000">{error}</font>
</td>
</tr>
<tr>
<td align="right" valign="top">Project:</td>
<td>{project}</td>
</tr>
<tr>
<td align="right" valign="top">Version:</td>
<td><input type="text" size="10" maxlength="10" name="version" value="{version}"></td>
</tr>
<tr>
<td align="right" valign="top">Active:</td>
<td align="left" valign="top"><input type="checkbox" name="active" value="1" {active}></td>
</tr>
</table>
<input type='submit' name='submit' value='Submit'>
</form>
--- NEW FILE: wrap.html ---
<html>
<head>
<META HTTP-EQUIV="Expires" CONTENT="-1">
<title>phpBugTracker Admin - {TITLE}</title>
<link rel="StyleSheet" href="../global.css" type="text/css">
</head>
<body bgcolor="#ffffff" link="#006699" vlink="#006699" alink="#006699">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="640" colspan="2"><hr size="1" width="640"></td>
</tr>
<tr>
<td width="540">
<font id="stockfontb"><b>
[
<a href="project.php">Projects</a> |
<a href="user.php">Users</a> |
<a href="status.php">Statuses</a> |
<a href="resolution.php">Resolutions</a> |
<a href="os.php">OSes</a>
<!-- BEGIN logoutblock -->
| <a href="../logout.php">Logout {loggedinas}</a>
<!-- END logoutblock -->
]
</font>
</td>
<td width="100" align="right">
<font id="stockfontb"><b>
[
<a href="../index.php">User Tools</a>
]
</font>
</td>
</tr>
<tr>
<td width="640" colspan="2"><hr size="1" width="640"></td>
</tr>
</table>
{content}
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="640" colspan="2"><hr size="1" width="640"></td>
</tr>
<tr>
<td>
<font id="stockfontb">
<b><a href="#top">Top</a></b>
</font>
</td>
<td align="right">
<font id="stockfontb">
<b><a href="index.php">Home</a></b>
</font>
</td>
</tr>
</table>
|
|
From: Benjamin C. <bc...@us...> - 2001-08-01 13:55:59
|
Update of /cvsroot/phpbt/phpbt/admin/templates In directory usw-pr-cvs1:/tmp/cvs-serv7509/admin/templates Removed Files: badperm.html componentform.html login.html oslist.html projectform.html projectlist.html resolutionlist.html statuslist.html userlist.html versionform.html wrap.html Log Message: Move the templates down a directory to help in creating themes --- badperm.html DELETED --- --- componentform.html DELETED --- --- login.html DELETED --- --- oslist.html DELETED --- --- projectform.html DELETED --- --- projectlist.html DELETED --- --- resolutionlist.html DELETED --- --- statuslist.html DELETED --- --- userlist.html DELETED --- --- versionform.html DELETED --- --- wrap.html DELETED --- |
|
From: Benjamin C. <bc...@us...> - 2001-08-01 13:34:29
|
Update of /cvsroot/phpbt/phpbt/admin/templates/default In directory usw-pr-cvs1:/tmp/cvs-serv1292/default Log Message: Directory /cvsroot/phpbt/phpbt/admin/templates/default added to the repository |
|
From: Benjamin C. <bc...@us...> - 2001-08-01 13:33:36
|
Update of /cvsroot/phpbt/phpbt/templates/default In directory usw-pr-cvs1:/tmp/cvs-serv908/default Log Message: Directory /cvsroot/phpbt/phpbt/templates/default added to the repository |
|
From: Benjamin C. <bc...@us...> - 2001-07-31 16:49:35
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv20966/admin
Modified Files:
user.php
Log Message:
Correct the user update query
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- user.php 2001/07/30 13:47:33 1.9
+++ user.php 2001/07/31 16:49:32 1.10
@@ -22,12 +22,12 @@
if (ENCRYPTPASS) {
$oldpass = $q->grab_field("select Password from User where UserID = $userid");
if ($oldpass != $fpassword) {
- $pquery = ", Password = '".md5($fpassword)."'";
+ $pquery = "Password = '".md5($fpassword)."',";
} else {
$pquery = '';
}
} else {
- $pquery = ", Password = '$fpassword'";
+ $pquery = "Password = '$fpassword',";
}
$q->query("update User set FirstName = '$ffirstname', LastName = '$flastname', Email = '$femail', $pquery UserLevel = $usertype where UserID = '$userid'");
}
|
|
From: Benjamin C. <bc...@us...> - 2001-07-31 14:10:05
|
Update of /cvsroot/phpbt/phpbt/templates
In directory usw-pr-cvs1:/tmp/cvs-serv12388/templates
Modified Files:
wrap.html
Log Message:
Removed overlib stuff
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/wrap.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- wrap.html 2001/07/30 13:47:33 1.7
+++ wrap.html 2001/07/31 14:10:01 1.8
@@ -5,8 +5,6 @@
<link rel="StyleSheet" href="global.css" type="text/css">
</head>
<body bgcolor="#ffffff" link="#006699" vlink="#006699" alink="#006699">
-<div id='overDiv' style='position:absolute; visibility:hide; z-index: 1000;'></div>
-<script language='javascript' src='class.overlib/overlib.js'></script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="640" colspan="2"><hr size="1" width="640"></td>
@@ -17,7 +15,7 @@
[
<a href="index.php">Home</a> |
<a href="bug.php?op=add">Enter Bug</a> |
- <a href="query.php?op=query" {olquerybugs}>Query Bugs</a> |
+ <a href="query.php?op=query">Query Bugs</a> |
<a href="report.php">Reporting</a> |
<a href="user.php">Personal Page</a>
<!-- BEGIN logoutblock -->
|
|
From: Benjamin C. <bc...@us...> - 2001-07-31 14:07:34
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv11779 Modified Files: CHANGELOG Log Message: Updated for 0.1.7 Index: CHANGELOG =================================================================== RCS file: /cvsroot/phpbt/phpbt/CHANGELOG,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- CHANGELOG 2001/07/23 12:38:50 1.6 +++ CHANGELOG 2001/07/31 14:07:31 1.7 @@ -1,3 +1,8 @@ +-- 0.1.7 -- 31 July 2001 +: Fixed bugs with valid_email() in admin/user.php +: Added table definition for BugHistory table in createdb.sql +: Added option to store passwords encrypted in the database. + -- 0.1.6 -- 23 July 2001 : Fixed the bug of not setting the creation date when creating a new version : Fixed the bug of not displaying the correct version in bug display |
|
From: Benjamin C. <bc...@us...> - 2001-07-30 13:50:42
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv17178 Modified Files: createdb.sql Log Message: Added the BugHistory table Index: createdb.sql =================================================================== RCS file: /cvsroot/phpbt/phpbt/createdb.sql,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- createdb.sql 2001/07/11 03:36:04 1.3 +++ createdb.sql 2001/07/30 13:50:38 1.4 @@ -282,3 +282,12 @@ PRIMARY KEY (name,sid), KEY changed (changed) ); + +CREATE TABLE `BugHistory` ( + `BugID` int(10) unsigned NOT NULL default '0', + `ChangedField` char(20) NOT NULL default '', + `OldValue` char(255) NOT NULL default '', + `NewValue` char(255) NOT NULL default '', + `CreatedBy` int(10) unsigned NOT NULL default '0', + `CreatedDate` bigint(20) unsigned NOT NULL default '0' +); |
|
From: Benjamin C. <bc...@us...> - 2001-07-30 13:47:37
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv16533
Modified Files:
include.php newaccount.php
Log Message:
Added new constant, ENCRYPTPASS, to define whether you want passwords to be stored encrypted
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- include.php 2001/07/26 17:22:23 1.13
+++ include.php 2001/07/30 13:47:33 1.14
@@ -10,6 +10,7 @@
define ('DATEFORMAT','m-d-Y');
define ('TIMEFORMAT','g:i A');
define ('ADMINEMAIL','ph...@be...');
+define ('ENCRYPTPASS',0); // Whether to store passwords encrypted
require PHPLIBPATH.'db_mysql.inc';
require PHPLIBPATH.'ct_sql.inc';
@@ -92,16 +93,27 @@
if (!$username) return false;
if ($emailpass) {
list($email, $password) = $q->grab("select Email, Password from User where Email = '$username' and UserLevel > 0");
- if (!$q->num_rows()) {echo 'bob'; return false;}
+ if (!$q->num_rows()) {
+ return false;
+ }
+ if (ENCRYPTPASS) {
+ $password = genpassword(10);
+ $mpassword = md5($password);
+ $q->query("update User set Password = '$mpassword' where Email = '$username'");
+ }
mail($email, $STRING['newacctsubject'], sprintf($STRING['newacctmessage'],
$password), 'From: '.ADMINEMAIL);
$emailsuccess = true;
return false;
}
$this->auth['uname'] = $username;
+ if (ENCRYPTPASS) {
+ $password = md5($password);
+ }
$u = $q->grab("select * from User where Email = '$username' and Password = '$password' and UserLevel > 0");
- if (!$q->num_rows()) return false;
- else {
+ if (!$q->num_rows()) {
+ return false;
+ } else {
$this->auth['fname'] = $u['FirstName'];
$this->auth['lname'] = $u['LastName'];
$this->auth['email'] = $u['Email'];
Index: newaccount.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/newaccount.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- newaccount.php 2001/07/26 17:22:23 1.5
+++ newaccount.php 2001/07/30 13:47:33 1.6
@@ -5,7 +5,7 @@
include 'include.php';
function do_form() {
- global $q, $t, $email, $firstname, $lastname, $STRING;
+ global $q, $t, $email, $firstname, $lastname, $STRING, $now;
if (!$email or !valid_email($email))
$error = $STRING['giveemail'];
@@ -18,7 +18,12 @@
$firstname = htmlspecialchars($firstname);
$lastname = htmlspecialchars($lastname);
$password = genpassword(10);
- $q->query("insert into User (UserID, FirstName, LastName, Email, Password, CreatedDate, UserLevel) values (".$q->nextid('User').", '$firstname', '$lastname', '$email', '$password', ".time().", 1)");
+ if (ENCRYPTPASS) {
+ $mpassword = md5($password);
+ } else {
+ $mpassword = $password;
+ }
+ $q->query("insert into User (UserID, FirstName, LastName, Email, Password, CreatedDate, UserLevel) values (".$q->nextid('User').", '$firstname', '$lastname', '$email', '$mpassword', $now, 1)");
mail($email, $STRING['newacctsubject'], sprintf($STRING['newacctmessage'],
$password), 'From: '.ADMINEMAIL);
$t->set_file('content','newaccountsuccess.html');
|
|
From: Benjamin C. <bc...@us...> - 2001-07-30 13:47:37
|
Update of /cvsroot/phpbt/phpbt/templates
In directory usw-pr-cvs1:/tmp/cvs-serv16533/templates
Modified Files:
wrap.html
Log Message:
Added new constant, ENCRYPTPASS, to define whether you want passwords to be stored encrypted
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/wrap.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- wrap.html 2001/07/10 14:00:44 1.6
+++ wrap.html 2001/07/30 13:47:33 1.7
@@ -5,6 +5,8 @@
<link rel="StyleSheet" href="global.css" type="text/css">
</head>
<body bgcolor="#ffffff" link="#006699" vlink="#006699" alink="#006699">
+<div id='overDiv' style='position:absolute; visibility:hide; z-index: 1000;'></div>
+<script language='javascript' src='class.overlib/overlib.js'></script>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="640" colspan="2"><hr size="1" width="640"></td>
@@ -15,7 +17,7 @@
[
<a href="index.php">Home</a> |
<a href="bug.php?op=add">Enter Bug</a> |
- <a href="query.php?op=query">Query Bugs</a> |
+ <a href="query.php?op=query" {olquerybugs}>Query Bugs</a> |
<a href="report.php">Reporting</a> |
<a href="user.php">Personal Page</a>
<!-- BEGIN logoutblock -->
|
|
From: Benjamin C. <bc...@us...> - 2001-07-30 13:47:37
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv16533/admin
Modified Files:
user.php
Log Message:
Added new constant, ENCRYPTPASS, to define whether you want passwords to be stored encrypted
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- user.php 2001/07/30 03:23:32 1.8
+++ user.php 2001/07/30 13:47:33 1.9
@@ -5,7 +5,7 @@
page_open(array('sess' => 'usess', 'auth' => 'uauth', 'perm' => 'uperm'));
function do_form($userid = 0) {
- global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING;
+ global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING, $now;
// Validation
if (!valid_email($femail))
@@ -15,9 +15,21 @@
if ($error) { list_items($userid, $error); return; }
if (!$userid) {
- $q->query("insert into User (UserID, FirstName, LastName, Email, Password, UserLevel, CreatedDate) values (".$q->nextid('User').", '$ffirstname', '$flastname', '$femail', '$fpassword', $usertype, ".time().")");
+ if (ENCRYPTPASS) $mpassword = md5($fpassword);
+ else $mpassword = $fpassword;
+ $q->query("insert into User (UserID, FirstName, LastName, Email, Password, UserLevel, CreatedDate) values (".$q->nextid('User').", '$ffirstname', '$flastname', '$femail', '$mpassword', $usertype, $now)");
} else {
- $q->query("update User set FirstName = '$ffirstname', LastName = '$flastname', Email = '$femail', Password = '$fpassword', UserLevel = $usertype where UserID = '$userid'");
+ if (ENCRYPTPASS) {
+ $oldpass = $q->grab_field("select Password from User where UserID = $userid");
+ if ($oldpass != $fpassword) {
+ $pquery = ", Password = '".md5($fpassword)."'";
+ } else {
+ $pquery = '';
+ }
+ } else {
+ $pquery = ", Password = '$fpassword'";
+ }
+ $q->query("update User set FirstName = '$ffirstname', LastName = '$flastname', Email = '$femail', $pquery UserLevel = $usertype where UserID = '$userid'");
}
header("Location: $me?");
}
@@ -51,7 +63,7 @@
}
function list_items($userid = 0, $error = '') {
- global $me, $q, $t, $selrange, $order, $sort, $select, $STRING, $TITLE;
+ global $me, $q, $t, $selrange, $order, $sort, $select, $STRING, $TITLE, $page;
$t->set_file('content','userlist.html');
$t->set_block('content','row','rows');
|
|
From: Benjamin C. <bc...@us...> - 2001-07-30 03:23:35
|
Update of /cvsroot/phpbt/phpbt/admin In directory usw-pr-cvs1:/tmp/cvs-serv313 Modified Files: user.php Log Message: Don't assign 1 to the email address Index: user.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- user.php 2001/07/26 17:22:23 1.7 +++ user.php 2001/07/30 03:23:32 1.8 @@ -8,7 +8,7 @@ global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING; // Validation - if (!$femail = valid_email($femail)) + if (!valid_email($femail)) $error = $STRING['giveemail']; elseif (!$fpassword = trim($fpassword)) $error = $STRING['givepassword']; |
|
From: Benjamin C. <bc...@us...> - 2001-07-26 17:22:26
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv4522 Modified Files: include.php newaccount.php Log Message: Fixed problems with valid_email not being defined in admin/user.php by moving it to include.php Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- include.php 2001/07/21 19:05:29 1.12 +++ include.php 2001/07/26 17:22:23 1.13 @@ -363,4 +363,11 @@ else return ''; } +/// +/// Check the validity of an email address +/// (From zend.com) +function valid_email($email) { + return eregi('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$', $email); +} + ?> Index: newaccount.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/newaccount.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- newaccount.php 2001/07/21 03:03:05 1.4 +++ newaccount.php 2001/07/26 17:22:23 1.5 @@ -4,13 +4,6 @@ include 'include.php'; -/// -/// Check the validity of an email address -/// (From zend.com) -function valid_email($email) { - return eregi('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$', $email); -} - function do_form() { global $q, $t, $email, $firstname, $lastname, $STRING; |
|
From: Benjamin C. <bc...@us...> - 2001-07-26 17:22:26
|
Update of /cvsroot/phpbt/phpbt/admin In directory usw-pr-cvs1:/tmp/cvs-serv4522/admin Modified Files: user.php Log Message: Fixed problems with valid_email not being defined in admin/user.php by moving it to include.php Index: user.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- user.php 2001/07/21 02:49:55 1.6 +++ user.php 2001/07/26 17:22:23 1.7 @@ -8,7 +8,7 @@ global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING; // Validation - if (!$femail = valid_email(femail)) + if (!$femail = valid_email($femail)) $error = $STRING['giveemail']; elseif (!$fpassword = trim($fpassword)) $error = $STRING['givepassword']; |
|
From: Benjamin C. <bc...@us...> - 2001-07-23 12:38:53
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv7152 Modified Files: CHANGELOG Log Message: Updated for 0.1.6 Index: CHANGELOG =================================================================== RCS file: /cvsroot/phpbt/phpbt/CHANGELOG,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CHANGELOG 2001/07/23 12:38:16 1.5 +++ CHANGELOG 2001/07/23 12:38:50 1.6 @@ -1,4 +1,4 @@ --- 0.1.6 -- +-- 0.1.6 -- 23 July 2001 : Fixed the bug of not setting the creation date when creating a new version : Fixed the bug of not displaying the correct version in bug display : Remove the comments from the notification email if no comments were added when the bug is changed |
|
From: Benjamin C. <bc...@us...> - 2001-07-23 12:38:19
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv6961 Modified Files: CHANGELOG Log Message: Updated for 0.1.6 Index: CHANGELOG =================================================================== RCS file: /cvsroot/phpbt/phpbt/CHANGELOG,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- CHANGELOG 2001/02/03 18:15:52 1.4 +++ CHANGELOG 2001/07/23 12:38:16 1.5 @@ -1,3 +1,24 @@ +-- 0.1.6 -- +: Fixed the bug of not setting the creation date when creating a new version +: Fixed the bug of not displaying the correct version in bug display +: Remove the comments from the notification email if no comments were added when the bug is changed +: Added a link on the login page to open a new account +: Added "Email my password" functionality + +-- 0.1.5 -- 13 July 2001 +: Get rid of the logout link entirely if not logged in +: Starting on the user page - allow for password changes +: Added link for personal bug list to query form +: Allow users to save queries +: Added bug history + +-- 0.1.4 -- 1 July 2001 +: Fixed table reference bug in bug.php +: Added update collision checking +: Changed the URL field label to a link if there is a URL in the field +: Highlight the sorted column +: Display the currently logged in user if logged in + -- 0.1.3 -- 3 Feb 2001 : Added mail notification of changes to bugs : Added logout link and page |
|
From: Benjamin C. <bc...@us...> - 2001-07-21 19:05:33
|
Update of /cvsroot/phpbt/phpbt/templates
In directory usw-pr-cvs1:/tmp/cvs-serv9462/templates
Modified Files:
login.html
Log Message:
Added "Email my password" functionality
Index: login.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/login.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- login.html 2001/07/21 17:41:50 1.3
+++ login.html 2001/07/21 19:05:29 1.4
@@ -28,15 +28,21 @@
<form action='<?php print $GLOBALS[REQUEST_URI] ?>' method='post'>
<input type="hidden" name="formvars" value="<?php echo $formvars ?>">
<table border="0">
- <?php global $username; if ( isset($username) ): ?>
+ <?php global $username, $emailsuccess; if (isset($username)) { ?>
<tr>
<td align='center'>
- <font color=red>
+ <?php if (!$emailsuccess) { ?>
+ <font color='#ff0000'>
<b>Invalid login and/or password</b>
</font>
+ <?php } else { ?>
+ <font color='#0000ff'>
+ <b>Your password has been mailed to you</b>
+ </font>
+ <?php } ?>
</td>
</tr>
- <?php endif ?>
+ <?php } ?>
<tr>
<td>Login (Email):</td>
</tr>
@@ -50,7 +56,10 @@
<td><input size="30" type='password' name='password'></td>
</tr>
<tr>
- <td align="right"><input type="submit" value="Go"></td>
+ <td align="right">
+ <input type="submit" name="emailpass" value="Email my password">
+ <input type="submit" value="Go">
+ </td>
</tr>
<tr>
<td align="center">
|
|
From: Benjamin C. <bc...@us...> - 2001-07-21 19:05:33
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv9462
Modified Files:
include.php
Log Message:
Added "Email my password" functionality
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- include.php 2001/07/21 03:03:05 1.11
+++ include.php 2001/07/21 19:05:29 1.12
@@ -40,10 +40,10 @@
class dbclass extends DB_Sql {
var $classname = 'dbclass';
- var $Host = 'stinky';
+ var $Host = 'localhost';
var $Database = 'BugTracker';
var $User = 'root';
- var $Password = 'howdy';
+ var $Password = '';
function grab($q_string = '') {
if ($q_string) $this->query($q_string);
@@ -87,11 +87,19 @@
}
function auth_validatelogin() {
- global $username, $password, $q, $select;
+ global $username, $password, $q, $select, $emailpass, $emailsuccess, $STRING;
+ if (!$username) return false;
+ if ($emailpass) {
+ list($email, $password) = $q->grab("select Email, Password from User where Email = '$username' and UserLevel > 0");
+ if (!$q->num_rows()) {echo 'bob'; return false;}
+ mail($email, $STRING['newacctsubject'], sprintf($STRING['newacctmessage'],
+ $password), 'From: '.ADMINEMAIL);
+ $emailsuccess = true;
+ return false;
+ }
$this->auth['uname'] = $username;
- $u = $q->grab("select * from User where Email = '$username'
- and Password = '$password' and UserLevel");
+ $u = $q->grab("select * from User where Email = '$username' and Password = '$password' and UserLevel > 0");
if (!$q->num_rows()) return false;
else {
$this->auth['fname'] = $u['FirstName'];
|
|
From: Benjamin C. <bc...@us...> - 2001-07-21 17:41:54
|
Update of /cvsroot/phpbt/phpbt/templates In directory usw-pr-cvs1:/tmp/cvs-serv20074 Modified Files: login.html Log Message: Added link to open a new account Index: login.html =================================================================== RCS file: /cvsroot/phpbt/phpbt/templates/login.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- login.html 2001/06/30 17:28:52 1.2 +++ login.html 2001/07/21 17:41:50 1.3 @@ -53,7 +53,12 @@ <td align="right"><input type="submit" value="Go"></td> </tr> <tr> - <td><hr size="1" color="#000000" width="140"></td> + <td align="center"> + <hr size="1" color="#000000" width="140"> + <br> + <br> + <a href="newaccount.php">Open a new account</a> + </td> </tr> </table> </form> |
|
From: Benjamin C. <bc...@us...> - 2001-07-18 16:37:39
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv25274
Modified Files:
bug.php
Log Message:
Strip the slashes on values going into the email template
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- bug.php 2001/07/18 13:55:19 1.14
+++ bug.php 2001/07/18 16:37:36 1.15
@@ -68,12 +68,12 @@
$newvalue = $q->grab_field("select Name from $field where ${field}ID = $cf[$field]");
$q->query("insert into BugHistory (BugID, ChangedField, OldValue, NewValue, CreatedBy, CreatedDate) values ({$buginfo['BugID']}, '$field', '$oldvalue', '$newvalue', $u, $now)");
$t->set_var(array(
- $field => $newvalue,
+ $field => stripslashes($newvalue),
$field.'Stat' => '!'
));
} else {
$t->set_var(array(
- $field => $oldvalue,
+ $field => stripslashes($oldvalue),
$field.'Stat' => ' '
));
}
|
|
From: Benjamin C. <bc...@us...> - 2001-07-18 13:55:23
|
Update of /cvsroot/phpbt/phpbt/templates
In directory usw-pr-cvs1:/tmp/cvs-serv5149/templates
Modified Files:
bugemail.txt
Log Message:
Remove the comments from the notification email if no comments were added when the bug is changed
Index: bugemail.txt
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/bugemail.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bugemail.txt 2001/02/03 18:05:06 1.1
+++ bugemail.txt 2001/07/18 13:55:19 1.2
@@ -14,6 +14,7 @@
{PriorityStat} Priority: {Priority}
{AssignedToStat} Assigned To: {AssignedTo}
============================================================================
+<!-- BEGIN commentblock -->
COMMENTS
----- Posted by {oldpostedby} at {oldpostedon} -----
@@ -22,3 +23,4 @@
----- Posted by {newpostedby} at {newpostedon} -----
{newcomments}
+<!-- END commentblock -->
|
|
From: Benjamin C. <bc...@us...> - 2001-07-18 13:55:23
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv5149
Modified Files:
bug.php
Log Message:
Remove the comments from the notification email if no comments were added when the bug is changed
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- bug.php 2001/07/17 04:19:48 1.13
+++ bug.php 2001/07/18 13:55:19 1.14
@@ -40,11 +40,12 @@
}
///
-/// Send the email about changes to the bug and (later) log the changes in the DB
+/// Send the email about changes to the bug and log the changes in the DB
function do_changedfields($userid, $buginfo, $cf, $comments) {
global $q, $t, $u, $select, $now;
$t->set_file('emailout','bugemail.txt');
+ $t->set_block('emailout','commentblock', 'cblock');
foreach(array('Title','URL') as $field) {
if (isset($cf[$field])) {
$q->query("insert into BugHistory (BugID, ChangedField, OldValue, NewValue, CreatedBy, CreatedDate) values ({$buginfo['BugID']}, '$field', '$buginfo[$field]', '$cf[$field]', $u, $now)");
@@ -118,7 +119,10 @@
'oldcomments' => textwrap(stripslashes($row['Text']),72)
));
}
- }
+ $t->parse('cblock', 'commentblock', true);
+ } else {
+ $t->set_var('cblock', '');
+ }
// Don't email the person who just made the changes (later, make this
// behavior toggable by the user)
|
|
From: Benjamin C. <bc...@us...> - 2001-07-17 04:19:51
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv7820
Modified Files:
bug.php
Log Message:
Grab the version from the database for display
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- bug.php 2001/07/11 13:07:29 1.12
+++ bug.php 2001/07/17 04:19:48 1.13
@@ -355,7 +355,7 @@
global $q, $me, $t, $project, $STRING;
if (!ereg('^[0-9]+$',$bugid) or !$row = $q->grab("select BugID, Title,
- Reporter.Email as Reporter, Owner.Email as Owner, Project,
+ Reporter.Email as Reporter, Owner.Email as Owner, Project, Version,
Severity, Bug.CreatedDate, Bug.LastModifiedDate, Status.Name as Status,
Priority, Bug.Description, Resolution.Name as Resolution, URL, Component, OS
from Bug, Severity, Status left join User Owner on Bug.AssignedTo = Owner.UserID left join
|