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-09 13:22:03
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv20353
Modified Files:
bug.php
Log Message:
Got a little crazy with sed
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- bug.php 2001/08/09 12:54:47 1.19
+++ bug.php 2001/08/09 13:21:58 1.20
@@ -1,6 +1,33 @@
<?php
-// bug.php
+// bug.php - All the interactions with a bug
+// ------------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
+
+include 'include.php';
+
+///
+/// Show the activity for a bug
+function show_history($bugid) {
+ global $q, $t, $STRING;
+
if (!is_numeric($bugid)) {
show_text($STRING['nobughistory']);
return;
|
|
From: Benjamin C. <bc...@us...> - 2001-08-09 13:22:02
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv20353/admin
Modified Files:
component.php project.php user.php version.php
Log Message:
Got a little crazy with sed
Index: component.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/component.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- component.php 2001/08/09 12:54:47 1.6
+++ component.php 2001/08/09 13:21:58 1.7
@@ -1,6 +1,35 @@
<?php
+// component.php - Admin the components of projects
+// ------------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
+
include '../include.php';
+
+function do_form($componentid = 0) {
+ global $q, $me, $projectid, $name, $description, $owner, $active, $u, $STRING;
+
+ // Validation
+ if (!$name = trim($name))
+ $error = $STRING['givename'];
+ elseif (!$description = trim($description))
$error = $STRING['givedesc'];
if ($error) { show_form($componentid, $error); return; }
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- project.php 2001/08/09 12:54:47 1.8
+++ project.php 2001/08/09 13:21:58 1.9
@@ -1,6 +1,35 @@
<?php
+// project.php - Create and update projects
+// ------------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
+
include '../include.php';
+
+function do_form($projectid = 0) {
+ global $q, $me, $name, $description, $active, $version, $u, $STRING, $now;
+
+ // Validation
+ if (!$name = htmlspecialchars(trim($name)))
+ $error = $STRING['givename'];
+ elseif (!$description = htmlspecialchars(trim($description)))
$error = $STRING['givedesc'];
elseif (!projectid and !$version = htmlspecialchars(trim($version)))
$error = $STRING['giveversion'];
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- user.php 2001/08/09 12:54:47 1.12
+++ user.php 2001/08/09 13:21:58 1.13
@@ -1,6 +1,35 @@
<?php
+// user.php - Create and update users
+// ------------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
+
include '../include.php';
+
+function do_form($userid = 0) {
+ global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING, $now;
+
+ // Validation
+ if (!valid_email($femail))
+ $error = $STRING['giveemail'];
+ elseif (!$fpassword = trim($fpassword))
$error = $STRING['givepassword'];
if ($error) { list_items($userid, $error); return; }
Index: version.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/version.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- version.php 2001/08/09 12:54:47 1.7
+++ version.php 2001/08/09 13:21:58 1.8
@@ -1,6 +1,35 @@
<?php
+// version.php - Admin versions of a project
+// ------------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
+
include '../include.php';
+
+function do_form($versionid = 0) {
+ global $q, $me, $projectid, $version, $active, $STRING, $now, $u;
+
+ // Validation
+ if (!$version = trim($version))
+ $error = $STRING['giveversion'];
+ if ($error) { show_form($versionid, $error); return; }
if (!$active) $active = 0;
if (!$versionid) {
|
|
From: Benjamin C. <bc...@us...> - 2001-08-09 13:03:07
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv16250 Modified Files: include.php Log Message: Attributions Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- include.php 2001/08/09 12:54:47 1.22 +++ include.php 2001/08/09 13:03:03 1.23 @@ -340,7 +340,7 @@ /// /// Generates a somewhat random pronounceable password $length letters long -/// (From zend.com) +/// (From zend.com user Rival7) function genpassword($length){ srand((double)microtime()*1000000); @@ -398,7 +398,7 @@ /// /// Check the validity of an email address -/// (From zend.com) +/// (From zend.com user russIndr) function valid_email($email) { return eregi('^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$', $email); } |
|
From: Benjamin C. <bc...@us...> - 2001-08-09 12:57:20
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv14882
Added Files:
COPYING
Log Message:
--- NEW FILE: COPYING ---
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv14312
Modified Files:
bug.php images.php include.php index.php logout.php
newaccount.php query.php report.php strings-en.php user.php
Log Message:
Additional GPL stuff
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- bug.php 2001/08/08 04:01:46 1.18
+++ bug.php 2001/08/09 12:54:47 1.19
@@ -1,14 +1,6 @@
<?php
// bug.php
-
-include 'include.php';
-
-///
-/// Show the activity for a bug
-function show_history($bugid) {
- global $q, $t, $STRING;
-
if (!is_numeric($bugid)) {
show_text($STRING['nobughistory']);
return;
Index: images.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/images.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- images.php 2001/08/09 12:07:13 1.3
+++ images.php 2001/08/09 12:54:47 1.4
@@ -1,14 +1,25 @@
<?php
// images.php - Draw graphs using jpgraph
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
define ('NO_AUTH',1);
include 'include.php';
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- include.php 2001/08/09 12:07:13 1.21
+++ include.php 2001/08/09 12:54:47 1.22
@@ -1,14 +1,25 @@
<?php
// include.php - Set up global variables and functions
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
define ('INSTALLPATH','/home/bcurtis/public_html/phpbt');
define ('INSTALLURL','http://localhost/~bcurtis/phpbt');
Index: index.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- index.php 2001/08/09 12:07:13 1.8
+++ index.php 2001/08/09 12:54:47 1.9
@@ -1,14 +1,25 @@
<?php
// index.php - Front page
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include 'include.php';
Index: logout.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/logout.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- logout.php 2001/08/09 12:07:13 1.4
+++ logout.php 2001/08/09 12:54:47 1.5
@@ -1,14 +1,25 @@
<?php
// logout.php - Clear the authentication of a user
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include 'include.php';
Index: newaccount.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/newaccount.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- newaccount.php 2001/08/09 12:07:13 1.8
+++ newaccount.php 2001/08/09 12:54:47 1.9
@@ -1,14 +1,25 @@
<?php
// newaccount.php - Set up new user accounts
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include 'include.php';
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- query.php 2001/08/09 12:07:13 1.11
+++ query.php 2001/08/09 12:54:47 1.12
@@ -1,14 +1,25 @@
<?php
// query.php - Query the bug database
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include 'include.php';
Index: report.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/report.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- report.php 2001/08/09 12:07:13 1.9
+++ report.php 2001/08/09 12:54:47 1.10
@@ -1,14 +1,25 @@
<?php
// report.php - Generate reports on various bug activities
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include 'include.php';
Index: strings-en.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/strings-en.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- strings-en.php 2001/08/09 12:07:13 1.11
+++ strings-en.php 2001/08/09 12:54:47 1.12
@@ -1,14 +1,25 @@
<?php
// strings-en.php - English strings and titles
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
$STRING = array(
'nouser' => 'That user does not exist',
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/user.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- user.php 2001/08/09 12:07:13 1.6
+++ user.php 2001/08/09 12:54:47 1.7
@@ -1,14 +1,25 @@
<?php
// user.php - Preferences page
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include 'include.php';
|
|
From: Benjamin C. <bc...@us...> - 2001-08-09 12:54:50
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv14312/admin
Modified Files:
component.php os.php project.php resolution.php status.php
user.php version.php
Log Message:
Additional GPL stuff
Index: component.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/component.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- component.php 2001/08/07 13:50:07 1.5
+++ component.php 2001/08/09 12:54:47 1.6
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($componentid = 0) {
- global $q, $me, $projectid, $name, $description, $owner, $active, $u, $STRING;
-
- // Validation
- if (!$name = trim($name))
- $error = $STRING['givename'];
- elseif (!$description = trim($description))
$error = $STRING['givedesc'];
if ($error) { show_form($componentid, $error); return; }
Index: os.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- os.php 2001/08/09 12:07:13 1.6
+++ os.php 2001/08/09 12:54:47 1.7
@@ -1,14 +1,25 @@
<?php
// os.php - Interface to the OS table
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include '../include.php';
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- project.php 2001/08/08 13:23:50 1.7
+++ project.php 2001/08/09 12:54:47 1.8
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($projectid = 0) {
- global $q, $me, $name, $description, $active, $version, $u, $STRING, $now;
-
- // Validation
- if (!$name = htmlspecialchars(trim($name)))
- $error = $STRING['givename'];
- elseif (!$description = htmlspecialchars(trim($description)))
$error = $STRING['givedesc'];
elseif (!projectid and !$version = htmlspecialchars(trim($version)))
$error = $STRING['giveversion'];
Index: resolution.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- resolution.php 2001/08/09 12:07:13 1.7
+++ resolution.php 2001/08/09 12:54:47 1.8
@@ -1,14 +1,25 @@
<?php
// resolution.php - Interface to the Resolution table
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include '../include.php';
Index: status.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- status.php 2001/08/09 12:07:13 1.7
+++ status.php 2001/08/09 12:54:47 1.8
@@ -1,14 +1,25 @@
<?php
// status.php - Interface to the Status table
-// --------------------------------------------------------------------
+// ------------------------------------------------------------------------
// Copyright (c) 2001 The phpBugTracker Group
-// ---------------------------------------------------------------------
-// This program is free software; you can redistribute it and/or modify
+// ------------------------------------------------------------------------
+// This file is part of phpBugTracker
+//
+// phpBugTracker is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
-// ---------------------------------------------------------------------
+//
+// phpBugTracker is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with phpBugTracker; if not, write to the Free Software Foundation,
+// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+// ------------------------------------------------------------------------
include '../include.php';
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/user.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- user.php 2001/08/07 13:50:07 1.11
+++ user.php 2001/08/09 12:54:47 1.12
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($userid = 0) {
- global $q, $me, $ffirstname, $flastname, $femail, $fpassword, $usertype, $STRING, $now;
-
- // Validation
- if (!valid_email($femail))
- $error = $STRING['giveemail'];
- elseif (!$fpassword = trim($fpassword))
$error = $STRING['givepassword'];
if ($error) { list_items($userid, $error); return; }
Index: version.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/version.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- version.php 2001/08/07 13:50:07 1.6
+++ version.php 2001/08/09 12:54:47 1.7
@@ -1,14 +1,6 @@
<?php
include '../include.php';
-
-function do_form($versionid = 0) {
- global $q, $me, $projectid, $version, $active, $STRING, $now, $u;
-
- // Validation
- if (!$version = trim($version))
- $error = $STRING['giveversion'];
- if ($error) { show_form($versionid, $error); return; }
if (!$active) $active = 0;
if (!$versionid) {
|
|
From: Benjamin C. <bc...@us...> - 2001-08-09 12:07:16
|
Update of /cvsroot/phpbt/phpbt/admin In directory usw-pr-cvs1:/tmp/cvs-serv1706/admin Modified Files: os.php resolution.php status.php Log Message: Add copyright banner message Index: os.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/admin/os.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- os.php 2001/08/07 13:50:07 1.5 +++ os.php 2001/08/09 12:07:13 1.6 @@ -1,6 +1,14 @@ <?php // os.php - Interface to the OS table +// -------------------------------------------------------------------- +// Copyright (c) 2001 The phpBugTracker Group +// --------------------------------------------------------------------- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// --------------------------------------------------------------------- include '../include.php'; Index: resolution.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/admin/resolution.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- resolution.php 2001/08/07 13:50:07 1.6 +++ resolution.php 2001/08/09 12:07:13 1.7 @@ -1,6 +1,14 @@ <?php // resolution.php - Interface to the Resolution table +// -------------------------------------------------------------------- +// Copyright (c) 2001 The phpBugTracker Group +// --------------------------------------------------------------------- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// --------------------------------------------------------------------- include '../include.php'; Index: status.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/admin/status.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- status.php 2001/08/07 13:50:07 1.6 +++ status.php 2001/08/09 12:07:13 1.7 @@ -1,6 +1,14 @@ <?php // status.php - Interface to the Status table +// -------------------------------------------------------------------- +// Copyright (c) 2001 The phpBugTracker Group +// --------------------------------------------------------------------- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// --------------------------------------------------------------------- include '../include.php'; |
|
From: Benjamin C. <bc...@us...> - 2001-08-09 12:07:16
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv1706
Modified Files:
images.php include.php index.php logout.php newaccount.php
query.php report.php strings-en.php user.php
Log Message:
Add copyright banner message
Index: images.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/images.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- images.php 2001/08/07 13:50:07 1.2
+++ images.php 2001/08/09 12:07:13 1.3
@@ -1,6 +1,14 @@
<?php
// images.php - Draw graphs using jpgraph
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
define ('NO_AUTH',1);
include 'include.php';
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- include.php 2001/08/08 14:21:27 1.20
+++ include.php 2001/08/09 12:07:13 1.21
@@ -1,6 +1,14 @@
<?php
// include.php - Set up global variables and functions
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
define ('INSTALLPATH','/home/bcurtis/public_html/phpbt');
define ('INSTALLURL','http://localhost/~bcurtis/phpbt');
Index: index.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/index.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- index.php 2001/08/07 13:50:07 1.7
+++ index.php 2001/08/09 12:07:13 1.8
@@ -1,6 +1,14 @@
<?php
// index.php - Front page
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
include 'include.php';
Index: logout.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/logout.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- logout.php 2001/08/07 13:50:07 1.3
+++ logout.php 2001/08/09 12:07:13 1.4
@@ -1,6 +1,14 @@
<?php
// logout.php - Clear the authentication of a user
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
include 'include.php';
Index: newaccount.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/newaccount.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- newaccount.php 2001/08/07 13:50:07 1.7
+++ newaccount.php 2001/08/09 12:07:13 1.8
@@ -1,6 +1,14 @@
<?php
// newaccount.php - Set up new user accounts
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
include 'include.php';
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- query.php 2001/08/08 04:01:46 1.10
+++ query.php 2001/08/09 12:07:13 1.11
@@ -1,6 +1,14 @@
<?php
// query.php - Query the bug database
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
include 'include.php';
Index: report.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/report.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- report.php 2001/08/07 13:50:07 1.8
+++ report.php 2001/08/09 12:07:13 1.9
@@ -1,6 +1,14 @@
<?php
// report.php - Generate reports on various bug activities
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
include 'include.php';
Index: strings-en.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/strings-en.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- strings-en.php 2001/08/08 13:18:15 1.10
+++ strings-en.php 2001/08/09 12:07:13 1.11
@@ -1,6 +1,14 @@
<?php
// strings-en.php - English strings and titles
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
$STRING = array(
'nouser' => 'That user does not exist',
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/user.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- user.php 2001/08/08 04:27:23 1.5
+++ user.php 2001/08/09 12:07:13 1.6
@@ -1,6 +1,14 @@
<?php
// user.php - Preferences page
+// --------------------------------------------------------------------
+// Copyright (c) 2001 The phpBugTracker Group
+// ---------------------------------------------------------------------
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+// ---------------------------------------------------------------------
include 'include.php';
|
|
From: Benjamin C. <bc...@us...> - 2001-08-09 03:30:48
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv650
Modified Files:
INSTALL
Log Message:
Updated install instructions to include the shiny new configure script
Index: INSTALL
===================================================================
RCS file: /cvsroot/phpbt/phpbt/INSTALL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- INSTALL 2001/08/06 01:56:54 1.3
+++ INSTALL 2001/08/09 03:30:44 1.4
@@ -5,15 +5,20 @@
"mysql -u <user> -p<password> < createdb.sql"
3. Install PHPlib (http://sourceforge.net/projects/phplib/) if it's not already
installed.
-4. Edit include.php as follows:
+4. Copy the directory tree from the tarball to a location suitable for serving
+ web pages.
+5. Run the configure script (somewhat experimental, but it should work)
+
+ -- or --
+
+5. Edit include.php as follows:
a. Change the ADMINEMAIL constant to what you want
b. Change the database login info in class dbclass.
c. Change the ENCRYPTPASS constant to 1 if you want to have passwords stored
encrypted in the database.
d. Change the USE_JPGRAPH constant to 1 if you want to use the jpgraph class
(http://www.aditus.nu/jpgraph/) to display the bug summary info. If you
- enable this you'll also need to edit the JPGRAPH_PATH constant in
- images.php.
-5. Browse on over to the installation, choose Admin tools, login with the info
+ enable this you'll also need to edit the JPGRAPH_PATH constant.
+6. Browse on over to the installation, choose Admin tools, login with the info
you put in the database creation script, and create your first project.
-6. Start reporting bugs
+7. Start reporting bugs
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 20:29:48
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv20197
Modified Files:
configure
Log Message:
I think this is actually working now
Index: configure
===================================================================
RCS file: /cvsroot/phpbt/phpbt/configure,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- configure 2001/08/07 13:50:51 1.1
+++ configure 2001/08/08 20:29:45 1.2
@@ -10,6 +10,7 @@
INSTALLPATH=`pwd`
INSTALLURL=http://`hostname -f`/phpbt
PHPLIBPATH=''
+JPGRAPH_PATH=''
# Booleans
ENCRYPTPASS=1
@@ -28,7 +29,9 @@
$DIALOG --backtitle "phpBT Configuration" \
--title "Installation Path (2 of 4)" \
- --inputbox "Enter the directory where the files will be stored." 0 0 $INSTALLPATH \
+ --inputbox "Enter the directory where the files will be stored.\n\n\
+NOTE -- This does not move the files to the directory you specify; it only changes include.php. \
+If you specify a directory other than the current one, you'll need to move the files there yourself!\n\n" 0 0 $INSTALLPATH \
2> $tempfile
if [ $? -gt 0 ]; then
return
@@ -54,7 +57,6 @@
PHPLIBPATH=`<$tempfile`
menuitem='Features'
- show_menu
}
change_features() {
@@ -68,6 +70,9 @@
else
OLD_USE_JPGRAPH=off
fi
+
+ NEW_ENCRYPTPASS=0
+ NEW_USE_JPGRAPH=0
$DIALOG --backtitle "phpBT Configuration" \
--title "Optional Features" \
@@ -95,8 +100,17 @@
USE_JPGRAPH=${NEW_USE_JPGRAPH:-0}
fi
+ if [ $USE_JPGRAPH -eq 1 ]; then
+ $DIALOG --backtitle "phpBT Configuration" \
+ --title "JPGraph Path" \
+ --inputbox "If JPGraph is not in PHP's include path, specify the location of JPGraph." 0 0 $JPGRAPH_PATH \
+ 2> $tempfile
+ if [ $? -eq 0 ]; then
+ JPGRAPH_PATH=`<$tempfile`
+ fi
+ fi
+
menuitem='Save'
- show_menu
}
show_menu() {
@@ -121,8 +135,15 @@
change_features
;;
Save)
- #echo $ENCRYPTPASS
- #echo $USE_JPGRAPH
+ mv include.php include.php.bak
+ echo "/ENCRYPTPASS/s/0/$ENCRYPTPASS/" > $tempfile
+ echo "/USE_JPGRAPH/s/0/$USE_JPGRAPH/" >> $tempfile
+ echo "/ADMINEMAIL/s|,'.*'|,'$ADMINEMAIL'|" >> $tempfile
+ echo "/INSTALLPATH/s|,'.*'|,'$INSTALLPATH'|" >> $tempfile
+ echo "/INSTALLURL/s|,'.*'|,'$INSTALLURL'|" >> $tempfile
+ echo "/PHPLIBPATH/s|,'.*'|,'$PHPLIBPATH'|" >> $tempfile
+ echo "/JPGRAPH_PATH/s|,'.*'|,'$JPGRAPH_PATH'|" >> $tempfile
+ sed -f $tempfile include.php.bak > include.php
$DIALOG --backtitle "phpBT Configuration" \
--infobox "Your changes have been saved" 5 36
;;
@@ -130,7 +151,10 @@
else
$DIALOG --backtitle "phpBT Configuration" \
--infobox "Quitting without saving changes" 5 36
+ return 254
fi
}
-show_menu
+while [ $? -ne 254 ]; do
+ show_menu
+done
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 19:26:39
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv4783/templates/default
Modified Files:
passwordform.html
Log Message:
That's a bad typo
Index: passwordform.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/passwordform.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- passwordform.html 2001/08/01 13:55:56 1.1
+++ passwordform.html 2001/08/08 19:26:31 1.2
@@ -1,4 +1,4 @@
-<form action="{me}" method="{post}">
+<form action="{me}" method="post">
<input type="hidden" name="do" value="changepassword">
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 14:21:31
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv9729
Modified Files:
include.php
Log Message:
Only allow users with a security level above "User" to be the owner of a component
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- include.php 2001/08/08 13:18:15 1.19
+++ include.php 2001/08/08 14:21:27 1.20
@@ -241,7 +241,7 @@
}
break;
case 'owner' :
- $q->query("Select UserID, Email from User where UserLevel order by Email");
+ $q->query("Select UserID, Email from User where UserLevel > 1 order by Email");
while ($row = $q->grab()) {
if ($value == $row['UserID']) $sel = ' selected';
else $sel = '';
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 14:19:14
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv9014 Modified Files: TODO Log Message: Index: TODO =================================================================== RCS file: /cvsroot/phpbt/phpbt/TODO,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- TODO 2000/12/23 17:07:58 1.1.1.1 +++ TODO 2001/08/08 14:19:10 1.2 @@ -1,53 +1,11 @@ -Required Functionality: +Bottom Nav: +- Counts of and links to bugs reported by and assigned to user -Front Page: -Links to the most common fuctions, including querying the bugs (including ones -assigned to the user), getting reports, entering a bug, etc. Include quick -stats showing bugs in the database broken down by category (and other -classifications, like date ranges?). - -Query: -Search the bug database with the following parameters: Status, Resolution, -Operating System, Priority, Severity, Email (substring, regex, exact match), -specific bug number, Age (creation, modification), Date Range, Product, Version, -Component, Summary, Description, URL. - -Enter Bug: -Same fields as Bugzilla minus the platform. (Or should we use platform as well -to make it more of a drop-in replacement for bugzilla?) - Personal Page: -At the least this should copy the My Bugs link in Bugzilla, running a query of -bugs assigned to the logged in user. One improvement I'd like to make to bugzilla -is not only showing bugs assigned to you as My Bugs but also bugs submitted by you. -We should separate them into distinct lists. I don't know whether it would be i -this page but we need a place for the user to change password, theme, etc. +- Choose columns to display in bug list New Account: -Allow users to create their own accounts to be able to submit bugs. This should -be a system configurable option, though, like Bugzilla's despot setting, which -would require new users to be added by an administrator. Also, we need to look -at the feasibility of letting the administrator easily swap out the user -database for a pre-existing one. PHPLib's authentication routine is a step in -this direction. - -Administration: +- Allow the admin to control whether uses can create new accounts -Project + Component + Version: -When creating a project the adminstrator should be led through this page -sequence so that the minimum attributes of a project are all present. Component -and version administration will be handled from the project edit page. - Users: -Listing, editing, adding, and possibly reporting (activity, etc.) users for the -system. The reporting could be based on the bug logs, like who contributes the -most, who clears the most, etc. I don't know that we need the specific grant -options in Bugzilla (editusers.cgi) but we do need the permissions settings. - -Miscellaneous: - -Groups: -Do we want to replicate the groups functionality of Bugzilla? It's groups allow -the adminstrator to assign a set of users to a group, which is in turn related -to a project. This allows you to restrict bug viewability to a group of people. - +- User groups to be able to restrict user bug submissions to specific projects |
|
From: Benjamin C. <bc...@us...> - 2001-08-08 13:23:54
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv17166/admin
Modified Files:
project.php
Log Message:
Heh, don't want to leave that in there. :)
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- project.php 2001/08/08 13:18:15 1.6
+++ project.php 2001/08/08 13:23:50 1.7
@@ -1,7 +1,7 @@
<?php
include '../include.php';
-error_reporting(E_ALL);
+
function do_form($projectid = 0) {
global $q, $me, $name, $description, $active, $version, $u, $STRING, $now;
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 13:18:18
|
Update of /cvsroot/phpbt/phpbt/admin
In directory usw-pr-cvs1:/tmp/cvs-serv13420/admin
Modified Files:
project.php
Log Message:
A little bit of clean-up
Index: project.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/project.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- project.php 2001/08/07 13:50:07 1.5
+++ project.php 2001/08/08 13:18:15 1.6
@@ -1,9 +1,9 @@
<?php
include '../include.php';
-
+error_reporting(E_ALL);
function do_form($projectid = 0) {
- global $q, $me, $name, $description, $active, $version, $u, $STRING;
+ global $q, $me, $name, $description, $active, $version, $u, $STRING, $now;
// Validation
if (!$name = htmlspecialchars(trim($name)))
@@ -15,7 +15,6 @@
if ($error) { show_form($projectid, $error); return; }
if (!$active) $active = 0;
- $now = time();
if (!$projectid) {
$projectid = $q->nextid('Project');
$q->query("insert into Project (ProjectID, Name, Description, Active, CreatedBy, CreatedDate) values ($projectid , '$name', '$description', $active, $u, $now)");
@@ -122,13 +121,13 @@
}
function list_items() {
- global $me, $q, $t, $selrange, $order, $sort, $STRING;
+ global $me, $q, $t, $selrange, $order, $sort, $STRING, $TITLE, $page;
$t->set_file('content','projectlist.html');
$t->set_block('content','row','rows');
if (!$order) { $order = '1'; $sort = 'asc'; }
- $nr = $q->query("select count(*) from Project where ProjectID = '$projectid' order by $order $sort");
+ $nr = $q->query("select count(*) from Project");
list($selrange, $llimit, $npages, $pages) = multipages($nr,$page,
"order=$order&sort=$sort");
@@ -138,7 +137,7 @@
'first' => $llimit+1,
'last' => $llimit+$selrange > $nr ? $nr : $llimit+$selrange,
'records' => $nr,
- 'TITLE' => 'List Projects'
+ 'TITLE' => $TITLE['project']
));
$q->query("select * from Project order by $order $sort limit $llimit, $selrange");
@@ -158,7 +157,7 @@
);
sorting_headers($me, $headers, $order, $sort);
-
+ $i = 0;
while ($row = $q->grab()) {
$t->set_var(array(
'bgcolor' => (++$i % 2 == 0) ? '#dddddd' : '#ffffff',
@@ -177,11 +176,11 @@
$perm->check('Administrator');
-if ($op) switch($op) {
+if (isset($_gv['op'])) switch($_gv['op']) {
case 'add' : show_form(); break;
- case 'edit' : show_form($id); break;
-} elseif($submit) {
- do_form($id);
+ case 'edit' : show_form($_gv['id']); break;
+} elseif(isset($_pv['submit'])) {
+ do_form($_pv['id']);
} else list_items();
$t->pparse('main',array('content','wrap','main'));
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 13:18:17
|
Update of /cvsroot/phpbt/phpbt In directory usw-pr-cvs1:/tmp/cvs-serv13420 Modified Files: include.php strings-en.php Log Message: A little bit of clean-up Index: include.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/include.php,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- include.php 2001/08/08 04:01:46 1.18 +++ include.php 2001/08/08 13:18:15 1.19 @@ -52,6 +52,9 @@ $me2 = $REQUEST_URI; $selrange = 30; $now = time(); +$_gv = $HTTP_GET_VARS; +$_pv = $HTTP_POST_VARS; + $select['authlevels'] = array( 0 => 'Inactive', 1 => 'User', Index: strings-en.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/strings-en.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- strings-en.php 2001/08/08 04:01:46 1.9 +++ strings-en.php 2001/08/08 13:18:15 1.10 @@ -47,6 +47,7 @@ 'editproject' => 'Edit Project', 'addversion' => 'Add Version', 'editversion' => 'Edit Version', + 'project' => 'Projects', 'os' => 'Operating Systems', 'resolution' => 'Resolutions', 'status' => 'Statuses', |
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:27:36
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv20093
Modified Files:
global.css
Log Message:
HTML cleanup
Index: global.css
===================================================================
RCS file: /cvsroot/phpbt/phpbt/global.css,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- global.css 2001/08/07 13:49:45 1.2
+++ global.css 2001/08/08 04:27:33 1.3
@@ -1,129 +1,49 @@
-body { margin: 4px; }
+body {
+ margin: 4px;
+ font-size: 12px;
+ }
-td {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 11px; }
-th {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 11px; }
-
a:link { text-decoration: none }
a:visited { text-decoration: none }
a:active { text-decoration: none }
-
-#hgnewstitle {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 18pt;
- font-weight: bold;
- line-height: 1.01em; }
-
-#lgnewstitle {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 19pt;
- font-weight: bold; }
-
-#mdnewstitle {
- font-family: "Verdana","Helvetica","Arial","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 13pt; }
-
-#mdnewstitlebold {
- font-family: "Verdana","Helvetica","Arial","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 13pt;
- font-weight: bold; }
-
-#lead {
- font-family: "Verdana","Helvetica","Arial","MS Sans Serif","Sans-Serif";
- font-size: 13pt; }
-
-#author {
- font-family: "Verdana","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 10px; }
+a:hover { text-decoration: underline; }
-#deckfont {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 10.5pt;
- line-height: 1.2em; }
-
-#stockfontb {
+td {
+ font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
+ font-size: 12px;
+ }
+
+th {
+ font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
+ font-size: 12px;
+ }
+
+select {
+ font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
+ font-size: 12px;
+ }
+
+input {
+ font-size: 12px;
+ }
+
+textarea {
+ font-size: 12px;
+ }
+
+.navfont {
font-family: "Verdana","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 10px; }
-
-#stockfont {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 10.5pt;
- line-height: 1.2em; }
-
-#stockfontw {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(255,255,255);
- font-size: 10px; }
-
-#smallfont {
- font-family: "Tahoma","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 9px; }
-
-#smalltitleb {
- font-family: "Tahoma","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 9px;
- font-weight: bold; }
-
-#smalltitlew {
- font-family: "Tahoma","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(255,255,255);
- font-size: 9px;
- font-weight: bold; }
-
-#mediumtitle {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(0,0,0);
- font-size: 11px;
- font-weight: bold; }
-
-#lnavtitle {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
- color: rgb(255,255,255);
- font-size: 11px;
- font-weight: bold; }
-
-#hugetitle {
- font-family: "Arial","Helvetica","MS Sans Serif","Sans-Serif";
color: rgb(0,0,0);
- font-size: 20px;
- font-weight: bold; }
+ font-size: 10px;
+ }
-#largetitle {
- font-family: "Tahoma","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 13pt;
- font-weight: bold;
- color: #ffffff; }
-
-#medtitle {
- font-family: "Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 10pt;
- font-weight: bold;
- color: #ffffff; }
-
-#smalltitle {
- font-family: "Tahoma","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-size: 8pt;
- font-weight: bold;
- color: #ffffff; }
-
-#navfont {
- font-family: "Tahoma","Arial","Helvetica","MS Sans Serif","Sans-Serif";
- font-weight: bold;
- font-size: 8pt; }
-
-#rtitlecell {
- background-color: #003366;
- text-align: center; }
-
-.login-box { vertical-align: text-bottom; font-size: 10px; }
-input[type="text"].login-box { padding-top: 0.1em; padding-left: 0.2em; padding-right: 0.2em; }
\ No newline at end of file
+.login-box {
+ vertical-align: text-bottom;
+ font-size: 10px;
+ }
+
+input[type="text"].login-box {
+ padding-top: 0.1em;
+ padding-left: 0.2em;
+ padding-right: 0.2em;
+ }
\ No newline at end of file
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:27:36
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv20093/templates/default
Modified Files:
badperm.html wrap.html
Log Message:
HTML cleanup
Index: badperm.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/badperm.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- badperm.html 2001/08/08 04:01:46 1.1
+++ badperm.html 2001/08/08 04:27:33 1.2
@@ -1,7 +1,7 @@
<table border="0" width="640">
<tr>
<td align="center">
- You must first login before you can edit bugs or add new ones.
+ You must first login before using this page.
</td>
</tr>
</table>
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/wrap.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- wrap.html 2001/08/08 04:01:46 1.4
+++ wrap.html 2001/08/08 04:27:33 1.5
@@ -11,7 +11,7 @@
</tr>
<tr>
<td width="540" valign="middle">
- <font id="stockfontb"><b>
+ <font class="navfont"><b>
[
<a href="index.php">Home</a> |
<a href="bug.php?op=add">Enter Bug</a> |
@@ -21,7 +21,7 @@
</b></font>
</td>
<td width="100" align="right" valign="middle">
- <font id="stockfontb"><b>
+ <font class="navfont"><b>
<!-- BEGIN adminnavblock -->
[
<a href="admin/project.php">Admin Tools</a>
@@ -56,7 +56,7 @@
<!-- END loginblock -->
<!-- BEGIN logoutblock -->
<td>
- <font id="stockfontb"><b>
+ <font class="navfont"><b>
[ <a href="user.php">Personal Page</a>
| <a href="logout.php">Logout {loggedinas}</a>
]
@@ -65,3 +65,5 @@
<!-- END logoutblock -->
</tr>
</table>
+</body>
+</html>
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:27:36
|
Update of /cvsroot/phpbt/phpbt/admin/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv20093/admin/templates/default
Modified Files:
wrap.html
Log Message:
HTML cleanup
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/templates/default/wrap.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- wrap.html 2001/08/08 04:01:46 1.4
+++ wrap.html 2001/08/08 04:27:33 1.5
@@ -11,7 +11,7 @@
</tr>
<tr>
<td width="540">
- <font id="stockfontb"><b>
+ <font class="navfont"><b>
[
<a href="project.php">Projects</a> |
<a href="user.php">Users</a> |
@@ -22,7 +22,7 @@
</b></font>
</td>
<td width="100" align="right">
- <font id="stockfontb"><b>
+ <font class="navfont"><b>
[
<a href="../index.php">User Tools</a>
]
@@ -54,12 +54,17 @@
<!-- END loginblock -->
<!-- BEGIN logoutblock -->
<td>
- <font id="stockfontb"><b>
+ <font class="navfont"><b>
[ <a href="user.php">Personal Page</a>
- | <a href="logout.php">Logout {loggedinas}</a>
+ | <a href="../logout.php">Logout {loggedinas}</a>
]
</b></font>
</td>
<!-- END logoutblock -->
</tr>
</table>
+<!-- BEGIN adminnavblock -->
+
+<!-- END adminnavblock -->
+</body>
+</html>
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:27:26
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv20057
Modified Files:
user.php
Log Message:
Prevent access when user is not logged in
Index: user.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/user.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- user.php 2001/08/07 13:50:07 1.4
+++ user.php 2001/08/08 04:27:23 1.5
@@ -37,6 +37,7 @@
}
$t->set_file('wrap', 'wrap.html');
+$perm->check('User');
if ($do) change_password($pass1, $pass2);
else show_password_form();
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:01:49
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv16292
Modified Files:
bug.php include.php query.php strings-en.php
Log Message:
Anonymous browsing wrap-up -- It should work now (tm)
Index: bug.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/bug.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- bug.php 2001/08/07 13:50:07 1.17
+++ bug.php 2001/08/08 04:01:46 1.18
@@ -324,7 +324,7 @@
}
function show_bug($bugid = 0, $error = '') {
- global $q, $me, $t, $project, $STRING;
+ global $q, $me, $t, $project, $STRING, $u;
if (!ereg('^[0-9]+$',$bugid) or !$row = $q->grab("select BugID, Title, 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 User Reporter on Bug.CreatedBy = Reporter.UserID left join Resolution on Resolution = ResolutionID where BugID = '$bugid' and Severity = SeverityID and Status = StatusID")) {
show_text($STRING['bugbadnum'],true);
@@ -361,7 +361,9 @@
'component' => build_select('Component',$row['Component'],$row['Project']),
'os' => build_select('OS',$row['OS']),
'browserstring' => $row['BrowserString'],
- 'bugresolution' => build_select('Resolution')
+ 'bugresolution' => build_select('Resolution'),
+ 'submit' => $u == 'nobody' ? $STRING['logintomodify'] :
+ '<input type="submit" value="Submit">'
));
switch($row['Status']) {
case 'Unconfirmed' :
@@ -442,6 +444,7 @@
switch($op) {
case 'history' : show_history($bugid); break;
case 'add' :
+ $perm->check('User');
if ($project) show_form();
else show_projects();
break;
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- include.php 2001/08/07 13:48:52 1.17
+++ include.php 2001/08/08 04:01:46 1.18
@@ -92,21 +92,6 @@
global $username, $password, $q, $select, $emailpass, $emailsuccess, $STRING;
if (!$username) return 'nobody';
- if ($emailpass) {
- list($email, $password) = $q->grab("select Email, Password from User where Email = '$username' and UserLevel > 0");
- 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);
@@ -404,9 +389,34 @@
// Check to see if the user is trying to login
if (isset($HTTP_POST_VARS['login'])) {
- $auth->auth['uid'] = $auth->auth_validatelogin();
- if ($auth->auth['uid'] == 'nobody') {
- $t->set_var('loginerror', 'Invalid login');
+ if (isset($HTTP_POST_VARS['sendpass'])) {
+ list($email, $password) = $q->grab("select Email, Password from User where Email = '$username' and UserLevel > 0");
+ if (!$q->num_rows()) {
+ $t->set_var(array(
+ 'loginerrorcolor' => '#ff0000',
+ 'loginerror' => 'Invalid login<br>'
+ ));
+ } else {
+ 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);
+ $t->set_var(array(
+ 'loginerrorcolor' => '#0000ff',
+ 'loginerror' => 'Your password has been emailed to you<br>'
+ ));
+ }
+ } else {
+ $auth->auth['uid'] = $auth->auth_validatelogin();
+ if ($auth->auth['uid'] == 'nobody') {
+ $t->set_var(array(
+ 'loginerrorcolor' => '#ff0000',
+ 'loginerror' => 'Invalid login<br>'
+ ));
+ }
}
}
Index: query.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/query.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- query.php 2001/08/07 13:50:07 1.9
+++ query.php 2001/08/08 04:01:46 1.10
@@ -17,7 +17,8 @@
$nq = new dbclass;
$t->set_file('content','queryform.html');
- $t->set_block('content','row','rows');
+ $t->set_block('content', 'savequeryblock', 'sqblock');
+ $t->set_block('savequeryblock','row','rows');
// Build the javascript-powered select boxes
$q->query("select ProjectID, Name from Project where Active order by Name");
@@ -41,19 +42,24 @@
$js .= ");\n";
}
- // Grab the saved queries if there are any
- $q->query("select * from SavedQuery where UserID = $u");
- if (!$q->num_rows()) {
- $t->set_var('rows','');
- } else {
- while ($row = $q->grab()) {
- $t->set_var(array(
- 'savedquerystring' => $row['SavedQueryString'],
- 'savedqueryname' => stripslashes($row['SavedQueryName']),
- 'savedqueryid' => $row['SavedQueryID']
- ));
- $t->parse('rows', 'row', true);
+ if ($u != 'nobody') {
+ // Grab the saved queries if there are any
+ $q->query("select * from SavedQuery where UserID = '$u'");
+ if (!$q->num_rows()) {
+ $t->set_var('rows','');
+ } else {
+ while ($row = $q->grab()) {
+ $t->set_var(array(
+ 'savedquerystring' => $row['SavedQueryString'],
+ 'savedqueryname' => stripslashes($row['SavedQueryName']),
+ 'savedqueryid' => $row['SavedQueryID']
+ ));
+ $t->parse('rows', 'row', true);
+ }
}
+ $t->parse('sqblock', 'savequeryblock', true);
+ } else {
+ $t->set_var('sqblock', '');
}
$t->set_var(array(
Index: strings-en.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/strings-en.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- strings-en.php 2001/08/06 03:28:32 1.8
+++ strings-en.php 2001/08/08 04:01:46 1.9
@@ -30,7 +30,8 @@
'bugbadnum' => 'That bug does not exist',
'datecollision' => 'Someone has updated this bug since you viewed it. The bug info has been reloaded with the latest changes.',
'passwordmatch' => 'Those passwords don\'t match -- please try again',
- 'nobughistory' => 'There is no history for that bug'
+ 'nobughistory' => 'There is no history for that bug',
+ 'logintomodify' => 'You must be logged in to modify this bug'
);
// Page titles
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:01:49
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv16292/templates/default
Modified Files:
bugdisplay.html queryform.html wrap.html
Added Files:
badperm.html
Log Message:
Anonymous browsing wrap-up -- It should work now (tm)
--- NEW FILE: badperm.html ---
<table border="0" width="640">
<tr>
<td align="center">
You must first login before you can edit bugs or add new ones.
</td>
</tr>
</table>
Index: bugdisplay.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/bugdisplay.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bugdisplay.html 2001/08/01 13:55:56 1.1
+++ bugdisplay.html 2001/08/08 04:01:46 1.2
@@ -124,7 +124,7 @@
<br>
<br>
<div align="right">
- <input type='submit' name='submit' value='Submit'>
+ {submit}
</div>
</td>
</tr>
Index: queryform.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/queryform.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- queryform.html 2001/08/06 13:37:03 1.2
+++ queryform.html 2001/08/08 04:01:46 1.3
@@ -208,20 +208,21 @@
</nobr>
<br>
<br>
- Save this query as: <input maxlength="40" type="text" name="savedqueryname">
- <br>
<input type="reset" value="Reset back to the default query">
<input type="submit" value="Submit query">
+ <!-- BEGIN savequeryblock -->
+ <br>
+ Save this query as: <input maxlength="40" type="text" name="savedqueryname">
+ <hr align="left" size="1" width="640">
+ <b>Saved Queries</b>
+ <br>
+ <a href="{me}?op=mybugs">List bugs assigned to me</a>
+ <br>
+ <!-- BEGIN row -->
+ <a href="{me}?{savedquerystring}">{savedqueryname}</a> (<a href="{me}?op=delquery&queryid={savedqueryid}" onClick="return confirm('Are you sure you want to delete this saved query?');">Delete</a>)<br>
+ <!-- END row -->
+ <!-- END savequeryblock -->
</form>
- <hr align="left" size="1" width="640">
- <b>Saved Queries</b>
- <br>
- <a href="{me}?op=mybugs">List bugs assigned to me</a>
- <br>
- <!-- BEGIN row -->
- <a href="{me}?{savedquerystring}">{savedqueryname}</a> (<a href="{me}?op=delquery&queryid={savedqueryid}" onClick="return confirm('Are you sure you want to delete this saved query?');">Delete</a>)<br>
- <!-- END row -->
-
</body>
</html>
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/wrap.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- wrap.html 2001/08/07 21:50:10 1.3
+++ wrap.html 2001/08/08 04:01:46 1.4
@@ -44,12 +44,13 @@
<!-- BEGIN loginblock -->
<td class="login-box" nowrap>
<form method="post" action="{me2}">
- <font color="#ff0000"><b>{loginerror}<b></font>
+ <font color="{loginerrorcolor}"><b>{loginerror}<b></font>
Email: <input type="text" name="username" class="login-box">
Password: <input type="password" name="password" class="login-box">
<!--<input type="image" border="0" name="login" value="doit" src="go.gif" width="30" height="20" align="middle" class="login-button">-->
<input type="hidden" name="login" value="1">
<input type="submit" value="Login" class="login-box">
+ <input type="submit" name="sendpass" value="Email Password" class="login-box" title="Forgot your password? Have it sent to you">
</form>
</td>
<!-- END loginblock -->
|
|
From: Benjamin C. <bc...@us...> - 2001-08-08 04:01:49
|
Update of /cvsroot/phpbt/phpbt/admin/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv16292/admin/templates/default
Modified Files:
wrap.html
Log Message:
Anonymous browsing wrap-up -- It should work now (tm)
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/templates/default/wrap.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- wrap.html 2001/08/07 21:50:10 1.3
+++ wrap.html 2001/08/08 04:01:46 1.4
@@ -42,12 +42,13 @@
<!-- BEGIN loginblock -->
<td class="login-box">
<form method="post" action="{me2}">
- <font color="#ff0000"><b>{loginerror}<b></font>
+ <font color="{loginerrorcolor}"><b>{loginerror}<b></font>
Email: <input type="text" name="username" class="login-box">
Password: <input type="password" name="password" class="login-box">
<!--<input type="image" border="0" name="login" value="doit" src="go.gif" width="30" height="20" align="middle" class="login-button">-->
<input type="hidden" name="login" value="1">
<input type="submit" value="Login" class="login-box">
+ <input type="submit" name="sendpass" value="Email Password" class="login-box" title="Forgot your password? Have it sent to you">
</form>
</td>
<!-- END loginblock -->
|
|
From: Benjamin C. <bc...@us...> - 2001-08-07 21:50:13
|
Update of /cvsroot/phpbt/phpbt/admin/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv13709/admin/templates/default
Modified Files:
wrap.html
Log Message:
Clean it up a wee bit
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/admin/templates/default/wrap.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wrap.html 2001/08/07 13:48:52 1.2
+++ wrap.html 2001/08/07 21:50:10 1.3
@@ -42,6 +42,7 @@
<!-- BEGIN loginblock -->
<td class="login-box">
<form method="post" action="{me2}">
+ <font color="#ff0000"><b>{loginerror}<b></font>
Email: <input type="text" name="username" class="login-box">
Password: <input type="password" name="password" class="login-box">
<!--<input type="image" border="0" name="login" value="doit" src="go.gif" width="30" height="20" align="middle" class="login-button">-->
|
|
From: Benjamin C. <bc...@us...> - 2001-08-07 21:50:13
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory usw-pr-cvs1:/tmp/cvs-serv13709/templates/default
Modified Files:
wrap.html
Log Message:
Clean it up a wee bit
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/wrap.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- wrap.html 2001/08/07 13:48:52 1.2
+++ wrap.html 2001/08/07 21:50:10 1.3
@@ -44,13 +44,13 @@
<!-- BEGIN loginblock -->
<td class="login-box" nowrap>
<form method="post" action="{me2}">
+ <font color="#ff0000"><b>{loginerror}<b></font>
Email: <input type="text" name="username" class="login-box">
Password: <input type="password" name="password" class="login-box">
<!--<input type="image" border="0" name="login" value="doit" src="go.gif" width="30" height="20" align="middle" class="login-button">-->
<input type="hidden" name="login" value="1">
<input type="submit" value="Login" class="login-box">
</form>
- <font color="#ff0000">{loginerror}</font>
</td>
<!-- END loginblock -->
<!-- BEGIN logoutblock -->
|