Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No possibility to send an email in share dialog #213

Closed
sonymaster opened this issue Jul 14, 2015 · 14 comments
Closed

No possibility to send an email in share dialog #213

sonymaster opened this issue Jul 14, 2015 · 14 comments

Comments

@sonymaster
Copy link

If you open the share dialog from the top right share button, you can share the gallery with OC users or/and as Link. But the possibility to send an email with share infos is not displayed like in the Files app.

@oparoz
Copy link
Contributor

oparoz commented Jul 14, 2015

You're correct, thanks for notifying us.

@oparoz
Copy link
Contributor

oparoz commented Sep 14, 2015

@rullzer @PVince81 - Is there something special to do to get the share by email section in the share dropdown?

@imjalpreet
Copy link
Member

@oparoz Can you please give little more detail regarding this? I am not exactly able to figure out what the problem is. I didn't understand the line : "..possibility to send an email with share infos..". Thanks!

@oparoz
Copy link
Contributor

oparoz commented Mar 9, 2016

If you compare the dialogue in Gallery with the one in Files, you'll notice that you cannot send an email in Gallery after having created a share or a public link.
There are screenshots in #498.

Also, in share.js I've commented out the code as it's not in use. You need to uncomment the parts relevant to email sharing and update it to make it work like the rest of the class.

@oparoz
Copy link
Contributor

oparoz commented Mar 9, 2016

This commit should help you see the changes made to the ajax calls: 48cf853#diff-b3a827de53066e0a69e83addf18ddd46

@imjalpreet
Copy link
Member

@oparoz Thanks! I will come up with a solution as soon as possible. I am trying to understand the flow right now.

@oparoz
Copy link
Contributor

oparoz commented Mar 9, 2016

That class is a pita... This one is easier to understand because it doesn't have all the UI stuff mixed up:
https://github.com/owncloud/core/blob/master/core/js/shareitemmodel.js

Eventually, we should migrate to that, using Backbone.

@imjalpreet imjalpreet self-assigned this Mar 10, 2016
@imjalpreet
Copy link
Member

error
@oparoz I wanted to ask you a question. When I am trying to send a mail from files app, I am getting an error message(attached screenshot). Can you tell me do we have to setup mail before this? Thanks!

@oparoz
Copy link
Contributor

oparoz commented Mar 11, 2016

I don't see the screenshot, but look in the admin settings. There you can authorise emails to be sent.

@imjalpreet
Copy link
Member

@oparoz No problems. I have figured out how to do it. Thanks!

@oparoz
Copy link
Contributor

oparoz commented Mar 11, 2016

Ah, good :)

@oparoz
Copy link
Contributor

oparoz commented Mar 11, 2016

And if admin settings are involved, don't forget to add that to your test plan. It would have to be tested with and without them in order to see if the interface adapts to the settings.

@oparoz
Copy link
Contributor

oparoz commented Mar 11, 2016

@sonymaster - Fix is in #586

imjalpreet added a commit to imjalpreet/gallery that referenced this issue Mar 11, 2016
imjalpreet added a commit to imjalpreet/gallery that referenced this issue Mar 12, 2016
imjalpreet added a commit to imjalpreet/gallery that referenced this issue Mar 13, 2016
imjalpreet added a commit to imjalpreet/gallery that referenced this issue Mar 16, 2016
imjalpreet added a commit to imjalpreet/gallery that referenced this issue Mar 16, 2016
oparoz added a commit that referenced this issue Mar 19, 2016
Issue #213: No possibility to send an email in share dialog
@imjalpreet
Copy link
Member

Fix in #586

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants