Commit Graph
46 Commits
Author SHA1 Message Date
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 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