Commit Graph

52 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
David Nguyen
f199183c78 feat: improve translation coverage (#1427)
Improves translation coverage across the app.
2024-11-01 10:57:32 +11:00
Mythie
404ca3202f chore: update action auth 2024-09-19 13:45:39 +10:00
Lucas Smith
dfa89ffe44 fix: make invite and confirmations long lived (#1309)
Previously we would delete all invites and confirmation tokens upon
completing the action that they represent.

This change instead adds a flag on each token indicating whether it has
been completed so we can action a
completed token differently in the UI to reduce confusion for users.

This had been brought up a number of times where confirmation emails,
team member invites and other items
may have been actioned and forgotten about causing an error toast/page
upon subsequent revisit.
2024-08-28 14:08:35 +10:00
David Nguyen
75c8772a02 feat: web i18n (#1286) 2024-08-27 20:34:39 +09:00
Mythie
9178dbd3c1 chore: update marketing site 2024-08-20 23:23:36 +10:00
Rene Steen
5582f29bda feat: make oidc sign in button text configurable (#1209)
Adds a configurable label for the OIDC connection's button.
2024-07-31 22:22:52 +10:00
Ephraim Duncan
a8febae87e chore: team stuff (#1228)
- Added functionality to decline team invitations
- Added email notifications for when team is deleted
- Added email notifications for team members joining and leaving
2024-07-25 14:27:19 +10:00
Lucas Smith
d8d0734680 Merge branch 'main' into mk/oidc-auth 2024-05-30 15:41:36 +10:00
Adithya Krishna
0e16a86e74 chore: updated dark mode text 2024-04-30 11:55:01 +05:30
Matt Kilgore
e0440fd8a2 feat: add oidc support 2024-04-13 20:46:08 -04:00
Mythie
48a8f5fe07 chore: add disclosure 2024-04-02 14:16:36 +07:00
Lucas Smith
d5c4885c67 fix: update signup form to handle password managers better 2024-03-14 12:39:58 +00:00
Mythie
cc1b888174 chore: tidy changes 2024-02-29 14:09:17 +11:00
Mythie
ecc9dc63ea feat: the rest of the owl 2024-02-29 13:22:21 +11:00
Mythie
e3e2cfbcfd fix: refactor and implement design 2024-02-28 14:43:09 +11:00
Adithya Krishna
b225cc8139 chore: updated styles
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:40:43 +11:00
Adithya Krishna
b498f8edb7 feat: update ui
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:40:42 +11:00
Adithya Krishna
b1261510d2 feat: update signin signup pages
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:39:20 +11:00
Adithya Krishna
65d762dd4b feat: update signin signup ui
Signed-off-by: Adithya Krishna <adithya@documenso.com>
2024-02-27 20:39:19 +11:00
Lucas Smith
fe2093fe7c feat: add next-runtime-env (#869)
This PR adds the package
[next-runtime-env](https://github.com/expatfile/next-runtime-env/) to
populate the public environment variables at runtime.
2024-02-15 22:10:21 +11:00
Catalin Pit
1852aa4b05 chore: add info 2024-02-12 09:49:59 +02:00
Lucas Smith
20e2976731 fix: build issues 2024-02-12 01:29:22 +00:00
Lucas Smith
d13cf743bf Merge branch 'main' into feat/add-runtime-env 2024-02-08 22:06:59 +11:00
David Nguyen
cad48236a0 Merge branch 'main' into feat/disable-access-unverified-users 2024-02-07 16:30:22 +11:00
David Nguyen
0c339b78b6 feat: add teams (#848)
## Description

Add support for teams which will allow users to collaborate on
documents.

Teams features allows users to:

- Create, manage and transfer teams
- Manage team members
- Manage team emails
- Manage a shared team inbox and documents

These changes do NOT include the following, which are planned for a
future release:

- Team templates
- Team API
- Search menu integration

## Testing Performed

- Added E2E tests for general team management
- Added E2E tests to validate document counts

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have added/updated tests that prove the effectiveness of these
changes.
- [ ] I have updated the documentation to reflect these changes, if
applicable.
- [X] I have followed the project's coding style guidelines.
2024-02-06 16:16:10 +11:00
Catalin Pit
cc090adce0 chore: refactor 2024-01-30 12:54:48 +02:00
Catalin Pit
c0bb5205e1 chore: merged main 2024-01-29 10:14:56 +02:00
Anik Dhabal Babu
9d6ee94708 chore: add title and description to individual pages (#847)
Add Title and Description to Individual Pages.
eg:- Security | Documenso, Profile | Documenso etc.
2024-01-29 17:53:44 +11:00
Catalin Pit
b2cca9afb6 chore: refactor 2024-01-26 13:27:36 +02:00
Catalin Pit
311c8da8fc chore: encrypt and decrypt email addr 2024-01-25 17:24:37 +02:00
Catalin Pit
49ecfc1a2c chore: refactor 2024-01-25 15:42:40 +02:00
Catalin Pit
ffee2b2c9a chore: merged main 2024-01-25 13:43:11 +02:00
Catalin Pit
2f18518961 chore: merged main 2024-01-25 10:53:05 +02:00
Catalin Pit
d451a7acce feat: add next-runtime-env 2024-01-25 10:48:20 +02:00
Surya Pratap Singh
11dd93451a feat: sign up with Google (#862)
This PR links to this issue: #791 
Now users can see a new option to sign up with Google on the signup
page.
2024-01-25 11:22:19 +11:00
Anurag Sharma
6aed075c56 fix: add conditional rendering of OAuth providers (#736)
Now google OAuth provider is not rendered if client id is not provided
2024-01-23 17:08:48 +11:00
Catalin Pit
4aefb80989 feat: restrict app access for unverified users 2024-01-16 14:25:05 +02:00
Navindu Amarakoon
323380d757 feat: env variable to disable signing up 2023-12-09 10:37:16 +05:30
Catalin Pit
fbbc3b89c3 feat: email verification for registration (#599) 2023-11-21 15:44:04 +11:00
neo773
608a4eaaa6 feat: refactor og image generation (#639) 2023-11-14 13:08:14 +11:00
Anik Dhabal Babu
f841683d82 fix: small typo error (#584) 2023-11-06 13:02:21 +11:00
Mythie
80c9ab5d8c fix: improve dark mode background patterns 2023-11-06 13:01:44 +11:00
Mythie
6e791b6e91 fix: add layout and minor updates 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan
34c652ab54 feat: add invalid reset token page 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan
9b025f0c9f fix: width reducing with screen size 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan
dabeead57f feat: send email to user on successful password reset 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan
84bc6eb4f3 feat: add reset functionality 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan
b3a312df98 feat: add reset password page 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan
8ba9a761d4 feat: add forgot passoword page 2023-11-06 13:01:13 +11:00