Commit Graph

1067 Commits

Author SHA1 Message Date
Catalin Pit
149f416be7 chore: refactor code 2024-02-13 07:50:22 +02:00
David Nguyen
524a2f4ea9 Merge branch 'main' into feat/separate-document-page 2024-02-13 11:15:31 +11:00
David Nguyen
a868ecf2d2 fix: restrict team verification tokens (#927)
## Description

Currently we're not restricting team transfer and email verification
tokens from flowing into the frontend.

This changes restricts it to only return the required information
instead of the whole data object.
2024-02-12 18:23:07 +11:00
David Nguyen
071475769c feat: add document page view 2024-02-12 17:30:23 +11:00
David Nguyen
b1bb345929 fix: redirect URL preventing document flow (#925)
## Description

Currently the document redirect URL feature is preventing documents from
being created unless a redirect URL is provided.

During the document edit flow, the redirect URL is hidden in an advanced
tab with the value of an empty string, which will always fail the
current Zod validation since `optional` requires undefined to pass.

There are multiple ways to fix this, but I think this is the easiest
method where we can assume an empty string is valid.
2024-02-12 15:23:15 +11:00
Mythie
1a82740d0f feat: support recipient roles 2024-02-12 15:16:09 +11:00
Lucas Smith
51608ed390 fix: lint issue 2024-02-12 02:02:43 +00:00
Lucas Smith
8ebef831ac Merge branch 'main' into feat/add-runtime-env 2024-02-12 12:30:35 +11:00
Lucas Smith
20e2976731 fix: build issues 2024-02-12 01:29:22 +00:00
David Nguyen
3a32bc62c5 feat: initial document audit logs implementation (#922)
Added initial implementation of document audit logs.
2024-02-12 12:04:53 +11:00
Prajwal Kulkarni
d5867ae8de Merge branch 'main' into reattach-pdf 2024-02-09 20:51:15 +05:30
Catalin Pit
0209127136 feat: delete webhook functionality 2024-02-09 16:28:18 +02:00
Catalin Pit
ddb9dd11d7 feat: added backend stuff 2024-02-09 16:07:33 +02:00
Catalin Pit
b3ba77dfed feat: allow user to choose expiry date 2024-02-09 11:35:09 +02:00
Adithya Krishna
e26debe836 Merge branch 'main' into feat/sign-redirect 2024-02-09 12:10:20 +05:30
Lucas Smith
e91bb78f2d Merge branch 'main' into feat/public-api 2024-02-09 16:00:40 +11:00
David Nguyen
8641884515 fix: recipients with CC role not being editable (#918)
## Description

Fixed issue where setting a recipient role as CC will prevent any
further changes as it is considered as "sent" and "signed".

## Other changes

- Prevent editing document after completed
- Removed CC and Viewers from the field recipient list since they will
never be filled
- Minor UI issues

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have added/updated tests that prove the effectiveness of these
changes.
- [X] I have followed the project's coding style guidelines.
2024-02-09 12:37:17 +11:00
Prajwal Kulkarni
5391dd91b0 Merge branch 'main' into reattach-pdf 2024-02-08 19:24:09 +05:30
Lucas Smith
748bf6de6b fix: add dropped constants from merge 2024-02-08 22:12:04 +11:00
Lucas Smith
d13cf743bf Merge branch 'main' into feat/add-runtime-env 2024-02-08 22:06:59 +11:00
apoorv taneja
58f4b72939 added fixed width for status col 2024-02-08 13:31:38 +05:30
Adithya Krishna
09b5621542 Merge branch 'main' into feat/sign-redirect 2024-02-08 12:56:42 +05:30
Mythie
98df273ebc feat: add field and recipient endpoints 2024-02-08 16:58:44 +11:00
Lucas Smith
47b8cc598c fix: add validation and error message display 2024-02-08 04:28:16 +00:00
David Nguyen
e97b9b4f1c feat: add team templates (#912) 2024-02-08 12:33:20 +11:00
Prajwal Kulkarni
4855882ae6 Update label render condition 2024-02-07 21:31:51 +05:30
Catalin Pit
b3514bd0c7 add new webhook dialog 2024-02-07 16:04:12 +02:00
David Nguyen
7d39e3d065 feat: add team feature flag (#915)
## Description

Add the ability to feature flag the teams feature via UI.

Also added minor UI changes

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have added/updated tests that prove the effectiveness of these
changes.
- [X] I have followed the project's coding style guidelines.
2024-02-07 21:32:44 +11:00
Adithya Krishna
7ef771533a Merge branch 'main' into transparent-fields 2024-02-07 13:34:46 +05:30
Lucas Smith
70c58470c1 fix: update field remove logic (#916)
## Description

Fixed issue where you are prevented from removing fields for a recipient
that has multiple fields.

Example:

Recipient has 3 fields, you remove 1 and proceed to next step. In the
next step the field reappears as it was not deleted.

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have added/updated tests that prove the effectiveness of these
changes.
- [X] I have followed the project's coding style guidelines.
2024-02-07 16:39:54 +11:00
David Nguyen
cad48236a0 Merge branch 'main' into feat/disable-access-unverified-users 2024-02-07 16:30:22 +11:00
Sumit Bisht
bf26f2cb9d fix: empty document titles (#917)
fixes: #909
2024-02-07 16:25:39 +11:00
David Nguyen
58e2eda5e9 fix: update field remove logic 2024-02-07 14:40:15 +11:00
Prajwal Kulkarni
c08768a330 Format code with prettier 2024-02-06 21:01:48 +05:30
Catalin Pit
edeeaa5651 feat: implement webhooks 2024-02-06 16:12:31 +02:00
Adithya Krishna
1dd543247e chore: update branch
Signed-off-by: Adithya Krishna <adi@documenso.com>
2024-02-06 18:07:24 +05:30
Adithya Krishna
2636d5fd16 chore: finish and clean-up redirect post signing
Signed-off-by: Adithya Krishna <adi@documenso.com>
2024-02-06 18:04:56 +05:30
David Nguyen
0c339b78b6 feat: add teams (#848)
## Description

Add support for teams which will allow users to collaborate on
documents.

Teams features allows users to:

- Create, manage and transfer teams
- Manage team members
- Manage team emails
- Manage a shared team inbox and documents

These changes do NOT include the following, which are planned for a
future release:

- Team templates
- Team API
- Search menu integration

## Testing Performed

- Added E2E tests for general team management
- Added E2E tests to validate document counts

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have added/updated tests that prove the effectiveness of these
changes.
- [ ] I have updated the documentation to reflect these changes, if
applicable.
- [X] I have followed the project's coding style guidelines.
2024-02-06 16:16:10 +11:00
Prajwal Kulkarni
37e9db6626 Remove document on go back click on step 1
Invoke onBackStep on "go back" click and conditionally render go back label
2024-02-06 00:40:53 +05:30
Ephraim Atta-Duncan
30752815e7 feat: soft-delete transfered documents 2024-02-05 13:06:36 +00:00
Ephraim Duncan
bc989075ba Merge branch 'main' into feat/account-deletion 2024-02-05 13:01:59 +00:00
Ephraim Atta-Duncan
4c09867b55 feat: transfer completed and pending documents to deleted email 2024-02-05 12:47:22 +00:00
Ephraim Atta-Duncan
4d93ed60c5 feat: add deleted account migration 2024-02-05 12:12:02 +00:00
Adithya Krishna
9ed16c64d8 Merge branch 'main' of https://github.com/documenso/documenso into feat/sign-redirect 2024-02-05 13:13:16 +05:30
Catalin Pit
c6457e75e0 feat: migration for verifying paid users (#889) 2024-02-05 14:17:01 +11:00
Sumit Bisht
f5930dc934 perf: mentioned type and size of the doc to be uploaded (#867)
explicitly mentioned "PDF" to upload, and added a toast if pdf size is
greater than 50mb

fixes: #621
2024-02-05 12:50:35 +11:00
apoorv taneja
c970abc871 added onchange handler 2024-02-02 20:46:54 +05:30
apoorv taneja
d5b3df1648 fixed variable declaration 2024-02-02 19:32:39 +05:30
apoorv taneja
142c1c003e changed useEffect variables 2024-02-02 18:16:54 +05:30
apoorv taneja
a06c628653 Merge branch 'main' of https://github.com/plxity/documenso into fix/undo-button-in-canvas 2024-02-02 17:56:58 +05:30