Commit Graph

32 Commits

Author SHA1 Message Date
7d201f05d9 fix: admin leaderboard query (#1522)
Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
2024-12-13 15:50:52 +11:00
5df1a6602e fix: refactor search routes (#1529)
Refactor find endpoints to be consistent in terms of input and output.
2024-12-11 19:39:50 +09:00
bdd33bd335 feat: signing volume (#1358)
adds a signing volume and leaderboard section to the admin panel
2024-12-03 11:27:22 +11:00
5398026b80 feat: signature rejection (#1472)
## Description

Adds support for rejecting a given document informing the document
owner.

Flows for resolving a rejection don't currently exist so it's up to the
document owner to reach out to the recipient and work out a way to move
forward via a new document or offline agreement.

## Related Issue


## Changes Made

- Added new rejection properties to the recipient schema
- Added API endpoints to support rejection
- Added email templates for notifying the document owner and recipient
- Added a dialog on the signing page to start the rejection flow.

## Testing Performed

- Manually tested the flow end to end
- Automated tests are planned
2024-11-14 21:37:42 +11:00
7e065764ec chore: use luxon for dates 2024-06-25 15:10:58 +00:00
c470e4d516 Merge branch 'main' into admin/stats 2024-06-13 05:47:17 +00:00
39e7eb0568 fix: remove cummulative 2024-05-21 22:45:32 +00:00
95a94d4fc1 chore: use single chart graphs 2024-05-21 09:28:23 +00:00
110f9bae12 feat: add certificate and audit log pdfs 2024-04-10 15:13:18 +07:00
7615c9d2fa feat: add chat to admin dashboard 2024-04-05 17:49:32 +00:00
73aae6f1e3 feat: improve admin panel 2024-03-03 01:55:33 +11:00
2a74ce06ef Merge branch 'main' into feat/public-api 2024-02-26 00:21:25 +11:00
c436559787 feat: create a banner with custom text by admin 2024-02-22 20:20:49 +00:00
2abcdd7533 feat: team api tokens 2024-02-22 13:39:34 +11:00
7babd82470 fix: updates from review 2023-12-21 20:42:45 +11:00
c40c9b20ec Merge branch 'main' into feat/document-templates 2023-12-21 14:25:22 +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
3d44821bff fix: build errors 2023-11-06 13:02:19 +11:00
pit
4ed467693f chore: implemented feedback 2023-11-06 13:02:19 +11:00
pit
35087f551c chore: implement pr feedback 2023-11-06 13:02:18 +11:00
pit
92b5111d7e chore: tidy up 2023-11-06 13:01:14 +11:00
pit
02b6f6a7b7 feat: subscriptions and documents page 2023-11-06 13:01:14 +11:00
pit
214dd7a7c8 feat: manage documents admin ui 2023-11-06 13:01:14 +11:00
pit
ff58735153 feat: profile page done 2023-11-06 13:01:14 +11:00
pit
82c1ca13be feat: update user functionality 2023-11-06 13:01:13 +11:00
pit
eef720bf8c chore: improve the ui 2023-11-06 13:01:13 +11:00
399826a6f5 fix: add removed layout guard 2023-11-06 13:01:12 +11:00
632b3bd1f4 fix: update layout and wording 2023-11-06 13:01:12 +11:00
a2635851cf chore: rename files 2023-11-06 13:01:12 +11:00
a94b80d07d chore: implemented feedback 2023-11-06 13:01:12 +11:00
766fc6410b feat: add the admin page 2023-11-06 13:01:12 +11:00