Commit Graph

16 Commits

Author SHA1 Message Date
904948e2bc fix: refactor trpc errors (#1511) 2024-12-06 16:01:24 +09:00
4c0b772fc9 fix: rewrite form flattening handler
Previously we used the form flattening method from PDF-Lib
but unfortunately when it encountered orphaned form items
or other PDF oddities it would throw an error.

Because of this certain documents would fail to seal and
be stuck in a pending state with no recourse available.
This change rewrites the form flattening handler to be
more lenient when coming across the unknown opting to skip
items it can't handle rather than abort.
2024-05-22 21:58:30 +10:00
2f86bb523b feat: add template enhancements (#1154)
## Description

General enhancements for templates.

## Changes Made

Added the following changes to the template flow:
- Allow adding document meta settings
- Allow adding email settings
- Allow adding document access & action authentication
- Allow adding recipient action authentication
- Save the state between template steps similar to how it works for
documents

Other changes:
- Extract common fields between document and template flows
- Remove the title field from "Use template" since we now have it as
part of the template flow
- Add new API endpoint for generating templates

## Testing Performed

Added E2E tests for templates and creating documents from templates
2024-05-10 19:45:19 +07:00
b436331d7d fix: improve error log coverage 2024-03-30 14:00:34 +08:00
a56bf6a192 fix: update email template and tidy code 2024-03-28 06:55:01 +00:00
0aa111cd6e fix: fixed the no document error 2024-03-27 09:55:30 +05:30
26141050b7 fix: document super delete function calling 2024-03-26 20:42:33 +05:30
bd703fb620 fix: return of document after delete 2024-03-26 19:19:02 +05:30
af6ec5df42 feat: reason is added to the email 2024-03-13 11:30:20 +05:30
c10cfbf6e1 feat: adding the router for the delete document in the admin router 2024-03-12 20:03:34 +05:30
884eab36eb feat: adding the schema for the admin delete document mutation 2024-03-12 20:02:05 +05:30
73aae6f1e3 feat: improve admin panel 2024-03-03 01:55:33 +11:00
8165a090d1 feat: migrate to site-settings 2024-02-23 10:47:01 +00:00
pit
35087f551c chore: implement pr feedback 2023-11-06 13:02:18 +11:00
pit
ff58735153 feat: profile page done 2023-11-06 13:01:14 +11:00
pit
82c1ca13be feat: update user functionality 2023-11-06 13:01:13 +11:00