Commit graph

73 commits

Author SHA1 Message Date
Lucas Smith
6b1b1d0417
fix: improve webhook execution (#2608)
Webhook URLs were being fetched without validating whether they
resolved to private/loopback addresses, exposing the server to SSRF.

Current SSRF is best effort and fail open, you should never host
services that
you cant risk exposure of.

This extracts webhook execution into a shared module that validates
URLs against private IP ranges (including DNS resolution), enforces
timeouts, and disables redirect following. The resend route now
queues through the job system instead of calling fetch inline.
2026-03-13 15:02:09 +11:00
David Nguyen
6faa01d384
feat: add pdf image renderer (#2554)
## Description

Replace the PDF renderer with an custom image renderer.

This allows us to remove the "react-pdf" dependency and allows us to use
a virtual list to improve performance.
2026-03-06 12:39:03 +11:00
Lucas Smith
f8ac782f2e
deps: 2026-02-26 upgrades (#2545) 2026-02-26 14:17:08 +11:00
Lucas Smith
fabd69bd62
build: upgrade simplewebauthn packages from v9 to v13 (#2389)
The v9 packages are deprecated. This updates to v13 which includes
breaking API changes: optionsJSON wrapper for auth functions,
renamed properties (authenticator→credential), and base64 encoding
for credential IDs via isoBase64URL helper.
2026-01-15 14:22:37 +11:00
Karlo
db913e95b6
fix: downgrade pdfjs-dist to version 5.4.296 and update react-pdf to version 10.3.0 (#2383) 2026-01-13 21:01:29 +11:00
Lucas Smith
e66bd422e3
chore: upgrade dependencies (#2278) 2025-12-04 14:31:30 +11:00
Lucas Smith
7a94ee3b83
feat: add ai detection for recipients and fields (#2271)
Use Gemini to handle detection of recipients and fields within
documents.

Opt in using organisation or team settings.

Replaces #2128 since the branch was cursed and would include
dependencies that weren't even in the lock file.



https://github.com/user-attachments/assets/e6cbb58f-62b9-4079-a9ae-7af5c4f2e4ec
2025-12-03 23:39:41 +11:00
Lucas Smith
11a56f3228
chore: telemetry (#2240) 2025-11-25 16:01:31 +11:00
Lucas Smith
d2176627ca
chore: dependency updates (#2229) 2025-11-22 20:28:20 +11:00
David Nguyen
d05bfa9fed
feat: add envelopes api (#2105) 2025-11-07 14:17:52 +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
Catalin Pit
231ef9c27e
chore: add support option (#1853) 2025-08-19 20:59:03 +10:00
David Nguyen
3409aae411
feat: add email domains (#1895)
Implemented Email Domains which allows Platform/Enterprise customers to
send emails to recipients using their custom emails.
2025-07-24 16:05:00 +10:00
David Nguyen
7487399123
feat: add more api logs (#1870)
Adds more detailed API logging using Pino
2025-06-30 19:46:32 +10:00
David Nguyen
e07a497b69
feat: api logging by pino (#1865)
experiemental
2025-06-27 21:44:51 +10:00
Lucas Smith
93aece9644
chore: dependency updates (#1808) 2025-05-22 14:30:22 +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
David Nguyen
ad520bb032 fix: remove oauth from embeds 2025-02-27 14:08:59 +11:00
David Nguyen
92db4d68db fix: cleanup env variables 2025-02-13 20:56:44 +11:00
Lucas Smith
c9e8a32471 feat: bulk send templates via csv (#1578)
Implements a bulk send feature allowing users to upload a CSV file to
create multiple documents from a template. Includes CSV template
generation, background processing, and email notifications.
2025-02-13 18:44:29 +11:00
David Nguyen
383b5f78f0 feat: migrate nextjs to rr7 2025-02-13 14:10:38 +11:00
Mythie
22c9fb777b fix: perf improvements 2024-12-18 15:01:57 +11:00
David Nguyen
9f45fe62e4
fix: refactor teams router (#1500) 2024-12-05 22:14:47 +09:00
David Nguyen
98d85b086d
feat: add initial api logging (#1494)
Improve API logging and error handling between client and server side.
2024-11-28 16:05:37 +07:00
Lucas Smith
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
Lucas Smith
4dd95016b1
feat: i18n for emails (#1442)
## Description

Support setting a document language that will control the language used
for sending emails to recipients. Additional work has been done to
convert all emails to using our i18n implementation so we can later add
controls for sending other kinds of emails in a users target language.

## Related Issue

N/A

## Changes Made

- Added `<Trans>` and `msg` macros to emails
- Introduced a new `renderEmailWithI18N` utility in the lib package
- Updated all emails to use the `<Tailwind>` component at the top level
due to rendering constraints
- Updated the `i18n.server.tsx` file to not use a top level await

## Testing Performed

- Configured document language and verified emails were sent in the
expected language
- Created a document from a template and verified that the templates
language was transferred to the document
2024-11-05 11:52:54 +11:00
David Nguyen
ddee8a8272
feat: allow editing pending documents (#1346)
## Description

Adds the ability for the document owner to edit recipients and their
fields after the document has been sent.

A recipient can only be updated or deleted if:
- The recipient has not inserted any fields
- Has not completed the document

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Added new localization messages to clarify user actions regarding
document signing.
  - Enhanced French translations for improved user interaction.

- **Improvements**
- Updated localization strings in German and English for clearer
feedback on signer and recipient statuses.
- Improved overall structure of localization files for better
maintainability.

- **Dependency Updates**
- Upgraded `next-axiom` and `remeda` libraries to their latest versions,
potentially enhancing performance and stability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Mythie <me@lucasjamessmith.me>
2024-09-20 13:58:21 +10:00
Lucas Smith
fd7c1fea1c
chore: upgrade next (#1300) 2024-09-03 09:48:54 +10:00
Mythie
6b5e4da424 v1.6.0-rc.1 2024-07-05 14:24:40 +10:00
Mythie
dc34e81a7e chore: downgrade sharp 2024-06-28 12:12:15 +10:00
Mythie
a42fc3cbaa chore: hoist sharp dependency 2024-06-28 11:08:31 +10:00
Mythie
22c02aac02 feat: avatar images 2024-06-27 21:50:42 +10:00
Mythie
b8d6484ff0
fix: improve inngest support 2024-06-17 16:59:14 +10:00
Mythie
6977381e00 feat: inngest provider 2024-06-14 13:53:48 +10:00
Mythie
991f808890 feat: ghetto durable compute 2024-06-13 15:24:51 +10:00
Mythie
108054a133 wip: background tasks 2024-06-13 15:23:19 +10:00
Mythie
3d81b15d71 chore: tidy code 2024-05-29 14:47:33 +10:00
Lucas Smith
27fe8c7f8f
Merge branch 'main' into feat/add-kysely 2024-05-28 14:53:29 +10:00
Mythie
88dedc9829 fix: use cdp and upgrade playwright again 2024-04-26 13:18:31 +10:00
Mythie
713cd09a06 fix: downgrade playwright 2024-04-24 19:07:18 +10:00
Mythie
4d4dfd3c5f fix: implement review feedback, resolve build errors 2024-04-10 17:39:16 +07:00
Mythie
110f9bae12 feat: add certificate and audit log pdfs 2024-04-10 15:13:18 +07:00
Catalin Pit
fdbac9fc03 feat: update next-auth-options to use the kysely adapter 2024-03-21 15:07:05 +02:00
Mythie
cffb7907b5 chore: remove bcrypt 2024-03-07 18:30:22 +11:00
hallidayo
32633f96d2
feat: dateformat and timezone customization (#506) 2023-12-27 14:05:49 +11:00
Lucas Smith
39c01f4e8d
fix: remove server actions (#684) 2023-12-02 09:38:24 +11:00
Nafees Nazik
792158c2cb feat: add two factor auth (#643)
Add two factor authentication for users who wish to enhance the security of their accounts.
2023-12-01 20:06:32 +11:00
Mythie
8230349114 fix: unable to load font for signing 2023-11-24 16:17:54 +11:00
Nafees Nazik
ca9c0d7bf0 chore: add some eslint rules (#344) 2023-11-15 13:10:17 +11:00
Mythie
df4cda8a1b feat: support cloudfront presign 2023-11-06 13:02:20 +11:00