Barış Soner Uşaklı
bf243e0778
fix: notifications.markAllRead
...
so that it actually marks all notifications read instead of the most recent 100. if you had more than 100 unread it required clicking multiple times.
also don't use markReadMultiple since we are clearing them all.
2025-04-07 10:05:27 -04:00
Barış Soner Uşaklı
1ff8e1e47d
fix : #13115 , prevent messages from getting duplicated
2025-02-02 18:57:54 -05:00
Barış Soner Uşaklı
8e9fdb5fd6
fix : #13115 , limit bodyLength length
...
send out notification if bodyLong.length exceeds limit
add a max item limit to ttl cache
get rid of has/get check if item isn't in cache get returns undefined
2025-02-02 18:39:24 -05:00
Julian Lam
4ae8614573
feat: service worker icon and badge support
2024-09-20 11:19:50 -04:00
Julian Lam
d6bab25317
feat: notification rescind support
2024-09-12 22:14:24 -04:00
Julian Lam
e3bfcb0230
Merge branch 'develop' into activitypub
2024-08-22 15:06:53 -04:00
Julian Lam
ad68809bb4
fix : #12736 , merged notifications use username instead of displayname
2024-08-22 15:05:44 -04:00
Barış Soner Uşaklı
91c3434fda
Merge branch 'develop' into activitypub
2024-04-25 11:16:42 -04:00
Barış Soner Uşaklı
d2e042d15b
refactor: add new hooks for notifications/websockets
...
filter:sockets.sendNewNotificationToUid - fires before emitting "event:new_notification"
filter:sockets.sendNewPostToUid - fires before emitting "event:new_post"
filter:sockets.sendNewTopicToUid - fires before emitting "event:new_topic"
filter:user.toggleFollow- fires before follow/unfollow
2024-04-15 11:31:27 -04:00
Julian Lam
aef1215fd6
fix: remote user avatars in notifications
2024-03-05 14:42:25 -05:00
Julian Lam
c707a32aa9
feat: integrate notifications for remote likes, follows, and announces.
...
Rescind notification as necessary.
2024-02-29 16:10:01 -05:00
Julian Lam
8cb984d44c
fix: serve fallback images on category actor
2024-02-28 14:07:27 -05:00
Barış Soner Uşaklı
84fed97b41
feat: add tracking categories and make watching send notifications ( #12147 )
...
* feat: add tracking categories and make watching send notifications
upgrade script to change the defaults
* add missing spec
* test: one more spec
2023-11-03 12:49:17 -04:00
Barış Soner Uşaklı
9e9046bf65
feat: award notif filter
2023-10-16 19:18:17 -04:00
Barış Soner Uşaklı
347a43f4fe
fix: rewards fixes
...
fix enabled/disabled button
sort rewards from oldest to newest
2023-10-16 19:02:42 -04:00
Barış Soner Uşaklı
844cb91beb
feat: update all language keys to use - instead of _ ( #12059 )
...
* feat: update all language keys to use - instead of _
* refactor: update language keys
2023-10-05 12:48:50 -04:00
Julian Lam
a47b4805f3
refactor: add email notification delay to chat message notifications
2023-10-02 11:19:05 -04:00
Julian Lam
3ba371f6c2
refactor: remove chat message notification queue, implement merge IDs for chat message notifications, so they can be grouped together
2023-10-02 11:19:05 -04:00
Barış Soner Uşaklı
40d290c1a9
Tag follow ( #12041 )
...
* feat: tag follow
* on tag delete remove it from following users
* feat: on tag rename update user followed tags
and move the
* add new filter on /notifications
* feat: openapi updates
* chore: up themes
* chore: up peace
* refactor: remove unused title
2023-09-27 10:57:00 -04:00
Barış Soner Uşaklı
8041f4d185
fix: field name importance
2023-09-22 10:15:34 -04:00
Barış Soner Uşaklı
b8e43143cd
fix: closes #12007 , parseInt notification fields
2023-09-22 09:55:02 -04:00
Barış Soner Uşaklı
b65d8e823a
feat: add new notif type for public rooms
...
change notification text to display more users
* user1 wrote in general
* user1 and user2 wrote in general
* user1, user2 and user3 wrote in general
* user1. user2 and 2 others wrote in general
2023-08-20 11:51:09 -04:00
Barış Soner Uşaklı
61f036ce1d
Chat notifs ( #11832 )
...
* first part of chat notifs
* moved default notif to manage page
* spec
* notifs
* delete settings on room delete
2023-07-21 15:31:34 -04:00
Barış Soner Uşaklı
767973717b
perf: WIP #10449 , allow array of pids for posts.purge ( #10465 )
...
* perf: WIP #10449 , allow array of pids for posts.purge
* refactor: deletePostDiffs
* perf: deletePostFromReplies/deletePostFromGroups
* refactor: upload
* refactor: deleteFromCategoryRecentPosts
deleteFromUsersBookmarks
deleteFromUsersVotes
* feat: closes #10468 , add incrObjectFieldByBulk
* refactor: allow nids for notifications.rescind
* refactor: allow uids array for user.updatePostCount
* refactor: rewrite deleteFromTopicUserNotification to work with an array
* feat: deprecate action:post.purge as well
* lint: add missing comma
2022-04-07 14:06:25 -04:00
Julian Lam
165a1d8b76
Revert "fix: update usage of emailer.send to not catch (as errors are no longer thrown), email error throttler"
...
This reverts commit d4e5259fcf .
2022-01-28 15:41:27 -05:00
Julian Lam
d4e5259fcf
fix: update usage of emailer.send to not catch (as errors are no longer thrown), email error throttler
2022-01-28 15:16:41 -05:00
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
d8d6c98970
fix: return null
2021-05-28 12:32:52 -04:00
Barış Soner Uşaklı
ac7b093f99
feat: add filter:notifications.create
2021-05-28 12:31:49 -04:00
Barış Soner Uşaklı
728ac5ff72
perf: increase batch size for notifs, run parallel
2021-03-26 17:47:57 -04:00
Barış Soner Uşaklı
3aa26c4df2
fix : #9339 , only log email errors once per digest, notification push
...
show notice in acp
2021-03-05 19:03:16 -05:00
Barış Soner Uşaklı
2737f6531b
fix: notif pruning
2021-02-28 12:54:06 -05:00
Barış Soner Uşaklı
02f08111cf
feat: keep notifs for one month, load 50 notifications instead of 30
2021-02-26 22:22:12 -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
cc9d6fd08b
chore: eslint max-len
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
dab3b23575
chore: eslint no-var, vars-on-top
2021-02-08 18:06:44 -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
Barış Soner Uşaklı
9938a139fe
fix: add missing await
2021-01-15 14:42:19 -05:00
Barış Soner Uşaklı
25ab99b91d
refactor: single remove call
2021-01-15 14:41:45 -05:00
Peter Jaszkowiak
2be396ff6e
fix: email testing and settings change from ACP
...
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
2020-12-18 16:39:09 -05:00
psychobunny
c1a7968d23
feat: user notification settings for group.leave event
2020-12-01 14:11:56 -05:00
Barış Soner Uşaklı
b8cafefce2
fix: winston usages
2020-11-26 13:56:34 -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ı
4e9b10ab76
feat: #5274
2020-11-17 22:42:08 -05:00
Barış Soner Uşaklı
b44ddecdf8
feat: #8204 , separate notification type for group chats
2020-11-17 12:52:02 -05:00
Barış Soner Uşaklı
1e5981c0d6
feat: replace relative urls to absolute before sending email notifs
...
https://github.com/NodeBB/NodeBB/pull/8366/files
2020-09-03 12:02:07 -04:00
Barış Soner Uşaklı
ce6b20c4b7
feat: remove topics.async.getTopicData usage
2020-07-24 12:02:16 -04:00
Barış Soner Uşaklı
e80379dc0e
feat: display stack trace on winston.error
2020-06-20 23:32:12 -04:00
Julian Lam
922d49be0b
fix(style): switch..case
2020-06-03 11:26:08 -04:00