Adithya Krishna
775a1b774d
chore: fix vulnerability with sharp
...
Signed-off-by: Adithya Krishna <adi@documenso.com >
2023-12-19 17:16:26 +05:30
Lucas Smith
6e10947d00
Merge branch 'main' into feat/732-toggle-signup-form
2023-12-15 21:05:21 +11:00
David Nguyen
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
Mythie
6d34ebd91b
fix: no longer available client component
2023-12-13 22:49:58 +11:00
Navindu Amarakoon
5c1d30bfbb
chore: remove console log
2023-12-10 09:23:31 +05:30
Navindu Amarakoon
49736d2587
Merge branch 'documenso:main' into feat/732-toggle-signup-form
2023-12-09 11:55:55 +05:30
Navindu Amarakoon
ee5ce78c82
chore: remove unused code
2023-12-09 11:48:46 +05:30
Navindu Amarakoon
78a1ee2af0
feat: disable oauth signup when DISABLE_SIGNUP is true
2023-12-09 11:35:45 +05:30
Navindu Amarakoon
323380d757
feat: env variable to disable signing up
2023-12-09 10:37:16 +05:30
Mythie
d8d36ae8e2
fix: sticky header z-positioning
2023-12-08 20:41:52 +11:00
Mythie
dfec8df31e
fix: ensure command menu results are distinct
2023-12-08 20:41:52 +11:00
Lucas Smith
2c5d547cdf
fix: add missing import
2023-12-07 18:00:54 +11:00
Lucas Smith
5b98bac53b
Merge branch 'main' into feat/enhance-posthog-tracking
2023-12-07 16:28:15 +11:00
Lucas Smith
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
Lucas Smith
d58433c8a0
fix: destructure toast
2023-12-07 15:50:34 +11:00
Lucas Smith
419f27536b
Merge branch 'main' into feat/download-toast
2023-12-07 15:46:43 +11:00
Lucas Smith
9a7e5d333d
fix: don't expand documentData
2023-12-07 15:45:44 +11:00
Lucas Smith
39b97a97fe
Merge branch 'main' into fix/billing-page
2023-12-07 15:37:32 +11:00
Mythie
1a34f9fa7a
fix: import updates and api route body sizes
2023-12-07 15:08:00 +11:00
Lucas Smith
684e5272d2
fix(webapp): use checkout for expired plans
2023-12-07 00:52:36 +00:00
Lucas Smith
e81183f324
Merge branch 'main' into main
2023-12-06 14:13:34 +11:00
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
Ephraim Atta-Duncan
741201822a
fix: use useSession instead of prop drilling
2023-12-05 10:12:28 +00:00
Paul
bfedabdc10
fix: increase e2e test timeout ( #682 )
2023-12-05 13:54:41 +11:00
mikezzb
340c929806
refactor: edit doc
2023-12-03 11:36:18 -05:00
mikezzb
40a4ec4436
refactor: useContext & remove enum
2023-12-03 01:15:59 -05:00
mikezzb
a98b429052
feat: stepper refactor example
2023-12-02 22:42:59 -05:00
Mythie
b903de983b
chore: v1.2.3
2023-12-02 14:56:00 +11:00
Mythie
6b519a67c2
fix: add guard
2023-12-02 14:55:26 +11:00
Mythie
39d18e93c5
chore: v1.2.2
2023-12-02 13:34:36 +11:00
Mythie
fbfaca190b
chore: release 1.2.1
2023-12-02 12:43:55 +11:00
Mythie
16fb90f4d2
chore: v1.2.0
2023-12-02 11:57:50 +11:00
Mythie
073a050587
fix: signature field race conditions
2023-12-02 11:09:42 +11:00
Lucas Smith
39c01f4e8d
fix: remove server actions ( #684 )
2023-12-02 09:38:24 +11:00
Lucas Smith
335684d0b7
fix: edit document sizing ( #706 )
2023-12-01 23:09: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
david-loe
1d79ebbda3
fix: body exeeded undefined limit ( #679 )
...
* fixed bodySizeLimit
* fix: update marketing config
---------
Co-authored-by: Lucas Smith <me@lucasjamessmith.me >
2023-11-30 09:46:33 +02:00
Bilal Ahmad Bhat
252dd0008c
feat: add link to homepage on the complete sign page for logged in users ( #691 )
...
* feat: add link to homepage on the complete sign page for logged in users
* feat: added ChevronLeft icon to the link
* feat: remove icon from the link
2023-11-30 09:42:15 +02:00
Szymon Sus
7e4c44e820
perf(web, lib): do not await inside promise statements ( #692 )
2023-11-29 09:10:15 +11:00
Tanay
adc97802ea
feat: add/update title of the document ( #663 )
2023-11-28 14:56:50 +11:00
Ephraim Atta-Duncan
0e40658201
feat: track when the signing of a document has completed
2023-11-26 19:33:45 +00:00
Ephraim Atta-Duncan
d347359d2f
chore: changes from code review
2023-11-25 22:09:52 +00:00
Ephraim Atta-Duncan
fdf5b3908d
feat: add more posthog analytics to the application
2023-11-24 23:50:51 +00:00
Mythie
d8688692f7
fix: move singleplayer create to trpc
2023-11-24 16:58:18 +11:00
Mythie
8230349114
fix: unable to load font for signing
2023-11-24 16:17:54 +11:00
Mythie
5de0c464f0
fix: hydration errors for modifier key
2023-11-23 13:57:08 +11:00
Lucas Smith
9444e0cc67
fix: docker build requires smtp host ( #672 )
...
set a default for smtp host and add an action
for testing docker builds on each pull request
2023-11-22 16:26:39 +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