Commit Graph
100 Commits
Author SHA1 Message Date
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
Mythie 3da4603a47 fix: content pages breaking during ssr on vercel 2024-11-06 21:02:35 +11:00
Lucas Smith 927a24249c chore: add translations (#1444) 2024-11-05 18:53:33 +09:00
Mythie 32b65c4d49 fix: blog posts breaking during ssr on vercel 2024-11-05 18:34:27 +11:00
Mythie de880aa821 v1.7.2-rc.4 2024-11-05 13:50:01 +11:00
Mythie dc5723c386 chore: add i18n lang to document deleted email 2024-11-05 13:44:00 +11:00
Lucas SmithandCrowdin Bot c57d1dc55d chore: add translations (#1443)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-11-05 13:07:55 +11:00
Lucas Smith 4dd95016b1 feat: i18n for emails (#1442)
## Description

Support setting a document language that will control the language used
for sending emails to recipients. Additional work has been done to
convert all emails to using our i18n implementation so we can later add
controls for sending other kinds of emails in a users target language.

## Related Issue

N/A

## Changes Made

- Added `<Trans>` and `msg` macros to emails
- Introduced a new `renderEmailWithI18N` utility in the lib package
- Updated all emails to use the `<Tailwind>` component at the top level
due to rendering constraints
- Updated the `i18n.server.tsx` file to not use a top level await

## Testing Performed

- Configured document language and verified emails were sent in the
expected language
- Created a document from a template and verified that the templates
language was transferred to the document
2024-11-05 11:52:54 +11:00
Lucas Smith 8aa6d8e602 chore: add translations (#1433) 2024-11-01 13:22:51 +09:00
Mythie 0cee07aed3 v1.7.2-rc.3 2024-10-31 15:33:03 +11:00
Mythie f76f87ff1c fix: use key for expansion on embeds 2024-10-31 15:31:40 +11:00
Mythie 6020336792 v1.7.2-rc.2 2024-10-30 14:37:50 +11:00
Mythie 634b30aa54 fix: signature flickering during embed 2024-10-30 14:36:35 +11:00
Mythie b8310237e4 v1.7.2-rc.1 2024-10-23 13:28:54 +11:00
Lucas Smith c7564ba8f7 chore: enable spanish (#1417)
Enables the spanish translation of the application:


![image](https://github.com/user-attachments/assets/eacf4800-272e-4458-abcc-4d6c6f3071cf)
2024-10-23 09:01:14 +11:00
Lucas Smith eafd7c551b feat: add team user management endpoints to api (#1416)
## Description

Adds user management capabilities to our current API. Allows for adding,
removing, listing and updating members of a given team using a valid API
token.

## Related Issue

N/A

## Changes Made

- Added an endpoint for inviting a team member
- Added an endpoint for removing a team member
- Added an endpoint for updating a team member
- Added an endpoint for listing team members

## Testing Performed

Tests were written for this feature request
2024-10-22 22:53:31 +11:00
Lucas Smith 514edf01d3 chore: add translations (#1406) 2024-10-22 14:02:51 +11:00
Mythie a2db5e9642 chore: update changelog 2024-10-09 12:23:38 +11:00
Lucas Smith 4ec9dc78c1 chore: add translations (#1359) 2024-10-09 10:55:21 +11:00
Mythie faf2bd5384 v1.7.2-rc.0 2024-10-08 21:56:44 +11:00
97ee69e7a0 chore: add translations (#1354)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: github-actions <github-actions@documenso.com>
2024-09-19 16:17:16 +10:00
Mythie 3da344fc5f v1.7.1-rc.3 2024-09-19 13:55:35 +10:00
Mythie 404ca3202f chore: update action auth 2024-09-19 13:45:39 +10:00
Mythie 9852e8971f v1.7.1-rc.2 2024-09-18 11:05:19 +10:00
Mythie 5091112e4b fix: dont nullify externalId if not passed to update document settings 2024-09-18 11:00:48 +10:00
Lucas Smith 08114f7b97 chore: add translations (#1327) 2024-09-18 10:43:43 +10:00
Mythie 4ce4ca3f34 v1.7.1-rc.1 2024-09-17 15:26:38 +10:00
Lucas Smith 7644c0d855 feat: support smaller field bounds (#1344)
Currently this won't always display super well since
our insertion solution isn't amazing but our current
minimum bounds within the UI are a bit large and can be
smaller.

This change makes it smaller and uses container queries to
support dynamically displaying labels based on the container
size.
2024-09-17 00:29:42 +10:00
Mythie 7b06b68572 v1.7.1-rc.0 2024-09-10 23:15:02 +10:00
Lucas Smith c36306d2c9 feat: add authOptions to the API (#1338)
Add the authOptions property to the document and
recipient related API endpoints.

These were previously missing so the only way API
users could set the authOptions was via templates
and using the generateTemplate endpoint.
2024-09-10 15:07:40 +10:00
Mythie bfb09e7928 v1.7.0 2024-09-09 11:20:33 +10:00
Mythie d7e5aa1d26 v1.7.0-rc.5 2024-09-09 08:47:26 +10:00
Lucas Smith 8cb3ad4f3c chore: embedding blog post (#1329) 2024-09-06 22:11:55 +10:00
Lucas SmithandCrowdin Bot bc471fcd9f chore: add translations (#1308)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **Chores**
- Updated the metadata revision dates in multiple German translation
files for consistency.
- Added extraneous blank lines in multiple translation files for cleaner
formatting.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-09-06 12:54:18 +10:00
Mythie 921617b905 v1.7.0-rc.4 2024-09-05 10:46:23 +10:00
Lucas Smith a1a8a174bf feat: embed signing experience (#1322) 2024-09-04 23:13:00 +10:00
Mythie 3657050b02 fix: translation related crashes on marketing 2024-09-04 20:28:43 +10:00
Lucas Smith fd7c1fea1c chore: upgrade next (#1300) 2024-09-03 09:48:54 +10:00
Mythie 5f4972d63b v1.7.0-rc.3 2024-09-03 09:27:51 +10:00
Mythie d599ab0630 v1.7.0-rc.2 2024-08-29 11:01:21 +10:00