-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Rewire button to notify users for local shares to use notifications API #32494
Comments
I remember a discussion with @pmaier1 where it was said that we should not remove the button. However would could maybe rewire it to send a notification through the notification framework instead of a direct email. |
@PVince81 What's proposed
|
actually this is the current controller https://github.com/owncloud/core/blob/v10.0.10/apps/files_sharing/lib/API/Share20OCS.php#L51 🙈 one day we should convert this to OCSController... I suggest adding a method there, it needs to be a public API (OCS) so we can reuse it from Phoenix later on |
at first I thought just rewire the "MailNotifications" but you're right that we need to think further and moving to a controller method is the right way to go |
@PVince81 if we are removing mail notification for sharing in favor of activity emails |
@VicDeo the mail notification for link shares must stay. It's only the ones for local shares that would be moved to notifications, since local users can receive those. |
Since recent OC versions (10.0.8 or 10.0.9), an email is already sent to recipients through the OC notifications framework. This obsoletes the need for this button.
Would be good if we could remove it at least in OC 11 as it would save a lot of refactoring work that is needed to remove the old Sharing 1.0 code. See #26608
@pmaier1
The text was updated successfully, but these errors were encountered: