-
Notifications
You must be signed in to change notification settings - Fork 56
feature: send email to internal users of circles when shared with circle #2050
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
feature: send email to internal users of circles when shared with circle #2050
Conversation
Signed-off-by: yemkareems <[email protected]>
Signed-off-by: yemkareems <[email protected]>
provokateurin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this kind of logic supposed to be implemented through IShareProviderWithNotification?
Signed-off-by: yemkareems <[email protected]>
Refactored service to provider |
…WithNotification and set share sendmail to true for circle share in both share and wrapper objects. Send public share link in email. Rename provider to helper Signed-off-by: yemkareems <[email protected]>
…efactor tests Signed-off-by: yemkareems <[email protected]>
Signed-off-by: yemkareems <[email protected]>
provokateurin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woops I forgot to submit my review
Signed-off-by: yemkareems <[email protected]>
…dition checked once, sendShareNotification type hinting done, sendUserShareMail passing only the share and arguments type hinted, tests refactored Signed-off-by: yemkareems <[email protected]>
…b.com:nextcloud/circles into feature/notify-internal-users-on-circle-share
Signed-off-by: yemkareems <[email protected]>
… query user if not required, sendUserShareMail adjusted, dont send email to initiator email condition added and test refactored accordingly Signed-off-by: yemkareems <[email protected]>
…ding methods to send mail service Signed-off-by: yemkareems <[email protected]>
Signed-off-by: yemkareems <[email protected]>
…ed, iShare got from wrappedShare object for sendUserShareMail Signed-off-by: yemkareems <[email protected]>
|
better approach, thanks for the changes |
feature: send email to internal users of circles when shared with circle