Commit Graph

3182 Commits

Author SHA1 Message Date
Timur Ercan
8f4fea2f14 chore: user metrics naming, adopters description (#769)
Rename Metrics
2023-12-26 13:25:45 +11:00
Apoorv Taneja
5a32b5cafd fix: added constants for theme variables (#777)
fixes: #776
2023-12-26 10:49:27 +11:00
Ephraim Atta-Duncan
8d1b960aa8 feat: add templates to command menu 2023-12-25 23:16:56 +00:00
sadam
2b25806c33 fix(url): change URL for cloning 2023-12-23 23:26:53 -05:00
sadam
6d58e60a65 fix(url): change URL for cloning 2023-12-23 23:18:32 -05:00
harkiratsm
2ae9e29903 feat: improve the ux for password protected documents
Signed-off-by: harkiratsm <multaniharry714@gmail.com>
2023-12-22 17:24:05 +05:30
Adithya Krishna
dd56836121 chore: update url 2023-12-22 11:44:22 +05:30
Lucas Smith
e9312ada51 feat: show document title for delete dialog - [DOC-387] (#772) 2023-12-22 15:09:03 +11:00
Lucas Smith
1c52c7ebcd chore: update copy 2023-12-22 03:43:12 +00:00
Lucas Smith
495cd35f7c refactor: forms (#697)
Updates our older forms to use the appropriate components bringing them in-line with the rest of our codebase.
2023-12-22 14:36:00 +11:00
JA
5a5d00fb2e fix(webapp): reset delete document dialog (#762)
This PR makes a small but useful tweak to the `DeleteDocumentDialog`.
Now, the input field gets cleared whenever the dialog is opened. Here’s
what’s changed:

1. **Clear Field After Deleting**: After you delete something and open
the dialog again, it won’t show the old, deleted text anymore. It’s
clean and ready for the next delete.

2. **Type Again to Confirm**: If you type something but close the dialog
without deleting, you’ll have to type it again next time. This way, it
makes sure the user really mean to delete something and didn't do it by
mistake.

Demo Link:
See the old vs. new in action here:
https://www.loom.com/share/80eca0d3b1994f7cbcab6f222db2dbfe?sid=ebc6135c-345e-4640-b395-daff190a96e7

It’s a small change, but it makes the delete process safer and smoother.
2023-12-22 14:14:33 +11:00
Lucas Smith
1aa0fc3101 fix: remove loadingText prop 2023-12-22 01:46:41 +00:00
Catalin Pit
d283cc2d26 chore: implemented feedback 2023-12-21 16:02:02 +02:00
Lucas Smith
48cdf43dcb feat: templates (#537)
Adds the basically ability to create and use templates for repetitive document types
2023-12-21 22:05:09 +11:00
Lucas Smith
1d9593dd0f fix: hotkeys was overlapping with the browser hotkeys (#774)
Issue - The `Ctrl+K` hotkey in our application is conflicting with the
browser's default search hotkey, leading to unintended browser actions.

https://github.com/documenso/documenso/assets/71957674/180b6028-58f7-4cf8-841c-1e13c9d4d355
2023-12-21 21:40:07 +11:00
Mythie
9ad94f9862 fix: updates from review 2023-12-21 21:37:33 +11:00
Mythie
972c20f906 chore: tidy migrations 2023-12-21 21:20:37 +11:00
harkiratsm
519c645d06 fix: hotkeys was overlapping with the browser hotkeys
Signed-off-by: harkiratsm <multaniharry714@gmail.com>
2023-12-21 15:36:24 +05:30
Mythie
7babd82470 fix: updates from review 2023-12-21 20:42:45 +11:00
Catalin Pit
6a56905fea chore: merged main 2023-12-21 10:14:07 +02:00
Mythie
298396c86c fix: awaiting in promise.all array 2023-12-21 17:36:35 +11:00
Mythie
268a5c6508 fix: swap server-actions for trpc mutations 2023-12-21 17:01:12 +11:00
Lucas Smith
c40c9b20ec Merge branch 'main' into feat/document-templates 2023-12-21 14:25:22 +11:00
Catalin Pit
a22ada5f41 chore: add delete cascade 2023-12-20 14:44:43 +02:00
Catalin Pit
fb46b09e4f chore: small changes 2023-12-20 12:47:46 +02:00
Ashraf
2a448fe06d fix: fixed the recipients viewing issue on touch screens 2023-12-20 17:08:09 +08:00
Adithya Krishna
84a0c39810 chore: made requested changes
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-20 10:36:06 +05:30
Adithya Krishna
1af909835d chore: updated title to double quotes
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 22:25:23 +05:30
Adithya Krishna
01caa949d9 feat: show document title for delete dialog
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 22:20:50 +05:30
Catalin Pit
17486b961d chore: refactor delete dialog 2023-12-19 15:51:43 +02:00
Adithya Krishna
775a1b774d chore: fix vulnerability with sharp
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 17:16:26 +05:30
Adithya Krishna
c949c4701b chore: udpated railway template link
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 17:16:26 +05:30
Adithya Krishna
eda635e2db feat: added custom railway config
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 17:16:25 +05:30
Adithya Krishna
2056de2e16 feat: added koyeb as a deploy option
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 17:16:25 +05:30
Catalin Pit
da03fc1fd0 chore: finishing touches 2023-12-18 12:24:42 +02:00
Mythie
075fdd1f88 fix: lint errors 2023-12-16 15:09:02 +11:00
Lucas Smith
006a559026 Merge branch 'main' into refactor-forms 2023-12-16 13:26:33 +11:00
Lucas Smith
ff64671e49 fix: stacking issue with notification/toast and header (#764)
Fixes: #763
2023-12-16 12:40:25 +11:00
Apoorv Taneja
089ba1c30e Merge branch 'main' into fix/css-stacking-notification 2023-12-16 00:35:38 +05:30
apoorv taneja
cbcd893cfd fixed z-index 2023-12-16 00:30:52 +05:30
Apoorv Taneja
83dfe92d7a refactor: used constant for steps instead of strings (#751)
fixes #750
2023-12-15 15:07:45 +02:00
Lucas Smith
e43e8f8c4a feat: environment variable to toggle signups (#747)
closes #732
2023-12-15 23:09:01 +11:00
Mythie
82da337a56 fix: remove templateToken 2023-12-15 22:07:27 +11:00
Lucas Smith
6e10947d00 Merge branch 'main' into feat/732-toggle-signup-form 2023-12-15 21:05:21 +11:00
Lucas Smith
682cb37786 fix: update auth-options 2023-12-15 20:41:54 +11:00
Lucas Smith
5809480f02 chore: fix workflows and update package.json file (#758) 2023-12-15 16:55:48 +11:00
Catalin Pit
19736ce60b chore: implemented feedback 2023-12-14 11:05:39 +02:00
Mythie
1eeb5fb103 fix: tidy code and base on main 2023-12-14 15:28:27 +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
Ephraim Atta-Duncan
31a9127c9e feat: templates 2023-12-14 12:24:56 +11:00