-
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
[stable10] Backport of Fixing email sent to recipient using recipient… #34255
Conversation
88ab55d
to
cc12573
Compare
Original PR #34144 |
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.
👍
cc12573
to
282112c
Compare
Codecov Report
@@ Coverage Diff @@
## stable10 #34255 +/- ##
===========================================
Coverage ? 63.48%
Complexity ? 19119
===========================================
Files ? 1264
Lines ? 75185
Branches ? 1288
===========================================
Hits ? 47731
Misses ? 27076
Partials ? 378
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## stable10 #34255 +/- ##
==============================================
+ Coverage 63.5% 63.51% +<.01%
- Complexity 19137 19138 +1
==============================================
Files 1264 1264
Lines 75278 75283 +5
Branches 1291 1291
==============================================
+ Hits 47805 47814 +9
+ Misses 27093 27089 -4
Partials 380 380
Continue to review full report at Codecov.
|
More stupid drone errors. I will ask for rebase. |
@ownclouders rebase |
Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently |
282112c
to
de89350
Compare
Automated rebase with GitMate.io was successful! 🎉 |
de89350
to
e0e0ce0
Compare
@ownclouders rebase |
Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently |
…s language code The recipient, internal to owncloud instance should recieve the email from the sender ( internal to owncloud ) in the language chosen by the recipient. Signed-off-by: Sujith H <sharidasan@owncloud.com>
e0e0ce0
to
17f85e6
Compare
Automated rebase with GitMate.io was successful! 🎉 |
…s language code
The recipient, internal to owncloud instance should
recieve the email from the sender ( internal to owncloud )
in the language chosen by the recipient.
Signed-off-by: Sujith H sharidasan@owncloud.com
Description
While sharing the file/folders to internal user(s), the notification mail sent should be based on the language configured for recipient(s). Currently that is not the case. ownCloud instance is aware of the internal users. Hence this change tries to grab the recipients language stored in the preferences table. And then tries to compare with the senders setting. If they are different, then recipients language is used.
Related Issue
Motivation and Context
Try to use recipients language while sending notification mails. At least this should be for the internal users of oC instance.
How Has This Been Tested?
user1
user1
toCastellano
admin
set the optionAllow users to send mail notification for shared files
foo
and share touser1
notify by email
button. Click it.user1
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: