Barış Soner Uşaklı
68db271dfd
chore: remove logs
2023-03-26 21:17:57 -04:00
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
2023-03-26 21:13:07 -04:00
Barış Soner Uşaklı
2a9b3ee464
fix: add missing delete
2023-03-26 20:11:11 -04:00
Barış Soner Uşaklı
c1ec20470b
fix: catch exceptions from sendNotifications
2022-01-19 20:52:12 -05:00
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
2022-01-19 10:19:11 -05:00
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
73f40e96a5
fix : #9620 , fix notif delay
2021-06-21 11:17:57 -04:00
Barış Soner Uşaklı
c953b1b3d1
fix : #9292 , messageobj.content already parsed
2021-02-11 12:55:00 -05:00
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.
2021-02-09 11:16:40 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
b44ddecdf8
feat: #8204 , separate notification type for group chats
2020-11-17 12:52:02 -05:00
psychobunny
4fc84e9f5c
chore: lint notifications.js
2020-09-28 11:18:43 -04:00
psychobunny
5b427a0c3b
feat: option in ACP to configure notification/email delay for chats
2020-09-28 11:15:45 -04:00
Baris Usakli
6b3eb0144e
refactor: use arrow function
2019-10-09 13:30:59 -04:00
Baris Usakli
c01b0fbd8c
fix : #7951 , don't send notification for system messages
2019-10-09 13:29:49 -04:00
Baris Usakli
27c27b497e
refactor: use arrow func
2019-08-19 11:07:59 -04:00
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
2019-07-22 11:18:13 -04:00
Barış Soner Uşaklı
7a1888dfbf
closes #6514
2018-05-30 16:29:44 -04:00
Julian Lam
a367b698e3
a bit more integration for #6463
2018-04-20 13:49:23 -04:00
Baris Usakli
48cff9bfcb
fix chat message subject
2018-01-09 17:11:58 -05:00
Barış Soner Uşaklı
d2ffdbda7d
closes #6203
2018-01-03 13:59:58 -05:00
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
2017-11-15 21:35:10 -05:00
Julian Lam
d9ace1723c
removed references to libs that aren't used
2017-07-17 12:40:50 -04:00
Julian Lam
a2627d2066
added default payload to emails, and adding nodebb logo for email header
2017-07-13 11:30:44 -04:00
Peter Jaszkowiak
932ae4e86d
Merge branch 'master' into notif-abort
2017-05-09 11:31:58 -06:00
Peter Jaszkowiak
4b87324234
Quick fix
2017-04-26 16:02:15 -06:00
Peter Jaszkowiak
033ce02e7b
Rename hooks
...
Add `static:messaging.canMessageRoom` as well
2017-04-26 15:22:17 -06:00
Peter Jaszkowiak
42e21d5aa9
Add more messaging hooks
2017-04-26 10:45:40 -06:00
barisusakli
5a2ff8ed0a
closes #5527
2017-03-14 23:03:09 +03:00
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only .js files
2017-02-23 18:31:49 -07:00
barisusakli
5c01c7b1c7
delayed notification test
2017-02-22 13:35:05 +03:00
Peter Jaszkowiak
93f38d4f30
ESlint no-multi-assign
...
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
2017-02-18 18:06:28 -07:00
Peter Jaszkowiak
57f89663aa
ESlint radix
2017-02-18 14:29:52 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95
ESlint eol-last
2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
b70610703a
fix crash in notifs
2016-07-30 10:25:40 +03:00
barisusakli
1c0ef00836
closes #4886
2016-07-25 14:37:03 +03:00
pichalite
e23377580d
fixes #4506
2016-04-08 23:55:10 +00:00
Barış Soner Uşaklı
46c3e5c126
chat notif/unread fix
2016-01-19 12:02:51 +02:00
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
2015-12-21 10:14:44 +02:00
barisusakli
1bd9b364e4
fix notifs, dont send to self, fix notification path to roomId
2015-12-16 15:12:06 +02:00
barisusakli
d8810ceae9
send messages
2015-12-16 15:09:14 +02:00
barisusakli
8fab270852
leaveRoom method, small fixes
2015-12-16 11:30:10 +02:00
barisusakli
f8a6666e1a
chat notify changes
2015-12-16 11:15:43 +02:00