Closed Bug 291546 Opened 20 years ago Closed 19 years ago

Installation of non-browser extensions

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 333518

People

(Reporter: artooro, Assigned: artooro)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Currently installation of extensions that are not for browsers is not simplified
enough. Just ask mconnor :)

I will attempt to make Thunderbird extensions downloaded instead of Firefox
trying to install them. Will attach a patch tomorrow if things work. You all
know what happens when I submit a patch in the evening. hint* review-denied
Status: NEW → ASSIGNED
Attached patch Version 1 (obsolete) — Splinter Review
I would like some opinions on whether or not this is the best way to do it.
This patch is not complete but I believe it should accomplish it's mission.

Basically  it shows Download Now links instead of Install links for Thunderbird
and install.php sends the actual file as a binary instead of redirecting to it.
Comment on attachment 181639 [details] [diff] [review]
Version 1

>             if ($appname=="Thunderbird") { 
>               $downloadURL=mozupd_buildDownloadURL($uri,$name,$version);

Is there a reason we don't build this for non-TB?  Also, can you use the "Not
Browser" logic like the other patch?  I'd like to keep this generic.

>+        ?></a></b>

If its TB, you didn't open a bold tag, so you shouldn't be closing it.	Move
the bold statements outside of the if statement and move the /a inside, please.

>         //Special Extension Installation Instructions for Thunderbird users
>             if ($application=="thunderbird") {

You used $appname above.  Again, this would be a good place for the "Not
Browser"
Attached patch Version 2Splinter Review
I think this one is ready for review. As long as this is the correct way to fix
this problem. I think it is.

As far as I can see this patch is ready for deployment.
Attachment #181639 - Attachment is obsolete: true
Attachment #181649 - Flags: first-review?
Attachment #181649 - Flags: first-review? → first-review?(mconnor)
Target Milestone: 1.0 → 1.1
Comment on attachment 181649 [details] [diff] [review]
Version 2

Please revise this based on bug 291616 comment 20 for escaping.
Attachment #181649 - Flags: first-review?(mconnor) → first-review-
okedokey
This code needs to be updated for AMO 2. Please feel free to work on 333518

*** This bug has been marked as a duplicate of 333518 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: