Files
documenso/packages/ui/primitives
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
..
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-06-10 11:49:52 +10:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-10-14 21:56:36 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-11-07 14:17:52 +11:00
2025-10-24 16:22:06 +11:00
2025-02-13 14:10:38 +11:00
2025-11-25 16:03:52 +11:00
2025-02-13 14:10:38 +11:00
2025-04-23 21:40:42 +10:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 19:37:34 +11:00
2025-02-13 14:10:38 +11:00
2025-07-24 16:05:00 +10:00
2025-02-13 14:10:38 +11:00
2023-11-06 13:01:06 +11:00
2025-02-13 14:10:38 +11:00
2025-06-10 11:49:52 +10:00
2023-12-07 15:06:49 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2024-06-06 15:28:02 +10:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-02-13 14:10:38 +11:00
2025-11-10 11:42:57 +11:00