Commit Graph

18 Commits

Author SHA1 Message Date
Lucas Smith
4dd95016b1 feat: i18n for emails (#1442)
## Description

Support setting a document language that will control the language used
for sending emails to recipients. Additional work has been done to
convert all emails to using our i18n implementation so we can later add
controls for sending other kinds of emails in a users target language.

## Related Issue

N/A

## Changes Made

- Added `<Trans>` and `msg` macros to emails
- Introduced a new `renderEmailWithI18N` utility in the lib package
- Updated all emails to use the `<Tailwind>` component at the top level
due to rendering constraints
- Updated the `i18n.server.tsx` file to not use a top level await

## Testing Performed

- Configured document language and verified emails were sent in the
expected language
- Created a document from a template and verified that the templates
language was transferred to the document
2024-11-05 11:52:54 +11:00
Ephraim Duncan
2eee2b4d2a feat: send custom email to signers of direct template documents (#1215)
Introduces customization options for the document completion email
template to allow for custom email bodies and subjects for documents
created from direct templates.


## Testing Performed
- Verified correct rendering of custom email subject and body for direct
template documents
- Verified the all other completed email types are sent correctly
2024-07-05 13:03:22 +10:00
Adithya Krishna
f8ddb0f922 chore: update filename for bulk recipients 2024-04-18 18:12:08 +05:30
Adithya Krishna
1126fe4bff chore: added filename extension check 2024-04-17 03:52:59 +05:30
David Nguyen
a54eb54ef7 feat: add document auth (#1029) 2024-03-28 13:13:29 +08:00
Lucas Smith
a7594c9b3c fix: update sending logic 2024-03-16 11:06:33 +00:00
Adithya Krishna
f012826b6b chore: send document owner email
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2024-03-15 22:26:31 +05:30
Adithya Krishna
52afae331e chore: updated to send email to doc owners
Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2024-03-13 09:50:37 +05:30
Lucas Smith
306e5ff31f fix: add timeouts to longer transactions 2024-02-22 11:05:49 +00:00
Lucas Smith
8ebef831ac Merge branch 'main' into feat/add-runtime-env 2024-02-12 12:30:35 +11:00
David Nguyen
3a32bc62c5 feat: initial document audit logs implementation (#922)
Added initial implementation of document audit logs.
2024-02-12 12:04:53 +11:00
Mythie
08f82b23dc fix: update env entries to evaluate at runtime 2024-01-31 22:32:42 +11:00
Catalin Pit
d451a7acce feat: add next-runtime-env 2024-01-25 10:48:20 +02:00
Mythie
486b1cbf62 fix: incorrect promise.all usages 2023-12-02 12:43:43 +11:00
Mythie
9d9b1a6681 fix: attach document to completed email 2023-11-06 13:02:20 +11:00
Lucas Smith
abfa0812f0 fix: minor updates 2023-11-06 13:01:15 +11:00
Ephraim Atta-Duncan
c58006b2d9 feat: avoid sending pending email to document with 1 recipients 2023-11-06 13:01:15 +11:00
Ephraim Atta-Duncan
94215fffbb feat: send email when all recipients have signed 2023-11-06 13:01:15 +11:00