Commit Graph

15 Commits

Author SHA1 Message Date
rijkvanzanten
81fb593672 Remove unused import 2021-09-22 15:06:45 -04:00
Rijk van Zanten
0ad60399eb Replace prettier with simple trim (#8241)
Fixes #8162
2021-09-22 12:09:59 -04:00
Nicola Krumschmidt
7dfc5dc6af Use root-relative base url for app and extensions (#6923)
* Add Url util class

* Use relative base url for app and extensions

Also use utils/url when working with PUBLIC_URL in other places.
2021-08-26 17:11:21 -04:00
Rijk van Zanten
d0f6cb35e3 Support dynamic variables in conditional fields (#7202)
* Move accountability type to shared

* Rely on shared for parse-filter

* Install date-fns

* Support dynamic variables in conditional fields

Closes #7157
2021-08-05 01:51:15 +02:00
Luan Mattner Müller
9da9874905 Fix MailService to throw sending errors (#6541) 2021-06-28 13:29:23 -04:00
Rijk van Zanten
36ecad783a Fix issue that would cause emails to be displayed incorrectly in certain email clients (#6267)
Fixes #6074
2021-06-14 16:24:55 -04:00
Rijk van Zanten
76a31ca020 Don't initialize mailer on startup (#6169)
* Fix m2m relationship not showing current col/pk

* Don't initialize mailer on first boot

Another step to serverless!
2021-06-09 17:31:50 -04:00
Rijk van Zanten
77e00b7db4 Don't initialize database on file require (#6003) 2021-06-02 11:41:42 -04:00
rijkvanzanten
1bbc8535a5 Move nodemailer setup to src root 2021-05-24 13:36:12 -04:00
Pierre
28ef6418fc [TS] Improve EmailOptions def (#5563)
* [TS] Improve EmailOptions def

See https://nodemailer.com/message/

* Update index.ts

* Update index.ts

* [Mailer] pass nodemailer options

* fix missing comma

* [TS] Use SendMailOptions of nodemailer

* Use const instead of let

* fix lint

* Rename nodeMailerOptions -> emailOptions

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-14 12:25:19 -04:00
Christian Rendl
7133df2d56 Fixed issues with template overriding (#5671)
* Fixed issues with template overriding

* Remove `system` flag from email templates

* Remove usage of system in user services

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-05-14 12:20:42 -04:00
Sebastian Kinzlinger
faa3ca7a06 Allow base Email override for standard emails (#5449)
* Make email template overrides work

The ternary needs to be this way for custom email templates to be picked up.

* Allow custom subject lines for emails

Allow subject line to be passed into `inviteUser()` and `requestPasswordReset()`

* Fix typo

* Fix typo

* eslint stuff

* Update users.ts
2021-05-04 09:31:13 -04:00
rijkvanzanten
801e868554 Fix remaining eslint errors
h/t @paescuj
2021-04-29 15:55:12 -04:00
Daniel Westman
9097641bf5 Add the ability to provide custom liquid layouts and partials (#5269)
* Add ability to provide custom liquid layouts and partials

* Allow overriding partilas with customs

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-04-27 20:41:31 +00:00
Rijk van Zanten
d25c35fee7 Add MailService (#5265)
* Create MailService

Fixes #5229, ref #3372, #4664, #4858, #5090, #3104, #3465, #2774, #3741

* Fix path to templates extensions

* Add mailservice example to hooks docs
2021-04-26 17:55:34 -04:00