48 Commits (0788fb51189bf2ca39fefef808fd32b90a133035)

Author SHA1 Message Date
Barış Soner Uşaklı 68db271dfd chore: remove logs 2 years ago
Barış Soner Uşaklı 2c5a5bf366 feat: change chat notification delivery
instead of checking if user is online in the past x minutes, check if the user has read the room, if they have already marked the chat as read don't send notification
2 years ago
Barış Soner Uşaklı 2a9b3ee464 fix: add missing delete 2 years ago
Barış Soner Uşaklı c1ec20470b fix: catch exceptions from sendNotifications 3 years ago
Magnus 7bd3e31dec
Fullname in notifications (#10157)
* init - fullname notifications setting

* fullname in topic reply

* fullname for group-request-membership

* fullname for group-leave notification

* fullname for new-post-flag & new-user-flag

* removed log

* fullname for user follow

* fullname in message notification

* fullname in follow

* fullname for sendNotificationToPostOwner

* fullname in sendNotificationToTopicOwner

* fullname in doExport

* shorthand name set

* shorter name set

* fullname in notifications

* displayname for notifications

* removed unused require
3 years ago
Barış Soner Uşaklı fb363957d1 refactor: tab rules 3 years ago
Barış Soner Uşaklı 73f40e96a5 fix: #9620, fix notif delay 4 years ago
Barış Soner Uşaklı c953b1b3d1 fix: #9292, messageobj.content already parsed 4 years ago
Julian Lam 783786cf8c fix: do not blindly escape a notification's bodyLong
For 7+ years we were escaping this value, but it is in many cases already sanitized (as it may be a post content). For those cases when it is not, I now run it through parse.raw.

Instead of escaping, it now strips p, img, and a tags.
4 years ago
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback 4 years ago
Peter Jaszkowiak 707b55b6a5 chore: eslint prefer-template 4 years ago
Julian Lam 6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 4 years ago
Barış Soner Uşaklı b44ddecdf8 feat: #8204, separate notification type for group chats 4 years ago
psychobunny 4fc84e9f5c chore: lint notifications.js 5 years ago
psychobunny 5b427a0c3b feat: option in ACP to configure notification/email delay for chats 5 years ago
Baris Usakli 6b3eb0144e refactor: use arrow function 6 years ago
Baris Usakli c01b0fbd8c fix: #7951, don't send notification for system messages 6 years ago
Baris Usakli 27c27b497e refactor: use arrow func 6 years ago
Julian Lam 756a717eb8
feat: convert src/messaging/* to async/await (#7778)
* feat: src/messaging/create.js, #7743

* feat: src/messaging/data.js, #7743

* feat: src/messaging/delete.js, #7743

* feat: src/messaging/edit.js, index.js, #7743

* fix: added in missing awaits

* feat: wrapped up src/messaging/* rewrite

* refactor: messaging delete/restore similar blocks of code
6 years ago
Barış Soner Uşaklı 7a1888dfbf closes #6514 7 years ago
Julian Lam a367b698e3 a bit more integration for #6463 7 years ago
Baris Usakli 48cff9bfcb fix chat message subject 7 years ago
Barış Soner Uşaklı d2ffdbda7d closes #6203 7 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
8 years ago
Julian Lam d9ace1723c removed references to libs that aren't used 8 years ago
Julian Lam a2627d2066 added default payload to emails, and adding nodebb logo for email header 8 years ago
Peter Jaszkowiak 932ae4e86d Merge branch 'master' into notif-abort 8 years ago
Peter Jaszkowiak 4b87324234 Quick fix 8 years ago
Peter Jaszkowiak 033ce02e7b Rename hooks
Add `static:messaging.canMessageRoom` as well
8 years ago
Peter Jaszkowiak 42e21d5aa9 Add more messaging hooks 8 years ago
barisusakli 5a2ff8ed0a closes #5527 8 years ago
Peter Jaszkowiak dd2b930824 Resolve merge conflicts, minify only `.js` files 8 years ago
barisusakli 5c01c7b1c7 delayed notification test 8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak 57f89663aa ESlint radix 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
barisusakli b70610703a fix crash in notifs 9 years ago
barisusakli 1c0ef00836 closes #4886 9 years ago
pichalite e23377580d fixes #4506 9 years ago
Barış Soner Uşaklı 46c3e5c126 chat notif/unread fix 9 years ago
barisusakli dff3d7f20e various group chat fixes #3980
fix multiple modals using the same tagsinput
fix online user getting chat notification
fix owner not being able to remove users in the chat modal
9 years ago
barisusakli 1bd9b364e4 fix notifs, dont send to self, fix notification path to roomId 9 years ago
barisusakli d8810ceae9 send messages 9 years ago
barisusakli 8fab270852 leaveRoom method, small fixes 9 years ago
barisusakli f8a6666e1a chat notify changes 9 years ago