-
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
Public links: Add personal note and option to receive a copy #29696
Comments
Lol, just saw the German translation for "File Drop" in the mockup. This is bad and should be called "File Drop" as well. Can we make this a non-translatable string? |
Sure can :-D |
As I recall, there is a greater rework of the sharing due. Can we postpone changes until then? |
It might be possible to use the given message when sending emails, but the custom message will not be saved anywhere. |
custom message as displayed in UI must use some template as preset |
I don't think it needs to be saved somewhere. Audit log entries might be demanded, though.
This is not that much related to the other stuff except that we want to come away from the modal and integrate in the sharing sidebar. Just thinking loud: When tackling this maybe we could enable editing the whole template to cover other use cases where people are unhappy with the templates as well. Generally inserting a note to the template would be preferable though, IMO. Editing templates should happen in the template editor. |
@felixheidecke please ping @jvillafanez for backend work when needed |
|
maybe at first we just go with sending whatever message is there without the public API as the latter might be more tricky as it seems to violate some semantics |
Has been addressed in #29935 |
Some further feedback:
|
I assume that the functionality is currently not available via API, right? We should schedule this for a later iteration to make it available in the clients as well at some point. @PVince81 |
@pmaier1 the current code should use the custom mail template only if no personal note is given, else override it fully with whatever is written in the personal note. Are you saying that it should use the custom mail template internally and inject the personal note in the middle of it ? |
Yes, I think that this is the expectation. |
Ok, assigning self, need to modify the backend |
@pmaier1 the email template doesn't have space for a personal note: https://github.com/owncloud/core/blob/master/core/templates/mail.php#L15 Considering that people might customize this file or already did so, they'd need to also adjust accordingly. What we can do is add an additional variable containing the personal note in the default template, as an additional sentence. For example if a personal note is set, then it could add a block: "Personal note from the sender: %s". So it could look like this:
|
That template won't work for the email notifications neither. You might receive the update notification via email, and it's impossible to fit it in that template. |
@jvillafanez this mechanism will never be using the notifications app. This is because the email in question will always be sent to users who are outside of ownCloud. Our notifications app can only notify users who have accounts on ownCloud. |
PR here: #30789 Note that this adds an optional section in the email if personal note is set. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Add a message field to provide a personal note in the mail notification
As a user I want to add a personal note when sharing with externals via public link to reference a previous conversations or just provide some hints to externals that never used ownCloud before.
The mail notification should be just like the default, but inserting a paragraph with my personal note after the introduction text.
Add a checkbox "Receive a copy" to set yourself in CC of the mail notification
As a user I want to be able to receive a copy (put me on CC) of the mail notifications I send out when sharing public links for that I can see what the recipients see and to be able to use that mail notification afterwards in my mail client (forward to others, reference the notification, etc.).
A mockup would be great!
@felixheidecke @PVince81
The text was updated successfully, but these errors were encountered: