aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chip-data/chipNames.json14
-rw-r--r--data/lib/addNewLinks.js9
-rw-r--r--data/lib/bug-page-mod.js4
-rw-r--r--data/lib/fixingAttMIME.js2
-rw-r--r--data/lib/otherButtons.js2
-rw-r--r--data/lib/rhbzpage.js4
-rw-r--r--data/lib/util.js4
-rw-r--r--package.json2
-rw-r--r--pitzdir/hooks/after_saving_entities_to_yaml_files.example6
-rw-r--r--pitzdir/person-d1919a9d-e596-4654-b082-a39837b4756f.yaml11
-rw-r--r--pitzdir/status-1a2999d5-feec-46a6-9c3e-7791397a86eb.yaml11
-rw-r--r--pitzdir/status-3fbe66b0-0887-4ea0-9368-7740b7cce611.yaml11
-rw-r--r--pitzdir/status-780866dd-9d16-4944-ba37-8d05d6a41d06.yaml11
-rw-r--r--pitzdir/status-82d7bd4f-8366-410f-83c1-ae85ac8c1b78.yaml11
-rw-r--r--pitzdir/status-9359a849-7e1c-4473-bc1f-bd985c689e17.yaml13
-rw-r--r--pitzdir/status-af6adcca-3e22-4827-a62e-4b4063f72701.yaml13
16 files changed, 110 insertions, 18 deletions
diff --git a/chip-data/chipNames.json b/chip-data/chipNames.json
index b9bbc7c..ed78655 100644
--- a/chip-data/chipNames.json
+++ b/chip-data/chipNames.json
@@ -550,12 +550,12 @@
"8086,0046":["Arrandale"],
"8086,0080":["Ivy_Bridge"],
"8086,0000":["Larrabee"],
- "8086,0102":["Sandy_Bridge"],
- "8086,0106":["Sandy_Bridge"],
- "8086,0112":["Sandy_Bridge"],
- "8086,0116":["Sandy_Bridge"],
- "8086,0122":["Sandy_Bridge"],
- "8086,0126":["Sandy_Bridge"],
- "8086,010A":["Sandy_Bridge"],
+ "8086,0102":["Sandybridge"],
+ "8086,0106":["Sandybridge"],
+ "8086,0112":["Sandybridge"],
+ "8086,0116":["Sandybridge"],
+ "8086,0122":["Sandybridge"],
+ "8086,0126":["Sandybridge"],
+ "8086,010A":["Sandybridge"],
"15AD:0405":["VMware_SVGA_II"]
}
diff --git a/data/lib/addNewLinks.js b/data/lib/addNewLinks.js
index 7993e07..735a0fc 100644
--- a/data/lib/addNewLinks.js
+++ b/data/lib/addNewLinks.js
@@ -36,6 +36,9 @@
* ***** END LICENSE BLOCK ***** */
function addNewLinks(d) {
+ // Why we are using d.querySelector for something which could be
+ // getElementById().value? FIXME
+ // console.log("addNewLinks : product = " + document.getElementById("product").value);
var product = d.querySelector("#field_container_product option[selected]");
var component = d.querySelector("#component option[selected]");
@@ -54,6 +57,12 @@ function addNewLinks(d) {
var url = 'enter_bug.cgi?product=' + encodeURIComponent(product.value) +
'&component=' + encodeURIComponent(component.value);
if (label) {
+ var componentElement = document.getElementById("bz_component_input");
+ var computedStyle = window.getComputedStyle(componentElement);
+ console.log("computedStyle.display = " + computedStyle.display);
+ if (computedStyle.display == "none") {
+ label = document.getElementById("bz_component_edit_container");
+ };
createDeadLink("file_new_bug_component", "new", label, url, [], "parens");
}
}
diff --git a/data/lib/bug-page-mod.js b/data/lib/bug-page-mod.js
index a5a908d..33742b3 100644
--- a/data/lib/bug-page-mod.js
+++ b/data/lib/bug-page-mod.js
@@ -37,8 +37,8 @@
function tweakBugzilla(d) {
// run on both bugzilla.m.o and bugzilla-stage-tip.m.o
- if (!onBugzillaPage(d.URL))
- return;
+ // if (!onBugzillaPage(d.URL))
+ // return;
// Put the quicksearch text in the quicksearch boxes
quicksearchHandler(d);
diff --git a/data/lib/fixingAttMIME.js b/data/lib/fixingAttMIME.js
index 9297c06..99c32f7 100644
--- a/data/lib/fixingAttMIME.js
+++ b/data/lib/fixingAttMIME.js
@@ -43,7 +43,7 @@ function XMLRPCcallback() {
* this change };
*
*/
-function fixAttachById(id, type, email, XMLRPCURL) {
+function fixAttachById(id, XMLRPCURL, type, email) {
var params = [];
if (type === undefined) {
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index 6bc0499..3a1f76a 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -110,7 +110,7 @@ function addingEmbelishments(list) {
// Add find chip magic button
var whiteboard_string = document.getElementById("status_whiteboard").value;
if (!/card_/.test(whiteboard_string)) {
- fillInChipMagic(XorgLogAttList[0][1]);
+ fillInChipMagic(list[0][1]);
}
}
}
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js
index 81116ba..8831b24 100644
--- a/data/lib/rhbzpage.js
+++ b/data/lib/rhbzpage.js
@@ -140,8 +140,6 @@ function RHcentralCommandDispatch(cmdLabel, cmdParams) {
}
}
-/* === Bugzilla functions === */
-
/**
* Make it sailent that the some attachments with bad MIME type are present
*
@@ -296,7 +294,6 @@ function analyzeXorg(results) {
innerString += "No matching lines found!";
}
- document.body.style.cursor = "auto";
postMessage(new Message("OpenStringInPanel",
'<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">' +
"<html><head><title>Xorg.0.log analysis</title></head><body><pre>\n" +
@@ -305,7 +302,6 @@ function analyzeXorg(results) {
}
function analyzeXorgLog(attachID, backMsg) {
- document.body.style.cursor = "wait";
postMessage(new Message("GetURL", {
url: "https://" + window.location.hostname + "/attachment.cgi?id=" + attachID,
backMessage: backMsg
diff --git a/data/lib/util.js b/data/lib/util.js
index 611d353..6256171 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -140,10 +140,10 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac
locParent.appendChild(newAElem);
if ((before === "br") || (before === true)) {
- locParent.appendChild(document.createElement("br"));
+ locParent.insertBefore(document.createElement("br"), newAElem);
}
else if (before === "dash") {
- locParent.appendChild(document.createTextNode("\u00A0-\u00A0"));
+ locParent.insertBefore(document.createTextNode("\u00A0-\u00A0"), newAElem);
}
else if (before === "parens") {
locParent.appendChild(document.createTextNode(")"));
diff --git a/package.json b/package.json
index 1fbb0f3..e208c36 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"description": "Additional buttons and other function helping in the triage on bugzilla",
"author": "Matej Cepl (http://matej.ceplovi.cz)",
"license": "MIT/X11 (http://opensource.org/licenses/mit-license.php) and MPL",
- "version": "0.92",
+ "version": "0.93",
"contributors": [
"Ehsan Akhgari (http://ehsanakhgari.org/) <ehsan@mozilla.com>",
"Johnathan Nightingale (http://johnath.com) <johnath@mozilla.com>",
diff --git a/pitzdir/hooks/after_saving_entities_to_yaml_files.example b/pitzdir/hooks/after_saving_entities_to_yaml_files.example
new file mode 100644
index 0000000..1d28d5b
--- /dev/null
+++ b/pitzdir/hooks/after_saving_entities_to_yaml_files.example
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+# Make this file executable to enable it.
+echo "Starting the after_saving_entities_to_yaml_files hook..."
+git add $1/.
+echo "Finished the after_saving_entities_to_yaml_files hook."
diff --git a/pitzdir/person-d1919a9d-e596-4654-b082-a39837b4756f.yaml b/pitzdir/person-d1919a9d-e596-4654-b082-a39837b4756f.yaml
new file mode 100644
index 0000000..0c12f82
--- /dev/null
+++ b/pitzdir/person-d1919a9d-e596-4654-b082-a39837b4756f.yaml
@@ -0,0 +1,11 @@
+attached_files: []
+created_time: 2011-03-28 16:14:07.646631
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:22.032692
+modified_time: *id001
+pscore: 0
+title: matej
+type: person
+uuid: !!python/object:uuid.UUID
+ int: 278564670164489182789708313982187894127
+yaml_file_saved: 2011-03-28 16:15:22.094699
diff --git a/pitzdir/status-1a2999d5-feec-46a6-9c3e-7791397a86eb.yaml b/pitzdir/status-1a2999d5-feec-46a6-9c3e-7791397a86eb.yaml
new file mode 100644
index 0000000..d1614a1
--- /dev/null
+++ b/pitzdir/status-1a2999d5-feec-46a6-9c3e-7791397a86eb.yaml
@@ -0,0 +1,11 @@
+attached_files: []
+created_time: 2011-03-28 16:14:05.477512
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:21.808949
+modified_time: *id001
+pscore: 40
+title: paused
+type: status
+uuid: !!python/object:uuid.UUID
+ int: 34775932224770547499270089907461850859
+yaml_file_saved: 2011-03-28 16:15:22.079313
diff --git a/pitzdir/status-3fbe66b0-0887-4ea0-9368-7740b7cce611.yaml b/pitzdir/status-3fbe66b0-0887-4ea0-9368-7740b7cce611.yaml
new file mode 100644
index 0000000..8b5466b
--- /dev/null
+++ b/pitzdir/status-3fbe66b0-0887-4ea0-9368-7740b7cce611.yaml
@@ -0,0 +1,11 @@
+attached_files: []
+created_time: 2011-03-28 16:14:05.478043
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:21.896624
+modified_time: *id001
+pscore: 20
+title: unstarted
+type: status
+uuid: !!python/object:uuid.UUID
+ int: 84729982890146948594172620138817054225
+yaml_file_saved: 2011-03-28 16:15:22.084955
diff --git a/pitzdir/status-780866dd-9d16-4944-ba37-8d05d6a41d06.yaml b/pitzdir/status-780866dd-9d16-4944-ba37-8d05d6a41d06.yaml
new file mode 100644
index 0000000..8077654
--- /dev/null
+++ b/pitzdir/status-780866dd-9d16-4944-ba37-8d05d6a41d06.yaml
@@ -0,0 +1,11 @@
+attached_files: []
+created_time: 2011-03-28 16:14:05.477778
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:21.475995
+modified_time: *id001
+pscore: 30
+title: queued
+type: status
+uuid: !!python/object:uuid.UUID
+ int: 159550984232877760402819834796092693766
+yaml_file_saved: 2011-03-28 16:15:22.075979
diff --git a/pitzdir/status-82d7bd4f-8366-410f-83c1-ae85ac8c1b78.yaml b/pitzdir/status-82d7bd4f-8366-410f-83c1-ae85ac8c1b78.yaml
new file mode 100644
index 0000000..92d23e7
--- /dev/null
+++ b/pitzdir/status-82d7bd4f-8366-410f-83c1-ae85ac8c1b78.yaml
@@ -0,0 +1,11 @@
+attached_files: []
+created_time: 2011-03-28 16:14:05.476964
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:21.852914
+modified_time: *id001
+pscore: 50
+title: started
+type: status
+uuid: !!python/object:uuid.UUID
+ int: 173919822951730134170435275657663224696
+yaml_file_saved: 2011-03-28 16:15:22.082162
diff --git a/pitzdir/status-9359a849-7e1c-4473-bc1f-bd985c689e17.yaml b/pitzdir/status-9359a849-7e1c-4473-bc1f-bd985c689e17.yaml
new file mode 100644
index 0000000..6ec7f0e
--- /dev/null
+++ b/pitzdir/status-9359a849-7e1c-4473-bc1f-bd985c689e17.yaml
@@ -0,0 +1,13 @@
+attached_files: []
+created_by: !!python/object:uuid.UUID
+ int: 278564670164489182789708313982187894127
+created_time: 2011-03-28 16:14:05.461110
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:21.987882
+modified_time: *id001
+pscore: 100
+title: finished
+type: status
+uuid: !!python/object:uuid.UUID
+ int: 195862043068290794414017573255614340631
+yaml_file_saved: 2011-03-28 16:15:22.091386
diff --git a/pitzdir/status-af6adcca-3e22-4827-a62e-4b4063f72701.yaml b/pitzdir/status-af6adcca-3e22-4827-a62e-4b4063f72701.yaml
new file mode 100644
index 0000000..6a258ae
--- /dev/null
+++ b/pitzdir/status-af6adcca-3e22-4827-a62e-4b4063f72701.yaml
@@ -0,0 +1,13 @@
+attached_files: []
+created_by: !!python/object:uuid.UUID
+ int: 278564670164489182789708313982187894127
+created_time: 2011-03-28 16:14:05.478331
+description: ''
+html_file_saved: &id001 2011-03-28 16:15:21.941792
+modified_time: *id001
+pscore: 10
+title: abandoned
+type: status
+uuid: !!python/object:uuid.UUID
+ int: 233169760882796115564254598792274716417
+yaml_file_saved: 2011-03-28 16:15:22.087881