Commit Graph

87 Commits

Author SHA1 Message Date
David Nguyen c1c7cfaf8b chore: cleanup 2025-02-25 16:37:36 +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-loe b3e044e278 fix: label stable releases as latest (#1567)
adds missing 'v' in regex  #1405
2025-01-02 10:07:25 +11:00
David Nguyen 2948a33bf9 fix: tests (#1556) 2024-12-26 17:00:55 +11:00
Lucas Smith 5398026b80 feat: signature rejection (#1472)
## Description

Adds support for rejecting a given document informing the document
owner.

Flows for resolving a rejection don't currently exist so it's up to the
document owner to reach out to the recipient and work out a way to move
forward via a new document or offline agreement.

## Related Issue


## Changes Made

- Added new rejection properties to the recipient schema
- Added API endpoints to support rejection
- Added email templates for notifying the document owner and recipient
- Added a dialog on the signing page to start the rejection flow.

## Testing Performed

- Manually tested the flow end to end
- Automated tests are planned
2024-11-14 21:37:42 +11:00
david-loe 5a26610a01 fix: update publish workfow to only tag stable versions latest (#1405)
## Description

This pull request introduces modifications to the GitHub Actions
workflow to ensure that the `latest` Docker tag is only pushed for
stable releases. It prevents the `latest` tag from being assigned to
release candidates (`-rc`), beta versions, or other pre-release tags.
This enhancement improves version management by keeping the `latest` tag
reserved exclusively for fully stable versions (e.g., `1.0.0`).

## Related Issue

Fixes #1404

## Changes Made

- Added a conditional check to verify if the release version follows the
format `X.Y.Z` (stable release format).
- Updated the Docker manifest creation steps to only push the `latest`
tag if the version is a stable full release.
- Modified both DockerHub and GitHub Container Registry push steps to
reflect the new versioning conditions.
2024-11-12 17:37:34 +11:00
David Nguyen f42e600e3f chore: update workflow 2024-11-01 12:37:54 +09:00
David Nguyen 7fc497a642 fix: translation upload token (#1423) 2024-10-29 19:55: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
Imran Khan a6f93698b4 fix: changed the default file path for local certs (#1277)
Changed the default value of NEXT_PRIVATE_SIGNING_LOCAL_FILE_PATH env
variable
2024-09-06 14:09:25 +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
David Nguyen d6ec3f252a feat: add upload translation workflow 2024-07-23 13:08:43 +10:00
David Nguyen 5b488c2ae4 feat: add pull translation workflow 2024-07-23 12:05:35 +10:00
Adithya Krishna cc4efddabf chore: updated triage label 2024-05-08 17:03:57 +05:30
Adithya Krishna 5d5d0210fa chore: update github actions (#1085)
**Description:**

This PR updates and adds a new action to assign `status: assigned` label

---------

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
2024-05-08 11:52:26 +07:00
Mythie 8e813ab2ac fix: use docker manifests for multiarch 2024-03-07 22:16:37 +11:00
Lucas Smith 51f60926ce fix: re-add buildx and qemu 2024-03-07 10:27:14 +00:00
Lucas Smith 2ccc2f22de chore: back to docker buildx 2024-03-07 10:24:17 +00:00
Lucas Smith 35b2405921 chore: use warpbuild for docker publishing 2024-03-07 10:02:33 +00:00
Lucas Smith b9b57f16c0 fix: use matrix build 2024-03-07 05:05:35 +00:00
Lucas Smith 82efc5f589 fix: use docker buildx and push 2024-03-07 04:07:55 +00:00
Lucas Smith 8a9588ca65 fix: fetch tags for publish action 2024-03-07 03:49:03 +00:00
Mythie 2cce6dc2e5 feat: tidy docker setup
Tidy the docker setup and include a Github Action
for publishing docker containers to DockerHub and
Github Container Registry.

Also add a small README file with docker hosting instructions.
2024-03-06 15:46:51 +11:00
nafees nazik 6065140715 feat: cache layers 2024-01-06 15:29:19 +05:30
nafees nazik 34a59d2db3 fix: cache 2024-01-06 15:18:33 +05:30
nafees nazik ba37633ecd fix: revert 2024-01-06 15:18:09 +05:30
nafees nazik 46e83d65bb feat: cache docker 2024-01-06 15:14:28 +05:30
nafees nazik 6d1ad179d4 feat: add clean cache workflow 2024-01-06 13:30:21 +05:30
nafees nazik 8eed13e275 fix: remove additional workflow 2024-01-05 02:22:42 +05:30
nafees nazik 346078dbbe fix: e2e 2024-01-05 02:15:27 +05:30
nafees nazik c86f79dd7b feat: add workflow call actions 2024-01-05 01:11:28 +05:30
nafees nazik 0c12e34c38 fix: remove call 2024-01-05 01:08:32 +05:30
nafees nazik 26b604dbd0 fix: add workflow call 2024-01-05 00:21:05 +05:30
nafees nazik e5b7bf81fa fix: add action to codeql 2024-01-05 00:06:16 +05:30
nafees nazik 9e57de512a feat: use actions 2024-01-04 23:46:09 +05:30
Lucas Smith c1a6a327af chore: update stale workflows 2024-01-03 12:54:32 +11:00
Anik Dhabal Babu d02f6774b2 chore: update the stale to prevent automatic closure of issues 2024-01-01 17:41:29 +00:00
Adithya Krishna f9139a54a5 chore: prevent frequent commenting for semantic pr titles
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-11 23:37:28 +05:30
Adithya Krishna 2d931b2c9b chore: fix caching issue in workflows
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-11 23:36:54 +05:30
Mythie 09dcc2cac0 chore: update github actions 2023-12-08 20:44:28 +11:00
Lucas Smith 5e9bc56329 feat: github repo management improvement (#728) 2023-12-08 15:47:55 +11:00
Mythie 7feba02e08 chore: update ci and formatting 2023-12-08 13:01:36 +11:00
Mythie 4e799e68ef chore: update ci 2023-12-08 09:44:36 +11:00
Mythie 1831084970 chore: update ci 2023-12-08 09:29:47 +11:00
Sushant 2068d980ff feat: allow for the deletion of any document (#711)
Allow for the deletion of any document with notifications of document cancellation for pending documents.
2023-12-06 11:11:51 +11:00
Adithya Krishna 520522bef7 chore: removed repo condition for codeql
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-05 12:05:47 +05:30
Paul bfedabdc10 fix: increase e2e test timeout (#682) 2023-12-05 13:54:41 +11:00
Adithya Krishna 02d91d9cd4 chore: updated workflows
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-04 18:04:05 +05:30
Adithya Krishna ac529a89fc feat: check assignee and pr review reminder
Signed-off-by: Adithya Krishna <adi@documenso.com>
2023-12-04 18:00:28 +05:30