560 Commits

Author SHA1 Message Date
terry%mozilla.org
b462eb8895 Don't stomp on bugs timestamps when adding the new everconfirmed field.
git-svn-id: svn://10.0.0.236/trunk@61312 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 20:03:17 +00:00
terry%mozilla.org
7c8f6fdd29 Check that we have defined a shadow db before trying to use it.
git-svn-id: svn://10.0.0.236/trunk@61309 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 19:33:42 +00:00
terry%mozilla.org
05f557acde Make reports work off of the the shadow database.
git-svn-id: svn://10.0.0.236/trunk@61267 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 01:15:21 +00:00
terry%mozilla.org
bb2fa772cd Fixed some functions in buglist.cgi that won't work if we're hooked up
to the shadow database.


git-svn-id: svn://10.0.0.236/trunk@61258 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:50:25 +00:00
terry%mozilla.org
9776dfd5d7 Wasn't always tweaking LOCK TABLES commands correctly when shadowing. And finally fixed it to actually generate useful SQL error messages.
git-svn-id: svn://10.0.0.236/trunk@61255 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:43:56 +00:00
terry%mozilla.org
f6643e69b0 Added an optional ability to keep a read-only shadow database, so that
bug queries can be run against it, so that these slow queries won't be
able to tie up the rest of the system.


git-svn-id: svn://10.0.0.236/trunk@61227 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 21:41:39 +00:00
terry%mozilla.org
d2cb16eefe Fixed bug where it was complaining that people without permissions
were changing the resolution, even if they weren't.


git-svn-id: svn://10.0.0.236/trunk@61208 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 19:27:46 +00:00
terry%mozilla.org
4ac25fbcaa Was crashing when logging profile activity.
git-svn-id: svn://10.0.0.236/trunk@61206 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 16:46:36 +00:00
terry%mozilla.org
dae95aec80 Oops; had the name of the "editbugs" group typed in wrong in a couple
of places.


git-svn-id: svn://10.0.0.236/trunk@61204 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:59:56 +00:00
terry%mozilla.org
567c73317f Display all possible state transitions in a bug if the user is not
logged in.  Since they haven't logged in, we don't know what they will
be allowed to do.  And users who disable cookies tend to pretty often
not be logged in.


git-svn-id: svn://10.0.0.236/trunk@61203 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:53:40 +00:00
terry%mozilla.org
e852b90ee9 Put the "users" link in the trailer for people who are able to tweak
the permissions of other users.


git-svn-id: svn://10.0.0.236/trunk@61202 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:52:12 +00:00
terry%mozilla.org
c89b3577c6 Ignore leading and trailing whitespace when trying to decide if
someone changed something.


git-svn-id: svn://10.0.0.236/trunk@61198 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:11:37 +00:00
terry%mozilla.org
abd1d1a770 Removed stupid debugging printf.
git-svn-id: svn://10.0.0.236/trunk@61197 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 15:09:32 +00:00
terry%mozilla.org
2a81db3471 Fixed icky infinite loop bug.
git-svn-id: svn://10.0.0.236/trunk@61195 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 14:57:57 +00:00
terry%mozilla.org
ab0f9ec310 Was crapping out if strictvaluechecks was turned on.
git-svn-id: svn://10.0.0.236/trunk@61194 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 14:49:33 +00:00
terry%mozilla.org
86a0cf8cc4 Major spankage. Added a new state, UNCONFIRMED. Added new groups,
"editbugs" and "canconfirm".  People without these states are now much
more limited in what they can do.

For backwards compatability, by default all users will have the
editbugs and canconfirm bits on them.  Installing this changes as is
should only have one major visible effect -- an UNCONFIRMED state
will appear in the query page.  But no bugs will become in that state,
until you tweak some of the new voting-related parameters you'll find
when editing products.


git-svn-id: svn://10.0.0.236/trunk@61184 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 05:15:23 +00:00
terry%mozilla.org
fc13249e9b Lock the tables as low-priority when writing. Maybe makes people making changes wait longer, but people doing read-only stuff should now never block for very long.
git-svn-id: svn://10.0.0.236/trunk@60925 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 21:29:14 +00:00
terry%mozilla.org
347c4be406 Patches by Ken Jenks <kjenks@abiblion.com> and jug@tellux.de -- make the Javascript behave under IE5 and under Netscape 3.x
git-svn-id: svn://10.0.0.236/trunk@60909 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 18:56:31 +00:00
terry%mozilla.org
2140cc12ce Patches by Ken Jenks <kjenks@abiblion.com> and jug@tellux.de -- make the Javascript behave under IE5 and under Netscape 3.x
git-svn-id: svn://10.0.0.236/trunk@60747 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 23:29:20 +00:00
seth%cs.brandeis.edu
3c86f1bd47 This implements canonical email address transformation. i.e., you have the option of setting up bug_email.pl to search the profiles database for a username which has the same username (before the @) same username and base domain (seth@cs.brandeis.edu = seth@job.cs.brandeis.edu) or identical email address (old behavior) based on the From email address. See the code for a more sensical description.
git-svn-id: svn://10.0.0.236/trunk@60635 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 14:39:47 +00:00
seth%cs.brandeis.edu
abd4179663 o this is a minor step towards getting canonical email addresses to work, and not via a gross hack (the script with a gross hack is in use in a production environment, so ...)
Anyways, this address the findUser() sub and email transforms of none, base domain, and name only.  base_domain is not properly implemented yet.  an email transform of none does an exact match on email addresses in the profiles table.  A name only transform does a regular expression match (via mysql's RLIKE operator) on the name portion of the address (i.e., seth from seth@job.cs.brandeis.edu).  This is sloppy, but useful in an environment where there are only a few users.

the base_domain is next, probably tomorrow.  I need to figure out how to implement it first.


git-svn-id: svn://10.0.0.236/trunk@60618 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 02:16:11 +00:00
seth%cs.brandeis.edu
e350e961cf this is the initial checkin of the bug_email.pl script into the bugzilla cvs tree under the contrib directory. This is not my code, but I'm championing its maintanence right now, since I'm using and hacking on it heavily. The list of contributors can be found in the file itself.
Changes I've made :
- updated to the newest CVS pull of bugzilla
- works out of contrib/bugzilla
- put in the MPL license header

Directions for use are in the file itself.  Essentially, you put in a procmailrc entry which cats the message to this script.

Changes coming in the near future ...

- canonical email transformation (i.e., seth@job.cs.brandeis.edu == seth@cs.brandeis.edu)
- default product and component (i.e., if you don't specify a product and component, it goes into a PENDING product)
- querying a bug over email
- appending a bug over email
- keywords over email
- use the globals.pl parameters functionality to edit and save this script's parameters
- integrate some setup in the checksetup.pl script

FWIW, the first two things are necessary for this to be useful in my setup, so they get an overwhelming bit of priority


git-svn-id: svn://10.0.0.236/trunk@60596 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 16:13:01 +00:00
terry%mozilla.org
59975be873 Patch by Hugo Frappier <hfrappier@dreammechanics.com> -- make the
"check all" and "uncheck all" buttons work on IE.


git-svn-id: svn://10.0.0.236/trunk@60230 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 11:55:07 +00:00
terry%mozilla.org
b3752b5c3a Get rid of a bit of unused Javascript code.
git-svn-id: svn://10.0.0.236/trunk@60229 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 11:43:10 +00:00
terry%mozilla.org
2a5a73c8a7 Make the "mail a new password" text be a param.
git-svn-id: svn://10.0.0.236/trunk@59997 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 22:11:55 +00:00
terry%mozilla.org
cd9f027a36 The "put this named query in the footer" feature was choking if the
name of the query had a space in it.


git-svn-id: svn://10.0.0.236/trunk@59813 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-05 00:38:15 +00:00
terry%mozilla.org
b7fa516b57 Add an optional ability to stagger the headers in the bug list, which
is uglier, but often squeezes things better horizontally.


git-svn-id: svn://10.0.0.236/trunk@59769 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 14:08:00 +00:00
terry%mozilla.org
a34689d0d7 Simplify dependency wording.
git-svn-id: svn://10.0.0.236/trunk@59528 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 17:43:34 +00:00
terry%mozilla.org
2ac8c7cbdc Whoops, searches of "Comment changed (before|after)" were not working
correctly.


git-svn-id: svn://10.0.0.236/trunk@59521 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 14:42:11 +00:00
terry%mozilla.org
598ef417a3 Nothing was checking that the bug number you entered for a duplicate
bug was actually a legal bug number.


git-svn-id: svn://10.0.0.236/trunk@59436 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 23:48:13 +00:00
terry%mozilla.org
13c83ee967 REOPENing a bug now clears the resolution; most people will agree it
should have always had this behavior.


git-svn-id: svn://10.0.0.236/trunk@59292 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:50:10 +00:00
terry%mozilla.org
fcb7656f7a The "And" and "Or" buttons now work faster, if you have Javascript
enabled.  (If you don't have Javascript, they work just like they did
before.)


git-svn-id: svn://10.0.0.236/trunk@59257 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 18:19:44 +00:00
terry%mozilla.org
ae675b6ee0 Allow searching of attachment stuff using boolean charts.
git-svn-id: svn://10.0.0.236/trunk@59236 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 19:21:43 +00:00
terry%mozilla.org
1b11bda8e9 Patch by aclark@ghoti.org -- use localconfig file to get database
connection info.


git-svn-id: svn://10.0.0.236/trunk@59198 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 20:22:44 +00:00
terry%mozilla.org
37dbca9259 Patch by aclark@ghoti.org -- clear the accumulation buffer before using it.
git-svn-id: svn://10.0.0.236/trunk@59197 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 20:13:30 +00:00
terry%mozilla.org
5aba3d4b8d Don't regenerate the shadow database until we're sure that our DB is
up to snuff with what processmail expects.


git-svn-id: svn://10.0.0.236/trunk@59195 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 20:07:05 +00:00
terry%mozilla.org
cd6309da7f Fixed busted mailto: link.
git-svn-id: svn://10.0.0.236/trunk@59092 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 20:36:26 +00:00
terry%mozilla.org
60bd657d44 The "Show list" link that is supposed to quickly get you back to the
list of bugs you queried for was busted.


git-svn-id: svn://10.0.0.236/trunk@59084 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 16:39:29 +00:00
terry%mozilla.org
c137c2c7c8 Apparently, you're supposed to put "#foo" stuff in a URL after all the
"?" and "&" stuff.  IE doesn't work if you don't.


git-svn-id: svn://10.0.0.236/trunk@59083 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 16:18:10 +00:00
terry%mozilla.org
4eb4b511c1 Was crashing if you weren't already logged in.
git-svn-id: svn://10.0.0.236/trunk@59035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 07:15:44 +00:00
terry%mozilla.org
8c1f0c2799 Allow searching by "last change date" in the boolean charts.
git-svn-id: svn://10.0.0.236/trunk@58991 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:28:55 +00:00
terry%mozilla.org
982cc6b9f0 Massive stomp on the query page and buglist page. Added the ability
to use the "boolean charts" to do very powerful queries.


git-svn-id: svn://10.0.0.236/trunk@58980 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 01:01:40 +00:00
terry%mozilla.org
3242be15eb Patch by granrose@netscape.com -- put initial focus into bug# field.
git-svn-id: svn://10.0.0.236/trunk@58856 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 00:56:33 +00:00
terry%mozilla.org
1bf86732da Add support for keywords.
git-svn-id: svn://10.0.0.236/trunk@58841 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:15:30 +00:00
terry%mozilla.org
3ee121dbed Patch by Rob Baham <robb@scitechsoft.com> -- links to other bugs
should be relative URLs, not absolute.


git-svn-id: svn://10.0.0.236/trunk@58813 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:56:24 +00:00
terry%mozilla.org
ef669d4919 Allow searches for "all keywords" or "no keywords"; fixed some other
bugs around keyword queries.


git-svn-id: svn://10.0.0.236/trunk@58807 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:48:36 +00:00
terry%mozilla.org
0fbb96c5ae Add a way to log all SQL requests made.
git-svn-id: svn://10.0.0.236/trunk@58806 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:47:55 +00:00
terry%mozilla.org
4a1da59e9a If adding the new "lastdiffed" field, it works out better to
initialize it to "now", not to "delta_ts".


git-svn-id: svn://10.0.0.236/trunk@58805 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:17:36 +00:00
terry%mozilla.org
91a53b4cba Fixed minor grammatical typo.
git-svn-id: svn://10.0.0.236/trunk@58577 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 07:57:35 +00:00
terry%mozilla.org
f390ae9051 Reworked preferences UI. Added ability to turn off "My bugs" link at
bottom.  Made "My bugs" show bugs you own AND bugs you submitted.
Added ability to display your named queries in the footer.  Many
random bugfixes.


git-svn-id: svn://10.0.0.236/trunk@58576 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 07:54:57 +00:00