1387 Commits

Author SHA1 Message Date
terry%mozilla.org
12b0541149 Cut down on the number of syncshadowdb processes we fork off.
git-svn-id: svn://10.0.0.236/trunk@61317 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 21:38:23 +00:00
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
slamm%netscape.com
3f31e963d2 Fix 'off by one' error.
git-svn-id: svn://10.0.0.236/trunk@61257 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:49:45 +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
slamm%netscape.com
5739bb2702 Add log for tinderbox columns
git-svn-id: svn://10.0.0.236/trunk@61251 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:16:52 +00:00
slamm%netscape.com
1e1a39949d Take out more debuging code.
git-svn-id: svn://10.0.0.236/trunk@61249 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:09:44 +00:00
slamm%netscape.com
c7c5e18c70 Skip writing unused data file warnings.dat
git-svn-id: svn://10.0.0.236/trunk@61247 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:02:37 +00:00
slamm%netscape.com
338edd0624 Uncomment line to build file index.
git-svn-id: svn://10.0.0.236/trunk@61246 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:56:09 +00:00
slamm%netscape.com
a9c4075884 New warnings command line.
git-svn-id: svn://10.0.0.236/trunk@61239 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:31:10 +00:00
slamm%netscape.com
7734a746df Add Mac warnings.
git-svn-id: svn://10.0.0.236/trunk@61238 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:27:17 +00:00
slamm%netscape.com
485c3c3d13 Print out last good know logfile name. (Useful to pass to other script when testing).
git-svn-id: svn://10.0.0.236/trunk@61232 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:27:00 +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
slamm%netscape.com
820c2bc5f3 Copy logs that match from treedata.pl
git-svn-id: svn://10.0.0.236/trunk@61189 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 07:09:25 +00:00
erik%netscape.com
1ec5df9ba4 contribution from Bruce Robson: ported to Windows NT and fixed a couple of
bugs


git-svn-id: svn://10.0.0.236/trunk@61188 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 07:01:52 +00:00
slamm%netscape.com
41fe4b5362 Run copylogs as 'perl copylogs' to make Windows happy.
git-svn-id: svn://10.0.0.236/trunk@61187 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 06:39:00 +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
slamm%netscape.com
2d4b8fd39c Make checkins fall into the correct group (change edge condition). Also, drop ampersand from subroutine calls.
git-svn-id: svn://10.0.0.236/trunk@61171 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 02:32:42 +00:00
slamm%netscape.com
8681cbd329 Subtract one from the 'C' link's maxdate. Otherwise, checkins fall into the wrong group. Also, add a link for the previous 24 hours of data.
git-svn-id: svn://10.0.0.236/trunk@61170 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 02:31:42 +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
slamm%netscape.com
f820107f5b Fix warnings.html link.
git-svn-id: svn://10.0.0.236/trunk@60907 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 18:43:12 +00:00
slamm%netscape.com
c87f14f8fa Add bloatdata and warnings to list to clean.
git-svn-id: svn://10.0.0.236/trunk@60902 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 18:04:42 +00:00
slamm%netscape.com
56ad88dc0b Move build warnings from top of page into build columns.
git-svn-id: svn://10.0.0.236/trunk@60901 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 18:02:27 +00:00
slamm%netscape.com
8a729c2904 Backslash quote for emacs syntax highlighting.
git-svn-id: svn://10.0.0.236/trunk@60900 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 18:01:06 +00:00
slamm%netscape.com
3518404de6 Trim trailing whitespace from message of the day.
git-svn-id: svn://10.0.0.236/trunk@60898 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 17:59:57 +00:00
slamm%netscape.com
cf121aca91 Reduce to 30 rows. 40 was a little too big.
git-svn-id: svn://10.0.0.236/trunk@60749 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 23:39:29 +00:00
slamm%netscape.com
bdfb7a84bc Increate space for editing the message of the day.
git-svn-id: svn://10.0.0.236/trunk@60748 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 23:34:19 +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
slamm%netscape.com
1d7c42d752 Mark 'Leaving directory' lines as errors too if there was a make error
git-svn-id: svn://10.0.0.236/trunk@60547 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:40:28 +00:00
slamm%netscape.com
106d263cad Reduce the number of global variables. Only give 'NEXT ERROR' link if there is another one. Group consecutive errors into one error.
git-svn-id: svn://10.0.0.236/trunk@60546 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:39:50 +00:00
slamm%netscape.com
c48eed17bf Take out colors for bloat numbers. The numbers jump around too much and the colors have lost all value.
git-svn-id: svn://10.0.0.236/trunk@60524 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:48:58 +00:00
slamm%netscape.com
33cab5a448 Trim trailing whitespace from tinderbox variables.
git-svn-id: svn://10.0.0.236/trunk@60337 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:11: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
214d5dafc8 Don't lock up mysqld if a lot of addcheckin processes pile up.
git-svn-id: svn://10.0.0.236/trunk@60007 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:48:17 +00:00