01caa949d9
feat: show document title for delete dialog
...
Signed-off-by: Adithya Krishna <adi@documenso.com >
2023-12-19 22:20:50 +05:30
1eeb5fb103
fix: tidy code and base on main
2023-12-14 15:28: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
38ad3a1922
refactor: download function to be reusable
2023-12-07 14:52:12 +00:00
5b98bac53b
Merge branch 'main' into feat/enhance-posthog-tracking
2023-12-07 16:28:15 +11:00
d7e44fc068
fix(webapp): use checkout for expired plans ( #738 )
...
Currently customers with inactive/expired plans will be shown the
BillingPlans component but upon hitting the subscribe button they will
be redirected to their portal where they are unable to complete a
checkout.
To resolve this we check for expiration of their subscription and use a
normal stripe checkout instead.
2023-12-07 16:19:03 +11:00
d58433c8a0
fix: destructure toast
2023-12-07 15:50:34 +11:00
419f27536b
Merge branch 'main' into feat/download-toast
2023-12-07 15:46:43 +11:00
9a7e5d333d
fix: don't expand documentData
2023-12-07 15:45:44 +11:00
39b97a97fe
Merge branch 'main' into fix/billing-page
2023-12-07 15:37:32 +11:00
1a34f9fa7a
fix: import updates and api route body sizes
2023-12-07 15:08:00 +11:00
684e5272d2
fix(webapp): use checkout for expired plans
2023-12-07 00:52:36 +00:00
e81183f324
Merge branch 'main' into main
2023-12-06 14:13:34 +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
741201822a
fix: use useSession instead of prop drilling
2023-12-05 10:12:28 +00:00
340c929806
refactor: edit doc
2023-12-03 11:36:18 -05:00
40a4ec4436
refactor: useContext & remove enum
2023-12-03 01:15:59 -05:00
a98b429052
feat: stepper refactor example
2023-12-02 22:42:59 -05:00
6b519a67c2
fix: add guard
2023-12-02 14:55:26 +11:00
39c01f4e8d
fix: remove server actions ( #684 )
2023-12-02 09:38:24 +11:00
335684d0b7
fix: edit document sizing ( #706 )
2023-12-01 23:09: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
d347359d2f
chore: changes from code review
2023-11-25 22:09:52 +00:00
fdf5b3908d
feat: add more posthog analytics to the application
2023-11-24 23:50:51 +00:00
fbbc3b89c3
feat: email verification for registration ( #599 )
2023-11-21 15:44:04 +11:00
6c73453542
#666 feat: disabled resend button for recipients ( #667 )
2023-11-20 21:53:57 +11:00
8adc44802f
feat: copy signing link from avatar stack ( #658 )
2023-11-17 16:12:47 +11:00
06714a2aeb
chore: append _signed to files when downloading ( #656 )
2023-11-17 12:02:22 +11:00
b4f1a5abce
feat: handle download file error with toast
2023-11-16 07:11:23 +00: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
0da080aa41
fix: hovering on tabslist items at dashboard ( #645 )
2023-11-15 18:18:11 +11:00
aec0d2ae97
fix: show initial data preview for duplication ( #642 )
2023-11-09 15:46:58 +11:00
86160136aa
chore: improve command bar ( #641 )
2023-11-09 14:38:26 +11:00
3490e2a3a8
feat: add command menu and keyboard shortcuts ( #337 )
2023-11-09 13:33:56 +11:00
574539d6dd
feat: duplicate document ( #633 )
2023-11-08 20:27:33 +11:00
8ae860432d
fix: days filter working ( #623 )
2023-11-06 13:02:21 +11:00
746c97b64f
fix: added the share btn in the UI and prewarm fetch ( #615 )
2023-11-06 13:02:20 +11:00
9b5af329a8
fix(web): fix typo + refactor empty state messages ( #583 )
...
* fix(web): fix typo + refactor empty state messages
* fix(web): refactor default empty-state message
2023-11-06 13:02:20 +11:00
f68b65fe5f
fix: update customer handling for checkouts
2023-11-06 13:02:20 +11:00
457e73342b
fix: unbreak pdf viewer
2023-11-06 13:02:20 +11:00
284a2870c2
fix: move getFile to client side
2023-11-06 13:02:20 +11:00
6de14ab0ac
fix: UI fixes and improvements ( #559 )
...
* chore: add cursor pointer
* fix: tooltip color
* chore: add tooltip
* fix: admin pages in mobile
2023-11-06 13:02:20 +11:00
04fc9eb187
chore: upgrade to latest next.js version ( #553 )
...
* chore: upgrade next.js
* fix: canvas not found error
* chore: upgrade package for marketing
* feat: add isServer conditional
* fix: inverse isServer condition
* fix: normalize packages
* fix: upgrade ee package
* fix: depdency nightmares
* fix: failing seed script
2023-11-06 13:02:19 +11:00
f1732fab29
fix: truncate long file name in admin dashboard ( #572 )
...
Co-authored-by: pit <pit@192-168-0-136.rdsnet.ro >
2023-11-06 13:02:19 +11:00
3d44821bff
fix: build errors
2023-11-06 13:02:19 +11:00
05fd01c72d
fix: exports on next page
2023-11-06 13:02:19 +11:00