Commit Graph

3510 Commits

Author SHA1 Message Date
Ephraim Duncan
f928503a33 chore: update dropdown icons (#1790)
### Before

![CleanShot 2025-05-12 at 11 11
05@2x](https://github.com/user-attachments/assets/af2a60bf-9676-405d-8c3d-e6b2256b53ae)

### After

![CleanShot 2025-05-12 at 11 10
25@2x](https://github.com/user-attachments/assets/aec67e9c-f0f2-4b0d-9baa-7aa327680cf1)
2025-05-14 16:44:13 +10:00
Ephraim Duncan
c389670785 fix: trigger webhook for duplicated documents (#1789) 2025-05-14 16:43:31 +10:00
Lucas Smith
99ad2eb645 fix: allow download of original document via api (#1788) 2025-05-14 08:22:11 +10:00
Lucas Smith
2f48679b0b fix: make lang cookie httpOnly (#1783) 2025-05-08 15:59:43 +10:00
Mythie
e40c5d9d24 v1.10.3 v1.10.3 2025-05-03 09:23:25 +10:00
Mythie
ab323f149f fix: resolve issue with uploading templates 2025-05-03 09:23:17 +10:00
Mythie
bf1c1ff9dc v1.10.2 v1.10.2 2025-05-03 08:11:27 +10:00
Mythie
516e237966 fix: resolve issue with uploading templates 2025-05-03 08:09:44 +10:00
Mythie
ac7d24eb12 v1.10.1 v1.10.1 2025-05-03 07:39:19 +10:00
Mythie
0931c472a7 fix: resolve issue with uploading templates 2025-05-03 07:38:48 +10:00
Lucas Smith
8c9dd5e372 v1.10.0 v1.10.0 2025-05-02 12:03:08 +10:00
Lucas Smith
e108da546d fix: incorrect data for postMessage 2025-05-02 10:50:13 +10:00
Catalin Pit
17370749b4 feat: add folders (#1711) 2025-05-02 02:46:59 +10:00
Lucas Smith
12ada567f5 feat: embed authoring part two (#1768) 2025-05-01 23:32:56 +10:00
Ephraim Duncan
bdb0b0ea88 feat: certificate qrcode (#1755)
Adds document access tokens and QR code functionality to enable secure
document sharing via URLs. It includes a new document access page that
allows viewing and downloading documents through tokenized links.
2025-04-28 11:30:09 +10:00
Ephraim Duncan
6a41a37bd4 feat: download original documents (#1742)
## Preview
![CleanShot 2025-04-10 at 14 26
11@2x](https://github.com/user-attachments/assets/d4984d85-ab40-4d38-8d5c-a1085bde21a2)
2025-04-25 22:44:03 +10:00
David Nguyen
d78cfec00e fix: branding logos (#1759) 2025-04-24 16:15:06 +10:00
Ephraim Duncan
f0dcf7e9bf fix: signing volume query (#1753)
This pull request updates the implementation of the admin leaderboard,
enhancing data handling and improving type safety. It introduces clearer
differentiation between users and teams, adds additional fields to track
more relevant information, and refactors the querying logic to optimize
performance and maintainability.
2025-04-24 16:14:38 +10:00
Ephraim Duncan
6540291055 feat: migrate webhook execution to background jobs (#1694) 2025-04-24 06:00:53 +00:00
David Nguyen
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 


![image](https://github.com/user-attachments/assets/ea002743-faeb-477c-a239-3ed240b54f55)

## [AFTER] Field UI Signing 


![image](https://github.com/user-attachments/assets/0f8eb252-4cf3-4d96-8d4f-cd085881b78c)

## [BEFORE] Signing a checkbox


![image](https://github.com/user-attachments/assets/4567d745-e1da-4202-a758-5d3c178c930e)

![image](https://github.com/user-attachments/assets/c25068e7-fe80-40f5-b63a-e8a0d4b38b6c)

## [AFTER] Signing a checkbox


![image](https://github.com/user-attachments/assets/effa5e3d-385a-4c35-bc8a-405386dd27d6)

![image](https://github.com/user-attachments/assets/64be34a9-0b32-424d-9264-15361c03eca5)

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


![image](https://github.com/user-attachments/assets/21c21ae2-fc62-4ccc-880a-46aab012aa70)

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


![image](https://github.com/user-attachments/assets/ae51677b-f1d5-4008-a7fd-756533166542)

## **[BEFORE]** Inserting fields


![image](https://github.com/user-attachments/assets/1a8bb8da-9a15-4deb-bc28-eb349414465c)

## **[AFTER]** Inserting fields


![image](https://github.com/user-attachments/assets/c52c5238-9836-45aa-b8a4-bc24a3462f40)

## 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


![image](https://github.com/user-attachments/assets/47003658-783e-4f9c-adbf-c4686804d98f)

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


![image](https://github.com/user-attachments/assets/05a38093-75d6-4600-bae2-21ecff63e115)

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


![image](https://github.com/user-attachments/assets/6a9d84a8-4166-4626-9fb3-1577fac2571e)

### Multiline line overflows and field alignments 

These are text fields that can be overflowed


![image](https://github.com/user-attachments/assets/f7b5456e-2c49-48b2-8d4c-ab1dc3401644)

Another example of left aligned text overflows with more text


![image](https://github.com/user-attachments/assets/3db6b35e-4c8d-4ffe-8036-0da760d9c167)
2025-04-23 21:40:42 +10:00
Catalin Pit
b94645a451 fix: optional fields being required in direct links (#1752) 2025-04-21 16:34:29 +10:00
Mythie
7e6704faae chore: update tests 2025-04-21 16:23:50 +10:00
Mythie
cf17fc61bc chore: update tests 2025-04-21 16:07:19 +10:00
Mythie
6df8b3aac8 chore: update ci 2025-04-21 14:29:40 +10:00
Mythie
fdb31772db chore: update tests 2025-04-21 14:13:12 +10:00
Mythie
a3dfd81870 chore: update playwright config 2025-04-21 13:27:19 +10:00
Mythie
755ef697ba chore: update playwright config 2025-04-21 13:03:29 +10:00
Mythie
37cc41d713 fix: skip immediate expiration presign test 2025-04-21 12:41:38 +10:00
Mythie
dd2ef3a657 v1.10.0-rc.5 v1.10.0-rc.5 2025-04-17 23:01:43 +10:00
David Nguyen
435b3ca4f8 chore: remove legacy document update route (#1751)
Remove deprecated route
2025-04-17 16:36:10 +10:00
Mythie
278cd8a9de fix: always show ip and useragent in certificate 2025-04-17 12:55:03 +10:00
Catalin Pit
f1526315f5 feat: limit free teams platform plan (#1673)
This pull request removes the `id` field from
`IsDocumentPlatformOptions` in `is-document-platform.ts` and updates the
billing logic in `create-team.ts`: platform plan users create their
first team free, but pay for subsequent teams; non-platform users need
an active team subscription if billing is enabled.
2025-04-15 21:32:15 +10:00
RefRexi
353a7e8e0d fix: dynamic route for team transfer (#1730)
fix: dynamic route handling for /team/verify/transfer/:token
2025-04-15 21:30:44 +10:00
Ephraim Duncan
34b2504268 chore: husky (#1706) 2025-04-15 21:29:03 +10:00
Catalin Pit
566abda36b chore: update render build command (#1748) 2025-04-15 19:06:06 +10:00
Mythie
9121a062b3 chore: add docs for authoring 2025-04-14 11:31:54 +10:00
Lucas Smith
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
Lucas Smith
95aae52fa4 chore: add translations (#1715)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-04-10 12:24:07 +10:00
Ephraim Duncan
5958f38719 chore: set the default value on the top (#1734) 2025-04-08 23:35:32 +10:00
Catalin Pit
419bc02171 docs: prefill fields (#1688) 2025-04-04 00:03:37 +11:00
Ephraim Duncan
5e4956f3a2 fix: zero month addition (#1733)
- Add zero month at the begining of each metric on the open page
2025-04-01 11:12:41 +00:00
Mythie
da71613c9f v1.10.0-rc.4 v1.10.0-rc.4 2025-03-31 20:02:22 +11:00
Lucas Smith
4d6efe091e fix: pass document meta to readonly field component (#1737)
## Description

Previously we weren't passing the DocumentMeta to our readonly field
component which is used for displaying completed fields by other
recipients.

Due to this dates that were not using the default format were displaying
as invalid date adding confusion to the signing process.

## Related Issue

Reported via support email.

## Changes Made

- Pass the document meta to the readonly field component.
- Support showing completed fields within the embedding UI.

## Testing Performed

- Manual testing
2025-03-31 17:14:56 +11:00
David Nguyen
7e6ac4db40 fix: direct template redirects (#1727) v1.10.0-rc.3 2025-03-28 14:45:54 +11:00
Mythie
a87af910c7 v1.10.0-rc.2 v1.10.0-rc.2 2025-03-28 01:50:59 +11:00
Mythie
e37b005d7f chore: update dockerfile 2025-03-28 01:28:49 +11:00
Mythie
73f8518b47 chore: update tests 2025-03-28 01:21:48 +11:00
Mythie
ac3deb113e chore: update ci 2025-03-27 22:49:59 +11:00
Catalin Pit
c82388c40a fix: remove console.log embed document completed (#1723) 2025-03-25 16:36:52 +02:00
David Nguyen
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


![image](https://github.com/user-attachments/assets/47910fec-e05e-486a-a61d-16078d948893)

## Tests

- Currently running locally
- Tested webhooks via network tab and via webhook.site
2025-03-25 21:59:13 +11:00