aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-28 17:28:02 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-28 17:28:02 +0200
commitd8cf2a531e1063e71bcb244e74af5c0fdd7c7a78 (patch)
treecccf0120ca20521888e93bc9dd1580673b51df6b
parenta2a4b6ce0207bdb08f30b7d3182b4a074d50e600 (diff)
downloadbugzilla-triage-d8cf2a531e1063e71bcb244e74af5c0fdd7c7a78.tar.gz
Make bugs.freedesktop.org supported as well.
Fixes #101
-rw-r--r--data/XMLRPCdata.json3
-rw-r--r--lib/main.js4
2 files changed, 7 insertions, 0 deletions
diff --git a/data/XMLRPCdata.json b/data/XMLRPCdata.json
index e378f22..085f699 100644
--- a/data/XMLRPCdata.json
+++ b/data/XMLRPCdata.json
@@ -5,6 +5,9 @@
"bugzilla.mozilla.org": {
"url": "https://bugzilla.mozilla.org/xmlrpc.cgi"
},
+ "bugs.freedesktop.org": {
+ "url": "https://bugs.freedesktop.org/xmlrpc.cgi"
+ },
"bz-web2-test.devel.redhat.com": {
"url": "https://bz-web2-test.devel.redhat.com/xmlrpc.cgi"
}
diff --git a/lib/main.js b/lib/main.js
index 235a956..de355d7 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -158,6 +158,7 @@ libbz.initialize(libbz.config, function() {
include : [
"https://bugzilla.redhat.com/show_bug.cgi?id=*",
"https://bugzilla.mozilla.org/show_bug.cgi?id=*",
+ "https://bugs.freedesktop.org/show_bug.cgi?id=*",
"https://bugzilla.gnome.org/show_bug.cgi?id=*"
],
contentScriptWhen : 'ready',
@@ -176,6 +177,9 @@ pageMod.PageMod({
"https://bugzilla.redhat.com/process_bug.cgi",
"https://bugzilla.redhat.com/post_bug.cgi",
"https://bugzilla.redhat.com/attachment.cgi",
+ "https://bugs.freedesktop.org/process_bug.cgi",
+ "https://bugs.freedesktop.org/post_bug.cgi",
+ "https://bugs.freedesktop.org/attachment.cgi",
"https://bugzilla.mozilla.org/process_bug.cgi",
"https://bugzilla.mozilla.org/post_bug.cgi",
"https://bugzilla.mozilla.org/attachment.cgi",