123 Commits (0aa25f20d5cf6ab96b0c16ce8fc1cc3a9785f1cf)

Author SHA1 Message Date
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
barisusakli 45c446dac0 new hook filter:email.send 10 years ago
barisusakli 7bd98a2516 closes #3427 10 years ago
barisusakli 5ee1951245 closes #3271 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
Julian Lam 521c454dde updated emailer to pass through "fromUid" if available 10 years ago
Barış Soner Uşaklı 8b21f1c8ab dont reload settings page on every save
only show an alert if reload is required
renamed settings.language to settings.userLang to match the config
10 years ago
Barış Soner Uşaklı 3293436867 closes #2640 10 years ago
Julian Lam fdaccc804c handling cases where no callback is passed to emailer.send 10 years ago
Julian Lam bc9ede7b6c changed emailer.send so that it processes a callback, if provided. Also added new option to receive emails every time a topic you subscribe to is posted to. 10 years ago
barisusakli 083ba12ee0 check err in emailer 10 years ago
barisusakli 83ab462ff5 module changes, fixed missing interval 10 years ago
barisusakli d492339841 closes #2315 10 years ago
psychobunny 27496a08c4 fix emailer crash (line 35) 10 years ago
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 11 years ago
Julian Lam 46f9a7860c applying translator to messages. 11 years ago
psychobunny 0e92c7ed94 use templates.js module instead 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
barisusakli 90540f64cf removed some unused translator requires 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
psychobunny 6563a72b5b fixed emailer templates 11 years ago
Baris Soner Usakli e5727af959 added missing winston to emailer 11 years ago
Baris Soner Usakli 01cb67d1f3 closes #945 11 years ago
Baris Soner Usakli 2e786cc4d1 closes #873, removed global translator, templates and server objects 11 years ago
Baris Soner Usakli 042174290f removed console.log 11 years ago
Baris Soner Usakli b325212182 crash fix for admin verify email, temp fix 11 years ago
Julian Lam 724dcb88c0 added translator integration to emailer 11 years ago
Julian Lam b6fdc5595d removed handlebars dependency for emailer, using ANDREWBARS now 11 years ago
Julian Lam 11ed9e8c85 tweaks to emailer, implemented emailer hook for password reset 11 years ago
Julian Lam 339ed4e47b implemented emailer for welcome email (though the email confirmation system is horribly broken) 11 years ago
Julian Lam dd72e73284 emailer invocation for new users 11 years ago
Julian Lam e4e57ce31f initial commit to emailer system overhaul 11 years ago