Commit Graph
100 Commits
Author SHA1 Message Date
David Nguyen 12f3b7629e fix: wip 2025-02-12 23:17:43 +11:00
David Nguyen 1d7f3723bc fix: meta 2025-02-12 19:10:41 +11:00
David Nguyen 4c57095ee1 fix: wip 2025-02-12 18:39:00 +11:00
David Nguyen 15922d447b fix: wip 2025-02-12 16:41:35 +11:00
David Nguyen 548d92c2fc fix: wip 2025-02-11 02:04:00 +11:00
David Nguyen d24f67d922 fix: wip 2025-02-10 03:33:22 +11:00
David Nguyen 5b395fc9ad fix: wip 2025-02-09 21:57:26 +11:00
David Nguyen e128e9369e fix: auth 2025-02-09 00:46:25 +11:00
David Nguyen f5bfec1990 fix: dev 2025-02-08 20:38:47 +11:00
David Nguyen 82b5795636 fix: build 2025-02-08 20:35:20 +11:00
David Nguyen 4aec21a37f fix: migrate lingui 2025-02-07 19:40:21 +11:00
David Nguyen 19dc43dca1 fix: migrate lingui 2025-02-07 19:33:58 +11:00
David Nguyen d3392dada7 fix: minimal vite config 2025-02-07 16:33:30 +11:00
David Nguyen 8373af3f41 fix: wip 2025-02-07 00:58:50 +11:00
David Nguyen e5cc6455dd fix: wip 2025-02-06 15:36:25 +11:00
David Nguyen b127fae0e0 fix: wip 2025-02-06 15:14:16 +11:00
David Nguyen 6fa3751a72 fix: wip 2025-02-06 14:09:44 +11:00
David Nguyen d164b90aa3 fix: wip 2025-02-06 11:54:54 +11:00
David Nguyen 738201eb55 fix: errors 2025-02-06 01:57:23 +11:00
David Nguyen 7effe66387 fix: wip 2025-02-05 23:37:21 +11:00
David Nguyen 9c7910a070 fix: chao nextjs 2025-02-05 15:55:20 +11:00
David Nguyen f55ccb21dd fix: wip 2025-02-05 14:59:08 +11:00
David Nguyen 6b4c33a1bf fix: wip 2025-02-05 01:29:26 +11:00
David Nguyen f4b2f8614e fix: wip 2025-02-05 00:57:10 +11:00
David Nguyen 1057ae6d2a fix: wip 2025-02-05 00:57:00 +11:00
David Nguyen 540cc5bfc1 fix: wip 2025-02-04 22:25:11 +11:00
David Nguyen 381a9d3fb8 fix: wip 2025-02-04 16:24:26 +11:00
David Nguyen e5a9d9ddf0 fix: add embed 2025-02-03 23:56:27 +11:00
David Nguyen d1913dbf9c fix: wip 2025-02-03 20:09:35 +11:00
David Nguyen 8bffa7c3ed fix: wip 2025-02-03 19:52:23 +11:00
David Nguyen b2af10173a fix: wip 2025-02-03 14:10:28 +11:00
David Nguyen 28fb35327d fix: wip 2025-01-31 23:29:42 +11:00
David Nguyen e20cb7e179 fix: wip 2025-01-31 23:17:50 +11:00
David Nguyen aec44b78d0 fix: wip 2025-01-31 18:57:45 +11:00
David Nguyen d7d0fca501 fix: wip 2025-01-31 14:09:02 +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
David Nguyen 5df1a6602e fix: refactor search routes (#1529)
Refactor find endpoints to be consistent in terms of input and output.
2024-12-11 19:39:50 +09:00
David Nguyen fae9c0ca24 fix: refactor routers (#1523) 2024-12-10 16:11:20 +09:00
David Nguyen a88ae1cc1e chore: extract translations 2024-12-06 16:11:54 +09:00
David Nguyen 904948e2bc fix: refactor trpc errors (#1511) 2024-12-06 16:01:24 +09:00
David Nguyen 3b6b96f551 chore: remove redundant translations on upload (#1510)
## Description

Clean redundant translations by default.

This should stop the AI from doing strange things to commented out
translations.
2024-12-06 09:04:15 +11:00
David Nguyen 9f45fe62e4 fix: refactor teams router (#1500) 2024-12-05 22:14:47 +09:00
David Nguyen f4b1e5104e feat: add platform plan pricing (#1505)
Add platform plan to the billing page.
2024-12-04 15:42:03 +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
David Nguyen f15f9ecdd1 chore: update docs 2024-11-15 21:47:22 +07:00
David Nguyen 979e3f3e71 fix: always allow access to billing (#1476) 2024-11-15 21:34:39 +07:00
David Nguyen f2439abbc9 chore: update docs 2024-11-12 23:12:13 +07:00
David Nguyen 552825b79e chore: extract translations 2024-11-12 12:37:34 +07:00
David Nguyen 786566bae4 fix: certificate translations (#1460)
## Description

Currently certificate translations on production sometimes does not show
the required language.

This could not be replicated when creating certificates on staging
(Browserless.io) and local development (Chromium), which means this fix
ultimately cannot be tested unless on live.

This is an attempt to fix it by isolating the certificate generation
into it's own context, and applying a cookie to define the required
language.

This fix is based on the assumption that there is some sort of error
which pushes the certificate to be generated on the client side, which
ultimately will render in English due to constraints on nextjs.

## Changes Made

- Apply language into cookie instead purely dynamically on SSR
- Minor unrelated fixes

## Testing Performed

Tested to ensure certificates could still be generated
2024-11-12 15:26:14 +11:00
David Nguyen f6bcf921d5 feat: add document distribution setting (#1437)
Add a document distribution setting which will allow us to further
configure how recipients currently receive documents.
2024-11-08 13:32:13 +09:00
David Nguyen 451723a8ab chore: extract translations 2024-11-08 00:34:25 +09:00
David Nguyen 9b769e7e33 fix: email translations (#1454) 2024-11-08 00:33:48 +09:00
David Nguyen 61ea4971ad fix: custom team email subject (#1450)
Fixed issue where custom email subjects for teams were being ignored.
2024-11-06 22:16:31 +09:00
David Nguyen ffc61af904 chore: extract translations 2024-11-06 22:03:51 +09:00
David Nguyen efbe94aea8 feat: add signing link copy (#1449) 2024-11-06 21:34:06 +09:00
David Nguyen 1b10c55758 fix: update docker environment (#1438) 2024-11-06 19:21:52 +09:00
David Nguyen 5158584955 fix: checkout loading button (#1445) 2024-11-05 20:10:10 +09:00
David Nguyen 54c0c6be14 fix: open page 2024-11-05 19:36:36 +09:00
David Nguyen a50c758b07 chore: extract translations 2024-11-05 18:26:09 +09:00
David Nguyen cc249357b3 feat: add certificate translations (#1440)
Add translations for audit logs and certificates.
2024-11-05 18:25:23 +09:00
David Nguyen 011dabcc04 chore: extract translations 2024-11-05 17:37:05 +09:00
David Nguyen 4fa6dc1e21 feat: add template page (#1395)
Add a template page view to allow users to see more details about a
template at a glance.
2024-11-05 17:36:30 +09:00
David Nguyen 04b1ce1aab fix: missing not found page for deleted documents (#1424) 2024-11-04 22:09:52 +09:00
David Nguyen 885349ad94 fix: missing signing order when using templates (#1425) 2024-11-03 20:17:41 +09:00
David Nguyen 28514ba2e7 fix: duplicate templates (#1434) 2024-11-01 21:29:38 +11:00
David Nguyen 378e515843 chore: extract translations 2024-11-01 12:56:07 +09:00
David Nguyen f42e600e3f chore: update workflow 2024-11-01 12:37:54 +09:00
David Nguyen 88eaec91c9 chore: extract translations 2024-11-01 11:27:09 +09:00
David Nguyen f199183c78 feat: improve translation coverage (#1427)
Improves translation coverage across the app.
2024-11-01 10:57:32 +11:00
David Nguyen 7fc497a642 fix: translation upload token (#1423) 2024-10-29 19:55:49 +09:00
David Nguyen 5fcd8610c9 fix: translate extract command (#1394)
Change how the translate extract command is run on build
2024-10-28 11:21:49 +09:00
David Nguyen 9ffdbe9c81 fix: improve lingui configuration (#1388)
## Description

Currently merge conflicts arise due to the compiled JS and PO
translation files.

This PR is a rework on how we handle extracting and compiling
translations to streamline PRs and merging branches.

## Changes Made

- Remove compiled translation files from being committed
- Extract and compile translations only on build
- Extract will still occur when commits land on main to sync and pull
new translations with Crowdin
2024-10-09 14:13:52 +11:00
David Nguyen 64ea4a6f9f chore: add translation contribution docs (#1379) 2024-10-08 14:05:55 +11:00
David Nguyen 18ec40f6af fix: set lang cookie expiry (#1365)
## Description

Currently the language cookie is set to session, so restarting browser
will reset it.

This sets the expiry for two years.


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

## Summary by CodeRabbit

- **New Features**
- Enhanced language preference functionality with extended cookie
lifespan for improved user experience.
  
- **Bug Fixes**
	- Resolved issues related to cookie expiration for language settings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-25 13:10:24 +10:00
David NguyenandMythie 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
efb2bc94ab feat: add french (#1355)
## Description

Add initial French translations

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

- **New Features**
- Added support for the French language, enhancing accessibility for
French-speaking users.
- Introduced localized French messages for various application
functionalities, improving user experience.
  
- **Bug Fixes**
- Minor formatting updates in French translation files to remove
extraneous newline characters.

- **Chores**
- Updated line references in French translation files to maintain
alignment with code changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: github-actions <github-actions@documenso.com>
2024-09-19 19:37:17 +10:00
David Nguyen c043fa9c06 fix: add check for invalid locales (#1353)
## Description

Currently invalid or missing `accept-language` headers will cause issues
rendering Plural components since we do not validate them.

This adds a check to try filter out invalid locales.

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

## Summary by CodeRabbit

- **New Features**
- Enhanced locale filtering process to ensure only valid locales are
processed.
  
- **Bug Fixes**
- Improved data integrity by preventing invalid locales from affecting
application functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-19 09:58:59 +10:00
David Nguyenandgithub-actions 357bdd374f feat: add language switcher (#1337)
## Description

Web changes:

- Enabled i18n for web
- Add option to change language in command menu
- Add option to change language in menu-switcher

Web and marketing changes:

- Stop setting 'en' preference into cookie if the user's language is not
supported
- Dropped middleware changes
- Rotated cookie from 'i18n' to 'language'

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

## Summary by CodeRabbit

- **New Features**
- Introduced a language switcher in the footer for improved language
selection.
	- Added dynamic language change functionality in the command menu.
- Implemented a dropdown menu item for quick access to the language
switcher.

- **Bug Fixes**
- Resolved issues related to language change notifications and state
management.

- **Translations**
- Added new translation entries for improved language support, including
"Search languages..." in English and German.
	- Updated existing translations to enhance clarity and accuracy.

- **Chores**
	- Simplified internationalization handling in middleware.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: github-actions <github-actions@documenso.com>
2024-09-11 13:22:43 +10:00
David Nguyenandgithub-actions e81023f8d4 fix: refactor dates (#1321)
## Description

Refactor the current date formatting system to utilize Lingui.

## Changes Made

- Remove redundant `LocaleData` component with Lingui dates

## Important notes

For the internal pages for certificates, default to en-US to format any
dates.

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


- **New Features**
- Enhanced internationalization support across various components by
utilizing the `i18n` object for date formatting.
- Streamlined locale management by removing cookie-based language
handling and adopting a more centralized approach.

- **Bug Fixes**
- Improved date formatting consistency by replacing the `LocaleDate`
component with direct calls to `i18n.date()` in multiple components.

- **Documentation**
- Updated localization strings in the `web.po` files to reflect recent
changes in the source code structure.

- **Chores**
- Minor formatting adjustments and code organization improvements across
various files to enhance readability and maintainability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: github-actions <github-actions@documenso.com>
2024-09-10 12:38:08 +10:00