Closed
Bug 433361
Opened 17 years ago
Closed 15 years ago
API for search should have a param to specify inclusion of sandboxed addons.
Categories
(addons.mozilla.org Graveyard :: API, enhancement, P1)
addons.mozilla.org Graveyard
API
Tracking
(Not tracked)
VERIFIED
FIXED
5.8
People
(Reporter: laura, Assigned: davedash)
References
Details
(Whiteboard: [z])
Attachments
(1 obsolete file)
This is a follow on from bug 415263.
In order to make the Addons Manager work as expected, the API is now returning only public add-ons. We need to add a parameter that allows the client to specify all (including sandboxed) addons.
Reporter | ||
Comment 1•17 years ago
|
||
I should point out that we also discussed changing the XML significantly, so we return one stanza per version, with a matching install element per version of the addon, and application version information per addon version.
Comment 2•17 years ago
|
||
As I mentioned in bug 415263, I'd rather this default to show all and have a param to filter the results to show only public add-ons.
Reporter | ||
Comment 3•17 years ago
|
||
Yes, you are correct, sorry about that.
Comment 4•16 years ago
|
||
Kicking out of 3.5 - not related to Dev CP revamp.
Target Milestone: 3.5 → ---
Reporter | ||
Updated•16 years ago
|
Target Milestone: --- → 5.0.2
Updated•16 years ago
|
Target Milestone: 5.0.2 → Future
Comment 5•15 years ago
|
||
As an API user, I really would like to see this happen.
Comment 6•15 years ago
|
||
I have not tested it yet, but it adds the exp=on switch like normal add-ons browsing.
Updated•15 years ago
|
Attachment #402067 -
Flags: review?(laura)
Comment 7•15 years ago
|
||
Laura, can you take a look at this when you get a chance?
Severity: normal → enhancement
Priority: -- → P3
Comment 10•15 years ago
|
||
Can anyone test/modify/review my patch? AMJ (https://wiki.mozilla.org/Japan/AMJ) team would like to implement this feature in Q1 2010. Thanks in advance.
Comment 11•15 years ago
|
||
SAMO is getting reworked in 5.7 (february). Let's try to get this in then.
Assignee: laura → dd
Priority: P3 → P5
Whiteboard: [z]
Target Milestone: Future → 5.7
Reporter | ||
Comment 12•15 years ago
|
||
Is it still worth looking at the patch or should it wait for the new SAMO?
Comment 13•15 years ago
|
||
Comment on attachment 402067 [details] [diff] [review]
patch v1
(In reply to comment #12)
> Is it still worth looking at the patch or should it wait for the new SAMO?
don't worry about it
Attachment #402067 -
Attachment is obsolete: true
Attachment #402067 -
Flags: review?(laura)
Updated•15 years ago
|
Target Milestone: 5.7 → 5.8
Assignee | ||
Comment 15•15 years ago
|
||
So I believe the discussion is, for API version < 1.5 , sandboxed addons won't be shown without a parameter (e.g. ?show_sandbox=1)
After v1.5 showing sandbox'd addons will be the default and can be hidden with (?hide_sandbox=1)
Comment 16•15 years ago
|
||
for API versions < 1.5 there is no way to show sandbox add-ons. After 1.5, showing them is the default and they can be hidden with a flag.
Assignee | ||
Comment 17•15 years ago
|
||
great, even easier.
Assignee | ||
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 18•15 years ago
|
||
(In reply to comment #16)
> for API versions < 1.5 there is no way to show sandbox add-ons. After 1.5,
> showing them is the default and they can be hidden with a flag.
I can see sandboxed add-ons for v1.2:
https://preview.addons.mozilla.org/z/en-US/firefox/api/1.2/search/firebug/all/100/macosx/3.6
And the hide_sandbox param doesn't work:
https://preview.addons.mozilla.org/z/en-US/firefox/api/1.2/search/firebug/all/100/macosx/3.6?hide_sandbox=1
https://preview.addons.mozilla.org/z/en-US/firefox/api/1.5/search/firebug/all/100/macosx/3.6?hide_sandbox=1
I think this works as expected:
https://preview.addons.mozilla.org/z/en-US/firefox/api/1.5/search/firebug/all/100/macosx/3.6
Assignee | ||
Comment 19•15 years ago
|
||
Still? I verified that these are working as expected.
(In reply to comment #18)
> (In reply to comment #16)
> > for API versions < 1.5 there is no way to show sandbox add-ons. After 1.5,
> > showing them is the default and they can be hidden with a flag.
>
> I can see sandboxed add-ons for v1.2:
> https://preview.addons.mozilla.org/z/en-US/firefox/api/1.2/search/firebug/all/100/macosx/3.6
>
> And the hide_sandbox param doesn't work:
> https://preview.addons.mozilla.org/z/en-US/firefox/api/1.2/search/firebug/all/100/macosx/3.6?hide_sandbox=1
> https://preview.addons.mozilla.org/z/en-US/firefox/api/1.5/search/firebug/all/100/macosx/3.6?hide_sandbox=1
>
> I think this works as expected:
> https://preview.addons.mozilla.org/z/en-US/firefox/api/1.5/search/firebug/all/100/macosx/3.6
Updated•15 years ago
|
Flags: in-litmus?
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•