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
Baris Usakli
f4ea2c43ab
feat: #7120
2018-12-18 13:56:06 -05:00
Baris Usakli
96c1dc6276
unescape email subject
2018-12-05 17:38:18 -05:00
oh
d7c55bc3f7
feat(email): don't escape html in notification bodies. ( #7042 )
...
allows for post replies, etc. to show the formatting of the orginal
post, rather than looking garbled.
closes #7034
2018-12-05 12:46:41 -05:00
Barış Soner Uşaklı
69bb3293ee
misc fixes
...
handle spider uids properly
2018-11-12 00:20:44 -05:00
Barış Soner Uşaklı
b2b33ffa57
topics data refactor
2018-10-20 16:10:02 -04:00
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
0519f84734
Promisify modules ( #6723 )
...
* WIP promisify
* promisify psql
* ability to skip some keys
* dont promisify client object
* remove async
* clone entire module so it has all properties
* add shim for node 6
* ignore sessionStore as well
* ignore pool on psql
2018-08-31 11:04:42 -04:00
Barış Soner Uşaklı
7a1888dfbf
closes #6514
2018-05-30 16:29:44 -04:00
Julian Lam
3951bb9532
Merge remote-tracking branch 'origin/master' into user-blocking
2018-04-26 09:59:37 -04:00
Barış Soner Uşaklı
6659a520e0
closes #6465
2018-04-22 09:10:02 -04:00
Julian Lam
a367b698e3
a bit more integration for #6463
2018-04-20 13:49:23 -04:00
Andrew Rodrigues
9e0189ab34
added notification obj to emailer.send
2018-01-30 20:43:30 -05:00
Andrew Rodrigues
a5bae451f2
strip html tags from email subject
2018-01-30 19:53:38 -05:00
Barış Soner Uşaklı
2661a31227
closes #6202
2017-12-29 13:27:12 -05:00
Barış Soner Uşaklı
c839d1cbc0
closes #6080 closes #6078
2017-11-17 08:10:25 -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