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

569 Коммитов

Автор SHA1 Сообщение Дата
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
terry%mozilla.org d19acb2ae2 Fixed busted mailto: link. 2000-01-28 20:36:26 +00:00
terry%mozilla.org ba3bd27a63 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 f461027ecc 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 1550a88427 Was crashing if you weren't already logged in. 2000-01-28 07:15:44 +00:00
terry%mozilla.org c7d4d2df98 Allow searching by "last change date" in the boolean charts. 2000-01-28 01:28:55 +00:00
terry%mozilla.org 7ecba992bf 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 13f6e7ca22 Patch by granrose@netscape.com -- put initial focus into bug# field. 2000-01-27 00:56:33 +00:00
terry%mozilla.org 20185227fc Add support for keywords. 2000-01-26 23:15:30 +00:00
terry%mozilla.org c3044d2b18 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 d1efedc9f4 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 a46cdb9ac9 Add a way to log all SQL requests made. 2000-01-26 21:47:55 +00:00
terry%mozilla.org 4dc72d6730 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 b12da239a4 Fixed minor grammatical typo. 2000-01-25 07:57:35 +00:00
terry%mozilla.org c7fc84f240 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 e027807a5f 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 25fa8b8b7b Very minor HTML tweaking. 2000-01-24 05:50:46 +00:00
terry%mozilla.org 2291e7e479 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 4c8f5603db Fixed bug causing named queries to get all screwed up around "target
milestones".
2000-01-23 20:37:46 +00:00
terry%mozilla.org 3d75e25093 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 b7189efeef Add a way to remove a default query that you may have set. 2000-01-23 17:14:09 +00:00
terry%mozilla.org 764ec540b7 Remove unused file 2000-01-23 16:57:32 +00:00
terry%mozilla.org f82f9658c6 Added much more crosschecks, and simplified a lot of the code. 2000-01-23 04:37:40 +00:00
terry%mozilla.org ce4604f577 Fixed stupid typo that caused exact email searches in descriptions to crash. 2000-01-23 04:01:25 +00:00
terry%mozilla.org 4c1c33a26e 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 59ba0465a0 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 2fc105856d Can now search for people who have added text to a bug. 2000-01-23 02:22:11 +00:00
terry%mozilla.org 2bf5e0801c 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 36b800adac Honor the emailregexp param when checking email addresses. 2000-01-22 22:19:05 +00:00
terry%mozilla.org 146f7bdd8e Removed stupid test. 2000-01-22 21:44:10 +00:00
terry%mozilla.org 78b90d75fb 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
terry%mozilla.org 054756ec04 Minor wording change to hopefully make it more obvious slight changes
in the "long description" search.
2000-01-22 19:43:30 +00:00
terry%mozilla.org 313ffe129f Stupid typo caused "any words" and "all words" searches on the long
description to crash.
2000-01-22 19:31:41 +00:00
terry%mozilla.org b6d984c2cc Fixed stupid typo. 2000-01-22 19:25:33 +00:00
terry%mozilla.org 0b2fdac733 If no sort order is specified, use the cookie if available. 2000-01-22 19:23:58 +00:00
terry%mozilla.org b9dc656311 Remember the previous sort order in a cookie, and make that the
default sort order for new queries.  Add a new "show list" link to the
navigation header to return you to the list of selected bugs.
2000-01-22 19:08:57 +00:00
terry%mozilla.org 6f9fa675fc Patch by Christine Begle <cbegle@mozilla.org>>, with heavy
modifications by me -- let you query for "any words" and "all words",
as well as the existing substring and regexp stuff.
2000-01-22 17:50:00 +00:00
terry%mozilla.org 332b39b203 Patch by Klaas Freitag <freitag@suse.de>, with modifications by me --
don't generate HTML tables with more than 50 lines, as browsers generally
can't cope with huge tables.
2000-01-22 16:51:49 +00:00
terry%mozilla.org 36388596c4 Patch by Holger Schurig <holger@holger.om.org> -- add new localconfig
option to skip the database check (since that code doesn't work with
all versions of MySQL/Msql-mysql/Perl/moonphase).
2000-01-22 16:33:33 +00:00
terry%mozilla.org e9619288c8 Whoops; code to let people turn on new "newemailtech" pref was busted. 2000-01-22 04:37:42 +00:00
terry%mozilla.org 8ed4c20ca3 Added a new table fielddefs that records information about the
different fields we keep an activity log on.  The bugs_activity table
now has a pointer into that table instead of recording the name directly.

Set up a new, highly experimental email-notification scheme.  To turn
it on, the maintainer has to turn on the "New email tech" param, and
then individual users have to turn on the "New email tech" preference.
2000-01-22 04:24:42 +00:00
mcafee%netscape.com 6f6c1b6e00 Invalid html, added trailing /html tag. 2000-01-21 22:01:11 +00:00
terry%mozilla.org 9c38b30d28 Continue making the last-changed date on a bug be updated if someone only adds a comment. 2000-01-20 21:42:23 +00:00
terry%mozilla.org 055416e250 Don't try to put out the footer if we're shutdown (as that can try to access the DB which we don't want). 2000-01-20 21:36:20 +00:00
terry%mozilla.org c308f025ee Moved all the long descriptions out of the bugs table, and into a new
table.  There is now a separate entry for each new long description,
rather than appending them all together in one big field.
2000-01-20 21:31:22 +00:00
terry%mozilla.org f816e9eee4 Patch by Holger Schurig <holger@holger.om.org> -- don't display footer if they asked for no header. 2000-01-19 20:30:28 +00:00
terry%mozilla.org 23fbfe14b9 Allow whitespace to be used to separate keywords. 2000-01-19 19:32:05 +00:00
terry%mozilla.org 6d15fd3cc2 Let's outlaw whitespace in keywords. 2000-01-19 19:26:37 +00:00
terry%mozilla.org 4e67064f23 Added a way to disable a user. 2000-01-18 22:41:26 +00:00
terry%mozilla.org 0b8942fa37 Spruced up "editusers.cgi". Added an "editusers" group. 2000-01-18 18:34:01 +00:00
terry%mozilla.org d8faddd660 Footer wasn't displaying new state after clicking "log out". 2000-01-18 14:41:00 +00:00
terry%mozilla.org 27c97fdec5 Stop ever using perl's crypt() function; only use mysql's. (Using
both was causing corruption on about 1 in 40 passwords.)
2000-01-18 14:40:21 +00:00
terry%mozilla.org 5b7cfa807e Check for and rebuild busted password stuff. 2000-01-18 14:26:16 +00:00
terry%mozilla.org ab0f888f9b Tell people that column changes are remembered using cookies. 2000-01-17 22:53:05 +00:00
terry%mozilla.org 746335ea97 Was sometimes checking extra checkboxes in the email area. 2000-01-17 22:31:05 +00:00
terry%mozilla.org a553e0fe09 Very minor formatting tweak. 2000-01-17 19:54:50 +00:00
terry%mozilla.org 17c8050218 Added "Windows 2000" and "Mac System 9.0" to the OS list. 2000-01-17 19:20:20 +00:00