d11ec8fa2a
feat: show field coordinates in devmode ( #1802 )
...
Show the fields coordinates when the `devmode` search param is present.
It's meant to help API users understand where to position the fields.
2025-06-11 12:28:39 +10:00
e6dc237ad2
feat: add organisations ( #1820 )
2025-06-10 11:49:52 +10:00
55c8632620
feat: password reauthentication for documents and recipients ( #1827 )
...
Adds password reauthentication to our existing reauth providers,
additionally swaps from an exclusive provider to an inclusive type where
multiple methods can be selected to offer a this or that experience.
2025-06-07 00:27:19 +10:00
ce66da0055
feat: multisign embedding ( #1823 )
...
Adds the ability to use a multisign embedding for cases where multiple
documents need to be signed in a convenient manner.
2025-06-05 12:58:52 +10:00
bd64ad9fef
fix: improve multiselect for webhook triggers ( #1795 )
...
Replaces https://github.com/documenso/documenso/pull/1660 with the same
code but targeting our main branch.
## Demo

2025-05-15 13:01:45 +10:00
99b0ad574e
feat: bulk add fields ( #1683 )
...
## Demo

---------
Co-authored-by: Lucas Smith <me@lucasjamessmith.me >
2025-05-14 19:35:32 +00:00
17370749b4
feat: add folders ( #1711 )
2025-05-02 02:46:59 +10:00
12ada567f5
feat: embed authoring part two ( #1768 )
2025-05-01 23:32:56 +10:00
193325717d
fix: rework fields ( #1697 )
...
Rework:
- Field styling to improve visibility
- Field insertions, better alignment, centering and overflows
## Changes
General changes:
- Set default text alignment to left if no meta found
- Reduce borders and rings around fields to allow smaller fields
- Removed lots of redundant duplicated code surrounding field rendering
- Make fields more consistent across viewing, editing and signing
- Add more transparency to fields to allow users to see under fields
- No more optional/required/etc colors when signing, required fields
will be highlighted as orange when form is "validating"
Highlighted internal changes:
- Utilize native PDF fields to insert text, instead of drawing text
- Change font auto scaling to only apply to when the height overflows
AND no custom font is set
⚠️ Multiline changes:
Multi line is enabled for a field under these conditions
1. Field content exceeds field width
2. Field includes a new line
3. Field type is TEXT
## [BEFORE] Field UI Signing

## [AFTER] Field UI Signing

## [BEFORE] Signing a checkbox


## [AFTER] Signing a checkbox


## [BEFORE] What a 2nd recipient sees once someone else signed a
document

## [AFTER] What a 2nd recipient sees once someone else signed a document

## **[BEFORE]** Inserting fields

## **[AFTER]** Inserting fields

## Overflows, multilines and field alignments testing
Debugging borders:
- Red border = The original field placement without any modifications
- Blue border = The available space to overflow
### Single line overflows and field alignments
This is left aligned fields, overflow will always go to the end of the
page and will not wrap

This is center aligned fields, the max width is the closest edge to the
page * 2

This is right aligned text, the width will extend all the way to the
left hand side of the page

### Multiline line overflows and field alignments
These are text fields that can be overflowed

Another example of left aligned text overflows with more text

2025-04-23 21:40:42 +10:00
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
31be548939
fix: duplicate webhook calls on document complete ( #1721 )
...
Fix webhooks being sent twice due to duplicate frontend calls
Updated the assistant confirmation dialog so the next signer is always
visible (if dictate is enabled). Because if the form is invalid (due to
no name) there is no visual queue that the form is invalid (since it's
hidden)
## Notes
Didn't bother to remove the weird assistants form since it currently
works for now

## Tests
- Currently running locally
- Tested webhooks via network tab and via webhook.site
2025-03-25 21:59:13 +11:00
063fd32f18
feat: add signature configurations ( #1710 )
...
Add ability to enable or disable allowed signature types:
- Drawn
- Typed
- Uploaded
**Tabbed style signature dialog**

**Document settings**

**Team preferences**

- Add multiselect to select allowed signatures in document and templates
settings tab
- Add multiselect to select allowed signatures in teams preferences
- Removed "Enable typed signatures" from document/template edit page
- Refactored signature pad to use tabs instead of an all in one
signature pad
Added E2E tests to check settings are applied correctly for documents
and templates
2025-03-24 17:13:11 +11:00
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
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
b3db3be8e9
fix: signing field disabled when pointer is out of canvas ( #1652 )
2025-03-12 16:44:21 +11:00
fec078081b
fix: correct signer deletion ( #1596 )
2025-03-12 16:05:45 +11:00
422770a8c7
feat: allow fields prefill when generating a document from a template ( #1615 )
...
This change allows API users to pre-fill fields with values by
passing the data in the request body. Example body for V2 API endpoint
`/api/v2-beta/template/use`:
```json
{
"templateId": 1,
"recipients": [
{
"id": 1,
"email": "signer1@mail.com ",
"name": "Signer 1"
},
{
"id": 2,
"email": "signer2@mail.com ",
"name": "Signer 2"
}
],
"prefillValues": [
{
"id": 14,
"fieldMeta": {
"type": "text",
"label": "my label",
"placeholder": "text placeholder test",
"text": "auto-sign value",
"characterLimit": 25,
"textAlign": "right",
"fontSize": 94,
"required": true
}
},
{
"id": 15,
"fieldMeta": {
"type": "radio",
"label": "radio label",
"placeholder": "new radio placeholder",
"required": false,
"readOnly": true,
"values": [
{
"id": 2,
"checked": true,
"value": "radio val 1"
},
{
"id": 3,
"checked": false,
"value": "radio val 2"
}
]
}
},
{
"id": 16,
"fieldMeta": {
"type": "dropdown",
"label": "dropdown label",
"placeholder": "DD placeholder",
"required": false,
"readOnly": false,
"values": [
{
"value": "option 1"
},
{
"value": "option 2"
},
{
"value": "option 3"
}
],
"defaultValue": "option 2"
}
}
],
"distributeDocument": false,
"customDocumentDataId": ""
}
```
2025-03-06 19:45:33 +11:00
25bb6ffe77
fix: imports
2025-03-03 14:49:28 +11:00
e79d762710
chore: add label for checkbox and radio fields ( #1607 )
2025-03-03 13:46:29 +11:00
596d30e2e5
fix: remove lazy pdf loader
2025-02-26 21:48:06 +11:00
5255e8671f
chore: refactor pdf worker loader
2025-02-24 21:47:06 +11:00
50a41d0799
fix: pdf viewer and embeds
2025-02-20 15:06:36 +11:00
a319ea0f5e
fix: add public profiles tests
2025-02-19 16:07:04 +11:00
1aaacab6ca
fix: temp field label/text truncation ( #1565 )
...
TEMP: Fix the truncation of the field label/text.
2025-02-13 19:43:35 +11:00
c0ae68c28b
feat: assistant role ( #1588 )
...
Introduces the ability for users with the **Assistant** role to prefill
fields on behalf of other signers. Assistants can fill in various field
types such as text, checkboxes, dates, and more, streamlining the
document preparation process before it reaches the final signers.
2025-02-13 19:37:34 +11:00
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
383b5f78f0
feat: migrate nextjs to rr7
2025-02-13 14:10:38 +11:00
42d24fd1a1
feat: copy, paste, duplicate template fields ( #1594 )
2025-01-23 14:28:26 +11:00
9e03747e43
feat: add create document beta endpoint ( #1584 )
2025-01-16 13:36:00 +11:00
ebbe922982
feat: add template and field endpoints ( #1572 )
2025-01-11 15:33:20 +11:00
6fc5e565d0
fix: add document visibility to template ( #1566 )
...
Adds the visibility property to templates
2025-01-09 10:14:24 +11:00
cfe7b3a51f
fix: remove marketing ( #1562 )
2024-12-31 15:45:22 +11:00
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
ee6efc4cca
fix: avoid having a drawn and typed signature at the same time ( #1516 )
2024-12-27 20:29:12 +11:00
6da15ab12b
feat: open the advanced settings automatically ( #1508 )
2024-12-27 19:57:24 +11:00
487f52e194
feat: enable optional fields ( #1470 )
2024-12-27 19:30:44 +11:00
39b1c5bbec
feat: additional valid password ( #1456 )
2024-12-27 16:02:45 +11:00
32857bbfeb
fix: make small fields draggable ( #1551 )
2024-12-27 15:22:56 +11:00
c960a48b4f
fix: z-index of field settings ( #1469 )
2024-12-17 17:09:58 +11:00
82deab41f4
fix: move permission check outside the document visibility component ( #1543 )
...
PR created because of this comment
https://github.com/documenso/documenso/pull/1521#discussion_r1881895305 .
2024-12-17 17:03:08 +11:00
2245812f0b
fix: document visibility logic ( #1521 )
...
Update the logic of document visibility logic and added some tests &
updated some existing ones.
2024-12-16 09:10:40 +02:00
f73441ee85
chore: prevent user selection within signature pad ( #1530 )
...
adds a `select-none` class to the signature pad in order to
prevent iPadOS from becoming too trigger happy with the context menu and
auto corrects. Please ensure this doesn't break anything by accident.
2024-12-13 16:02:26 +11:00
d7de3b08c1
fix: darkmode on radio button and checkbox labels ( #1518 )
...
Fixed Radio Button and Checkbox Appearance in Dark Mode
2024-12-13 15:55:40 +11:00
10b8e785e0
fix: clear invalid drawn signature when switching to typed signature ( #1536 )
2024-12-13 10:40:22 +11:00
fae9c0ca24
fix: refactor routers ( #1523 )
2024-12-10 16:11:20 +09:00
dd162205fa
fix: prevent accidental signatures ( #1515 )
...


2024-12-08 14:17:58 +11:00
ed6157de80
feat: upload signature as img ( #1496 )
...
Allow users to upload their signature as an image.
https://github.com/user-attachments/assets/375faad2-f0db-4f44-83d2-d969c5ab4442
2024-12-04 23:22:18 +11:00
ab654a63d8
chore: enable typed signature by default ( #1436 )
...
Enable typed signature by default and also add the option to set a typed
signature in the profile page.
2024-11-26 21:03:44 +11:00
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
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