Commit Graph

57 Commits

Author SHA1 Message Date
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
Mythie
3da344fc5f v1.7.1-rc.3 2024-09-19 13:55:35 +10:00
Mythie
9852e8971f v1.7.1-rc.2 2024-09-18 11:05:19 +10:00
Mythie
4ce4ca3f34 v1.7.1-rc.1 2024-09-17 15:26:38 +10:00
Mythie
7b06b68572 v1.7.1-rc.0 2024-09-10 23:15:02 +10:00
Mythie
bfb09e7928 v1.7.0 2024-09-09 11:20:33 +10:00
Mythie
d7e5aa1d26 v1.7.0-rc.5 2024-09-09 08:47:26 +10:00
Mythie
921617b905 v1.7.0-rc.4 2024-09-05 10:46:23 +10:00
Lucas Smith
fd7c1fea1c chore: upgrade next (#1300) 2024-09-03 09:48:54 +10:00
Mythie
5f4972d63b v1.7.0-rc.3 2024-09-03 09:27:51 +10:00
Mythie
d599ab0630 v1.7.0-rc.2 2024-08-29 11:01:21 +10:00
Mythie
81479b5b55 v1.7.0-rc.1 2024-08-28 18:00:43 +10:00
Mythie
9638dfbf37 v1.7.0-rc.0 2024-08-28 14:31:30 +10:00
David Nguyen
75c8772a02 feat: web i18n (#1286) 2024-08-27 20:34:39 +09:00
Mythie
3b8914da83 v1.6.1-rc.1 2024-08-13 09:57:50 +10:00
Mythie
ef3ecc33f1 v1.6.1-rc.0 2024-08-09 15:49:41 +10:00
David Nguyen
1028184cf2 feat: initial i18n marketing implementation (#1223)
## Description

This PR introduces an initial i18n implementation using
[Lingui](https://lingui.dev).

We plan to combine it with Crowdin which will provide AI translations
when PRs are merged into main.

We plan to rollout i18n to only marketing for now, and will review how
everything goes before continuing to introduce it into the main
application.

## Reasoning

Why not use i18n-next or other alternatives?

To hopefully provide the best DX we chose Lingui because it allows us to
simply wrap text that we want to translate in tags, instead of forcing
users to do things such as:

- Update the text to `t('some-text')`
- Extract it to the file
- The text becomes a bit unreadable unless done correctly

Yes, plugins such as i18n-ally and Sherlock exist to simplify these
chores, but these require the user to be correctly setup in vscode, and
it also does not seem to provide the required configurations for our
multi app and multi UI package setup.

## Super simple demo

```html
// Before
<p>Text to update</p>

// After
<p>
  <Trans>Text to update</Trans>
</p>
```

## Related Issue

Relates to #885 but is only for marketing for now.

Another branch is slowly being prepared for the changes required for the
web application while we wait to see how this goes for marketing.

## Changes Made

Our configuration does not follow the general standard since we have
translations that cross:
- Web app
- Marketing app
- Constants package
- UI package

This means we want to separate translations into:
1. Marketing - Only translations extracted from `apps/marketing`
2. Web - Only translations extracted from `apps/web`
3. Common - Translations from `packages/constants` and `packages/ui`

Then we bundle, compile and minify the translations for production as
follows:
1. Marketing = Marketing + Common
2. Web = Web + Common

This allows us to only load the required translations when running each
application.

Overall general changes: 
- Add i18n to marketing
- Add core i18n setup to web
- Add pre-commit hook and GH action to extract any new <Trans> tags into
the translation files

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


- **New Features**
- Added Romanian localization for marketing messages to improve
accessibility for Romanian-speaking users.
- Introduced German and English translation modules and PO files to
enhance the application's internationalization capabilities.
- Integrated internationalization support in the RootLayout component
for dynamic language settings based on server-side configurations.
- Enhanced the Enterprise component with translation support to adapt to
user language preferences.
- Added a `<meta>` tag to prevent Google from translating the page
content, supporting internationalization efforts.

- **Bug Fixes**
- Resolved minor issues related to the structure and accessibility of
translation files.

- **Chores**
- Updated project dependencies to support the new localization features
and ensure stability.

<!-- 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-07-26 14:56:42 +10:00
Mythie
043aff3ca9 v1.6.0 2024-07-23 12:53:02 +10:00
Mythie
414b1b7287 v1.6.0-rc.3 2024-07-19 13:27:01 +10:00
Mythie
a3ee732a9b v1.6.0-rc.2 2024-07-15 10:50:49 +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
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
Ephraim Atta-Duncan
7fdda0a840 feat: replace signup widget with carousel 2024-05-23 10:09:36 +00:00
Ephraim Duncan
aa52316ee3 Merge branch 'main' into chore/status-widget-new 2024-04-05 12:03:16 +00:00
David Nguyen
d1ffcb00f3 feat: add axiom web vitals (#1071)
## Description

Added support for Axiom web vitals

https://axiom.co/docs/apps/vercel#web-vitals
2024-04-03 14:32:34 +07:00
Ephraim Atta-Duncan
5c00b82894 chore: add status widget 2024-03-29 10:10:35 +00:00
Mythie
9e1b2e5cc3 fix: update sharp dependency 2024-03-10 13:48:25 +11:00
Adithya Krishna
775a1b774d chore: fix vulnerability with sharp
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-19 17:16:26 +05:30
Mythie
b903de983b chore: v1.2.3 2023-12-02 14:56:00 +11:00
Mythie
39d18e93c5 chore: v1.2.2 2023-12-02 13:34:36 +11:00
Mythie
fbfaca190b chore: release 1.2.1 2023-12-02 12:43:55 +11:00
Mythie
16fb90f4d2 chore: v1.2.0 2023-12-02 11:57:50 +11:00
Lucas Smith
39c01f4e8d fix: remove server actions (#684) 2023-12-02 09:38:24 +11:00
Lucas Smith
9444e0cc67 fix: docker build requires smtp host (#672)
set a default for smtp host and add an action
for testing docker builds on each pull request
2023-11-22 16:26:39 +11:00
Nafees Nazik
ca9c0d7bf0 chore: add some eslint rules (#344) 2023-11-15 13:10:17 +11:00
Mythie
9edf88692c feat: show monthly new users 2023-11-06 13:02:21 +11:00
Mythie
7fa61c6bb6 chore: upgrade to next 14.0.0 2023-11-06 13:02:20 +11:00
Adithya Krishna
c162cb3b2c chore: update zod to 3.22.4 (#563)
* chore: updated zod 

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>

---------

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2023-11-06 13:02:20 +11:00
Nafees Nazik
04fc9eb187 chore: upgrade to latest next.js version (#553)
* chore: upgrade next.js
* fix: canvas not found error
* chore: upgrade package for marketing
* feat: add isServer conditional
* fix: inverse isServer condition
* fix: normalize packages
* fix: upgrade ee package
* fix: depdency nightmares
* fix: failing seed script
2023-11-06 13:02:19 +11:00
Anik Dhabal Babu
02bb7e4d68 fix: update icons (#468)
* fix: update icons
2023-11-06 13:01:46 +11:00
David Nguyen
34232c79e5 feat: add single player mode 2023-11-06 13:01:43 +11:00
Mythie
49ce09f49b fix: support optimise imports 2023-11-06 13:01:14 +11:00
Mythie
53db1a5d19 fix: resolve issues with open graph asset loading 2023-11-06 13:01:14 +11:00
Mythie
289e3776fd fix: dependency ordering 2023-11-06 13:01:11 +11:00
Adithya Krishna
36b3b36ac8 feat: added sharp for image optimizations on nextjs
Signed-off-by: Adithya Krishna <adikrish@redhat.com>
2023-11-06 13:01:11 +11:00
nsylke
039cd11c49 fix: use -p cli option for next dev 2023-11-06 13:01:10 +11:00
David Nguyen
a0abf56833 refactor: extract common components into UI package 2023-11-06 13:01:10 +11:00