summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-10-17 15:20:35 +0200
committermkanat%bugzilla.org <>2006-10-17 15:20:35 +0200
commit1d5410c712a3cf152c54c597c50894e482bcd0f2 (patch)
tree7a727d45734e100e9995703d8b66939a1f447b3c /Bugzilla
parentfcd10254fead1576d691b3a0ba212c67239c0b3e (diff)
downloadbugzilla-1d5410c712a3cf152c54c597c50894e482bcd0f2.tar.gz
bugzilla-1d5410c712a3cf152c54c597c50894e482bcd0f2.tar.xz
Bug 350921: [email_in] Create an email interface that can create a bug in Bugzilla
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, r=ghendricks, a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Constants.pm2
-rw-r--r--Bugzilla/Install/Filesystem.pm1
-rw-r--r--Bugzilla/Install/Requirements.pm33
3 files changed, 36 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 5f3b6bc75..b8171d1c1 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -113,6 +113,7 @@ use File::Basename;
USAGE_MODE_BROWSER
USAGE_MODE_CMDLINE
USAGE_MODE_WEBSERVICE
+ USAGE_MODE_EMAIL
ERROR_MODE_WEBPAGE
ERROR_MODE_DIE
@@ -317,6 +318,7 @@ use constant BUG_STATE_OPEN => ('NEW', 'REOPENED', 'ASSIGNED',
use constant USAGE_MODE_BROWSER => 0;
use constant USAGE_MODE_CMDLINE => 1;
use constant USAGE_MODE_WEBSERVICE => 2;
+use constant USAGE_MODE_EMAIL => 3;
# Error modes. Default set by Bugzilla->usage_mode (so ERROR_MODE_WEBPAGE
# usually). Use with Bugzilla->error_mode.
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index c9c090bb0..3a0797754 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -108,6 +108,7 @@ sub FILESYSTEM {
'testserver.pl' => { perms => $ws_executable },
'whine.pl' => { perms => $ws_executable },
'customfield.pl' => { perms => $owner_executable },
+ 'email_in.pl' => { perms => $owner_executable },
'docs/makedocs.pl' => { perms => $owner_executable },
'docs/rel_notes.txt' => { perms => $ws_readable },
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 14efd15f4..6cf2c7a03 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -184,6 +184,39 @@ sub OPTIONAL_MODULES {
version => 0,
feature => 'More HTML in Product/Group Descriptions'
},
+
+ # Inbound Email
+ {
+ # Attachment::Stripper requires this, but doesn't pull it in
+ # when you install it from CPAN.
+ package => 'MIME-Types',
+ module => 'MIME::Types',
+ version => 0,
+ feature => 'Inbound Email',
+ },
+ {
+ # Email::MIME::Attachment::Stripper can throw an error with
+ # earlier versions.
+ # This also pulls in Email::MIME and Email::Address for us.
+ package => 'Email-MIME-Modifier',
+ module => 'Email::MIME::Modifier',
+ version => '1.43',
+ feature => 'Inbound Email'
+ },
+ {
+ package => 'Email-MIME-Attachment-Stripper',
+ module => 'Email::MIME::Attachment::Stripper',
+ version => 0,
+ feature => 'Inbound Email'
+ },
+ {
+ package => 'Email-Reply',
+ module => 'Email::Reply',
+ version => 0,
+ feature => 'Inbound Email'
+ },
+
+ # mod_perl
{
package => 'mod_perl',
module => 'mod_perl2',