Commit graph

10 commits

Author SHA1 Message Date
Lucas Smith
006b1d0a57
feat: per-recipient envelope expiration (#2519) 2026-02-20 11:36:20 +11:00
Lucas Smith
0a3e0b8727
feat: validate signers have signature fields before distribution (#2411)
API users were inadvertently sending documents without signature fields,
causing confusion for recipients and breaking their signing flows.

- Add getRecipientsWithMissingFields helper in recipients.ts
- Add server-side validation in sendDocument to block distribution
- Fix v1 API to return 400 instead of 500 for validation errors
- Consolidate UI signature field checks to use isSignatureFieldType
- Add E2E tests for both v1 and v2 APIs
2026-01-26 15:22:12 +11:00
Lucas Smith
c976e747e3
fix: dont flatten forms for templates (#2386)
Templates shouldn't have their form flattened until they're
converted to a document.
2026-01-14 12:06:28 +11:00
David Nguyen
b51f562224
feat: add empty emails for envelopes (#2267) 2025-12-06 13:38:10 +11:00
David Nguyen
ca0b83579f
fix: auto insert prefilled text and number fields (#2157) 2025-11-10 18:04:21 +11:00
David Nguyen
e2f5e570cf
fix: envelope direct template (#2156) 2025-11-09 22:23:13 +11:00
David Nguyen
d05bfa9fed
feat: add envelopes api (#2105) 2025-11-07 14:17:52 +11:00
David Nguyen
5cdd7f8623
fix: envelope styling (#2102) 2025-10-27 16:11:10 +11:00
David Nguyen
03eb6af69a
feat: polish envelopes (#2090)
## Description

The rest of the owl
2025-10-24 16:22:06 +11:00
David Nguyen
7f09ba72f4
feat: add envelopes (#2025)
This PR is handles the changes required to support envelopes. The new
envelope editor/signing page will be hidden during release.

The core changes here is to migrate the documents and templates model to
a centralized envelopes model.

Even though Documents and Templates are removed, from the user
perspective they will still exist as we remap envelopes to documents and
templates.
2025-10-14 21:56:36 +11:00
Renamed from packages/lib/server-only/document/send-document.tsx (Browse further)