David Nguyen
e5aaa17545
fix: restrict individual plans to upgrade only ( #1900 )
...
Prevent users from creating a separate organisation for individual
plans. Only applies to users who have 1 personal organisation and are
subscribing to the "Individual" plan.
The reason for this change is to keep the layout in the "Personal" mode
which means it doesn't show a bunch of unusable "organisation" related
UI.
2025-07-16 14:35:42 +10:00
David Nguyen
5083ecb4b8
fix: allow resubscribing ( #1901 )
...
Currently users who cancel their plan are stuck without the ability to
resubscribe. This allows them to choose a plan to subscribe
This assumes that a Subscription in the "INACTIVE" state means that the
plan has been paid but canceled.
No tests have been done to determine the relation between "PAST_DUE" and
"INACTIVE" states within our context.
2025-07-16 14:26:21 +10:00
David Nguyen
106f796fea
fix: readonly field styling ( #1887 )
...
Changes:
- Updating styling of read only fields
- Removed truncation for fields and used overflow hidden instead
2025-07-10 12:35:18 +10:00
David Nguyen
cdb9b9ee03
chore: add certificate error logs ( #1875 )
...
Add certificate logs
2025-07-03 10:13:12 +10:00
David Nguyen
ea1cf481eb
chore: extract translations
2025-07-01 21:27:35 +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
0cc729e9bd
feat: add sequential document view logs ( #1871 )
...
## Description
Add a new document audit log to detect when the document is viewed. This
should only be visible in the document audit log page
Notes:
1. I wanted to reuse the `DOCUMENT_OPENED` event and add an additional
paramter to track sequential views, but it's not query-able
2. This will log "DOCUMENT_VIEWED" before "DOCUMENT_OPENED" but i don't
think it matters
2025-06-30 19:11:16 +10:00
David Nguyen
e07a497b69
feat: api logging by pino ( #1865 )
...
experiemental
2025-06-27 21:44:51 +10:00
David Nguyen
dc2042a1ee
fix: rate limit api endpoints ( #1863 )
...
Rate limit API endpoint
2025-06-27 18:50:22 +10:00
David Nguyen
ebe1baf0a0
chore: extract translations
2025-06-19 15:16:44 +10:00
David Nguyen
b8e08e88ac
fix: api keys not showing ( #1839 )
2025-06-13 17:20:03 +10:00
David Nguyen
031a7b9e36
fix: visibility
2025-06-13 01:02:40 +10:00
David Nguyen
12fe045195
fix: visiblity
2025-06-13 00:05:08 +10:00
David Nguyen
614106a5e4
fix: rework documents limits logic ( #1836 )
2025-06-12 13:42:31 +10:00
David Nguyen
e3ce7f94e6
chore: update build
2025-06-11 14:52:23 +10:00
David Nguyen
504a0893ab
chore: add organisation docs ( #1831 )
2025-06-10 20:54:36 +10:00
David Nguyen
4609fc852d
chore: extract translations
2025-06-10 11:52:59 +10:00
David Nguyen
e6dc237ad2
feat: add organisations ( #1820 )
2025-06-10 11:49:52 +10:00
David Nguyen
d78cfec00e
fix: branding logos ( #1759 )
2025-04-24 16:15:06 +10: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

## [AFTER] Field UI Signing

## [BEFORE] Signing a checkbox


## [AFTER] Signing a checkbox


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

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

## **[BEFORE]** Inserting fields

## **[AFTER]** Inserting fields

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

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

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

### Multiline line overflows and field alignments
These are text fields that can be overflowed

Another example of left aligned text overflows with more text

2025-04-23 21:40:42 +10:00
David Nguyen
435b3ca4f8
chore: remove legacy document update route ( #1751 )
...
Remove deprecated route
2025-04-17 16:36:10 +10:00
David Nguyen
7e6ac4db40
fix: direct template redirects ( #1727 )
2025-03-28 14:45:54 +11: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

## Tests
- Currently running locally
- Tested webhooks via network tab and via webhook.site
2025-03-25 21:59:13 +11:00
David Nguyen
063fd32f18
feat: add signature configurations ( #1710 )
...
Add ability to enable or disable allowed signature types:
- Drawn
- Typed
- Uploaded
**Tabbed style signature dialog**

**Document settings**

**Team preferences**

- Add multiselect to select allowed signatures in document and templates
settings tab
- Add multiselect to select allowed signatures in teams preferences
- Removed "Enable typed signatures" from document/template edit page
- Refactored signature pad to use tabs instead of an all in one
signature pad
Added E2E tests to check settings are applied correctly for documents
and templates
2025-03-24 17:13:11 +11:00
David Nguyen
a0ace803cf
fix: admin signing page crash
2025-03-12 16:53:09 +11:00
David Nguyen
c646afcd97
fix: tests
2025-03-09 15:10:19 +11:00
David Nguyen
b990532633
fix: remove refresh on focus
2025-03-08 15:30:13 +11:00
David Nguyen
083a706373
fix: duplex and 2fa refresh
2025-03-04 11:41:38 +11:00
David Nguyen
db326cb4a9
fix: posthog reverse proxy
2025-03-04 10:48:19 +11:00
David Nguyen
d664f571d6
fix: posthog reverse proxy
2025-03-04 10:46:59 +11:00
David Nguyen
7c38970ee8
fix: update error logging
2025-03-04 01:41:39 +11:00
David Nguyen
e08d62c844
fix: remove invalid prisma zod schemas
2025-03-04 01:20:13 +11:00
David Nguyen
25bb6ffe77
fix: imports
2025-03-03 14:49:28 +11:00
David Nguyen
3dce814ab2
fix: stripe price fetch ( #1677 )
...
Currently Stripe prices search is omitting a price for an unknown
reason.
Changed our fetch logic to use `list` instead of `search` allows us to
work around the issue.
It's unknown on the performance impact of using `list` vs `search`
2025-02-28 14:44:06 +11:00
David Nguyen
ad520bb032
fix: remove oauth from embeds
2025-02-27 14:08:59 +11:00
David Nguyen
596d30e2e5
fix: remove lazy pdf loader
2025-02-26 21:48:06 +11:00
David Nguyen
6474b4a524
fix: add preferred team middleware
2025-02-26 19:42:42 +11:00
David Nguyen
5b4db51051
fix: react-pdf canvas build
2025-02-26 18:39:21 +11:00
David Nguyen
9b376d34cf
feat: add stripe dev cli
2025-02-25 21:22:28 +11:00
David Nguyen
5e69665e00
fix: rr7 github build
2025-02-25 16:52:10 +11:00
David Nguyen
c1c7cfaf8b
chore: cleanup
2025-02-25 16:37:36 +11:00
David Nguyen
7e8955b89c
fix: add posthog error monitor
2025-02-25 15:14:45 +11:00
David Nguyen
cedd5e87b1
chore: update API documentation
2025-02-25 02:36:08 +11:00
David Nguyen
5255e8671f
chore: refactor pdf worker loader
2025-02-24 21:47:06 +11:00
David Nguyen
d4c1bad407
fix: add default oauth user url
2025-02-23 18:49:22 +11:00
David Nguyen
01dccb7916
chore: flattern routes
2025-02-21 15:53:23 +11:00
David Nguyen
139bc265c7
fix: migrate billing to RR7
2025-02-21 01:16:23 +11:00
David Nguyen
991ce5ff46
fix: update teams API tokens logic
2025-02-21 00:34:50 +11:00
David Nguyen
7728c8641c
fix: share opengraph
2025-02-20 15:38:06 +11:00
David Nguyen
50a41d0799
fix: pdf viewer and embeds
2025-02-20 15:06:36 +11:00
David Nguyen
250381fec8
fix: billing
2025-02-20 12:17:55 +11:00
David Nguyen
d2f3d24542
chore: update docs
2025-02-19 22:36:17 +11:00
David Nguyen
ec07092bf6
fix: session refresh
2025-02-19 22:29:30 +11:00
David Nguyen
63e2ef0abf
fix: static caching
2025-02-19 21:35:35 +11:00
David Nguyen
90ce52164c
chore: add password tests
2025-02-19 18:41:53 +11:00
David Nguyen
ac30654913
fix: add auth session lifetime
2025-02-19 18:04:36 +11:00
David Nguyen
24f3ecd94f
fix: remove marketing url
2025-02-19 16:45:54 +11:00
David Nguyen
a319ea0f5e
fix: add public profiles tests
2025-02-19 16:07:04 +11:00
David Nguyen
5ce2bae39d
fix: resolve internal pdf translations
2025-02-19 14:43:35 +11:00
David Nguyen
5d86e84217
fix: prepare auth migration ( #1648 )
...
Add schema session migration in preparation for auth migration.
2025-02-18 15:19:42 +11:00
David Nguyen
79e26a9a46
fix: remove session migration
2025-02-18 15:19:39 +11:00
David Nguyen
dd602a7e1c
fix: themes
2025-02-18 15:17:13 +11:00
David Nguyen
5fc724b247
fix: rework sessions
2025-02-17 22:46:36 +11:00
David Nguyen
1ed1cb0773
chore: refactor sessions
2025-02-16 00:44:01 +11:00
David Nguyen
8d5fafec27
feat: add static cache
2025-02-15 00:08:36 +11:00
David Nguyen
0f6f236e0c
fix: firefox fouc
2025-02-14 23:02:45 +11:00
David Nguyen
e518985833
fix: migrate 2fa to custom auth
2025-02-14 22:00:55 +11:00
David Nguyen
595e901bc2
fix: make auth migration more flexible
2025-02-14 19:22:11 +11:00
David Nguyen
df8ea09021
fix: add oidc env variables
2025-02-14 18:11:54 +11:00
David Nguyen
180656978b
feat: add themes
2025-02-14 17:50:23 +11:00
David Nguyen
28f5177064
fix: dialogs with search params
2025-02-14 16:14:02 +11:00
David Nguyen
31de86e425
feat: add oidc
2025-02-14 16:01:16 +11:00
David Nguyen
1c4878e526
fix: documentation build
2025-02-13 21:21:51 +11:00
David Nguyen
92db4d68db
fix: cleanup env variables
2025-02-13 20:56:44 +11:00
David Nguyen
7379391f92
fix: migrate translations
2025-02-13 20:24:27 +11:00
David Nguyen
ebc2b00067
fix: add sign up hook
2025-02-13 20:21:23 +11:00
David Nguyen
0b3638c42c
feat: add Polish and Italian ( #1618 )
2025-02-13 18:48:37 +11:00
David Nguyen
383b5f78f0
feat: migrate nextjs to rr7
2025-02-13 14:10:38 +11:00
David Nguyen
74bb230247
fix: add empty success responses ( #1600 )
2025-01-20 19:47:39 +11:00
David Nguyen
a28cdf437b
feat: add get field endpoints ( #1599 )
2025-01-20 15:53:12 +11:00
David Nguyen
0d3864548c
fix: bump trpc and openapi packages ( #1591 )
2025-01-19 22:07:02 +11:00
David Nguyen
9e03747e43
feat: add create document beta endpoint ( #1584 )
2025-01-16 13:36:00 +11:00
David Nguyen
5750f2b477
feat: add prisma json types ( #1583 )
2025-01-15 13:46:45 +11:00
David Nguyen
901be70f97
feat: add consistent response schemas ( #1582 )
2025-01-14 00:43:35 +11:00
David Nguyen
7d0a9c6439
fix: refactor prisma relations ( #1581 )
2025-01-13 13:41:53 +11:00
David Nguyen
08a69c6168
fix: pending document edit ( #1580 )
...
Fix issue where you cannot edit a pending document when there is a CCer
recipient.
2025-01-11 22:31:59 +11:00
David Nguyen
948d9c24cf
fix: broken direct template webhook ( #1579 )
2025-01-11 21:42:33 +11:00
David Nguyen
ebbe922982
feat: add template and field endpoints ( #1572 )
2025-01-11 15:33:20 +11:00
David Nguyen
e2a250063f
fix: crowdin config
2024-12-31 17:25:33 +11:00
David Nguyen
4085151f80
fix: merge common and web po files ( #1563 )
2024-12-31 17:20:58 +11:00
David Nguyen
0d3681e26a
fix: remove marketing remains
2024-12-31 15:53:15 +11:00
David Nguyen
cfe7b3a51f
fix: remove marketing ( #1562 )
2024-12-31 15:45:22 +11:00
David Nguyen
41218e2585
chore: extract translations
2024-12-26 22:08:52 +11:00
David Nguyen
74382e21e7
feat: add get recipient route ( #1553 )
2024-12-26 17:25:14 +11:00
David Nguyen
8a7ec7e982
fix: billing page formatting ( #1554 )
2024-12-26 17:20:08 +11:00
David Nguyen
2948a33bf9
fix: tests ( #1556 )
2024-12-26 17:00:55 +11:00
David Nguyen
f55808199b
feat: make enterprise billing dynamic ( #1539 )
2024-12-14 13:44:25 +09:00
David Nguyen
b4a7f1887d
feat: add trpc openapi ( #1535 )
2024-12-14 01:23:35 +09:00
David Nguyen
161d40cde7
fix: secure passkey cookies ( #1533 )
2024-12-12 01:16:29 +09:00
David Nguyen
76028771b8
fix: add billing leeway ( #1532 )
2024-12-12 01:10:01 +09:00