Closed Bug 565498 Opened 14 years ago Closed 14 years ago

Port add-on share subpage/redirecter to zamboni

Categories

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

defect

Tracking

(Not tracked)

VERIFIED FIXED
5.12.1

People

(Reporter: fligtar, Assigned: chenba)

References

Details

(Whiteboard: [z])

Attachments

(1 file)

Please port /addon/share/$id to /addon/$id/share in zamboni
(In reply to comment #1)
> Created an attachment (id=446665) [details]
> Screenshot

Do you really have a bright yellow title bar all the time?
(In reply to comment #2)
> (In reply to comment #1)
> > Created an attachment (id=446665) [details] [details]
> > Screenshot
> 
> Do you really have a bright yellow title bar all the time?

Nah, only when I anticipate or want you to ask me a question about it.
Target Milestone: 5.11.1 → 5.11.2
No front-end work here, but this page accepts/validates/sends emails as well as forwarding people to services.
Target Milestone: 5.11.2 → 5.12
Assignee: nobody → chenba
Blocks: 582732
Thanks chenba.  Moving this to 5.12.1 so it's after the amo-detractors meeting.
Target Milestone: 5.12 → 5.12.1
All right, jbalogh mentioned that he has something in the zamboni sharing app that "takes care of everything" besides email sharing, and now e-mail sharing is getting dropped, _and_ there's bug 600664.  So do I need to do anything with this bug?
(In reply to comment #7)
> All right, jbalogh mentioned that he has something in the zamboni sharing app
> that "takes care of everything" besides email sharing, and now e-mail sharing
> is getting dropped, _and_ there's bug 600664.  So do I need to do anything with
> this bug?

Yeah, I don't know what "takes care of everything" means either.  We want all the sharing options except email.  jbalogh?
I have http://github.com/jbalogh/zamboni/blob/master/apps/sharing/views.py doing all the sharing logic, so we just need an view in add-ons that calls it with the right params.

I think we can skip the redirect since this is an internal-ish view.

Barry, if you still want to work on this you can dupe one of the bugs.  I was so excited about dropping email sharing that I forgot about this one.
Aww, I don't have the authoritay mark bug 600664 as a duplicate.
http://github.com/chenba/zamboni/commit/6f12cfc6de5389bb191d26983d10732534960e76

Redirect sharing now uses sharing.views.share as suggested by jbalogh; e-mail sharing no longer in the port.
http://github.com/chenba/zamboni/commit/88fa574001a3e355858c94743562c65df2091889

Trimmed and changed some code based on jbalogh's input.

Also, the version is no long part of the addon title in the redirect params.  If there's good reason to keep it, please explain.
(In reply to comment #15)
> http://github.com/jbalogh/zamboni/commit/647406df5ae3d6c5189d2c0a6d15e712ccaedb07

And with that:  Thanks, -> FIXED
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
checked that the following links work fine-

/en-US/firefox/addon/4882/share?service=digg
/en-US/firefox/addon/4882/share?service=facebook
/en-US/firefox/addon/4882/share?service=delicious
/en-US/firefox/addon/4882/share?service=myspace
/en-US/firefox/addon/4882/share?service=friendfeed
/en-US/firefox/addon/4882/share?service=twitter
Status: RESOLVED → VERIFIED
Did you test with personas?
(In reply to comment #18)
> Did you test with personas?

bug 599985 is still open. I do not see any way to share personas @ https://preview.addons.mozilla.org/en-US/firefox/addon/15105/

Am I missing something?
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

Created:
Updated:
Size: