694 Commits

Author SHA1 Message Date
terry%mozilla.org
001d319b8f Make it so that we can (hopefully!) rebuild the shadow db without
busting other people trying to use the system.


git-svn-id: svn://10.0.0.236/trunk@63464 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 18:48:59 +00:00
seth%cs.brandeis.edu
51985fa46e fixed bug where the everconfirmed field was not being properly set via a bug_email.
git-svn-id: svn://10.0.0.236/trunk@63416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 23:32:49 +00:00
dmose%mozilla.org
709b819374 doh! my last checkin broke -v. fixed.
git-svn-id: svn://10.0.0.236/trunk@63235 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 02:00:58 +00:00
dmose%mozilla.org
85dacb5545 get rid of undefined warning
git-svn-id: svn://10.0.0.236/trunk@63088 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:40:57 +00:00
seth%cs.brandeis.edu
df3d8f7f28 Added a bugzilla.procmailrc as a sample procmailrc file
bugzilla_email_append.pl calls processmail.pl after writing out the changes.


git-svn-id: svn://10.0.0.236/trunk@63087 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:39:11 +00:00
seth%cs.brandeis.edu
9697f05efa A few changes ...
1. BugzillaEmail.pm is a (kinda, sorta) module which is going to hold the various code which is common between all the scripts which access bugzilla via email.

2. bug_email.pl uses this module

3. bugzilla_email_append.pl is a mostly ready script which will append messages to existing bugs.


git-svn-id: svn://10.0.0.236/trunk@63074 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 22:29:49 +00:00
terry%mozilla.org
299fa0a167 Add a "send mail to bug owners" link (under circumstances where it
seems useful and appropriate.)


git-svn-id: svn://10.0.0.236/trunk@63067 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 21:06:02 +00:00
seth%cs.brandeis.edu
26515dd429 updated to better reflect reality in terms of recent changes to bug_email.pl.
git-svn-id: svn://10.0.0.236/trunk@62989 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 02:43:48 +00:00
terry%mozilla.org
968df3fc9a 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.


git-svn-id: svn://10.0.0.236/trunk@62548 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 22:26:55 +00:00
dmose%mozilla.org
6c80b0434b updated to reflect that only specific versions of GD.pm and Chart will work.
git-svn-id: svn://10.0.0.236/trunk@62547 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 21:44:42 +00:00
terry%mozilla.org
173473e579 Whoops; left out the "mailto:" part of a mailto link.
git-svn-id: svn://10.0.0.236/trunk@62536 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:26:23 +00:00
terry%mozilla.org
cd5d127320 Italicize the "Additional Comments From" stuff, so that you can tell
the difference between new comments and people copying stuff in from
old comments.


git-svn-id: svn://10.0.0.236/trunk@62534 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 18:01:32 +00:00
terry%mozilla.org
7a12dbb0f0 Removed warning.
git-svn-id: svn://10.0.0.236/trunk@62533 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 17:45:09 +00:00
terry%mozilla.org
54f1e9551e Never let ", <, or > be matched as part of a URL.
git-svn-id: svn://10.0.0.236/trunk@62532 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 16:52:37 +00:00
terry%mozilla.org
52f41c0725 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.


git-svn-id: svn://10.0.0.236/trunk@62531 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 16:25:03 +00:00
terry%mozilla.org
2e1f1f5438 Patch by "Peter Schweiger" <Schweiger.Peter@litef.de> -- minor bugfixes.
git-svn-id: svn://10.0.0.236/trunk@62477 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 18:04:53 +00:00
terry%mozilla.org
456cf72ccb Whoops; removed extra double-quote.
git-svn-id: svn://10.0.0.236/trunk@62395 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 14:46:18 +00:00
terry%mozilla.org
241fddf501 Patch by Dave Miller <dave@intrec.com> -- allow setting of
confidentiality when submitting a new bug.


git-svn-id: svn://10.0.0.236/trunk@62340 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 22:22:55 +00:00
terry%mozilla.org
6f796d74d1 Patch by Peter Schweiger <schweiger.peter@litef.de> -- date formatting
string wasn't working with modern MySQL engines.


git-svn-id: svn://10.0.0.236/trunk@62331 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:56:02 +00:00
terry%mozilla.org
1d18fb84ee Oops! canconfirm bit wasn't actually working.
git-svn-id: svn://10.0.0.236/trunk@62329 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:29:19 +00:00
terry%mozilla.org
e53fba47d7 Was choking on order='Importance'.
git-svn-id: svn://10.0.0.236/trunk@62326 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:04:35 +00:00
seth%cs.brandeis.edu
10f624236e * 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.


git-svn-id: svn://10.0.0.236/trunk@62318 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:39:38 +00:00
dmose%mozilla.org
f5170e2804 added hack for NSS bug injection
git-svn-id: svn://10.0.0.236/trunk@62317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 20:03:52 +00:00
terry%mozilla.org
bbf32962d6 Fixed stupid syntax error in last patch.
git-svn-id: svn://10.0.0.236/trunk@62316 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 19:27:41 +00:00
terry%mozilla.org
2d92d1fc65 Patch by "David Gardiner" <david.gardiner@unisa.edu.au> -- recognize
more useragent strings.


git-svn-id: svn://10.0.0.236/trunk@62315 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 18:52:27 +00:00
terry%mozilla.org
6af1f6f35a Patch by Brian Duggan <bduggan@oven.com> -- security improvements.
git-svn-id: svn://10.0.0.236/trunk@62314 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 18:23:00 +00:00
terry%mozilla.org
675ff68238 Contribution by Eli Goldberg <eli@prometheus-music.com> -- generic
bug-writing guidelines.


git-svn-id: svn://10.0.0.236/trunk@62313 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 18:00:24 +00:00
terry%mozilla.org
eba0607a76 Submission by Klaas Freitag <freitag@suse.de>.
git-svn-id: svn://10.0.0.236/trunk@62312 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 17:36:48 +00:00
terry%mozilla.org
58c914a7f7 Patch by Olaf Krische <krische@mbi-berlin.de> -- Fixed HTML typos.
git-svn-id: svn://10.0.0.236/trunk@62311 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 17:32:51 +00:00
terry%mozilla.org
8673d7457d Fixed very stupid typo.
git-svn-id: svn://10.0.0.236/trunk@62268 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-06 23:21:51 +00:00
terry%mozilla.org
5db00817f6 Make a universal routine to report errors in forms, so that we can
have a universal (and more noticable) way of displaying them.


git-svn-id: svn://10.0.0.236/trunk@61678 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 19:32:47 +00:00
terry%mozilla.org
ca2533dfea If there is only one project allowing new bugs, don't bother prompting
for which project to use.


git-svn-id: svn://10.0.0.236/trunk@61673 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 18:55:41 +00:00
terry%mozilla.org
cb3e3e8aaf Fixed to cope with new longdescs table.
git-svn-id: svn://10.0.0.236/trunk@61604 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 17:54:56 +00:00
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
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
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
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