Julian Lam
69c96dd23c
refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation
2021-07-30 13:29:13 -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
Julian Lam
86b0c57d7a
feat: also pass in uid to filter:email.prepare
2021-02-25 17:11:57 -05:00
Julian Lam
27ea3dcb2f
feat: new hook filter:email.prepare
2021-02-25 17:10:56 -05:00
Julian Lam
bf90d15881
feat: new hook static:email.send
...
deprecates filter:email.send
2021-02-25 15:05:58 -05:00
Barış Soner Uşaklı
0185ea1b4f
perf: make digests a little bit faster
...
and use batch.processArray
dont load data for users who have no email or have not confirmed their emails
2021-02-09 15:27:08 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
5e5d37c38f
fix( #9252 ): pass site domain to nodemailer ( #9254 )
2021-02-04 12:08:14 -05:00
Baris Usakli
a5bf9779fd
fix : #9223 , don't overwrite stmp settings
2021-01-29 14:22:08 -05:00
Barış Soner Uşaklı
c2e2370655
feat: add filter:email.cancel to allow plugins to cancel sending emails
2021-01-18 13:34:28 -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
Barış Soner Uşaklı
a2152dd100
feat: update html-to-text closes https://github.com/NodeBB/NodeBB/pull/8810
2020-12-18 11:18:49 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Peter Jaszkowiak
d30ea25629
feat(deps): benchpressjs@2.2.1 ( #8887 )
...
Better warnings, faster template compiles
2020-11-16 11:55:24 -05:00
Julian Lam
8af30a51b5
fix: regression caused by 7545951725
...
/cc @psychobunny
2020-10-09 10:58:42 -04:00
psychobunny
7545951725
chore: refactor src/emailer.js
2020-10-02 11:01:39 -04:00
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
2020-09-06 23:45:00 -04:00
Barış Soner Uşaklı
53a5f1516e
feat: move code
2020-09-04 22:16:38 -04:00
Barış Soner Uşaklı
b6917b9dee
feat: #8602 , dont send emails to unconfirmed addresses
2020-09-04 22:12:42 -04:00
Kyle Farris
2b785628e7
fix: removed invalid options for the sendmail transport ( #8576 )
...
* Removed invalid options for the sendmail transport that were causing Nodemailer to return the SMTPTransport instead.
* Removed options for rate limiting in admin email interface. Added new option for toggling whether to use pooled connections.
2020-08-26 10:46:59 -04:00
Barış Soner Uşaklı
0189945996
refactor: remove util.promisify calls
2020-08-14 00:05:03 -04:00
Barış Soner Uşaklı
e80379dc0e
feat: display stack trace on winston.error
2020-06-20 23:32:12 -04:00
Julian Lam
df139928b6
feat: displaying one-click unsubscribe link in email footer ( #8024 )
...
closes #8016
2019-11-06 14:19:57 -05:00
Barış Soner Uşaklı
63bd3fc597
refactor: async/await emailer
2019-09-18 17:52:07 -04:00
Barış Soner Uşaklı
a7d2b8a1fe
refactor: async/await socket.io
2019-09-15 02:14:51 -04:00
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b26
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e41
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb2
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee1
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272e
Author: Renovate Bot <bot@renovateapp.com >
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae
Author: Renovate Bot <bot@renovateapp.com >
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38
Author: Renovate Bot <bot@renovateapp.com >
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199
Author: Misty (Bot) <deploy@nodebb.org >
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a1759
Author: Baris Usakli <barisusakli@gmail.com >
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57b
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6
Author: Renovate Bot <bot@renovateapp.com >
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
2019-08-13 15:12:27 -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ı
7a4b68e816
fix : #7628 , log email send errors
2019-05-22 09:54:56 -04:00
Barış Soner Uşaklı
f55cc66723
fix: {username} not working in notification.tpl
...
fix images going out of notification email
2019-05-21 22:48:50 -04:00
Julian Lam
75ae29c1dd
fix : #7470 Properly handle recompilation of email templates
2019-04-04 18:48:42 -04:00
Julian Lam
63e16ec0a2
fix : #6911 , email throttling options set
2019-03-25 15:21:29 -04:00
Julian Lam
33a1bf6cde
fix: throttling email output to 2 messages every second, fixes #6911
2019-03-25 15:21:28 -04:00
Julian Lam
8d62ead329
fix : #7469 missing email logos, occasionally
2019-03-25 12:37:53 -04:00
Julian Lam
6c1f9c3c46
fix: restored email logo to all outgoing emails
2019-02-22 15:03:31 -05:00
Julian Lam
d3a10628e7
fix: broken 50% border radius on emails, failing tests
2019-02-22 12:01:18 -05:00
Julian Lam
3a7f1c192b
fix: failing tests from revamped-emails branch
2019-02-21 12:55:09 -05:00
Julian Lam
f32a992237
feat: revamp email templates to be more style agnostic ( #7375 )
...
* feat: re-designed digest
Updated design, logic no longer shows "no topics", just doesn't
show the list at all, teaser re-retrieved for digest so that it
always grabs a teaser even if there is no reply, changed default
email background to a light grey.
* fix: minor padding issues in digest
* fix: banned template
* fix: invitation.tpl
* fix: removed unused notif_chat and notif_post email templates
* fix: notification template
* fix: registration_accepted template
* fix: reset tpl
* fix: test tpl
* fix: email verify tpl
* fix: reset notify tpl
* fix: welcome tpl
* fix: additional minor font fixes
* fix: removed unused email header image assets
* fix: internationalised 'your daily digest' string
* fix: broken url in digest 🤦
* feat: added RTL support for emailer
/cc @PostMidnight
2019-02-20 16:13:26 -05:00
Julian Lam
70a87d4399
feat: support for one-click unsubscribe from email clients ( #7203 )
...
* feat: sending notifs via ACP creates real notification
re: #7202
* feat: basic integration for one-click unsubscription #7202
* feat: tests for #7202 + bugfix
* feat: added and organized digest unsub tests
closes #7202
2019-01-08 13:56:11 -05:00
Baris Usakli
9aa1aa689d
fix : #7174
...
always pass string in service
2019-01-02 15:27:32 -05:00
Baris Usakli
96c1dc6276
unescape email subject
2018-12-05 17:38:18 -05:00
Julian Lam
c9dfb4e109
closes #6790
2018-09-25 14:45:49 -04:00
Peter Jaszkowiak
04d31fe1d4
Precompile all templates
...
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
2018-07-15 00:12:37 -06:00
Barış Soner Uşaklı
4109f2c142
add filter:email.params
2018-04-13 17:57:40 -04:00
Julian Lam
9e44fc6ae2
fixes #6371
2018-03-20 08:41:49 -04:00
Barış Soner Uşaklı
8b615c64fa
move emailsPath to function
2018-03-16 11:26:26 -04:00
Peter Jaszkowiak
ed9166b796
Refactor template compilation
...
Always use persona as a fallback for templates
2018-01-14 23:26:35 -07:00
Peter Jaszkowiak
4fcedc6f31
Enable imports in custom email templates ( #6052 )
...
* Enable imports in custom email templates
* Compile emails on config change
* Add error logging
* Add emailer tests
* Fix tests
* Only build when config changes
2017-11-21 10:51:20 -05:00
Dravere
8d5ef79e9c
Smtp emailer change without restart ( #5957 )
...
* SMTP fallback transport setup during app startup and config update
* Verbose logging message to see when SMTP fallback transport is setup
2017-10-06 07:36:43 -04:00
Dravere
38900a9964
Smtp emailer issue 5951 ( #5954 )
...
* Fixed typo at emailer.js line 66 (serice -> service)
* When custom SMTP user and password is empty no authentication is attempted
* Added options to choose custom smtp connection security
* Made custom smtp connection security strings translatable
* Changed switch to if-else for custom smtp security option
* Fixed emailer.js lint errors
* Move custom setting to top of list
2017-10-04 18:26:44 -04:00
Peter Jaszkowiak
23e7222dfa
Update Nodemailer to v4
...
also filter out .jst files from email template dropdowns
2017-08-30 14:26:41 -06:00