Commit Graph

68 Commits

Author SHA1 Message Date
7ece6ef239 feat: add recipient roles (#716)
Fixes #705

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
Co-authored-by: David Nguyen <davidngu28@gmail.com>
2024-02-02 10:45:02 +11:00
ada46a5f47 feat: add auth fail logs 2024-01-31 12:27:40 +11:00
1bda74b3aa fix: add cascade delete for audit logs 2024-01-30 18:37:48 +11:00
9427143951 fix: remove account create log 2024-01-30 18:26:46 +11:00
7e15058a3a feat: add user security audit logs 2024-01-30 17:32:20 +11: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
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
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
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
bfedabdc10 fix: increase e2e test timeout (#682) 2023-12-05 13:54:41 +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
fbbc3b89c3 feat: email verification for registration (#599) 2023-11-21 15:44:04 +11:00
2065a0debc feat: add completed at timestamp 2023-11-06 13:02:21 +11:00
5de5d8b0fb feat: add database indexes 2023-11-06 13:02:20 +11:00
ec1f61faa0 feat: add user schema timestamps 2023-11-06 13:02:20 +11:00
c343e8a221 feat: plan limits 2023-11-06 13:02:19 +11:00
2856cd9c15 feat: add free tier Stripe subscription 2023-11-06 13:02:19 +11:00
5a79535080 fix: style updates 2023-11-06 13:02:19 +11:00
pit
dc1b8c3cb8 chore: update import 2023-11-06 13:02:19 +11:00
pit
af73aee113 chore: changes 2023-11-06 13:02:19 +11:00
702df60076 fix: add cascade delete for share links 2023-11-06 13:02:19 +11:00
7823100272 fix: reverse meta relation and tidy code 2023-11-06 13:01:15 +11:00
826a901c10 fix: document meta relation with document 2023-11-06 13:01:15 +11:00
1e294fc933 feat: add prisma schema for document meta 2023-11-06 13:01:15 +11:00
15fd819132 fix: tidy code and update endpoints 2023-11-06 13:01:14 +11:00
ebcd7c78e4 feat: create sharing id for each recipient 2023-11-06 13:01:14 +11:00
c4282ded57 feat: add password reset token to schema 2023-11-06 13:01:13 +11:00
0835da45ef fix: implement feedback 2023-11-06 13:01:13 +11:00
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
72bec7bc34 feat: separate document data from document 2023-11-06 13:01:13 +11:00
61df56c21e feat: creating the admin ui for metrics 2023-11-06 13:01:12 +11:00
e05eaffb61 feat: store profile signature 2023-11-06 13:01:12 +11:00
3ea0ff6b81 chore: support direct urls for prisma 2023-11-06 13:01:10 +11:00
00a15124be feat: stack recipients avatars on dashboard 2023-11-06 13:01:07 +11:00
0b1c4fadc6 chore: use jsonprotocol 2023-11-06 13:01:07 +11:00
3c73f030ac feat: persist fields and recipients for document editing 2023-11-06 13:01:07 +11:00
159bcade7b wip: refresh design 2023-11-06 13:01:06 +11:00
3a0648c85d Expire token after 1 hour 2023-06-05 16:54:12 +00:00
447bf0cb76 Add password reset to prisma schema 2023-06-05 12:23:52 +00:00
ed3e4d22ef feat: scaffhold subscription table and ui 2023-05-05 19:29:42 +10:00
81fd9ff749 fix: date field appears for all recipients
Updates the signing endpoint to only apply changes to the Date field for the current signer. This is made possible through the addition of the `signedAt` column within the database.

Resolves the issue with one signer filling the date for all recipients and also ensures that the date of signing on a document won't always be todays date after each recipient has signed.
2023-04-21 23:43:54 +10:00
5db54d3b8c Cange referential action for Signature_recipientId_fkey 2023-04-06 21:26:26 -04:00
0bf323ed90 🗃️ Field inserted flag 2023-03-09 13:43:05 +01:00
2f02134bc4 ♻️ 🚧 date and text field 2023-02-28 19:36:21 +01:00
522abcc2bc ⚗️ signing without fields (type FREE_SIGNATURE) 2023-02-24 16:12:56 +01:00