aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-05-31 16:51:50 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-05-31 16:51:50 +0200
commit951ef0d578130106e303e5586f53404a900ccf9c (patch)
tree2b13d67c04365dd78756fbc88dea623ade8e3c65
parentfa726bcbae605dd21861bee728f66a2134a1d385 (diff)
downloadbugzilla-triage-951ef0d578130106e303e5586f53404a900ccf9c.tar.gz
Reshuffling to Jetpack-SDK directory layout.
-rw-r--r--bugzilla-comments.json78
-rw-r--r--bugzillaComments.js344
-rw-r--r--data/BugZappers_data.json (renamed from BugZappers_data.json)0
-rw-r--r--data/RH_Data-packages.json (renamed from RH_Data-packages.json)0
-rwxr-xr-xdata/drm_pciids.awk (renamed from drm_pciids.awk)0
-rw-r--r--data/drm_pciids.json (renamed from drm_pciids.json)0
-rw-r--r--install-bugzillaBugTriage.html10
-rw-r--r--install-skip-bugzilla.html26
-rw-r--r--lib/main.js (renamed from bugzillaBugTriage.js)0
-rw-r--r--lib/skip-process-bug.js (renamed from skip-process-bug.js)0
-rw-r--r--package.json7
-rw-r--r--serialized.txt2
-rw-r--r--user.js8
13 files changed, 7 insertions, 468 deletions
diff --git a/bugzilla-comments.json b/bugzilla-comments.json
deleted file mode 100644
index fdea010..0000000
--- a/bugzilla-comments.json
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- "commentPackages": {
- "test": {
- "test-all": {
- "name": "Test lots of things",
- "product": "Thunderbird",
- "component": "Internal Components",
- "priority": "P1",
- "severity": "major",
- "assignee": "mschroeder",
- "qacontact": "foobar",
- "url": "http://example.com",
- "addDependsOn": "123",
- "removeDependsOn": "456",
- "addBlocks": "789",
- "removeBlocks": "101112",
- "addWhiteboard": ["a","b","c"],
- "removeWhiteboard": ["a","b"],
- "addKeyword": ["d", "e"],
- "removeKeyword": "e",
- "url": "http://example.com",
- "status": "RESOLVED",
- "resolution": "INCOMPLETE",
- "version": "Lightning 0.3",
- "os": "All",
- "platform": "All"
- }
- },
- "mozilla": {
- "safe-mode": {
- "name": "Safe Mode Question",
- "comment": "Have you tried safe mode? (see https://support.mozillamessaging.com/en-US/kb/Safe+Mode for more information)"
- },
- "extension-issue": {
- "name": "Response: Invalid due to extension issue",
- "comment": "Sorry, your issue is to do with an extension and we are unable to support it here. Please raise the issue direct with the extension author or on their site.\n\nYou may find details of how to do this here:\n\n******* INSERT LINK TO EXTENSION SITE *******",
- "status": "RESOLVED",
- "resolution": "INVALID"
- },
- "profile-location": {
- "name": "Profile Location text and link",
- "comment": "To locate your profile, see this page for more information: https://support.mozillamessaging.com/en-US/kb/Profiles"
- },
-
- "no-response": {
- "name": "INCOMPLETE (No Response from Reporter)",
- "comment": "No response for a while now, closing INCOMPLETE. Please reopen if you can reproduce or answer any unanswered questions.",
- "status": "RESOLVED",
- "resolution": "INCOMPLETE"
- }
- },
- "thunderbird": {
- },
-
- "calendar": {
- "console-log": {
- "name": "Calendar Console Log",
- "comment": "Please enable calendar.debug.log and calendar.debug.log.verbose in the advanced config editor (Options > Advanced > General > Config Editor) and check your error console for messages."
- },
- "prepare-checkin": {
- "name": "prepare for checkin",
- "target": "1.0b2",
- "removeKeyword": "checkin-needed",
- "status": "RESOLVED",
- "resolution": "FIXED",
- "comment": "Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/INSERT_REV_HERE>\n\n-> FIXED"
- },
- "what-version": {
- "name": "Using what version?",
- "value": "Please tell us what version you are using:\n\n* Thunderbird\n* Lightning\n* Provider for Google Calendar"
- },
- "retest-nightly": {
- "name": "Restest with nightly",
- "value": "Does this still happen with the latest 1.0b2pre nightlies?"
- }
- }
- }
-}
diff --git a/bugzillaComments.js b/bugzillaComments.js
deleted file mode 100644
index 6ae3e81..0000000
--- a/bugzillaComments.js
+++ /dev/null
@@ -1,344 +0,0 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is Bugzilla Comments Jetpack code.
- *
- * The Initial Developer of the Original Code is
- * Philipp Kewisch <mozilla@kewis.ch>
- * Portions created by the Initial Developer are Copyright (C) 2010
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- * Matěj Cepl <cepl@redhat.com>
- * Mark Banner <bugzilla@standard8.plus.com>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
-
-var manifest = {
- settings: [
- {
- name: "jsonURL",
- type: "text",
- label: "URL for Comments Pack"
- },
- {
- name: "enabledPacks",
- type: "text",
- label: "Enabled Comment Packages"
- }
- ]
-};
-jetpack.future.import("jetpack.storage.settings");
-jetpack.future.import("jetpack.pageMods");
-
-// Container for loaded package json data.
-var gJSONData = null;
-
-////////////////////////////////////////////////////////////////
-// Helper functions
-////////////////////////////////////////////////////////////////
-var hlpr = {
- valToArray: function valToArray(val) {
- let arr = [];
- if (typeof val == "string") {
- arr = [val];
- } else if ($.isArray(val)) {
- arr = val;
- }
- return arr;
- },
-
- addCSVValue: function addCSVValue(str, value) {
- let parts = (str.trim().length > 0 ? str.split(",") : []);
- if (parts.indexOf(value) < 0) {
- parts.concat(hlpr.valToArray(value));
- }
- return parts.join(",");
- },
-
- removeCSVValue: function removeCSVValue(str, value) {
- let parts = (str.trim().length > 0 ? str.split(",") : []);
- for each (let val in hlpr.valToArray(value)) {
- let pos = parts.indexOf(val);
- if (pos > -1) {
- parts.splice(pos, 1);
- }
- }
- return parts.join(",");
- },
-
- selectOption: function selectOption(select, value) {
- let doc = select[0].ownerDocument;
- select.val(value);
-
- let e = doc.createEvent("HTMLEvents");
- e.initEvent("change", true, true);
- select[0].dispatchEvent(e);
- },
-
- clickElement: function clickElement(element) {
- let doc = element[0].ownerDocument;
- let e = doc.createEvent("MouseEvents");
- e.initMouseEvent("click", true, true, doc.defaultView,
- 0, 0, 0, 0, 0, false, false, false, false, 0, null);
- element[0].dispatchEvent(e);
- }
-};
-
-////////////////////////////////////////////////////////////////
-// Basic Bugzilla modifications
-////////////////////////////////////////////////////////////////
-
-function BaseBugzilla(doc) {
- this.doc = doc;
- this.init();
-}
-
-BaseBugzilla.prototype = {
- doc: null,
-
- get: function installedPackages() {
- // TODO does this really need to by dynamic?
- let installedPackages = {};
- if (gJSONData && ("commentPackages" in gJSONData)) {
- let enabledPackages = jetpack.storage.settings.enabledPacks.split(/[, ]/);
- for each (let pkg in enabledPackages) {
- if (pkg in gJSONData.commentPackages) {
- installedPackages[pkg] = gJSONData.commentPackages[pkg];
- }
- }
- }
- return installedPackages;
- },
-
- init: function base_init() {
- this.initCommentsDropdown();
- },
-
- initCommentsDropdown: function base_initCommentsDropdown() {
- let ca = $("<div id='make_bugzilla_comment_action'>" +
- " <label for='comment_action'>Add Comment: </label>" +
- " <select id='comment_action'>" +
- " <option value=''>-- Select Comment from List --</option>" +
- "</div>", this.doc);
- $("#comments", this.doc).append(ca);
-
- let select = $("#comment_action", this.doc);
-
- let packages = this.installedPackages;
-
- for (let pkg in packages) {
- for (let commentId in packages[pkg]) {
- let comment = packages[pkg][commentId];
- let value = pkg + "//" + commentId;
- select.append($("<option/>", this.doc).attr({ value: value })
- .text(comment.name));
- }
- }
- let self = this;
- select.change(function() { self.onCommentsDropdownChange(); });
- },
-
- onCommentsDropdownChange: function onCommentsDropdownChange() {
- let value = $("select#comment_action", this.doc).attr("value");
- if (!value) {
- return;
- }
- let [pkg, id] = value.split("//");
- let commentObj = this.installedPackages[pkg][id];
-
- let commentField = $("#comment", this.doc);
- let keywordsInput = $("#keywords", this.doc);
- let whiteboardsInput = $("#status_whiteboard", this.doc);
- let dependson = $("#dependson", this.doc);
- let blocks = $("#blocked", this.doc);
-
-
- // TODO make these getters/setters on the bz object instead
- console.log("0" + $("#bug_status", this.doc));
- if ("status" in commentObj) hlpr.selectOption($("#bug_status", this.doc), commentObj.status);
- console.log("1");
- if ("resolution" in commentObj) hlpr.selectOption($("#resolution", this.doc), commentObj.resolution);
- console.log("2");
-
- if ("addKeyword" in commentObj) keywordsInput.val(this.addKeyword(keywordsInput.val(), commentObj.addKeyword));
- if ("removeKeyword" in commentObj) keywordsInput.val(this.removeKeyword(keywordsInput.val(), commentObj.removeKeyword));
- if ("addWhiteboard" in commentObj) whiteboardsInput.val(this.addWhiteboard(whiteboardsInput.val(), commentObj.addWhiteboard));
- if ("removeWhiteboard" in commentObj) whiteboardsInput.val(this.removeWhiteboard(whiteboardsInput.val(), commentObj.removeWhiteboard));
- if ("product" in commentObj) hlpr.selectOption($("#product", this.doc), commentObj.product);
- if ("component" in commentObj) hlpr.selectOption($("#component", this.doc), commentObj.component);
- if ("version" in commentObj) hlpr.selectOption($("#version", this.doc), commentObj.version);
- if ("platform" in commentObj) hlpr.selectOption($("#rep_platform", this.doc), commentObj.platform);
- if ("os" in commentObj) hlpr.selectOption($("#op_sys", this.doc), commentObj.os);
-
- if ("priority" in commentObj) hlpr.selectOption($("#priority", this.doc), commentObj.priority);
- if ("severity" in commentObj) hlpr.selectOption($("#bug_severity", this.doc), commentObj.severity);
- if ("target" in commentObj) hlpr.selectOption($("#target_milestone", this.doc), commentObj.target);
-
- if ("assignee" in commentObj) {
- hlpr.clickElement($("#bz_assignee_edit_action", this.doc));
- $("#assigned_to", this.doc).val(commentObj.assignee);
- }
-
- if ("qacontact" in commentObj) {
- hlpr.clickElement($("#bz_qa_contact_edit_action", this.doc));
- $("#qa_contact", this.doc).val(commentObj.qacontact);
- }
-
- if ("url" in commentObj) {
- hlpr.clickElement($("#bz_url_edit_action", this.doc));
- $("#bug_file_loc", this.doc).val(commentObj.url);
- }
-
- // TODO dependson/blocked doesn't work. Find out why.
- if ("addDependsOn" in commentObj) {
- hlpr.clickElement($("#dependson_edit_action", this.doc));
- dependson.val(hlpr.addCSVValue(dependson.val(), commentObj.addDependsOn));
- }
- if ("removeDependsOn" in commentObj) {
- hlpr.clickElement($("#dependson_edit_action", this.doc));
- dependson.val(hlpr.addCSVValue(dependson.val(), commentObj.removeDependsOn));
- }
-
- if ("addBlocks" in commentObj) {
- hlpr.clickElement($("#blocked_edit_action", this.doc));
- blocks.val(hlpr.addCSVValue(blocks.val(), commentObj.addBlocks));
- }
- if ("removeBlocks" in commentObj) {
- hlpr.clickElement($("#blocked_edit_action", this.doc));
- blocks.val(hlpr.removeCSVValue(blocks.val(), commentObj.removeBlocks));
- }
-
- if ("comment" in commentObj) commentField.val(commentField.val() + commentObj.comment);
-
-
- // TODO cclist, flags, see also
-
- if (("commit" in commentObj) && commentObj.commit) {
- // Directly commit the form
- hlpr.clickElement($("#commit"));
- }
- },
-
- addKeyword: function addKeyword(str, keyword) {
- return hlpr.addCSVValue(str, keyword);
- },
-
- removeKeyword: function removeKeyword(str, keyword) {
- return hlpr.removeCSVValue(str, keyword);
- },
-
- addWhiteboard: function addWhiteboard(str, wbFlag) {
- return hlpr.addCSVValue(str, wbFlag);
- },
-
- removeWhiteboard: function removeWhiteboard(str, wbFlag) {
- return hlpr.removeCSVValue(str, wbFlag);
- }
-};
-
-////////////////////////////////////////////////////////////////
-// Mozilla Specific Bugzilla modifications
-////////////////////////////////////////////////////////////////
-
-function MozillaBugzilla(doc) {
- BaseBugzilla.apply(this, arguments);
-}
-
-MozillaBugzilla.prototype = {
- __proto__: BaseBugzilla.prototype,
-
- addWhiteboard: function(str, wbFlagVal) {
- // At least calendar uses [foo] for whiteboard flags, do this differently for moz
- // TODO make this based on current component, if needed.
- for each (let wbFlag in hlpr.valToArray(wbFlagVal)) {
- let fullWbFlag = "[" + wbFlag + "]";
- if (str.indexOf(fullWbFlag) < 0) {
- str += fullWbFlag;
- }
- }
- return str;
- },
-
- removeWhiteboard: function removeWhiteboard(str, wbFlagVal) {
- for each (let wbFlag in hlpr.valToArray(wbFlagVal)) {
- let fullWbFlag = "[" + wbFlag + "]";
- str = str.replace(fullWbFlag, "");
- }
- return str;
- }
-};
-
-////////////////////////////////////////////////////////////////
-// Redhat Specific Bugzilla modifications
-////////////////////////////////////////////////////////////////
-function RedhatBugzilla(doc) {
- BaseBugzilla.apply(this, arguments);
-}
-
-RedhatBugzilla.prototype = {
- __proto__: BaseBugzilla
-
- // TODO integrate mcepl's code
-};
-
-////////////////////////////////////////////////////////////////
-// Initialize the JSON Data on each jetpack reload
-////////////////////////////////////////////////////////////////
-(function initJSONData() {
- // Load json file into gJSONData
- if (jetpack.storage.settings.jsonURL) {
- let req = new XMLHttpRequest();
- req.open("GET", jetpack.storage.settings.jsonURL, false);
- req.overrideMimeType("application/json");
- req.send(null);
- if (req.status == 200 || req.status == 0) {
- gJSONData = JSON.parse(req.responseText);
- }
- }
-})();
-
-////////////////////////////////////////////////////////////////
-// Initialize page modifications
-////////////////////////////////////////////////////////////////
-const bzMap = {
- "https://bugzilla.mozilla.org/show_bug.cgi": MozillaBugzilla,
- "https://bugzilla.redhat.com/show_bug.cgi": RedhatBugzilla
-};
-
-function figureOutBugzilla(doc) {
- // We need the url without the query params, strip them.
- let href = doc.location.href;
- href = href.substr(0, href.length - doc.location.search.length);
-
- // Now check if we have a custom implementation
- let impl = (href in bzMap ? bzMap[href] : BaseBugzilla);
-
- // Instanciate, this starts modifying the page.
- new impl(doc);
-}
-
-jetpack.pageMods.add(figureOutBugzilla,
- { matches: [ uri for (uri in bzMap) ] });
diff --git a/BugZappers_data.json b/data/BugZappers_data.json
index d76aaef..d76aaef 100644
--- a/BugZappers_data.json
+++ b/data/BugZappers_data.json
diff --git a/RH_Data-packages.json b/data/RH_Data-packages.json
index b0cb6de..b0cb6de 100644
--- a/RH_Data-packages.json
+++ b/data/RH_Data-packages.json
diff --git a/drm_pciids.awk b/data/drm_pciids.awk
index dea8fd2..dea8fd2 100755
--- a/drm_pciids.awk
+++ b/data/drm_pciids.awk
diff --git a/drm_pciids.json b/data/drm_pciids.json
index ee45add..ee45add 100644
--- a/drm_pciids.json
+++ b/data/drm_pciids.json
diff --git a/install-bugzillaBugTriage.html b/install-bugzillaBugTriage.html
deleted file mode 100644
index d6f3a4d..0000000
--- a/install-bugzillaBugTriage.html
+++ /dev/null
@@ -1,10 +0,0 @@
-<html>
- <head>
- <title>Install Jetpack</title>
- <link rel="jetpack" href="bugzillaBugTriage.js"
- name="Bugzilla Triaging Jetpack"/>
- </head>
- <body>
- Installing Bugzilla Triaging Jetpack.
- </body>
-</html>
diff --git a/install-skip-bugzilla.html b/install-skip-bugzilla.html
deleted file mode 100644
index e445d2c..0000000
--- a/install-skip-bugzilla.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE HTML>
-<html lang="en"><head>
-
-
- <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
- <title>Skip Bugzilla's process_bug.cgi</title>
- <link rel="jetpack" href="skip-process-bug.js">
- </head><body>
- <article>
- <h1>Skip Bugzilla's process_bug.cgi</h1>
- <p>
- When you update anything on Bugzilla, you're left on process_bug.cgi, a
- POSTed page. This sucks. <code>POST</code> is for data,
- <code>GET</code> is for web pages.
- </p>
- <p>
- When process_bug.cgi is detected, document.location is changed to the
- bug's real location and any email notifications are shown with
- <code>jetpack.notifications</code>.
- </p>
- <p>
- This jetpack uses some terrible screen scraping that's likely to break,
- but I'll probably fix it quickly since I'm on bugzilla every day.
- </p>
- </article>
- </body></html>
diff --git a/bugzillaBugTriage.js b/lib/main.js
index 4917a5a..4917a5a 100644
--- a/bugzillaBugTriage.js
+++ b/lib/main.js
diff --git a/skip-process-bug.js b/lib/skip-process-bug.js
index 3f82578..3f82578 100644
--- a/skip-process-bug.js
+++ b/lib/skip-process-bug.js
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..5c8fe4d
--- /dev/null
+++ b/package.json
@@ -0,0 +1,7 @@
+{
+ "dependencies": [
+ "jetpack-core"
+ ],
+ "description": "Help for triage on bugzilla",
+ "author": "Matěj Cepl (http://matej.ceplovi.cz)"
+}
diff --git a/serialized.txt b/serialized.txt
deleted file mode 100644
index 72e1a5f..0000000
--- a/serialized.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-serForm:
-({dataOut:"delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&delta_ts=undefined&longdesclength=undefined&id=undefined&id=undefined&id=undefined&id=undefined&id=undefined&id=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&token=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&short_desc=undefined&&product=undefined&product=undefined&product=undefined&product=undefined&product=undefined&product=undefined&component=undefined&component=undefined&component=undefined&component=undefined&component=undefined&component=undefined&component=undefined&component=undefined&component=undefined&version=undefined&version=undefined&rep_platform=undefined&rep_platform=undefined&rep_platform=undefined&rep_platform=undefined&op_sys=undefined&op_sys=undefined&op_sys=undefined&op_sys=undefined&op_sys=undefined&priority=undefined&priority=undefined&priority=undefined&bug_severity=undefined&bug_severity=undefined&bug_severity=undefined&bug_severity=undefined&bug_severity=undefined&bug_severity=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&assigned_to=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&qa_contact=undefined&&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&status_whiteboard=undefined&keywords=undefined&keywords=undefined&keywords=undefined&keywords=undefined&keywords=undefined&keywords=undefined&keywords=undefined&keywords=undefined&&&&&&cf_cust_facing=undefined&cf_cust_facing=undefined&cf_cust_facing=undefined&&&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&cf_devel_whiteboard=undefined&&&&cf_targetrelease=undefined&cf_targetrelease=undefined&cf_targetrelease=undefined&&&&&&&&&flag_type-65=undefined&flag_type-67=undefined&flag_type-16=undefined&&flag_type-66=undefined&defined_bit-41=undefined&defined_bit-68=undefined&defined_bit-31=undefined&defined_bit-58=undefined&defined_bit-50=undefined&defined_bit-83=undefined&defined_bit-21=undefined&defined_bit-32=undefined&defined_bit-15=undefined&defined_bit-12=undefined&defined_bit-161=undefined&defined_bit-44=undefined&defined_bit-22=undefined&defined_bit-11=undefined&defined_bit-48=undefined&defined_bit-10=undefined&defined_bit-93=undefined&estimated_time=undefined&estimated_time=undefined&estimated_time=undefined&work_time=undefined&remaining_time=undefined&remaining_time=undefined&remaining_time=undefined&&external_id=undefined&&&&&bug_status=undefined&bug_status=undefined&bug_status=undefined&bug_status=undefined&bug_status=undefined&bug_status=undefined&bug_status=undefined&bug_status=undefined&resolution=undefined&resolution=undefined&resolution=undefined&resolution=undefined&resolution=undefined&resolution=undefined&resolution=undefined&&defined_isprivate_2565431=undefined&defined_isprivate_2555537=undefined&defined_isprivate_2496782=undefined&defined_isprivate_2496777=undefined&defined_isprivate_2494690=undefined&defined_isprivate_2494684=undefined&defined_isprivate_2494683=undefined", name:"changeform", method:"post", acceptCharset:"", action:"https://bugzilla.redhat.com/process_bug.cgi", enctype:"", cookie:"rh_omni_tc=70160000000H4AoAAK; s_vi=[CS]v1|25979917051D2C29-6000013700076A9D[CE]; __qca=P0-1013915279-1261384255803; Bugzilla_login=74116; Bugzilla_logincookie=0MwDAbAIPF; LASTORDER=bugs.bug_status%2Cbugs.bug_id; DEFAULTFORMAT=specific; VERSION-Fedora=rawhide; BUGLIST=540856%3A551750%3A551892%3A551907%3A552418%3A552428%3A552481%3A552498%3A552517%3A552523%3A552552%3A552558%3A552559%3A552601%3A552605%3A552620; Bugzilla_javascript=1", autocomplete:"off", bugNo:"540856"})
diff --git a/user.js b/user.js
deleted file mode 100644
index c669870..0000000
--- a/user.js
+++ /dev/null
@@ -1,8 +0,0 @@
-user_pref("signed.applets.codebase_principal_support", true);
-user_pref("capability.policy.policynames", "allowclipboard");
-user_pref("capability.policy.allowclipboard.sites", "https://bugzilla.redhat.com");
-user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
-user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
-user_pref("capability.principal.codebase.p0.granted", "UniversalXPConnect");
-user_pref("capability.principal.codebase.p0.id", "https://bugzilla.redhat.com");
-user_pref("capability.principal.codebase.p0.subjectName", "");