Граф коммитов

495 Коммитов

Автор SHA1 Сообщение Дата
terry%mozilla.org a85b595ff3 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 0d8f3b144a 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 9472db85bc 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 c34d2da2fa 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 a55a079a54 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 e1799db682 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 8dfeed3f59 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 711064d16c Get rid of a bit of unused Javascript code. 2000-02-09 11:43:10 +00:00
terry%mozilla.org 90c0f43f4b Make the "mail a new password" text be a param. 2000-02-07 22:11:55 +00:00
terry%mozilla.org db0ceddebc 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 6bf0ee5568 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 56d80b9768 Simplify dependency wording. 2000-02-02 17:43:34 +00:00
terry%mozilla.org aafab342a0 Whoops, searches of "Comment changed (before|after)" were not working
correctly.
2000-02-02 14:42:11 +00:00
terry%mozilla.org e395888ed8 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 c8bd765633 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 72ec664c27 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 13fc0464c8 Allow searching of attachment stuff using boolean charts. 2000-01-30 19:21:43 +00:00
terry%mozilla.org 2b1f31ee04 Patch by aclark@ghoti.org -- use localconfig file to get database
connection info.
2000-01-29 20:22:44 +00:00
terry%mozilla.org 489123e30e Patch by aclark@ghoti.org -- clear the accumulation buffer before using it. 2000-01-29 20:13:30 +00:00
terry%mozilla.org e938556230 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
terry%mozilla.org 50f9c23f8b Fixed busted mailto: link. 2000-01-28 20:36:26 +00:00
terry%mozilla.org c7c64c5553 The "Show list" link that is supposed to quickly get you back to the
list of bugs you queried for was busted.
2000-01-28 16:39:29 +00:00
terry%mozilla.org 5488127bb8 Apparently, you're supposed to put "#foo" stuff in a URL after all the
"?" and "&" stuff.  IE doesn't work if you don't.
2000-01-28 16:18:10 +00:00
terry%mozilla.org 1a6d2baec7 Was crashing if you weren't already logged in. 2000-01-28 07:15:44 +00:00
terry%mozilla.org 2ca83fff50 Allow searching by "last change date" in the boolean charts. 2000-01-28 01:28:55 +00:00
terry%mozilla.org 06d968aa56 Massive stomp on the query page and buglist page. Added the ability
to use the "boolean charts" to do very powerful queries.
2000-01-28 01:01:40 +00:00
terry%mozilla.org e31da546f6 Patch by granrose@netscape.com -- put initial focus into bug# field. 2000-01-27 00:56:33 +00:00
terry%mozilla.org 169b70131c Add support for keywords. 2000-01-26 23:15:30 +00:00
terry%mozilla.org 0674a87149 Patch by Rob Baham <robb@scitechsoft.com> -- links to other bugs
should be relative URLs, not absolute.
2000-01-26 21:56:24 +00:00
terry%mozilla.org cefb6e13e6 Allow searches for "all keywords" or "no keywords"; fixed some other
bugs around keyword queries.
2000-01-26 21:48:36 +00:00
terry%mozilla.org 8312c801e4 Add a way to log all SQL requests made. 2000-01-26 21:47:55 +00:00
terry%mozilla.org 7370d4894a If adding the new "lastdiffed" field, it works out better to
initialize it to "now", not to "delta_ts".
2000-01-26 21:17:36 +00:00
terry%mozilla.org 42d9634889 Fixed minor grammatical typo. 2000-01-25 07:57:35 +00:00
terry%mozilla.org 38060670b3 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.
2000-01-25 07:54:57 +00:00
terry%mozilla.org c8a6896c70 Added a way to query by bug numbers. Added an "edit this query" link
when you view a buglist.
2000-01-25 02:50:37 +00:00
terry%mozilla.org d803bf24ab Very minor HTML tweaking. 2000-01-24 05:50:46 +00:00
terry%mozilla.org 6c7cc5e6bf 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.
2000-01-24 05:41:40 +00:00
terry%mozilla.org b44b5d68ff Fixed bug causing named queries to get all screwed up around "target
milestones".
2000-01-23 20:37:46 +00:00
terry%mozilla.org 779b752c21 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.)
2000-01-23 20:31:50 +00:00
terry%mozilla.org 7fd50f4f09 Add a way to remove a default query that you may have set. 2000-01-23 17:14:09 +00:00
terry%mozilla.org e48b52b7ea Remove unused file 2000-01-23 16:57:32 +00:00
terry%mozilla.org aab22e6d4d Added much more crosschecks, and simplified a lot of the code. 2000-01-23 04:37:40 +00:00
terry%mozilla.org 9d6528cfe0 Fixed stupid typo that caused exact email searches in descriptions to crash. 2000-01-23 04:01:25 +00:00
terry%mozilla.org 92d1f4cc8d Oops; previous change would cause delta_ts values to be lost in the bugs table. 2000-01-23 03:57:11 +00:00
terry%mozilla.org d3a888a6eb 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.
2000-01-23 03:36:17 +00:00
terry%mozilla.org 1d1d3e33cf Can now search for people who have added text to a bug. 2000-01-23 02:22:11 +00:00
terry%mozilla.org a19ef8aeba New email code wasn't notifying people of changes in state of
dependent bugs.
2000-01-23 01:03:15 +00:00
terry%mozilla.org cec38157cf Honor the emailregexp param when checking email addresses. 2000-01-22 22:19:05 +00:00
terry%mozilla.org c8038545f4 Removed stupid test. 2000-01-22 21:44:10 +00:00
terry%mozilla.org a132275ea5 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...
2000-01-22 21:43:30 +00:00