Commit Graph
100 Commits
Author SHA1 Message Date
Mythie 7e6704faae chore: update tests 2025-04-21 16:23:50 +10:00
Mythie cf17fc61bc chore: update tests 2025-04-21 16:07:19 +10:00
Mythie 6df8b3aac8 chore: update ci 2025-04-21 14:29:40 +10:00
Mythie fdb31772db chore: update tests 2025-04-21 14:13:12 +10:00
Mythie a3dfd81870 chore: update playwright config 2025-04-21 13:27:19 +10:00
Mythie 755ef697ba chore: update playwright config 2025-04-21 13:03:29 +10:00
Mythie 37cc41d713 fix: skip immediate expiration presign test 2025-04-21 12:41:38 +10:00
Mythie dd2ef3a657 v1.10.0-rc.5 2025-04-17 23:01:43 +10:00
Mythie 278cd8a9de fix: always show ip and useragent in certificate 2025-04-17 12:55:03 +10:00
Mythie 9121a062b3 chore: add docs for authoring 2025-04-14 11:31:54 +10:00
Lucas Smith e613e0e347 feat: support embedded authoring for creation (#1741)
Adds support for creating documents and templates
using our embed components.

Support is super primitive at the moment and is being polished.
2025-04-11 00:20:39 +10:00
Lucas SmithandCrowdin Bot 95aae52fa4 chore: add translations (#1715)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-10 12:24:07 +10:00
Mythie da71613c9f v1.10.0-rc.4 2025-03-31 20:02:22 +11:00
Lucas Smith 4d6efe091e fix: pass document meta to readonly field component (#1737)
## Description

Previously we weren't passing the DocumentMeta to our readonly field
component which is used for displaying completed fields by other
recipients.

Due to this dates that were not using the default format were displaying
as invalid date adding confusion to the signing process.

## Related Issue

Reported via support email.

## Changes Made

- Pass the document meta to the readonly field component.
- Support showing completed fields within the embedding UI.

## Testing Performed

- Manual testing
2025-03-31 17:14:56 +11:00
Mythie a87af910c7 v1.10.0-rc.2 2025-03-28 01:50:59 +11:00
Mythie e37b005d7f chore: update dockerfile 2025-03-28 01:28:49 +11:00
Mythie 73f8518b47 chore: update tests 2025-03-28 01:21:48 +11:00
Mythie ac3deb113e chore: update ci 2025-03-27 22:49:59 +11:00
Mythie 231f51bd1f v1.10.0-rc.1 2025-03-22 17:34:33 +11:00
Mythie a8de8368a2 fix: hide powered by on certificate for platform documents 2025-03-22 12:04:08 +11:00
Mythie 7dd331addf fix: allow blank rejection reasons 2025-03-22 12:01:18 +11:00
Mythie c6743a7cec v1.10.0-rc.0 2025-03-22 03:23:23 +11:00
Mythie efbc097191 fix: unblock last signer when using dictation 2025-03-22 02:34:12 +11:00
Lucas Smith f1525991dc feat: dictate next signer (#1719)
Adds next recipient dictation functionality to document signing flow,
allowing assistants and signers to update the next recipient's
information during the signing process.

## Related Issue

N/A

## Changes Made

- Added form handling for next recipient dictation in signing dialogs
- Implemented UI for updating next recipient information
- Added e2e tests covering dictation scenarios:
  - Regular signing with dictation enabled
  - Assistant role with dictation
  - Parallel signing flow
  - Disabled dictation state

## Testing Performed

- Added comprehensive e2e tests covering:
  - Sequential signing with dictation
  - Assistant role dictation
  - Parallel signing without dictation
  - Form validation and state management
- Tested on Chrome and Firefox
- Verified recipient state updates in database
2025-03-21 13:27:04 +11:00
Mythie fb173e4d0e chore: update docker build scripts 2025-03-20 10:52:33 +11:00
Lucas Smith 63a4bab0fe feat: better document rejection (#1702)
Improves the existing document rejection process by actually marking a
document as completed cancelling further actions.

## Related Issue

N/A

## Changes Made

- Added a new rejection status for documents
- Updated a million areas that check for document completion
- Updated email sending, so rejection is confirmed for the rejecting
recipient while other recipients are notified that the document is now
cancelled.

## Testing Performed

- Ran the testing suite to ensure there are no regressions.
- Performed manual testing of current core flows.
2025-03-13 15:08:57 +11:00
Mythie d970976299 fix: remove auto-expand in embeddding 2025-02-28 14:46:15 +11:00
Mythie cf58c80e31 fix: handle empty field meta for checkboxes 2025-02-26 15:30:51 +11:00
Mythie bc7907271b fix: unbreak build for docker 2025-02-25 21:46:51 +11:00
Mythie deea99d865 feat: search by externalId 2025-02-25 20:07:47 +11:00
Mythie 3328074f51 fix: early adopters can use platform features 2025-02-25 20:07:40 +11:00
Lucas Smith 483d7caef7 feat: allow document rejection in embeds (#1662) 2025-02-21 01:27:03 +11:00
Mythie 113ab293bb chore: make all the docker stuff work 2025-02-14 14:53:01 +11:00
Mythie c5d5355cf7 fix: assistant mode breaks for number fields 2025-02-13 19:46:14 +11:00
Mythie 5fac29a07f fix: add css targets for embeds 2025-02-13 19:45:54 +11:00
Mythie 741639ee78 fix: improve move to team display logic 2025-02-13 18:49:03 +11:00
Lucas Smith c9e8a32471 feat: bulk send templates via csv (#1578)
Implements a bulk send feature allowing users to upload a CSV file to
create multiple documents from a template. Includes CSV template
generation, background processing, and email notifications.
2025-02-13 18:44:29 +11:00
Lucas Smith 84b193d99c fix: tidy document invite email render logic (#1597)
Updates one of our confusing ternaries to use `ts-pattern` for rendering
the conditional blocks making it easy to follow the logic occurring.
2025-02-13 18:34:38 +11:00
Lucas Smith 9db42accf3 feat: add text align option to fields (#1610)
Adds the ability to align text to the left, center or right for relevant
fields.

Previously text was always centered which can be less desirable.

See attached debug document which has left, center and right text
alignments set for fields.

<img width="614" alt="image"
src="https://github.com/user-attachments/assets/361a030e-813d-458b-9c7a-ff4c9fa5e33c"
/>

N/A

- Added text align option
- Update the insert in pdf method to support different alignments
- Added a debug mode to field insertion

- Ran manual tests using the debug mode
2025-02-13 18:28:33 +11:00
Mythie 9183f668d3 chore: bump node version for docker 2025-01-27 12:20:04 +11:00
Mythie dc36a8182c v1.9.0-rc.11 2025-01-21 09:49:22 +11:00
Mythie 0ef85b47b1 fix: handle empty object as fieldMeta 2025-01-21 09:46:54 +11:00
Mythie 058d9dd0ba v1.9.0-rc.10 2025-01-20 19:54:39 +11:00
Mythie 7c1e0f34e8 v1.9.0-rc.9 2025-01-20 16:08:15 +11:00
Mythie 7e31323faa fix: add team context to more vanilla client usages 2025-01-20 15:53:28 +11:00
Mythie 9de3a32ceb fix: pass team id to vanilla trpc client 2025-01-20 09:30:36 +11:00
Mythie dcaccb65f2 v1.9.0-rc.8 2025-01-13 10:21:05 +11:00
Mythie 723e1b4ea2 fix: include all template meta in findTemplates 2025-01-13 09:34:23 +11:00
Mythie 4e197ac24c v1.9.0-rc.7 2025-01-09 15:07:11 +11:00
Mythie 07c852744b v1.9.0-rc.6 2025-01-08 20:18:09 +11:00
Lucas Smith 4fab98c633 feat: allow switching document when using templates (#1571)
Adds the ability to upload a custom document when using a template.

This is useful when you have a given fixed template with placeholder
values that you want to decorate with Documenso fields but will then
create a final specialised document when sending it out to a given
recipient.
2025-01-07 16:13:35 +11:00
Lucas Smith 18ca0cf3d6 chore: add translations (#1564) 2025-01-02 10:36:05 +11:00
Mythie 08d3d6a80a fix: improve recipient status display
Improves the display of the recipients status when
distribution method is set to none.

Previously we had a ton of checks for sendStatus = SENT
which will never trigger when distributing manually causing
some confusion.
2024-12-31 14:54:19 +11:00
Mythie 9d83bda12c fix: standardise checkboxes
Checkboxes were previously styled super wonky due to
the usage of checkboxClassName which styled the checkbox
trigger.

This change reverts all that and leaves it with sensible defaults
across dark and light mode.
2024-12-31 11:55:49 +11:00
Mythie 98b2da5018 v1.9.0-rc.5 2024-12-26 13:41:04 +11:00
Mythie 22c9fb777b fix: perf improvements 2024-12-18 15:01:57 +11:00
Mythie 2da051a7f9 v1.9.0-rc.4 2024-12-18 08:14:50 +11:00
Mythie 390a317bd3 fix: normalize pdf on the server 2024-12-18 08:14:14 +11:00
Mythie 861e9c976b v1.9.0-rc.3 2024-12-16 09:35:33 +11:00
Mythie a21ee2cea6 v1.9.0-rc.2 2024-12-13 15:16:26 +11:00
Lucas Smith 5fbed783fc feat: add controls for sending completion emails to document owners (#1534)
Adds a new `ownerDocumentCompleted` to the email settings that controls
whether a document will be sent to the owner upon completion.

This was previously the only email you couldn't disable and didn't
account for users integrating with just the API and Webhooks.

Also adds a flag to the public `sendDocument` endpoint which will adjust
this setting while sendint the document for users who aren't using
`emailSettings` on the `createDocument` endpoint.
2024-12-12 14:24:07 +11:00
Mythie c9fe134852 v1.9.0-rc.1 2024-12-12 10:31:44 +11:00
Mythie f2149719e3 fix: resolve issue with embed css injection 2024-12-12 10:14:23 +11:00
Mythie 3d7b28a92b chore: update tailwind config 2024-12-11 13:52:34 +11:00
Mythie ed862413b1 v1.9.0-rc.0 2024-12-11 09:48:01 +11:00
Mythie 0e7e9e17c9 v1.8.1 2024-12-05 13:57:05 +11:00
Mythie b3ccb3d26f v1.8.1-rc.9 2024-12-05 13:53:35 +11:00
Mythie 0c53f5b061 v1.8.1-rc.8 2024-12-04 23:29:15 +11:00
Mythie 5e08d0cffb v1.8.1-rc.7 2024-12-04 22:43:41 +11:00
Mythie a687064a42 v1.8.1-rc.6 2024-12-04 14:58:29 +11:00
Mythie 8ec69388a5 fix: add document rejection webhook
Adds the document rejection webhook since it was missing.

Additionally, normalises and standardises the webhook body.
2024-12-04 14:35:20 +11:00
Mythie f3da11b3e7 fix: e2e tests failing due to same-site cookies 2024-12-04 14:33:21 +11:00
Mythie fc84ee8ec2 fix: use default nextauth logic for secure cookies 2024-12-03 21:35:09 +11:00
Mythie 4282a96ee7 v1.8.1-rc.5 2024-12-03 15:44:10 +11:00
Lucas Smith 2aae7435f8 fix: auth cookies across iframes (#1501) 2024-12-03 15:28:30 +11:00
Mythie 9e8d0ac906 v1.8.1-rc.4 2024-12-02 22:07:31 +11:00
Mythie f27d0f342c fix: putPdfFile to always include file extension 2024-12-02 22:06:53 +11:00
Mythie 4326e27a2a v1.8.1-rc.3 2024-12-02 07:48:03 +11:00
Mythie 87186e08b1 v1.8.1-rc.2 2024-11-29 15:09:03 +11:00
Mythie b27fd800ed fix: add distribution settings to external api 2024-11-29 14:10:48 +11:00
Mythie 04293968c6 chore: update embedding docs 2024-11-28 15:55:17 +11:00
Mythie 337bdb3553 v1.8.0-rc.1 2024-11-26 21:26:12 +11:00
Mythie dcb7c2436f fix: update prettier and tailwind 2024-11-26 11:47:28 +11:00
Lucas Smith b15e1d6c47 feat: support whitelabelling in the embedding (#1491)
## Description

Adds support for customising the theme and CSS for the embedding
components which is restricted to platform customers and above.

Additionally adds proper support for the platform plan which will let us
update our stripe products.

<img width="1040" alt="image"
src="https://github.com/user-attachments/assets/f694cd1e-ac93-4dc0-9f78-92fa813f6404">
<img width="1015" alt="image"
src="https://github.com/user-attachments/assets/4209972a-b2bd-40c9-9049-0367382a4de5">
<img width="1065" alt="image"
src="https://github.com/user-attachments/assets/fdbaaaa5-a028-4b1d-a58a-ea6224e21abe">


## Related Issue

N/A

## Changes Made

- Added support for using CSS Vars and CSS within the embedding route
- Added a guard for platform and enterprise plans to activate the custom
css
- Added support for the platform plan

## Testing Performed
Yes
2024-11-25 15:47:00 +11:00
Mythie 11e483f1c4 chore: update changelog 2024-11-21 13:10:31 +11:00
Mythie 2e2bc8382f v1.8.1-rc.0 2024-11-20 23:02:32 +11:00
Lucas SmithandCrowdin Bot 1f3a9b578b chore: add translations (#1485)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Enhanced German, Spanish, French, and Polish translations for various
document management and marketing phrases.

- **Improvements**
- Updated translations for clarity and accuracy across multiple
languages, including user notifications and document actions.
- Added new translation entries to improve user experience and
localization in the Documenso application.

- **Chores**
- Updated revision dates in translation files to reflect recent changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-11-20 23:00:59 +11:00
Lucas Smith 83e7a3c222 fix: improve field sizing (#1486)
## Description

Allows for smaller field sizing in addition to improving our styling
when displaying labels on smaller fields.

This is the minimum currently supported field size until we perform a
more extensive refactor of our current drag and drop system.

## Related Issue

Reported via support channels

## Changes Made

- Updated our minimum size constraints
- Attempted to add a general autosizing component for text and failed
- Updated styling in a bunch of places to use the css `clamp()` method
for dynamic sizing.
2024-11-20 22:49:30 +11:00
Lucas Smith 9ef8b1f0c3 feat: automatically sign fields in large documents (#1484)
## Description

Adds a dialog that will display when a certain field threshold is
reached asking the user if they would like to sign non-critical fields
such as name, date, initials, and email with information that is already
available.

This has not been added to direct templates since we would often not
have all the pre-requisite knowledge since users are mostly anonymous.
Additionally, this has not been added to the embedding view since it may
detract from the experience for some.

Will not prompt the user if there is action authentication on the
document.

See the below demo:


https://github.com/user-attachments/assets/71739b5c-1323-4da9-89fd-a1145c9714d5

## Related Issue

#1281 (Older PR relating to the feature)

## Changes Made

- Added a new auto-sign dialog that will automatically trigger once
certain criteria is met.

## Testing Performed

- Tested that the dialog displays when the threshold is met
- Tested that the dialog is hidden when the threshold is not met
- Tested that the messaging during errors is correct
- Tested that the dialog does not display when 2FA or Passkeys are
required
2024-11-20 10:59:09 +11:00
Mythie 0eff336175 v1.8.0-rc.4 2024-11-19 16:44:25 +11:00
Lucas Smith 57ad7c150b chore: add translations (#1474) 2024-11-18 08:40:25 +11:00
Mythie b0829e6cdf v1.8.0-rc.3 2024-11-16 09:23:05 +11:00
Lucas Smith 08a446fefd feat: support windows for 2fa tokens (#1478)
## Description

When using 2fa enabled authentication on direct templates we run into an
issue where a 2fa token has been attached to a field but it's submitted
at a later point.

To better facilitate this we have introduced the ability to have a
window of valid tokens.

This won't affect other signing methods since tokens are verified
immediately after they're entered.

## Related Issue

N/A

## Changes Made

- Updated our validate2FAToken method to use a window based approach
rather than the default verify method.

## Testing Performed

- Created a series of tokens and tested upon different intervals and
windows to confirm functionality works as expected.
2024-11-16 09:17:45 +11:00
Mythie 876803b5db fix: handle team invites being accepted but not added 2024-11-15 13:27:36 +11:00
Mythie 1c87cb1e0d v1.8.0-rc.2 2024-11-15 01:56:22 +11:00
Lucas Smith 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
Lucas Smith 5a6e031c90 chore: add translations (#1463) 2024-11-12 15:50:22 +07:00
Lucas Smith 5d7a979baf chore: add translations (#1461) 2024-11-12 13:00:56 +07:00
Mythie 19e23d8ef3 v1.8.0-rc.0 2024-11-08 23:09:56 +11:00
Lucas Smith e3b7ec82a3 chore: add translations (#1451) 2024-11-08 23:06:57 +11:00