Commit Graph
51 Commits
Author SHA1 Message Date
David Nguyen 27d8098511 fix: document count period filter (#882)
## Description

Currently the count for the documents table tabs do not display the
correct values when the period filter is applied.

## Changes Made

- Updated `getStats` to support filtering on period

## Testing Performed

- Tested to see if the documents tab count were being filtered based on
the period

## 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-31 12:40:37 +11:00
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
David Nguyen e90dd518df fix: auto verify google sso emails (#856) 2024-01-25 13:30:50 +11:00
David Nguyen e63122a718 chore: update github feature template (#849) 2024-01-23 11:28:11 +11:00
David Nguyen 6be119ac95 fix: improve document meta logic 2024-01-03 20:10:50 +11:00
David Nguyen 3f89f8725b fix: resolve conflicting z-index values (#788)
## Description

Currently there are various z-index values that are causing:
- Toasts to be placed behind dialog blur background
- Menu being cropped off by header

## Changes Made

- Revert `z-[1000]` back to `z-50` for the header (not exactly sure why
it was bumped)
- Refactor z-indexes over 9000 to start from 1000
- Ensure z-index of toast is higher than dialog
2023-12-28 20:08:19 +11:00
David Nguyen c4800f74b9 feat: update disabled dropzone text (#787)
Update the dropzone so it will display the relevant disabled text based
on the reason it is disabled.
2023-12-28 20:07:29 +11:00
David NguyenandLucas Smith 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
David Nguyen b9282f11b0 Merge branch 'main' into refactor/download-function 2023-12-08 11:26:02 +11:00
David Nguyen f9a0ec99dc fix: correctly sign SPM documents (#627)
- Sign and email correct SPM document
- Optimise signing SPM documents
2023-11-06 13:02:21 +11:00
David Nguyen ba7d92d255 chore: update bug report template (#580) 2023-11-06 13:02:21 +11:00
David Nguyen 1d291e8e03 feat: add safari clipboard copy support (#486) 2023-11-06 13:02:19 +11:00
David Nguyen 6d7fc32075 fix: stripe customer fetch logic 2023-11-06 13:02:19 +11:00
David Nguyen 81eea4213c fix: merge issues 2023-11-06 13:02:19 +11:00
David Nguyen f45cd81b5f feat: wip 2023-11-06 13:02:19 +11:00
David Nguyen 2856cd9c15 feat: add free tier Stripe subscription 2023-11-06 13:02:19 +11:00
David Nguyen 702df60076 fix: add cascade delete for share links 2023-11-06 13:02:19 +11:00
David Nguyen 38960c459b feat: add document share button to marketing (#422) 2023-11-06 13:02:19 +11:00
David Nguyen 6d0e8f6dd8 feat: single-player-mode-polish (#435) 2023-11-06 13:02:19 +11:00
David Nguyen e0662ce024 chore: add code of conduct (#521)
Update contributing guidelines
2023-11-06 13:01:46 +11:00
David Nguyen 2e12893e0c fix: add missing URL to email template 2023-11-06 13:01:46 +11:00
David Nguyen 8fb5fdc058 feat: add email forgot password action
Updated email template imports
2023-11-06 13:01:46 +11:00
David Nguyen 0c607e6b39 feat: update email templates
Add SPM email attachment
2023-11-06 13:01:46 +11:00
David Nguyen 48f4289c09 fix: resolve document title inconsistency (#452) 2023-11-06 13:01:45 +11:00
David Nguyen 7ec8ce2a56 feat: add posthog reverse proxy (#449) 2023-11-06 13:01:45 +11:00
David Nguyen 341c0df231 fix: firefox signing fields 2023-11-06 13:01:44 +11:00
David Nguyen 0ff044978f feat: update success page text 2023-11-06 13:01:44 +11:00
David Nguyen d20ad4217c feat: add uninserted field validation 2023-11-06 13:01:44 +11:00
David Nguyen ebebceea1f feat: add uninserted field validation 2023-11-06 13:01:44 +11:00
David Nguyen a9a719cd37 feat: utilise transport layer 2023-11-06 13:01:44 +11:00
David Nguyen db1d6478a1 fix: timeout issues 2023-11-06 13:01:44 +11:00
David Nguyen 34232c79e5 feat: add single player mode 2023-11-06 13:01:43 +11:00
David Nguyen 771042c9ce feat: add vercel build script 2023-11-06 13:01:13 +11:00
David Nguyen a72248e871 refactor: organise recipient utils 2023-11-06 13:01:12 +11:00
David Nguyen 48e58d4675 feat: add avatar email fallback 2023-11-06 13:01:12 +11:00
David Nguyen 41d46c82d1 feat: update document table layout (#371)
* feat: update document table layout

- Removed dashboard page
- Removed redundant ID column
- Moved date to first column
- Added estimated locales for SSR dates
2023-11-06 13:01:12 +11:00
David Nguyen d5753dfbb3 feat: update marketing mobile menu 2023-11-06 13:01:12 +11:00
David Nguyen a99efdc916 feat: add inbox 2023-11-06 13:01:11 +11:00
David Nguyen 97c7bd9792 refactor: remove whitespace 2023-11-06 13:01:10 +11:00
David Nguyen 215eaebc1a feat: update document flow
- Fixed z-index when dragging pre-existing fields
- Refactored document flow
- Added button spinner
- Added animation for document flow slider
- Updated drag and drop fields
- Updated document flow so it adjusts to the height of the PDF
- Updated claim plan dialog
2023-11-06 13:01:10 +11:00
David Nguyen a0abf56833 refactor: extract common components into UI package 2023-11-06 13:01:10 +11:00
David Nguyen 857a48b3d9 feat: update items 2023-11-06 13:01:10 +11:00
David Nguyen 371f0947fb feat: update items
Refactored billing flag name

Refactored FeatureFlag type

Disabled session recording by default
2023-11-06 13:01:10 +11:00
David Nguyen aa2969fd50 feat: feature flags 2023-11-06 13:01:10 +11:00
David Nguyen 71e9f016b6 feat: update privacy content 2023-11-06 13:01:08 +11:00
David Nguyen 96fc2fb850 feat: update blog styling 2023-11-06 13:01:08 +11:00
David Nguyen 3f322d1d0c feat: update privacy content 2023-11-06 13:01:08 +11:00
David Nguyen 79684c9970 feat: remove whitespace 2023-11-06 13:01:08 +11:00
David Nguyen fcf9720a1e feat: add generic content page 2023-11-06 13:01:08 +11:00
David NguyenandJoshua Sharp 822624bc02 Update apps/marketing/content/blog/announcing-documenso.mdx
Co-authored-by: Joshua Sharp <joshuafsharp@gmail.com>
2023-11-06 13:01:08 +11:00
David Nguyen 154ef26465 feat: add content layer
Add blog pages

Add privacy page
2023-11-06 13:01:08 +11:00