81 Commits (29acad42473bdf38ad8f3d1397704bf166f2af7f)

Author SHA1 Message Date
Baris Usakli 9aa1aa689d fix: #7174
always pass string in service
6 years ago
Baris Usakli 96c1dc6276 unescape email subject 6 years ago
Julian Lam c9dfb4e109 closes #6790 6 years ago
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)
7 years ago
Barış Soner Uşaklı 4109f2c142 add filter:email.params 7 years ago
Julian Lam 9e44fc6ae2 fixes #6371 7 years ago
Barış Soner Uşaklı 8b615c64fa move emailsPath to function 7 years ago
Peter Jaszkowiak ed9166b796 Refactor template compilation
Always use persona as a fallback for templates
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Peter Jaszkowiak 23e7222dfa Update Nodemailer to v4
also filter out .jst files from email template dropdowns
8 years ago
Peter Jaszkowiak abffc29128 Use Benchpress (#5901)
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
8 years ago
Julian Lam d68a3b6862 fixed emailer init if no logo saved 8 years ago
Julian Lam 0ff413e5f8 simplifying logic 8 years ago
Julian Lam f77f17dc20 just use emailLogo instead of doing logo with x50.png suffix 8 years ago
Julian Lam 36e02780fe updates to email logo usage 8 years ago
Julian Lam 44851f97ac added logic for hiding logo if none is set, preventing crash on startup if no logo is set 8 years ago
Julian Lam c40b11aa6e updated site upload logic so that site logo is resized for email header, implemented site logo in email header 8 years ago
Julian Lam a2627d2066 added default payload to emails, and adding nodebb logo for email header 8 years ago
Barış Soner Uşaklı 6a742ead38 style 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Julian Lam 06a77143bd additional logging and removing interstitial session data if plugins don't return interstitials 8 years ago
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
Julian Lam c8e64ae93b updating profile fields to allow plugins (e.g. the write-api) to change a user's profile picture
@barisusakli please let me know if this is not ok.
9 years ago
Julian Lam 33255d73dd fix #4546 9 years ago
psychobunny 75917e25b3 closes #4026 9 years ago
Terry Tate 3e75c6f6a3 Update to nodemailer 2.0 syntax for smtpTransport
Fixes #4193
9 years ago
barisusakli e306194065 style 9 years ago
Julian Lam 1c2518fe22 Using sendmail instead of direct transport
Squashed commit of the following:

commit 9d4937fff6f6a1b4327fed0ada32153bd7e07efd
Author: Julian Lam <[email protected]>
Date:   Mon Jan 18 13:21:52 2016 -0500

    Revert "added some debug code"

    This reverts commit 2dd8535c7bd8f59b8ed59c8b98b5484a79fa0500.

commit 2dd8535c7bd8f59b8ed59c8b98b5484a79fa0500
Author: Julian Lam <[email protected]>
Date:   Mon Jan 18 12:04:02 2016 -0500

    added some debug code

commit af8ca8241e66fd538089517e7722c644668667f2
Author: Julian Lam <[email protected]>
Date:   Mon Jan 18 11:50:41 2016 -0500

    using sendmail instead of direct transport
9 years ago
Julian Lam 57918332e9 fixed issue with no 'from' name when using NodeMailer 9 years ago
Julian Lam d1fb09caec apparently I *did* need html-to-text. 9 years ago
Julian Lam 963d9b22b3 Removing and updating dependencies to satisfy david-dm.org 9 years ago
Julian Lam 5adb8da427 enabled Gmail routing for email fallback 9 years ago
Julian Lam e37709ad8b something.. 9 years ago
Julian Lam 948c98b668 adding plaintext email via html-to-text module 9 years ago
Julian Lam 48b5bab849 closes #3756 9 years ago
Julian Lam 04db07ed33 seems legit, tjs not even used in this file 9 years ago
barisusakli 3d73fbf74a only pass pack err 9 years ago
barisusakli dbf0f279a2 closes #3644 9 years ago
psychobunny 47fb8e8125 closes #2183 9 years ago
psychobunny fa8a2c5c1b render email footer partial 9 years ago
Barış Soner Uşaklı e9692a3e1f fix emailer 10 years ago
barisusakli b099aaf61f fix typo in emailer 10 years ago