Commit Graph

247 Commits

Author SHA1 Message Date
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
Barış Soner Uşaklı
a73c755b05 feat: closes #8308, edit post notif for watched topic posts 2020-05-10 22:21:32 -04:00
Baris Usakli
a8df6d6298 fix: #8078, dont mark notifications read without a mergeId 2019-12-05 15:44:22 -05:00
Barış Soner Uşaklı
0037a03886 fix: #8018, allow absolute urls in notification.path 2019-11-01 21:01:46 -04:00
Barış Soner Uşaklı
38322ec308 fix: #7949, delete old user notifs 2019-10-07 14:10:08 -04:00
Barış Soner Uşaklı
a51ec591ee feat: #7743, finish user module 2019-07-16 20:44:00 -04:00
Barış Soner Uşaklı
6f738c2b44 feat: #7743 notifications 2019-07-12 21:01:48 -04:00
Barış Soner Uşaklı
b24ce97602 feat: #7743, user/approval, user/auth 2019-07-11 23:43:00 -04:00
Barış Soner Uşaklı
198d05875f feat: cleanup, use bulk 2019-06-24 21:36:20 -04:00
Barış Soner Uşaklı
ede060a646 feat: add hook for user notifications, closes #7672 2019-06-13 10:18:02 -04:00
Julian Lam
b32da57faf fix: #7604 shortened CTA text and added custom text for some notifs (#7605)
* fix: #7604 shortened CTA text and added custom text for some notifs

Specifically, new-reply and new-chat have different CTA text as they
do not go to the forum home like other email templates send users to.

* fix: minor optimization as suggested by @barisusakli
2019-05-16 09:43:06 -04:00
Barış Soner Uşaklı
6e69a9ab31 fix: merge post notifs 2019-01-31 12:54:23 -05:00
Peter Jaszkowiak
e1ca2d81f9 refactor: use loash when possible (#7230) 2019-01-12 14:28:53 -05:00