Commit Graph

525 Commits

Author SHA1 Message Date
terry%mozilla.org
23f8154856 Was choking on order='Importance'. 2000-03-07 21:04:35 +00:00
seth%cs.brandeis.edu
c70a2b380b * this adds in DEFAULT_PRODUCT and DEFAULT_COMPONENT functionality to the
bug_email.pl script.  See comments in the script itself for how it works.
2000-03-07 20:39:38 +00:00
dmose%mozilla.org
768c94cd6f added hack for NSS bug injection 2000-03-07 20:03:52 +00:00
terry%mozilla.org
bf2aac5b81 Fixed stupid syntax error in last patch. 2000-03-07 19:27:41 +00:00
terry%mozilla.org
3a5e7f06af Patch by "David Gardiner" <david.gardiner@unisa.edu.au> -- recognize
more useragent strings.
2000-03-07 18:52:27 +00:00
terry%mozilla.org
c3ae7bc600 Patch by Brian Duggan <bduggan@oven.com> -- security improvements. 2000-03-07 18:23:00 +00:00
terry%mozilla.org
041b24d11c Contribution by Eli Goldberg <eli@prometheus-music.com> -- generic
bug-writing guidelines.
2000-03-07 18:00:24 +00:00
terry%mozilla.org
b09009c9db Submission by Klaas Freitag <freitag@suse.de>. 2000-03-07 17:36:48 +00:00
terry%mozilla.org
0e0fd005d7 Patch by Olaf Krische <krische@mbi-berlin.de> -- Fixed HTML typos. 2000-03-07 17:32:51 +00:00
terry%mozilla.org
993a18a07c Fixed very stupid typo. 2000-03-06 23:21:51 +00:00
terry%mozilla.org
10626c1f40 Make a universal routine to report errors in forms, so that we can
have a universal (and more noticable) way of displaying them.
2000-02-25 19:32:47 +00:00
terry%mozilla.org
7895407330 If there is only one project allowing new bugs, don't bother prompting
for which project to use.
2000-02-25 18:55:41 +00:00
terry%mozilla.org
1711899c6a Fixed to cope with new longdescs table. 2000-02-24 17:54:56 +00:00
terry%mozilla.org
edcc54480b Cut down on the number of syncshadowdb processes we fork off. 2000-02-18 21:38:23 +00:00
terry%mozilla.org
1bb290aedb Don't stomp on bugs timestamps when adding the new everconfirmed field. 2000-02-18 20:03:17 +00:00
terry%mozilla.org
3ab2815fc6 Check that we have defined a shadow db before trying to use it. 2000-02-18 19:33:42 +00:00
terry%mozilla.org
2e951c9f45 Make reports work off of the the shadow database. 2000-02-18 01:15:21 +00:00
terry%mozilla.org
f16e1a83d9 Fixed some functions in buglist.cgi that won't work if we're hooked up
to the shadow database.
2000-02-18 00:50:25 +00:00
terry%mozilla.org
890e5ce7c0 Wasn't always tweaking LOCK TABLES commands correctly when shadowing. And finally fixed it to actually generate useful SQL error messages. 2000-02-18 00:43:56 +00:00
terry%mozilla.org
732a4ab9f6 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.
2000-02-17 21:41:39 +00:00
terry%mozilla.org
dd5e744669 Fixed bug where it was complaining that people without permissions
were changing the resolution, even if they weren't.
2000-02-17 19:27:46 +00:00
terry%mozilla.org
d8660034bf Was crashing when logging profile activity. 2000-02-17 16:46:36 +00:00
terry%mozilla.org
0971c5f33a Oops; had the name of the "editbugs" group typed in wrong in a couple
of places.
2000-02-17 15:59:56 +00:00
terry%mozilla.org
b995fd3665 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.
2000-02-17 15:53:40 +00:00
terry%mozilla.org
c67a07d986 Put the "users" link in the trailer for people who are able to tweak
the permissions of other users.
2000-02-17 15:52:12 +00:00
terry%mozilla.org
29a6c841a0 Ignore leading and trailing whitespace when trying to decide if
someone changed something.
2000-02-17 15:11:37 +00:00
terry%mozilla.org
eb2c661f2f Removed stupid debugging printf. 2000-02-17 15:09:32 +00:00
terry%mozilla.org
98315867d7 Fixed icky infinite loop bug. 2000-02-17 14:57:57 +00:00
terry%mozilla.org
96c88c41ae Was crapping out if strictvaluechecks was turned on. 2000-02-17 14:49:33 +00:00
terry%mozilla.org
718ebdae52 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.
2000-02-17 05:15:23 +00:00
terry%mozilla.org
cd28f843c4 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. 2000-02-15 21:29:14 +00:00
terry%mozilla.org
b9a6025e36 Patches by Ken Jenks <kjenks@abiblion.com> and jug@tellux.de -- make the Javascript behave under IE5 and under Netscape 3.x 2000-02-15 18:56:31 +00:00
terry%mozilla.org
c68d5dc421 Patches by Ken Jenks <kjenks@abiblion.com> and jug@tellux.de -- make the Javascript behave under IE5 and under Netscape 3.x 2000-02-14 23:29:20 +00:00
seth%cs.brandeis.edu
b4576aa5f8 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. 2000-02-13 14:39:47 +00:00
seth%cs.brandeis.edu
2ea4a085fd 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.
2000-02-13 02:16:11 +00:00
seth%cs.brandeis.edu
3ec3bdfede 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
2000-02-12 16:13:01 +00:00
terry%mozilla.org
7edec295ef Patch by Hugo Frappier <hfrappier@dreammechanics.com> -- make the
"check all" and "uncheck all" buttons work on IE.
2000-02-09 11:55:07 +00:00
terry%mozilla.org
e8387534b5 Get rid of a bit of unused Javascript code. 2000-02-09 11:43:10 +00:00
terry%mozilla.org
775039658f Make the "mail a new password" text be a param. 2000-02-07 22:11:55 +00:00
terry%mozilla.org
ddce554873 The "put this named query in the footer" feature was choking if the
name of the query had a space in it.
2000-02-05 00:38:15 +00:00
terry%mozilla.org
62670f8a79 Add an optional ability to stagger the headers in the bug list, which
is uglier, but often squeezes things better horizontally.
2000-02-04 14:08:00 +00:00
terry%mozilla.org
0e87750ee7 Simplify dependency wording. 2000-02-02 17:43:34 +00:00
terry%mozilla.org
2739f5a184 Whoops, searches of "Comment changed (before|after)" were not working
correctly.
2000-02-02 14:42:11 +00:00
terry%mozilla.org
07aac12aff Nothing was checking that the bug number you entered for a duplicate
bug was actually a legal bug number.
2000-02-01 23:48:13 +00:00
terry%mozilla.org
2440cb6a46 REOPENing a bug now clears the resolution; most people will agree it
should have always had this behavior.
2000-01-31 22:50:10 +00:00
terry%mozilla.org
b697d86bb0 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.)
2000-01-31 18:19:44 +00:00
terry%mozilla.org
bd4ad592f0 Allow searching of attachment stuff using boolean charts. 2000-01-30 19:21:43 +00:00
terry%mozilla.org
201000c9ad Patch by aclark@ghoti.org -- use localconfig file to get database
connection info.
2000-01-29 20:22:44 +00:00
terry%mozilla.org
1414bcf593 Patch by aclark@ghoti.org -- clear the accumulation buffer before using it. 2000-01-29 20:13:30 +00:00
terry%mozilla.org
dc99a21f9b Don't regenerate the shadow database until we're sure that our DB is
up to snuff with what processmail expects.
2000-01-29 20:07:05 +00:00