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-06-05 14:53:47 +0200
commit007dd8e60db255408d895e4cca2d7e4d774eb2c3 (patch)
tree8c955d112de549da1f8cfbb3e2caaf0825d4bd4c
parent7fc98165e35fffa5011ce712bf6ab5920b62ee63 (diff)
downloadbugzilla-triage-007dd8e60db255408d895e4cca2d7e4d774eb2c3.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",