230 Commits (0aad131204b1b8737a3005721b1599a744ad34a6)

Author SHA1 Message Date
Barış Soner Uşaklı 728ac5ff72 perf: increase batch size for notifs, run parallel 4 years ago
Barış Soner Uşaklı 3aa26c4df2 fix: #9339, only log email errors once per digest, notification push
show notice in acp
4 years ago
Barış Soner Uşaklı 2737f6531b fix: notif pruning 4 years ago
Barış Soner Uşaklı 02f08111cf feat: keep notifs for one month, load 50 notifications instead of 30 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 cc9d6fd08b chore: eslint max-len 4 years ago
Peter Jaszkowiak dab3b23575 chore: eslint no-var, vars-on-top 4 years ago
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback 4 years ago
Peter Jaszkowiak 707b55b6a5 chore: eslint prefer-template 4 years ago
Barış Soner Uşaklı 9938a139fe fix: add missing await 4 years ago
Barış Soner Uşaklı 25ab99b91d refactor: single remove call 4 years ago
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
4 years ago
psychobunny c1a7968d23 feat: user notification settings for group.leave event 4 years ago
Barış Soner Uşaklı b8cafefce2 fix: winston usages 4 years ago
Julian Lam 6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 4 years ago
Barış Soner Uşaklı 4e9b10ab76 feat: #5274 4 years ago
Barış Soner Uşaklı b44ddecdf8 feat: #8204, separate notification type for group chats 4 years ago
Barış Soner Uşaklı 1e5981c0d6 feat: replace relative urls to absolute before sending email notifs
https://github.com/NodeBB/NodeBB/pull/8366/files
4 years ago
Barış Soner Uşaklı ce6b20c4b7 feat: remove topics.async.getTopicData usage 5 years ago
Barış Soner Uşaklı e80379dc0e feat: display stack trace on winston.error 5 years ago
Julian Lam 922d49be0b fix(style): switch..case 5 years ago
Barış Soner Uşaklı a73c755b05 feat: closes #8308, edit post notif for watched topic posts 5 years ago
Baris Usakli a8df6d6298 fix: #8078, dont mark notifications read without a mergeId 5 years ago
Barış Soner Uşaklı 0037a03886 fix: #8018, allow absolute urls in notification.path 5 years ago
Barış Soner Uşaklı 38322ec308 fix: #7949, delete old user notifs 5 years ago
Barış Soner Uşaklı a51ec591ee feat: #7743, finish user module 6 years ago
Barış Soner Uşaklı 6f738c2b44 feat: #7743 notifications 6 years ago
Barış Soner Uşaklı b24ce97602 feat: #7743, user/approval, user/auth 6 years ago
Barış Soner Uşaklı 198d05875f feat: cleanup, use bulk 6 years ago
Barış Soner Uşaklı ede060a646 feat: add hook for user notifications, closes #7672 6 years ago
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
6 years ago
Barış Soner Uşaklı 6e69a9ab31 fix: merge post notifs 6 years ago
Peter Jaszkowiak e1ca2d81f9 refactor: use loash when possible (#7230) 6 years ago
Baris Usakli f4ea2c43ab feat: #7120 6 years ago
Baris Usakli 96c1dc6276 unescape email subject 6 years ago
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
6 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
6 years ago
Barış Soner Uşaklı b2b33ffa57 topics data refactor 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
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
6 years ago
Barış Soner Uşaklı 7a1888dfbf closes #6514 7 years ago
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Barış Soner Uşaklı 6659a520e0 closes #6465 7 years ago
Julian Lam a367b698e3 a bit more integration for #6463 7 years ago
Andrew Rodrigues 9e0189ab34
added notification obj to emailer.send 7 years ago
Andrew Rodrigues a5bae451f2
strip html tags from email subject 7 years ago
Barış Soner Uşaklı 2661a31227 closes #6202 7 years ago
Barış Soner Uşaklı c839d1cbc0 closes #6080 closes #6078 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
7 years ago
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
7 years ago