Closed
Bug 462433
Opened 16 years ago
Closed 15 years ago
Update blocklist schema to support severities
Categories
(Toolkit :: Blocklist Policy Requests, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mossop, Assigned: morgamic)
References
Details
Attachments
(1 file, 1 obsolete file)
12.61 KB,
patch
|
Details | Diff | Splinter Review |
We're going to need to update the blocklist database and script to support the severities for bug 455906. Technically it wouldn't be necessary to rev the url for this change, the new xml would get accepted by old clients.
Reporter | ||
Comment 1•16 years ago
|
||
We'll probably also need to revisit the existing blocklist entries and assign severities to them
Assignee | ||
Comment 2•16 years ago
|
||
where is support for this on the roadmap? when would you need this schema change?
Assignee | ||
Comment 3•16 years ago
|
||
Dave? Could you comment on timing?
Reporter | ||
Comment 4•15 years ago
|
||
mconnor was supposed to be working on the policy changes, we basically need the server side stuff done whenever that comes into place
Assignee | ||
Comment 5•15 years ago
|
||
Oh hey, someone should fix this!
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → morgamic
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•15 years ago
|
||
Dave - I'm assuming policy and client support are in place now? Ready to move forward? What happens to pre 3.5 clients when a blocklist entry has a severity? Don't they just see it as a regular entry? That could have some consequences we're not anticipating?
Reporter | ||
Comment 7•15 years ago
|
||
I'm not sure whether a policy was ever drafted, mconnor? Yes, the one backwards compatibility issue we must consider is that old clients will see a low severity blocklist entry as just a regular block so we need to decide whether that is ok, or whether the service needs to leave out low severity entries from the returned xml based on the client version that is sent along with the request.
Comment 8•15 years ago
|
||
I think the policy itself needs some looking, can do that this week. I assumed that we'd serve different data to 3.5 clients than 3.0 clients, but I haven't looked at the blocklist code recently...
Assignee | ||
Comment 9•15 years ago
|
||
Seems like the right thing to do would be to either backport everything or just have 3.0.x clients ignore entries with a severity set. Other way to do it is exclude 3.0.x clients via the app version.
Assignee | ||
Comment 10•15 years ago
|
||
What are we going to do here? Does this even affect the client and what are our plans for 3.6?
We were so close! Connor: did we get to policy that week?
Comment 12•15 years ago
|
||
No, we didn't, from digging into mail archives. Though, tbh, I don't remember what policy was needed here, at this point! Or, for that matter, why we blocked implementation on the policy. What can I do to unblock this? There was a lot of discussion around 12-18 months back, so I could write something useful/provisional today/this morning if needed.
Reporter | ||
Comment 13•15 years ago
|
||
(In reply to comment #12) > No, we didn't, from digging into mail archives. Though, tbh, I don't remember > what policy was needed here, at this point! Or, for that matter, why we > blocked implementation on the policy. The policy needed was to essentially decide what we would use the different severities for. We should have an open process for deciding what to block and how hard to do it rather than deciding on a case by case basis.
Assignee | ||
Comment 14•15 years ago
|
||
So in cases where all we have is this: <emItem id="{20a82645-c095-46ed-80e3-08825760534b}"/> Do I have to add a versionrange even though there aren't any versions? Can I add: <versionRange serverity="1"/> Or will that confuse Firefox?
Assignee | ||
Comment 15•15 years ago
|
||
It's be nice if we could just do this in this case: <emItem id="{20a82645-c095-46ed-80e3-08825760534b}" severity="1"/>
Reporter | ||
Comment 16•15 years ago
|
||
(In reply to comment #14) > So in cases where all we have is this: > <emItem id="{20a82645-c095-46ed-80e3-08825760534b}"/> > > Do I have to add a versionrange even though there aren't any versions? Can I > add: > <versionRange serverity="1"/> Yes a versionRange element is needed to give a severity, but no minVersion or maxVersion will not confuse anything it will just leave the block affecting all versions. The idea was to allow for different block levels depending on the version of the item being blocked.
Assignee | ||
Comment 17•15 years ago
|
||
Ok - so if both min and max versions for that versionRange are NULL we'll end up with: <versionRange serverity="1"/> Otherwise it'll just contain the versions as usual. I will avoid the severity in an emItem or anything that isn't a versionRange.
Assignee | ||
Comment 18•15 years ago
|
||
Attachment #406934 -
Flags: review?
Assignee | ||
Comment 19•15 years ago
|
||
Attachment #406934 -
Attachment is obsolete: true
Attachment #406934 -
Flags: review?
Assignee | ||
Comment 20•15 years ago
|
||
Checking in at r53641.
Assignee | ||
Comment 21•15 years ago
|
||
http://www.screencast.com/users/morgamic/folders/Jing/media/b987f280-c857-4e2a-91fd-5bad1b09ba23 - regression tests passed.
Assignee | ||
Updated•15 years ago
|
Comment 22•15 years ago
|
||
(In reply to comment #13) > The policy needed was to essentially decide what we would use the different > severities for. We should have an open process for deciding what to block and > how hard to do it rather than deciding on a case by case basis. We should have a policy/plan for how we'll use it, but we already have defined the various behaviours available, in the client, so it doesn't make sense to have blocked implementation on knowing how we'd make use of that. My mistake for not stating that clearly in May.
Updated•14 years ago
|
Keywords: push-needed
Updated•8 years ago
|
Product: addons.mozilla.org → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•