35 Commits

Author SHA1 Message Date
lpsolit%gmail.com
d0abc2893d Bug 337054: Remove get_component_id() and get_component_name() from globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
git-svn-id: svn://10.0.0.236/trunk@198578 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-29 17:24:54 +00:00
lpsolit%gmail.com
1e44eb2734 Bug 303708: Eliminate deprecated Bugzilla::DB routines from BugzillaEmail.pm, bug_email.pl and bugzilla_email_append.pl in contrib - Patch by Gabriel Sales de Oliveira <gabriel@async.com.br> r=LpSolit a=justdave
git-svn-id: svn://10.0.0.236/trunk@196489 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-14 19:12:13 +00:00
timeless%mozdev.org
087941e251 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@190995 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 04:38:56 +00:00
jocuri%softhome.net
1c5ce037b1 Patch for bug 317003: change the listing of valid fields values in bug_email.pl; patch by Gabriel Sales de Oliveira <gabriel@async.com.br>, r=vladd, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@190679 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 14:52:58 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
bugreport%peshkin.net
41acde897f Bug 305333: Move attachments.thedata to its own table
Patch by Joel Peshkin <bugreport@peshkin.net>
r=lpsolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@179112 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 23:11:33 +00:00
mkanat%kerio.com
595f9c7816 Bug 285695: [PostgreSQL] Username checks for login, etc. need to be case insensitive
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@175810 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-08 02:31:43 +00:00
lpsolit%gmail.com
a7ff24865c Bug 293901: cannot specify the QA contact using bug_email.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=dberlin a=justdave
git-svn-id: svn://10.0.0.236/trunk@173340 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 19:18:00 +00:00
lpsolit%gmail.com
7fd3e5d773 Bug 293907: remove tabs from bug_email.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kiko a=justdave
git-svn-id: svn://10.0.0.236/trunk@173330 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 17:26:26 +00:00
mkanat%kerio.com
f7471cbb97 Bug 283237: Move DBname_to_id out of globals.pl
Patch By Max Kanat-Alexander <mkanat@kerio.com> r=wurblzap, a=myk


git-svn-id: svn://10.0.0.236/trunk@169799 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 23:42:48 +00:00
mkanat%kerio.com
c8f7e44c64 Bug 280494: Replace "SELECT LAST_INSERT_ID()" with Bugzilla::DB function call
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave


git-svn-id: svn://10.0.0.236/trunk@169387 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 16:01:48 +00:00
travis%sedsystems.ca
81f64817cf Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz>  r=mkanat, LpSolit   a=justdave


git-svn-id: svn://10.0.0.236/trunk@168981 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 16:51:03 +00:00
justdave%bugzilla.org
2541fed321 Backing out the checking from bug 257315 until it gets corrected. It prevents new bugs from being filed.
a=justdave


git-svn-id: svn://10.0.0.236/trunk@168520 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 04:22:28 +00:00
travis%sedsystems.ca
e652a2da94 Bug 257315 : type of delta_ts in bugs table should not be timestamp
Patch by Tomas Kopal <Tomas.Kopal@altap.cz>   r=vladd, LpSolit  a=justdave


git-svn-id: svn://10.0.0.236/trunk@168456 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-28 19:01:28 +00:00
jocuri%softhome.net
06a1d0c8e0 Patch for bug 239912: make bug_email.pl work with useqacontact; patch by Matthew Mastracci <mmastrac@canada.com>; r=vlad, a=myk.
git-svn-id: svn://10.0.0.236/trunk@154640 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-09 02:23:46 +00:00
kiko%async.com.br
319f68a68e Fix for bug 234175: Remove deprecated ConnectToDatabase() and
quietly_check_login()/confirm_login() calls.  Cleans up callsites
(consisting of most of our CGIs), swapping (where appropriate) for calls
to Bugzilla->login. Patch by Teemu Mannermaa <wicked@etlicon.fi>.
r=bbaetz, kiko. a=justdave.


git-svn-id: svn://10.0.0.236/trunk@154331 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 03:51:44 +00:00
justdave%syndicomm.com
feec02cc0a Bug 36379: adds command-line switches for default product, component, and version to bug_email.pl
Patch by Ludovic Dubost <ludovic@pobox.xom>
(no r= for contrib)
a= justdave


git-svn-id: svn://10.0.0.236/trunk@151583 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-20 06:03:38 +00:00
bbaetz%acm.org
8fabd677ea Bug 208604 - Make data/template dir locations configurable
git-svn-id: svn://10.0.0.236/trunk@149624 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-22 03:50:42 +00:00
justdave%syndicomm.com
494b540b32 Bugs 171127 and 192512: bug_email.pl was still using the old groups system and also the old outgoing mail system. This patch brings it up to date.
Patch by Alex Schuilenburg <alex@schuilenburg.org>
no r= for contrib, a= justdave


git-svn-id: svn://10.0.0.236/trunk@146269 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 14:59:13 +00:00
jake%bugzilla.org
9e69fb6cbb Bug 190521 - If the attachment didn't have a Content-Description: header in the e-mail, it ended up not having a description in Bugzilla leaving nothing to click on in the Attachment table on the bug form.
r=jake
a=justdave


git-svn-id: svn://10.0.0.236/trunk@136954 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-25 04:39:14 +00:00
bugreport%peshkin.net
2194da2336 bug 157756 - Groups_20020716_Branch Tracking : > 55 groups now supported
r=bbaetz, gerv


git-svn-id: svn://10.0.0.236/trunk@130217 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-22 17:15:13 +00:00
bbaetz%student.usyd.edu.au
71381b40ed Bug 76923 - Don't |use diagnostics| (its really expensive at startup time)
r=joel x2


git-svn-id: svn://10.0.0.236/trunk@128080 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 06:17:26 +00:00
bbaetz%student.usyd.edu.au
6a21bf6238 bug 160631 - bug_email.pl is broken
r=joel x2


git-svn-id: svn://10.0.0.236/trunk@127540 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 14:26:32 +00:00
bbaetz%student.usyd.edu.au
1c2ecdc9c2 Bug 43600 - Convert products/components to use ids instead of names.
Initial attempt by jake@bugzilla.org, updated by me
r=joel, preed


git-svn-id: svn://10.0.0.236/trunk@127057 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 05:43:05 +00:00
justdave%syndicomm.com
74ea63b790 Fix for bug 154008: some basic (but incomplete) maintenance on bug_email.pl, also fixes a possible security hole with a misuse
of a system() call.
Patches by Erik Anderson <erikba@teamworkgroup.com> and Brad Baetz <bbaetz@student.usyd.edu.au>
r= myk, justdave


git-svn-id: svn://10.0.0.236/trunk@125758 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 01:47:50 +00:00
jake%acutex.net
9cde1e2552 Bug 79739 - Initial Owner and QA Contact were not being handled correctly by the email interface after they were changed to userid's in bug 66876.
r= justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@95906 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 12:48:47 +00:00
dave%intrec.com
9791007ad8 Fix for bug 38791: scipped -> skipped spelling correction.
git-svn-id: svn://10.0.0.236/trunk@78250 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 06:01:10 +00:00
cyeh%bluemartini.com
890fb07cef fix submitted for 42809: bug_email.pl doesn't allow for priority = 0
patch submitted by brad@xyu.dhs.org (Brad Sarsfield)


git-svn-id: svn://10.0.0.236/trunk@77651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:47:17 +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
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
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
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