]> BookStack Code Mirror - bookstack/commit
Notifications: Aligned how user language is used
authorDan Brown <redacted>
Sat, 2 Sep 2023 14:11:42 +0000 (15:11 +0100)
committerDan Brown <redacted>
Sat, 2 Sep 2023 14:11:42 +0000 (15:11 +0100)
commit3847a761347f708253e2f5c79b43bfc03d019aba
tree351935870e2aaa18d5bb38e9a7002e7b0c1375f1
parentf91049a3f296a35aafcc6bf6d531910c5e33eea8
Notifications: Aligned how user language is used

- This ensures content notifications are not translated to receiver
  language.
- This adds actual plaintext support for content notifications (Was
  previously just HTML as text view).
- Shares same base class across all mail notifications.
- Also cleaned up existing notification classes.

Future cleanup requested via #4501
14 files changed:
app/Activity/Notifications/MessageParts/LinkedMailMessageLine.php
app/Activity/Notifications/MessageParts/ListMessageLine.php
app/Activity/Notifications/Messages/BaseActivityNotification.php
app/Activity/Notifications/Messages/CommentCreationNotification.php
app/Activity/Notifications/Messages/PageCreationNotification.php
app/Activity/Notifications/Messages/PageUpdateNotification.php
app/Notifications/ConfirmEmail.php
app/Notifications/MailNotification.php
app/Notifications/ResetPassword.php
app/Notifications/TestEmail.php
app/Notifications/UserInvite.php
app/Translation/LanguageManager.php
app/Users/Models/User.php
resources/views/vendor/notifications/email.blade.php