Commit Graph

125 Commits

Author SHA1 Message Date
7e15058a3a feat: add user security audit logs 2024-01-30 17:32:20 +11:00
d766b58f42 feat: add server crypto (#863)
## Description

Currently we are required to ensure PII data is not passed around in
search parameters and in the open for GDPR reasons.

Allowing us to encrypt and decrypt values with expiry dates will allow
us to ensure this doesn't happen.

## Changes Made

- Added TPRC router for encryption method

## Testing Performed

- Tested encrypting and decrypting data with and without `expiredAt`
- Tested via directly accessing API and also via trpc in react
components
- Tested parsing en email search param in a page and decrypting it
successfully

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have followed the project's coding style guidelines.
2024-01-25 16:07:57 +11:00
ee0af566a9 fix: correct document tab count for pending and completed (#855)
completed/pending status gets incremented once if sender is one of the
recipients

fixes #853
2024-01-25 11:29:04 +11:00
e8c2ca8890 fix: mask documents in search 2024-01-22 12:32:19 +11:00
9c1e1f50a8 fix: mask recipient tokens for non-owners 2024-01-20 01:14:34 +00:00
a94b829ee0 fix: tidy code 2024-01-17 17:17:08 +11:00
68953d1253 feat add documentPassword to documenet meta and improve the ux
Signed-off-by: harkiratsm <multaniharry714@gmail.com>
2024-01-12 20:54:59 +05:30
6be119ac95 fix: improve document meta logic 2024-01-03 20:10:50 +11:00
32633f96d2 feat: dateformat and timezone customization (#506) 2023-12-27 14:05:49 +11:00
7babd82470 fix: updates from review 2023-12-21 20:42:45 +11:00
298396c86c fix: awaiting in promise.all array 2023-12-21 17:36:35 +11:00
c40c9b20ec Merge branch 'main' into feat/document-templates 2023-12-21 14:25:22 +11:00
82da337a56 fix: remove templateToken 2023-12-15 22:07:27 +11:00
88534fa1c6 feat: add multi subscription support (#734)
## Description

Previously we assumed that there can only be 1 subscription per user.
However, that will soon no longer the case with the introduction of the
Teams subscription.

This PR will apply the required migrations to support multiple
subscriptions.

## Changes Made

- Updated the Prisma schema to allow for multiple `Subscriptions` per
`User`
- Added a Stripe `customerId` field to the `User` model
- Updated relevant billing sections to support multiple subscriptions

## Testing Performed

- Tested running the Prisma migration on a demo database created on the
main branch

Will require a lot of additional testing.

## Checklist

- [ ] I have tested these changes locally and they work as expected.
- [ ] I have added/updated tests that prove the effectiveness of these
changes.
- [X] I have followed the project's coding style guidelines.

## Additional Notes

Added the following custom SQL statement to the migration:

> DELETE FROM "Subscription" WHERE "planId" IS NULL OR "priceId" IS
NULL;

Prior to deployment this will require changes to Stripe products:
- Adding `type` meta attribute

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
2023-12-14 15:22:54 +11:00
31a9127c9e feat: templates 2023-12-14 12:24:56 +11:00
c313da5028 fix: update seal event 2023-12-07 16:29:20 +11:00
5b98bac53b Merge branch 'main' into feat/enhance-posthog-tracking 2023-12-07 16:28:15 +11:00
bfc630aa6a feat: add document search to the command menu (#713) 2023-12-06 12:48:05 +11:00
2068d980ff feat: allow for the deletion of any document (#711)
Allow for the deletion of any document with notifications of document cancellation for pending documents.
2023-12-06 11:11:51 +11:00
486b1cbf62 fix: incorrect promise.all usages 2023-12-02 12:43:43 +11:00
39c01f4e8d fix: remove server actions (#684) 2023-12-02 09:38:24 +11:00
792158c2cb feat: add two factor auth (#643)
Add two factor authentication for users who wish to enhance the security of their accounts.
2023-12-01 20:06:32 +11:00
7e4c44e820 perf(web, lib): do not await inside promise statements (#692) 2023-11-29 09:10:15 +11:00
adc97802ea feat: add/update title of the document (#663) 2023-11-28 14:56:50 +11:00
0e40658201 feat: track when the signing of a document has completed 2023-11-26 19:33:45 +00:00
8230349114 fix: unable to load font for signing 2023-11-24 16:17:54 +11:00
fbbc3b89c3 feat: email verification for registration (#599) 2023-11-21 15:44:04 +11:00
8adc44802f feat: copy signing link from avatar stack (#658) 2023-11-17 16:12:47 +11:00
e838a07bf9 chore: remove share button from top level, texts (#653) 2023-11-16 16:43:50 +11:00
f7d8ebb9de feat: enable resend email menu (#496) 2023-11-16 13:08:31 +11:00
608a4eaaa6 feat: refactor og image generation (#639) 2023-11-14 13:08:14 +11:00
574539d6dd feat: duplicate document (#633) 2023-11-08 20:27:33 +11:00
b0e3abffd6 chore: restore dangling changes from rebase 2023-11-06 14:47:46 +11:00
2e9180acf5 chore: include total and new user charts 2023-11-06 13:02:21 +11:00
9edf88692c feat: show monthly new users 2023-11-06 13:02:21 +11:00
4af3d05a24 fix: updates from error logs 2023-11-06 13:02:21 +11:00
2065a0debc feat: add completed at timestamp 2023-11-06 13:02:21 +11:00
8ae860432d fix: days filter working (#623) 2023-11-06 13:02:21 +11:00
9d9b1a6681 fix: attach document to completed email 2023-11-06 13:02:20 +11:00
717ca8cdb2 fix: improve claim plan flow 2023-11-06 13:02:20 +11:00
687ce66e41 fix: update singleplayer add signature to card 2023-11-06 13:02:20 +11:00
3d44821bff fix: build errors 2023-11-06 13:02:19 +11:00
c343e8a221 feat: plan limits 2023-11-06 13:02:19 +11:00
1d291e8e03 feat: add safari clipboard copy support (#486) 2023-11-06 13:02:19 +11:00
17b43caa5c fix: create custom pricing table 2023-11-06 13:02:19 +11:00
5a79535080 fix: style updates 2023-11-06 13:02:19 +11:00
pit
39c2bf77c2 chore: implement feedback 2023-11-06 13:02:19 +11:00
pit
af73aee113 chore: changes 2023-11-06 13:02:19 +11:00
pit
9afe8731b1 chore: added delete function 2023-11-06 13:02:19 +11:00
pit
f621e60c16 chore: implemented feedback 2023-11-06 13:02:19 +11:00