Commit Graph

58 Commits

Author SHA1 Message Date
David Nguyen 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
Mythie 91dd10ec9b fix: add symmetric encryption to document passwords 2024-01-17 17:28:28 +11:00
Mythie a94b829ee0 fix: tidy code 2024-01-17 17:17:08 +11:00
harkiratsm 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
David Nguyen 6be119ac95 fix: improve document meta logic 2024-01-03 20:10:50 +11:00
hallidayo 32633f96d2 feat: dateformat and timezone customization (#506) 2023-12-27 14:05:49 +11:00
Mythie 268a5c6508 fix: swap server-actions for trpc mutations 2023-12-21 17:01:12 +11:00
Lucas Smith c40c9b20ec Merge branch 'main' into feat/document-templates 2023-12-21 14:25:22 +11:00
Mythie 82da337a56 fix: remove templateToken 2023-12-15 22:07:27 +11:00
Ephraim Atta-Duncan 31a9127c9e feat: templates 2023-12-14 12:24:56 +11:00
Navindu Amarakoon 323380d757 feat: env variable to disable signing up 2023-12-09 10:37:16 +05:30
Sushant bfc630aa6a feat: add document search to the command menu (#713) 2023-12-06 12:48:05 +11:00
Sushant 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
Lucas Smith 39c01f4e8d fix: remove server actions (#684) 2023-12-02 09:38:24 +11:00
Nafees Nazik 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
Tanay adc97802ea feat: add/update title of the document (#663) 2023-11-28 14:56:50 +11:00
Mythie 84b958d5b7 fix: universal upload hitting cache 2023-11-24 20:06:47 +11:00
Mythie d8688692f7 fix: move singleplayer create to trpc 2023-11-24 16:58:18 +11:00
Lucas Smith be0fe079a3 fix: add healthcheck endpoint (#671) 2023-11-22 15:46:21 +11:00
Catalin Pit fbbc3b89c3 feat: email verification for registration (#599) 2023-11-21 15:44:04 +11:00
Nafees Nazik f7d8ebb9de feat: enable resend email menu (#496) 2023-11-16 13:08:31 +11:00
sean-brydon 574539d6dd feat: duplicate document (#633) 2023-11-08 20:27:33 +11:00
Mythie b0e3abffd6 chore: restore dangling changes from rebase 2023-11-06 14:47:46 +11:00
Aditya Deshlahre b7950cf042 fix(bug): name field can be updated with spaces #555 (#558) 2023-11-06 13:02:19 +11:00
Mythie c343e8a221 feat: plan limits 2023-11-06 13:02:19 +11:00
pit 35087f551c chore: implement pr feedback 2023-11-06 13:02:18 +11:00
Nafees Nazik c9a71beb81 feat: delete draft document (#491) 2023-11-06 13:02:18 +11:00
Ephraim Atta-Duncan e556db0386 docs: add render one click deploy for refresh 2023-11-06 13:02:18 +11:00
Anjy Gupta 7a8f5b8422 fix: sign up with existing account email bug (#517)
* fix: sign up with existing account email bug
2023-11-06 13:02:18 +11:00
Udit Takkar 78d2401d44 feat: require old password for password reset (#488)
* feat: require old password for password reset
2023-11-06 13:01:46 +11:00
Mythie 5cba913c55 fix: resolve issues with signing document stickiness 2023-11-06 13:01:46 +11:00
Mythie 15fd819132 fix: tidy code and update endpoints 2023-11-06 13:01:14 +11:00
Ephraim Atta-Duncan 794e575ae9 feat: move opengraph-image to next.js 13 implementation 2023-11-06 13:01:14 +11:00
Ephraim Atta-Duncan ebcd7c78e4 feat: create sharing id for each recipient 2023-11-06 13:01:14 +11:00
pit ff58735153 feat: profile page done 2023-11-06 13:01:14 +11:00
pit 82c1ca13be feat: update user functionality 2023-11-06 13:01:13 +11:00
pit 550b7e1655 feat: build individual user page 2023-11-06 13:01:13 +11:00
Mythie 6e791b6e91 fix: add layout and minor updates 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan dec7a9cb38 feat: better error handling and better toast messages 2023-11-06 13:01:13 +11:00
Ephraim Atta-Duncan 1e0cde850a feat: better error handling in forgotPassword trpc router 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 729d0c93fe feat: create a password reset token 2023-11-06 13:01:13 +11:00
Mythie 3afc35c40c feat: universal upload
Implementation of a universal upload allowing for multiple storage backends
starting with `database` and `s3`.

Allows clients to put and retrieve files from either client or server using
a blend of client and server actions.
2023-11-06 13:01:13 +11:00
Mythie 72bec7bc34 feat: separate document data from document 2023-11-06 13:01:13 +11:00
Mythie 4146d71f9d feat: store signature on signup 2023-11-06 13:01:12 +11:00
Ephraim Atta-Duncan 930a80ae18 chore: unused console logs 2023-11-06 13:01:12 +11:00
Ephraim Atta-Duncan 2aabe7ec60 feat: redirect to dashboard when document is sent 2023-11-06 13:01:12 +11:00
Mythie 5cba252627 fix: minor tidying 2023-11-06 13:01:11 +11:00
Ephraim Atta-Duncan cd1b4796fc feat: avoid updating password with existing password 2023-11-06 13:01:11 +11:00
Mythie 2ba7df4881 fix: update eslint rules 2023-11-06 13:01:11 +11:00