Closed Bug 1006794 Opened 12 years ago Closed 12 years ago

Support extension metadata filters in blocklist tool

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-07

People

(Reporter: jorgev, Assigned: magopian)

References

()

Details

(Whiteboard: [qa+])

Bug 897735 implemented some advanced blocklisting features we needed to deal with tricky blocks like bug 936214. We need to modify the blocklisting form so that it supports these types of blocks. The current form supports blocking by "id", and now we also need to add "name", "creator", "homepageURL", and "updateURL". That also means "id" is now optional, if it wasn't already. This all applies for the "Blocklist Items" section, not plugins or gfx. Let me know if there are any questions, I know this tool is a bit confusing.
Priority: -- → P2
Whiteboard: [qa+]
Target Milestone: --- → 2014-06
Target Milestone: 2014-06 → 2014-07
When I go in the blocklist admin (/en-US/admin/models/blocklist/blocklistdetail/add/), I can see, in the "items" section, the following fields: - Guid - Min - Max - Os - Severity So, are you talking about Guid when you say that "id" should be option? (if so, it is already). And then, we need to add the following (optional) fields: name, creator, homepageURL and updateURL (which will all appear in the XML if they're filled in)?
(In reply to Mathieu Agopian [:magopian] from comment #1) > So, are you talking about Guid when you say that "id" should be option? (if > so, it is already). Yes, I'm talking about the guid. If it is already optional, there's nothing to do about it. > And then, we need to add the following (optional) fields: name, creator, > homepageURL and updateURL (which will all appear in the XML if they're > filled in)? Yes.
Assignee: nobody → mathieu
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Looking at bug 897735, there appears to be a mismatch between what is done here and what Firefox expects. The extra values being added are expected as attributes, not separate nodes: https://hg.mozilla.org/mozilla-central/rev/c8e2cb87f6c1#l9.3
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(re)fixed in https://github.com/mozilla/olympia/commit/7185a3306c538a28f3ab84c15276c567a1d6f0b3 Those are now attributes, not tags anymore. When testing, please make sure the blocklist displayed has been regenerated!
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Depends on: 1042384
Blocks: 1048672
Blocks: 952255
Blocks: 1032395
Blocks: 1052103
Blocks: 1111728
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.