diff options
52 files changed, 130 insertions, 694 deletions
diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/019f1b74-7113-4213-8b66-b63ae63fa603/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/019f1b74-7113-4213-8b66-b63ae63fa603/values deleted file mode 100644 index 47fef87..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/019f1b74-7113-4213-8b66-b63ae63fa603/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: wontfix - - -summary: maintCCAddr sent to filterByRegexp are array, not string - - -time: Sat, 19 Feb 2011 22:31:21 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values deleted file mode 100644 index aee706f..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: open - - -summary: Ability to skip over commenting by empty string - - -time: Wed, 02 Mar 2011 12:34:41 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/476bde43-fa24-445f-a79e-b3d251bc515a/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/476bde43-fa24-445f-a79e-b3d251bc515a/values deleted file mode 100644 index 979094f..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/476bde43-fa24-445f-a79e-b3d251bc515a/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: Doesn't allow empty comment string in log - - -time: Thu, 17 Feb 2011 18:54:37 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa/body deleted file mode 100644 index 3aa11b7..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa/body +++ /dev/null @@ -1,2 +0,0 @@ -CSS priorities are so complicated, that I just cannot afford time -and fragility incurred. diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa/values deleted file mode 100644 index 396eeab..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Thu, 24 Feb 2011 18:03:14 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604/body deleted file mode 100644 index 4e46d53..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604/body +++ /dev/null @@ -1,4 +0,0 @@ -So instead of this.RHColor, this.FedoraColor, this.RawhideColor, -this.RHITColor variables and using style attribute, I would have -special styles in the webpages stylesheet, and link to them with -class. diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604/values deleted file mode 100644 index 6f954fb..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Wed, 16 Feb 2011 23:25:23 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/values deleted file mode 100644 index 1cc21d4..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: wontfix - - -summary: define proper CSS styles instead of using variables and style attribute - - -time: Wed, 16 Feb 2011 23:24:49 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112/body deleted file mode 100644 index bfa2555..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112/body +++ /dev/null @@ -1 +0,0 @@ -doesn't fill anything diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112/values deleted file mode 100644 index ae7297a..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Wed, 16 Feb 2011 23:20:18 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/values deleted file mode 100644 index a1e77c0..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: fixed - - -summary: fillIn magic is broken again - - -time: Wed, 16 Feb 2011 23:20:01 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/829f5222-d220-4406-90da-835b72b70a97/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/829f5222-d220-4406-90da-835b72b70a97/values deleted file mode 100644 index 8fe2990..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/829f5222-d220-4406-90da-835b72b70a97/values +++ /dev/null @@ -1,21 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -extra_strings: -- BLOCKS:99abb100-a0e8-49b0-8799-a47e4d5fb0b3 - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: open - - -summary: make it work on BMO and BGO again - - -time: Thu, 17 Feb 2011 17:09:22 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/88fa923c-59ee-47bf-b7c8-d1a7a7bdeb33/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/88fa923c-59ee-47bf-b7c8-d1a7a7bdeb33/values deleted file mode 100644 index bd41f28..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/88fa923c-59ee-47bf-b7c8-d1a7a7bdeb33/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: Hide "Fill in" button when it is not meaningful - - -time: Wed, 16 Feb 2011 23:58:26 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54/body deleted file mode 100644 index f342a5a..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54/body +++ /dev/null @@ -1,11 +0,0 @@ -[16:58:10] mcepl: another question: is there some example -somewhere of unit test testing pageMods. Meaning, my script works -on bugzilla and tests I do is to: run firefox, login to -bugzilla.redhat.com, open some random bug (or some particular one -if it is some specific thing I want to test), and look for -exceptions. How to make this automatic? -[17:01:59] dietrich: mcepl: packages/addon-kit/tests/test-pagemod.js -[17:02:04] dietrich: (or something near that) -[17:02:16] dietrich: not sure if does what you want, but should have examples -[17:02:21] mcepl: will take a look -[17:03:07] * mcepl makes note to switch to proper pageMods diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54/values deleted file mode 100644 index 6ebae43..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Wed, 16 Feb 2011 23:22:03 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/values deleted file mode 100644 index b7fa8ba..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/values +++ /dev/null @@ -1,24 +0,0 @@ -assigned: Matěj Cepl <mcepl@redhat.com> - - -creator: Matěj Cepl <mcepl@redhat.com> - - -extra_strings: -- BLOCKS:d4145155-0ef1-409e-9236-261eb08f75d5 - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: open - - -summary: switch to pageMods - - -time: Wed, 16 Feb 2011 23:20:39 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body deleted file mode 100644 index 392378f..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/body +++ /dev/null @@ -1,34 +0,0 @@ -Skript: -file:///home/matej/projekty/jetpack-sdk/packages/jetpack-core/lib/securable-module.js - -> -resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-bugzilla-triage-lib/bzpage.js:700 - - but I am not sure how reliable it is ... there doesn't seem to -be anything crazy going on there. - -This is somewhere around the line 700 in that time. - -BZPage.prototype.selectOptionByLabel = function selectOptionByLabel(id, label, fireEvent) { - if (!fireEvent) { - fireEvent = true; - } - var sel = this.doc.getElementById(id); - var labelRE = new RegExp(label.trim()); - var ourOption = Array.filter(sel.options, function (op) { - return op.textContent.trim() === label; - }, this); - - if (ourOption[0]) { - sel.value = ourOption[0].value; - } - - if (fireEvent) { - var intEvent = this.doc.createEvent("HTMLEvents"); - intEvent.initEvent("change", true, true); - sel.dispatchEvent(intEvent); - } - }; - -Please enter your comment above - -> with some bugs (many) scripts seems to be freezing (running endlessly) on bugzilla.mozilla.org diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values deleted file mode 100644 index 4ca0acb..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Wed, 16 Feb 2011 23:27:05 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/values deleted file mode 100644 index cc186bb..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/values +++ /dev/null @@ -1,22 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -extra_strings: -- BLOCKED-BY:829f5222-d220-4406-90da-835b72b70a97 - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: open - - -summary: with some bugs (many) scripts seems to be freezing (running endlessly) on - bugzilla.mozilla.org - - -time: Wed, 16 Feb 2011 23:25:53 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/9ba533b6-61b6-437a-b4b6-be12aae025e5/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/9ba533b6-61b6-437a-b4b6-be12aae025e5/values deleted file mode 100644 index cbf5191..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/9ba533b6-61b6-437a-b4b6-be12aae025e5/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: fixed - - -summary: queryLocal doesn't - - -time: Thu, 17 Feb 2011 17:08:36 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227/body deleted file mode 100644 index 1152ebe..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227/body +++ /dev/null @@ -1,2 +0,0 @@ -Actually we don't have nouveau data, so we just show Chipset -line. diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227/values deleted file mode 100644 index dbc994a..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Thu, 24 Feb 2011 22:49:00 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc/body deleted file mode 100644 index 27f13ae..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc/body +++ /dev/null @@ -1,2 +0,0 @@ -I have updated ATI data, but there are actually no nouveau data -included. diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc/values deleted file mode 100644 index c588275..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Thu, 24 Feb 2011 18:03:53 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values deleted file mode 100644 index 951108f..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: Update nouveau data - - -time: Tue, 22 Feb 2011 11:35:44 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values deleted file mode 100644 index 457d5a8..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261/values +++ /dev/null @@ -1,18 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: protect against running fillIn magic when it has been already done and [something] - is included - - -time: Tue, 22 Feb 2011 11:35:35 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/c81c6f54-62b8-471f-92b0-d67c5aa23bc1/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/c81c6f54-62b8-471f-92b0-d67c5aa23bc1/values deleted file mode 100644 index db43897..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/c81c6f54-62b8-471f-92b0-d67c5aa23bc1/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: Generate time sheet! - - -time: Tue, 01 Mar 2011 21:53:13 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef/body deleted file mode 100644 index 94b881c..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef/body +++ /dev/null @@ -1,3 +0,0 @@ -repo is - http://hg.mozilla.org/users/ehsan.akhgari_gmail.com/extensions/summary - blog http://ehsanakhgari.org/ diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef/values deleted file mode 100644 index 1e9d89f..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Wed, 16 Feb 2011 23:17:40 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/values deleted file mode 100644 index e58c618..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: open - - -summary: try to merge bugzillatweaks - - -time: Wed, 16 Feb 2011 23:14:32 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d315d824-bb0d-4a28-941d-88a1aa77ffa0/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d315d824-bb0d-4a28-941d-88a1aa77ffa0/values deleted file mode 100644 index 6571631..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d315d824-bb0d-4a28-941d-88a1aa77ffa0/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: fillIn button needs to click on (edit) link as well - - -time: Mon, 21 Feb 2011 17:56:18 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff/body deleted file mode 100644 index bfb88f7..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff/body +++ /dev/null @@ -1,2 +0,0 @@ - Mess we have (which needs to be regenerated) is at -http://gitorious.org/addon-sdk/bugzilla-triage-scripts/commits/api-documentation diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff/values deleted file mode 100644 index d544520..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Wed, 16 Feb 2011 23:19:36 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/values deleted file mode 100644 index a2fc3c6..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/values +++ /dev/null @@ -1,21 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -extra_strings: -- BLOCKED-BY:989f85c8-3941-4a97-a447-bdbf0fbbd7f4 - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: wishlist - - -status: open - - -summary: API documentation is incomplete - - -time: Wed, 16 Feb 2011 23:18:28 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8/body b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8/body deleted file mode 100644 index 32b4893..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8/body +++ /dev/null @@ -1,49 +0,0 @@ -info: messageHandler: msg = ({cmd:"MakeXMLRPCall", -data:{url:{url:"https://bugzilla.redhat.com/xmlrpc.cgi"}, -login:"mcepl@redhat.com", method:"bugzilla.updateAttachMimeType", -params:[{attach_id:"479099", mime_type:"text/plain", -nomail:true}], callRPC:"FixAttachmentMIMECallback"}}) -error: An exception occurred. -Traceback (most recent call last): - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/timer.js", -line 64, in notifyOnTimeout - this._callback.apply(null, this._params); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/content/worker.js", -line 64, in emitter - emit.apply(scope, params); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/events.js", -line 129, in _emit - return this._emitOnObject.apply(this, args); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/events.js", -line 159, in _emitOnObject - listener.apply(targetObj, params); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-bugzilla-triage-lib/main.js", -line 134, in - messageHandler(worker, msg); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-bugzilla-triage-lib/main.js", -line 92, in messageHandler - msg.data.params, function(ret) { - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-bugzilla-triage-lib/libbugzilla.js", -line 260, in makeXMLRPCCall - var urlObj = urlMod.URL(url); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/api-utils.js", -line 69, in PublicCtor - privateCtor.apply(obj, arguments); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/url.js", -line 97, in URL - var uri = newURI(url, base); - File -"resource://jid0-uxmbewgoltuuuqrhkhrr7hw3iqy-api-utils-lib/url.js", -line 51, in newURI - throw new Error("malformed URI: " + uriStr); -Error: malformed URI: [object Object] - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8/values deleted file mode 100644 index e239bfd..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8/values +++ /dev/null @@ -1,8 +0,0 @@ -Author: Matěj Cepl <mcepl@redhat.com> - - -Content-type: text/plain - - -Date: Thu, 17 Feb 2011 15:14:51 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/values deleted file mode 100644 index 627b9d6..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: fixed - - -summary: XMLRPC call doesn't - - -time: Thu, 17 Feb 2011 15:14:19 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/f7ecb466-c223-40c7-a44b-6e1f8f5c6df4/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/f7ecb466-c223-40c7-a44b-6e1f8f5c6df4/values deleted file mode 100644 index a4fb142..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/f7ecb466-c223-40c7-a44b-6e1f8f5c6df4/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: create data/lib and data/test directories and populate them - - -time: Tue, 22 Feb 2011 08:20:32 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fcebd19c-12b9-43ae-bc54-7cae39396e9f/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fcebd19c-12b9-43ae-bc54-7cae39396e9f/values deleted file mode 100644 index 4ebfd98..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fcebd19c-12b9-43ae-bc54-7cae39396e9f/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: product in queries should be from the form, not additional query table - - -time: Fri, 18 Feb 2011 09:44:19 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fe5d2894-18a6-4864-b7e6-1eba7e300425/values b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fe5d2894-18a6-4864-b7e6-1eba7e300425/values deleted file mode 100644 index 3843507..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fe5d2894-18a6-4864-b7e6-1eba7e300425/values +++ /dev/null @@ -1,17 +0,0 @@ -creator: Matěj Cepl <mcepl@redhat.com> - - -reporter: Matěj Cepl <mcepl@redhat.com> - - -severity: minor - - -status: closed - - -summary: storing log messages does not work. - - -time: Thu, 24 Feb 2011 23:03:41 +0000 - diff --git a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/settings b/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/settings deleted file mode 100644 index e69de29..0000000 --- a/.be/27c176c2-26be-4a51-bb71-2aff47c5484b/settings +++ /dev/null diff --git a/.be/id-cache b/.be/id-cache deleted file mode 100644 index c56d0ab..0000000 --- a/.be/id-cache +++ /dev/null @@ -1,31 +0,0 @@ -829f5222-d220-4406-90da-835b72b70a97 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/829f5222-d220-4406-90da-835b72b70a97 -a9d5d16d-1c7d-4918-8be2-bd499a799b54 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4/comments/a9d5d16d-1c7d-4918-8be2-bd499a799b54 -ba22934d-f4f1-42ce-95f5-c56394a83ccc .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/ba22934d-f4f1-42ce-95f5-c56394a83ccc -ecff7ddb-1d5f-406b-9b3b-18388d575604 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/ecff7ddb-1d5f-406b-9b3b-18388d575604 -11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4/comments/11c4a6bb-a7a5-4d18-bab5-14ab119bb3ef -12d5c683-231b-4b4f-8f05-b6ae32a5b0a8 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa/comments/12d5c683-231b-4b4f-8f05-b6ae32a5b0a8 -476bde43-fa24-445f-a79e-b3d251bc515a .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/476bde43-fa24-445f-a79e-b3d251bc515a -29f5f313-559a-4fea-88fa-fc4a4fc94112 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba/comments/29f5f313-559a-4fea-88fa-fc4a4fc94112 -d4145155-0ef1-409e-9236-261eb08f75d5 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5 -5fc172f0-231a-4d0e-9c6b-8d9f60abbfba .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5fc172f0-231a-4d0e-9c6b-8d9f60abbfba -d315d824-bb0d-4a28-941d-88a1aa77ffa0 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d315d824-bb0d-4a28-941d-88a1aa77ffa0 -88fa923c-59ee-47bf-b7c8-d1a7a7bdeb33 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/88fa923c-59ee-47bf-b7c8-d1a7a7bdeb33 -f7ecb466-c223-40c7-a44b-6e1f8f5c6df4 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/f7ecb466-c223-40c7-a44b-6e1f8f5c6df4 -020d417e-bb74-4a80-a7b5-9f858bb93994 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/020d417e-bb74-4a80-a7b5-9f858bb93994 -c81c6f54-62b8-471f-92b0-d67c5aa23bc1 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/c81c6f54-62b8-471f-92b0-d67c5aa23bc1 -9ba533b6-61b6-437a-b4b6-be12aae025e5 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/9ba533b6-61b6-437a-b4b6-be12aae025e5 -ca8df3f8-7557-4730-bcca-3707776f5db4 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ca8df3f8-7557-4730-bcca-3707776f5db4 -b9e11546-5ec7-4464-8070-35c5510c13ff .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/d4145155-0ef1-409e-9236-261eb08f75d5/comments/b9e11546-5ec7-4464-8070-35c5510c13ff -fcebd19c-12b9-43ae-bc54-7cae39396e9f .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fcebd19c-12b9-43ae-bc54-7cae39396e9f -99abb100-a0e8-49b0-8799-a47e4d5fb0b3 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3 -27c176c2-26be-4a51-bb71-2aff47c5484b .be/27c176c2-26be-4a51-bb71-2aff47c5484b -5718cbae-15da-4921-8371-5be69197c4ed .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed -62c92ec0-678a-4834-ad69-76aff18e2227 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb/comments/62c92ec0-678a-4834-ad69-76aff18e2227 -bd5cef03-c389-4fab-8336-30a02ee97261 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/bd5cef03-c389-4fab-8336-30a02ee97261 -70b1e7f3-6446-45dc-91e5-e338d51770aa .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/99abb100-a0e8-49b0-8799-a47e4d5fb0b3/comments/70b1e7f3-6446-45dc-91e5-e338d51770aa -fe5d2894-18a6-4864-b7e6-1eba7e300425 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/fe5d2894-18a6-4864-b7e6-1eba7e300425 -ad8fee41-b8dd-4c4e-85e1-4ab96923cecb .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/ad8fee41-b8dd-4c4e-85e1-4ab96923cecb -0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/5718cbae-15da-4921-8371-5be69197c4ed/comments/0b63aae5-7ff9-4980-98ab-d13c8ffaa0aa -019f1b74-7113-4213-8b66-b63ae63fa603 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/019f1b74-7113-4213-8b66-b63ae63fa603 -989f85c8-3941-4a97-a447-bdbf0fbbd7f4 .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/989f85c8-3941-4a97-a447-bdbf0fbbd7f4 -e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa .be/27c176c2-26be-4a51-bb71-2aff47c5484b/bugs/e16d92aa-df09-4851-b6a0-3ed0ea2ff0fa diff --git a/.be/version b/.be/version deleted file mode 100644 index e7aade4..0000000 --- a/.be/version +++ /dev/null @@ -1 +0,0 @@ -Bugs Everywhere Directory v1.4 diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js index bd8e6ce..c256228 100644 --- a/data/lib/bzpage.js +++ b/data/lib/bzpage.js @@ -75,6 +75,7 @@ function centralCommandDispatch (cmdLabel, cmdParams) { console.log("centralCommandDispatch : cmdLabel = " + cmdLabel); switch (cmdLabel) { case "name": + case "position": break; case "resolution": case "product": @@ -248,22 +249,25 @@ function changeAssignee (newAssignee) { function addToCommentsDropdown (cmdObj) { var select = document.getElementById("comment_action"); if (!select) { + config.commandsList = []; document.getElementById("comments").innerHTML += "<div id='make_bugzilla_comment_action'>" + " <label for='comment_action'>Add Comment: </label>" + " <select id='comment_action'>" + " <option value=''>-- Select Comment from List --</option>" + + " </select>" + "</div>"; select = document.getElementById("comment_action"); select.addEventListener("change", function (evt) { var value = select.options[select.selectedIndex].value; - log("value = " + value); - executeCommand(value); + executeCommand(config.commandsList[value]); }, false); } var opt = document.createElement("option"); - opt.value = cmdObj; + var objIdx = config.commandsList.length + 1; + opt.value = objIdx; + config.commandsList[objIdx] = cmdObj; opt.textContent = cmdObj.name; select.appendChild(opt); } @@ -332,7 +336,7 @@ function generateButtons (pkgs, kNodes) { // ========================================================= if (kNodes && window.location.hostname in kNodes) { - var killConf = killNodes[window.location.hostname]; + var killConf = kNodes[window.location.hostname]; killNodes(document, killConf[0], killConf[1]); } @@ -718,7 +722,7 @@ function getSelection () { * @param product (optional) string with the product name, if undefined, * search in all products * @return None - * + * */ function queryInNewTab(text, component, product) { var urlStr = "https://" + window.location.hostname + "/buglist.cgi?query_format=advanced"; @@ -743,11 +747,11 @@ function queryInNewTab(text, component, product) { // for further investigative searches if (text) { text = encodeURIComponent(text.trim()); - var searchText = "&field1-0-0=longdesc&type1-0-0=substring&value1-0-0=" + var searchText = "&field0-0-0=longdesc&type0-0-0=substring&value0-0-0=" + text - + "&field1-0-1=attach_data.thedata&type1-0-1=substring&value1-0-1=" + + "&field0-0-1=attach_data.thedata&type0-0-1=substring&value0-0-1=" + text - + "&field1-0-2=status_whiteboard&type1-0-2=substring&value1-0-2=" + + "&field0-0-2=status_whiteboard&type0-0-2=substring&value0-0-2=" + text; urlStr += searchText; postMessage(new Message("OpenURLinTab", urlStr)); diff --git a/data/lib/jumpNextBug.js b/data/lib/jumpNextBug.js new file mode 100644 index 0000000..f07bed0 --- /dev/null +++ b/data/lib/jumpNextBug.js @@ -0,0 +1,15 @@ +// Released under the MIT/X11 license +// http://www.opensource.org/licenses/mit-license.php +"use strict"; +var nextElement = {}; +var nextRE = new RegExp("Next"); + +var aNavigElements = document.querySelectorAll("#bugzilla-body .navigation a"); +var filteredElements = Array.filter(aNavigElements, function(elem) { + return nextRE.test(elem.textContent); +}); +if (filteredElements.length > 0) { + nextElement = filteredElements[0]; + nextElement.setAttribute("accesskey", "n"); + nextElement.innerHTML = "<u>N</u>ext"; +} diff --git a/data/lib/logging-front.js b/data/lib/logging-front.js index b3a175d..f6b3546 100644 --- a/data/lib/logging-front.js +++ b/data/lib/logging-front.js @@ -82,4 +82,6 @@ function setUpLogging () { */ } -setUpLogging(); +if (window.location.hostname == "bugzilla.redhat.com") { + setUpLogging(); +} diff --git a/data/lib/util.js b/data/lib/util.js index 0ecc318..1b5c37d 100644 --- a/data/lib/util.js +++ b/data/lib/util.js @@ -115,7 +115,8 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac } else { newAElem.setAttribute("href", ""); newAElem.addEventListener("click", function(evt) { - callback.apply(null, params); + // callback.apply(null, params); + callback(params); evt.stopPropagation(); evt.preventDefault(); }, false); diff --git a/jsons/Config_data.json b/jsons/Config_data.json index 01775f1..8db7b27 100644 --- a/jsons/Config_data.json +++ b/jsons/Config_data.json @@ -116,7 +116,7 @@ "https://bugzilla.gnome.org/show_bug.cgi.*" ], "enabledPackages":{ - "bugzilla.redhat.com":"any" + "bugzilla.redhat.com":"all" }, "killNodes":{ "bugzilla.gnome.org":[ diff --git a/jsons/Config_mozilla.json b/jsons/Config_mozilla.json index 2526e29..302bda9 100644 --- a/jsons/Config_mozilla.json +++ b/jsons/Config_mozilla.json @@ -1,92 +1,95 @@ { - "commentPackages":{ - "mozilla":{ - "safe-mode":{ - "name":"Safe Mode Question", - "position":"dropDown", - "comment":"Have you tried safe mode? (see https://support.mozillamessaging.com/en-US/kb/Safe+Mode for more information)" + "commentPackages": { + "mozilla": { + "safe-mode": { + "name": "Safe Mode Question", + "position": "dropDown", + "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", - "position":"dropDown", - "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" + "extension-issue": { + "name": "Response: Invalid due to extension issue", + "position": "dropDown", + "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", - "position":"dropDown", - "comment":"To locate your profile, see this page for more information: https://support.mozillamessaging.com/en-US/kb/Profiles" + "profile-location": { + "name": "Profile Location text and link", + "position": "dropDown", + "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)", - "position":"dropDown", - "comment":"No response for a while now, closing INCOMPLETE. Please reopen if you can reproduce or answer any unanswered questions.", - "status":"RESOLVED", - "resolution":"INCOMPLETE" + "no-response": { + "name": "INCOMPLETE (No Response from Reporter)", + "position": "dropDown", + "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":{ + "thunderbird": { }, - "calendar":{ - "console-log":{ - "name":"Calendar Console Log", - "position":"dropDown", - "commentIdx":"consoleLogStr" + "calendar": { + "console-log": { + "name": "Calendar Console Log", + "position": "dropDown", + "commentIdx": "consoleLogStr" }, - "prepare-checkin":{ - "name":"prepare for checkin", - "position":"dropDown", - "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" + "prepare-checkin": { + "name": "prepare for checkin", + "position": "dropDown", + "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?", - "position":"dropDown", - "comment":"Please tell us what version you are using:\n\n* Thunderbird\n* Lightning\n* Provider for Google Calendar" + "what-version": { + "name": "Using what version?", + "position": "dropDown", + "comment": "Please tell us what version you are using:\n\n* Thunderbird\n* Lightning\n* Provider for Google Calendar" }, - "retest-nightly":{ - "name":"Retest with nightly", - "position":"dropDown", - "comment":"Does this still happen with the latest 1.0b2pre nightlies?" + "retest-nightly": { + "name": "Retest with nightly", + "position": "dropDown", + "comment": "Does this still happen with the latest 1.0b2pre nightlies?" }, - "extension-fodder":{ - "name":"Extension Fodder", - "position":"dropDown", - "addWhiteboard":"extension fodder", - "prefixSummary":"[extension fodder]", - "status":"RESOLVED", - "resolution":"WONTFIX", - "comment":"This sounds like a good idea, but I think it makes more sense as an extension. Marking WONTFIX for core calendar." + "extension-fodder": { + "name": "Extension Fodder", + "position": "dropDown", + "addWhiteboard": "extension fodder", + "prefixSummary": "[extension fodder]", + "status": "RESOLVED", + "resolution": "WONTFIX", + "comment": "This sounds like a good idea, but I think it makes more sense as an extension. Marking WONTFIX for core calendar." } } }, - "commentStrings":{ - "consoleLogStr":"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." + "commentStrings": { + "consoleLogStr": "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." }, - "configData":{ - "queryButton":true, - "upstreamButton":false, - "parseAbrtBacktraces":true, - "submitsLogging":false, - "suspiciousComponents":[ + "configData": { + "queryButton": true, + "upstreamButton": false, + "parseAbrtBacktraces": true, + "submitsLogging": false, + "suspiciousComponents": [ ], - "downloadJSON":[ + "enabledPackages": { + "bugzilla.mozilla.org": "all" + }, + "downloadJSON": [ ], - "objectStyle":"MoFo", - "matches":[ + "objectStyle": "MoFo", + "matches": [ "https://bugzilla.redhat.com/show_bug.cgi.*", "https://bugzilla.mozilla.org/show_bug.cgi.*" ], - "signature":"\n\n-- \nFedora Bugzappers volunteer triage team\nhttps://fedoraproject.org/wiki/BugZappers" + "signature": "" }, - "constantData":{ + "constantData": { } } diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index bdcf8fb..6d556a4 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -61,7 +61,7 @@ function getRealBugNoSlow(bugNo, location, callback) { onComplete: function(response) { if (response.status === 200) { var xmlRepr = parseXMLfromString(response.text); - // TODO this is probably wrong, both XPath and .text attribute + // TODO this probably wrong, both XPath and .text attribute var bugID = parseInt(xmlRepr.bug.bug_id.text, 10); if (isNaN(bugID)) { throw new Error("Cannot get bug no. even from XML representation!"); @@ -85,7 +85,7 @@ function getPassword(login, domain) { withoutPass: false // whether user doesn't want to use password at all }; - // pass === null means no appropriatjslie password in the storage + // pass === null means no appropriate password in the storage if (!preferences.get(prefName,false) && (pass === null)) { var passwordText = prompts.promptPassword(passPrompt); if (passwordText && passwordText.length > 0) { @@ -148,11 +148,10 @@ exports.getInstalledPackages = function getInstalledPackages(locationLoginObj, c } } - if ((enabledPackages.length === 1) && (enabledPackages[0] === "all")) { - enabledPackages = []; - for (var key in config.gJSONData.commentPackages) { - enabledPackages.push(key); - } + var allIdx = null; + if ((allIdx = enabledPackages.indexOf("all")) != -1) { + enabledPackages = enabledPackages.splice(allIdx, + config.gJSONData.commentPackages.keys()); } // TODO To be decided, whether we cannot just eliminate packages in @@ -176,7 +175,8 @@ exports.getInstalledPackages = function getInstalledPackages(locationLoginObj, c } } - if ("sentUpstreamString" in config.gJSONData.commentStrings) { + if (config.gJSONData.commentStrings && + "sentUpstreamString" in config.gJSONData.commentStrings) { config.constantData.commentStrings = {}; config.constantData.commentStrings.sentUpstreamString = config.gJSONData.commentStrings["sentUpstreamString"]; @@ -326,25 +326,13 @@ exports.initialize = function initialize(config, callback) { }); } - // config.logger = new logger.Logger(JSON.parse( - // self.data.load("bugzillalabelAbbreviations.json"))); - config.configData = {}; config.configData.matches = config.gJSONData.configData.matches; config.configData.skipMatches = config.configData.matches.map(function(x) { return x.replace("show_bug.cgi.*","((process|post)_bug|attachment)\.cgi$"); }); - // config.objConstructor = {}; - // var bzType = config.gJSONData.configData.objectStyle; - // if (bzType === "RH") { - // config.objConstructor = require("rhbzpage").RHBugzillaPage; - // } else if (bzType === "MoFo") { - // } - // config.objConstructor = require("mozillabzpage").MozillaBugzilla; - config.constantData = {}; - // TODO this is important and missing if ("constantData" in config.gJSONData) { config.constantData = config.gJSONData.constantData; config.constantData.queryUpstreamBug = JSON.parse( @@ -375,8 +363,6 @@ exports.initialize = function initialize(config, callback) { if ("submitsLogging" in config.gJSONData.configData && config.gJSONData.configData.submitsLogging) { - console.log("initialize : submitsLogin = " + - config.gJSONData.configData.submitsLogging); logger.initialize(JSON.parse(selfMod.data.load( "bugzillalabelAbbreviations.json"))); } diff --git a/lib/main.js b/lib/main.js index fe97964..b553f6f 100644 --- a/lib/main.js +++ b/lib/main.js @@ -111,23 +111,24 @@ var messageHandler = exports.messageHandler = function messageHandler(worker, ms } }; -var contentScriptLibraries = { - "bugzilla.redhat.com": [ - self.data.url("lib/util.js"), - self.data.url("lib/color.js"), - self.data.url("lib/logging-front.js"), - self.data.url("lib/rhbzpage.js"), - self.data.url("lib/bzpage.js") - ] -}; +var contentScriptLibraries = [ + self.data.url("lib/jumpNextBug.js"), + self.data.url("lib/util.js"), + self.data.url("lib/color.js"), + self.data.url("lib/logging-front.js"), + self.data.url("lib/rhbzpage.js"), + self.data.url("lib/bzpage.js") +]; libbz.initialize(libbz.config, function () { pageMod.PageMod({ include: [ - "https://bugzilla.redhat.com/show_bug.cgi?id=*" + "https://bugzilla.redhat.com/show_bug.cgi?id=*", + "https://bugzilla.mozilla.org/show_bug.cgi?id=*", + "https://bugzilla.gnome.org/show_bug.cgi?id=*" ], contentScriptWhen: 'ready', - contentScriptFile: contentScriptLibraries["bugzilla.redhat.com"], + contentScriptFile: contentScriptLibraries, onAttach: function onAttach(worker, msg) { worker.on('message', function (msg) { messageHandler(worker, msg); @@ -139,7 +140,14 @@ libbz.initialize(libbz.config, function () { pageMod.PageMod({ include: [ "https://bugzilla.redhat.com/process_bug.cgi", - "https://bugzilla.redhat.com/attachment.cgi" + "https://bugzilla.redhat.com/post_bug.cgi", + "https://bugzilla.redhat.com/attachment.cgi", + "https://bugzilla.mozilla.org/process_bug.cgi", + "https://bugzilla.mozilla.org/post_bug.cgi", + "https://bugzilla.mozilla.org/attachment.cgi", + "https://bugzilla.gnome.org/process_bug.cgi", + "https://bugzilla.gnome.org/post_bug.cgi", + "https://bugzilla.gnome.org/attachment.cgi" ], contentScriptWhen: 'ready', contentScriptFile: self.data.url("lib/skip-bug.js") diff --git a/package.json b/package.json index 255ee81..eeb00cc 100644 --- a/package.json +++ b/package.json @@ -7,5 +7,5 @@ "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)", - "version": "0.91" + "version": "0.90" } |