Commit Graph

537 Commits

Author SHA1 Message Date
terry%mozilla.org
110d75d308 Sigh. We now need to lock the attachments table, too, just in case a
midair collision happens which needs to generate text which needs to
look at the attachments table.  Sigh.
2000-03-10 22:26:55 +00:00
dmose%mozilla.org
69c76eb434 updated to reflect that only specific versions of GD.pm and Chart will work. 2000-03-10 21:44:42 +00:00
terry%mozilla.org
cf8092c7e4 Whoops; left out the "mailto:" part of a mailto link. 2000-03-10 18:26:23 +00:00
terry%mozilla.org
fe49673050 Italicize the "Additional Comments From" stuff, so that you can tell
the difference between new comments and people copying stuff in from
old comments.
2000-03-10 18:01:32 +00:00
terry%mozilla.org
4143031dbc Removed warning. 2000-03-10 17:45:09 +00:00
terry%mozilla.org
773a62e7d8 Never let ", <, or > be matched as part of a URL. 2000-03-10 16:52:37 +00:00
terry%mozilla.org
7b49e812c3 Patch by Joe Robins <jmrobins@tgix.com> -- allow automatic definition
of a group per project, and automatically put new bugs against that
project into that group, thus allowing entire projects to be protected
against viewing by unauthorized users.  This is all optional,
controlled by new parameters.
2000-03-10 16:25:03 +00:00
terry%mozilla.org
c02bbea122 Patch by "Peter Schweiger" <Schweiger.Peter@litef.de> -- minor bugfixes. 2000-03-09 18:04:53 +00:00
terry%mozilla.org
ef0df74ad9 Whoops; removed extra double-quote. 2000-03-08 14:46:18 +00:00
terry%mozilla.org
6f297df44b Patch by Dave Miller <dave@intrec.com> -- allow setting of
confidentiality when submitting a new bug.
2000-03-07 22:22:55 +00:00
terry%mozilla.org
23fc67e133 Patch by Peter Schweiger <schweiger.peter@litef.de> -- date formatting
string wasn't working with modern MySQL engines.
2000-03-07 21:56:02 +00:00
terry%mozilla.org
722e3ce72f Oops! canconfirm bit wasn't actually working. 2000-03-07 21:29:19 +00:00
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