494 Commits

Author SHA1 Message Date
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
terry%mozilla.org
3d9eee1b3b Added a way to query by bug numbers. Added an "edit this query" link
when you view a buglist.


git-svn-id: svn://10.0.0.236/trunk@58519 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 02:50:37 +00:00
terry%mozilla.org
f0fd9914f3 Very minor HTML tweaking.
git-svn-id: svn://10.0.0.236/trunk@58463 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 05:50:46 +00:00
terry%mozilla.org
64245e9642 New email code wasn't sending to people who had voted for a bug.
Added "My votes" link to footer.  Other minor voting-related fixes.


git-svn-id: svn://10.0.0.236/trunk@58462 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 05:41:40 +00:00
terry%mozilla.org
25d970d04b Fixed bug causing named queries to get all screwed up around "target
milestones".


git-svn-id: svn://10.0.0.236/trunk@58444 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 20:37:46 +00:00
terry%mozilla.org
fd5541afb9 Named queries (and the default query) are now stored server side, in
the database, rather than in cookies.  This means you have to log
in to use these features, but I have plans that require them to be
server-side.  (Besides, some people were beginning to run out of
cookie space.)


git-svn-id: svn://10.0.0.236/trunk@58443 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 20:31:50 +00:00
terry%mozilla.org
951effc9c3 Add a way to remove a default query that you may have set.
git-svn-id: svn://10.0.0.236/trunk@58437 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 17:14:09 +00:00
terry%mozilla.org
444b0f45ef Remove unused file
git-svn-id: svn://10.0.0.236/trunk@58436 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 16:57:32 +00:00
terry%mozilla.org
76d8aaddef Added much more crosschecks, and simplified a lot of the code.
git-svn-id: svn://10.0.0.236/trunk@58430 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:37:40 +00:00
terry%mozilla.org
162b271993 Fixed stupid typo that caused exact email searches in descriptions to crash.
git-svn-id: svn://10.0.0.236/trunk@58428 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:01:25 +00:00
terry%mozilla.org
f9fe5a0435 Oops; previous change would cause delta_ts values to be lost in the bugs table.
git-svn-id: svn://10.0.0.236/trunk@58427 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 03:57:11 +00:00
terry%mozilla.org
ebb28e3500 The "login_name" field in the "profiles" table was not declared to be
unique.  Sure enough, somehow, I got 22 duplicated entries in my
database.  This code detects that, cleans up the duplicates, and then
tweaks the table to declare the field to be unique.  What a pain.


git-svn-id: svn://10.0.0.236/trunk@58426 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 03:36:17 +00:00
terry%mozilla.org
004bababb5 Can now search for people who have added text to a bug.
git-svn-id: svn://10.0.0.236/trunk@58423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 02:22:11 +00:00
terry%mozilla.org
e804050006 New email code wasn't notifying people of changes in state of
dependent bugs.


git-svn-id: svn://10.0.0.236/trunk@58422 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 01:03:15 +00:00
terry%mozilla.org
071c01f7ca Honor the emailregexp param when checking email addresses.
git-svn-id: svn://10.0.0.236/trunk@58415 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 22:19:05 +00:00
terry%mozilla.org
0429df301e Removed stupid test.
git-svn-id: svn://10.0.0.236/trunk@58413 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 21:44:10 +00:00
terry%mozilla.org
e11e9b4ace AACK! checksetup.pl was stomping all over the new fielddefs table if
it got run more than once.  This checkin fixes that, and also changes
the DumpBugActivity() routine to give me enough information to
hopefully repair the damaged mozilla.org database...


git-svn-id: svn://10.0.0.236/trunk@58412 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 21:43:30 +00:00