]> BookStack Code Mirror - bookstack/commit
Notifications: Cleaned up mails, added debounce for updates
authorDan Brown <redacted>
Tue, 15 Aug 2023 13:39:39 +0000 (14:39 +0100)
committerDan Brown <redacted>
Tue, 15 Aug 2023 13:39:39 +0000 (14:39 +0100)
commit615741af9d36c725299cc8fc9c0ee012bd3d5759
treee495a1e0daba99dbbfaf1e809b7c85c75e840055
parent371779205a29816b90fcf31bb6dba609aeb192fc
Notifications: Cleaned up mails, added debounce for updates

- Updated mail notification design to be a bit prettier, and extracted
  text to new lang file for translation.
- Added debounce logic for page update notifications.
- Fixed watch options not being filtered to current user.
17 files changed:
app/Activity/Models/Comment.php
app/Activity/Notifications/Handlers/BaseNotificationHandler.php
app/Activity/Notifications/Handlers/CommentCreationNotificationHandler.php
app/Activity/Notifications/Handlers/NotificationHandler.php
app/Activity/Notifications/Handlers/PageCreationNotificationHandler.php
app/Activity/Notifications/Handlers/PageUpdateNotificationHandler.php
app/Activity/Notifications/MessageParts/LinkedMailMessageLine.php [moved from app/Activity/Notifications/LinkedMailMessageLine.php with 91% similarity]
app/Activity/Notifications/MessageParts/ListMessageLine.php [new file with mode: 0644]
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/Activity/Notifications/NotificationManager.php
app/Activity/Tools/ActivityLogger.php
app/Activity/Tools/UserEntityWatchOptions.php
lang/en/notifications.php [new file with mode: 0644]
resources/views/vendor/notifications/email.blade.php