Commit Graph

85 Commits

Author SHA1 Message Date
David Nguyen
7e15058a3a feat: add user security audit logs 2024-01-30 17:32:20 +11:00
Catalin Pit
c0bb5205e1 chore: merged main 2024-01-29 10:14:56 +02:00
Anik Dhabal Babu
9d6ee94708 chore: add title and description to individual pages (#847)
Add Title and Description to Individual Pages.
eg:- Security | Documenso, Profile | Documenso etc.
2024-01-29 17:53:44 +11:00
Catalin Pit
2f18518961 chore: merged main 2024-01-25 10:53:05 +02:00
Catalin Pit
d451a7acce feat: add next-runtime-env 2024-01-25 10:48:20 +02:00
Anik Dhabal Babu
61967b22c1 fix: visibility of security fields using identityprovider (#709)
fixes #690
2024-01-24 11:34:30 +11:00
Catalin Pit
3b82ba57f3 chore: implemented feedback plus some restructuring 2024-01-17 12:44:25 +02:00
Mythie
a1215df91a refactor: extract api implementation to package
Extracts the API implementation to a package so we can
potentially reuse it across different applications in the
event that we move off using a Next.js API route.

Additionally tidies up the tokens page and form to be more simplified.
2023-12-31 13:58:15 +11:00
Catalin Pit
6a56905fea chore: merged main 2023-12-21 10:14:07 +02: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
Catalin Pit
e79d385534 Merge branch 'main' into feat/public-api 2023-12-11 14:44:29 +02:00
Catalin Pit
8ecd8a7d10 chore: implemented feedback + a small refactoring 2023-12-11 14:33:30 +02:00
Lucas Smith
684e5272d2 fix(webapp): use checkout for expired plans 2023-12-07 00:52:36 +00:00
Catalin Pit
936e75fd30 chore: merged main 2023-12-06 13:18:59 +00: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
Catalin Pit
13997d3dca feat: add delete and copy token on token page 2023-11-27 16:29:24 +02:00
Catalin Pit
80fe7ccdf5 feat: api token page in the settings 2023-11-24 13:59:33 +02:00
Nafees Nazik
f7d8ebb9de feat: enable resend email menu (#496) 2023-11-16 13:08:31 +11:00
Mythie
f68b65fe5f fix: update customer handling for checkouts 2023-11-06 13:02:20 +11:00
Mythie
c343e8a221 feat: plan limits 2023-11-06 13:02:19 +11:00
Mythie
95a60331f8 fix: named exports 2023-11-06 13:02:19 +11:00
Mythie
17b43caa5c fix: create custom pricing table 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
Mythie
5cba913c55 fix: resolve issues with signing document stickiness 2023-11-06 13:01:46 +11:00
David Nguyen
34232c79e5 feat: add single player mode 2023-11-06 13:01:43 +11:00
Mythie
fbb8e887a8 fix: update colors 2023-11-06 13:01:13 +11:00
David Nguyen
771042c9ce feat: add vercel build script 2023-11-06 13:01:13 +11:00
Mythie
48ff16876b fix: add dashboard header border on scroll 2023-11-06 13:01:12 +11:00
Mythie
d7bd8fcd37 fix: add items from stash 2023-11-06 13:01:11 +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
Mythie
159bcade7b wip: refresh design 2023-11-06 13:01:06 +11:00