Module: bugzilla
Branch: master
Commit: badf99ca5eab035b9c027c86a5c5bf86eb002f8c
URL: http://source.winehq.org/git/bugzilla.git/?a=commit;h=badf99ca5eab035b9c027…
Author: Lei Zhang <thestig(a)google.com>
Date: Sat Mar 15 11:08:27 2008 -0700
bugzilla: add link from enter bugs page to known issues page
Hi,
Bugs that have been closed no longer show up in the duplicate
statistics. This is one of the possible reasons for some duplicate
bugs. We list these issues on the known issues page in the wiki, so we
should link to it from the enter bugs page.
>From 5b95f95a4c1bb22778a9a2e9a625f82e860c4fbf Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig(a)google.com>
Date: Sat, 15 Mar 2008 11:06:13 -0700
Subject: [PATCH] bugzilla: add link from enter bugs page to known issues page
---
.../en/default/bug/create/user-message.html.tmpl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/template/en/default/bug/create/user-message.html.tmpl b/template/en/default/bug/create/user-message.html.tmpl
index fddc31f..1dbfa12 100644
--- a/template/en/default/bug/create/user-message.html.tmpl
+++ b/template/en/default/bug/create/user-message.html.tmpl
@@ -33,6 +33,7 @@
Before reporting [% terms.abug %], please read the
<a href="http://wiki.winehq.org/Bugs">
[% terms.bug %] writing guidelines</a>, please look at the list of
-<a href="duplicates.cgi">most frequently reported [% terms.bugs %]</a>, and please
+<a href="duplicates.cgi">most frequently reported [% terms.bugs %]</a>, the
+list of <a href="http://wiki.winehq.org/KnownIssues">known issues</a>, and please
<a href="query.cgi">search</a> for the [% terms.bug %] to avoid submitting a
duplicate report.
Module: bugzilla
Branch: master
Commit: 03fd95d16e0a651bc474fee9ee8a79e59c534dae
URL: http://source.winehq.org/git/bugzilla.git/?a=commit;h=03fd95d16e0a651bc474f…
Author: Lei Zhang <thestig(a)google.com>
Date: Sat Mar 15 10:38:59 2008 -0700
bugzilla: set mime types for log files as text/plain
Hi,
Every time bugzilla detects an attachment as a log file, someone needs
to manually change it to text/plain to make it viewable in the
browser. This is rather annoying.
>From 9bd8b5e3fc08963bc245acab3d8b6da490506b6d Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig(a)google.com>
Date: Sat, 15 Mar 2008 10:28:44 -0700
Subject: [PATCH] bugzilla: set mime types for log files as text/plain
---
Bugzilla/Attachment.pm | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index a08c0d5..fa2994d 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -578,6 +578,10 @@ sub validate_content_type {
if ( !$contenttype ) {
$throw_error ? ThrowUserError("missing_content_type") : return 0;
}
+
+ if ($contenttype eq 'text/x-log') {
+ $contenttype = 'text/plain';
+ }
$cgi->param('contenttype', $contenttype);
}
elsif ($cgi->param('contenttypemethod') eq 'list') {