Commit Graph

1771 Commits

Author SHA1 Message Date
Sam Poder
6bd2f68014 fix: Capitalise "Stripe" (#1173)
Small fix, I noticed on the marketing site
2024-05-30 13:33:01 +10:00
Mythie
4a6b5ceaf8 fix: re-add removed types 2024-05-29 20:53:50 +10:00
Ephraim Atta-Duncan
3b2d184f05 chore: custom tooltip since it's hiding values under other charts 2024-05-29 08:26:58 +00:00
Mythie
82848e3d2e fix: animate transition 2024-05-24 18:47:03 +10:00
Lucas Smith
22b8c2044b Merge branch 'main' into fix/show-teams-url-new 2024-05-24 14:58:42 +10:00
Lucas Smith
ef5d267e96 fix: Remove document on go back click on step 1 (#910)
 Fixes #903 
 Invoke `onBackStep` on "Go Back" click and conditionally render
Go back label string.
2024-05-24 14:17:53 +10:00
Lucas Smith
805758f716 Merge branch 'main' into reattach-pdf 2024-05-24 14:07:43 +10:00
Lucas Smith
04ebb26a0b chore: update wording 2024-05-24 04:02:58 +00:00
Lucas Smith
9cb80aa0bc chore: add pin input to all 2FA components
Adds the pin input to the currently used 2FA components sunsetting
the standard input that was previously used.
2024-05-24 03:31:19 +00:00
Lucas Smith
0985206088 Merge branch 'main' into 2fa-input 2024-05-24 12:53:41 +10:00
Lucas Smith
aadb22cdbf fix: use shadcn pin input and revert changes 2024-05-24 02:51:25 +00:00
Ephraim Atta-Duncan
25f870ccc0 feat: dark mode 2024-05-23 14:39:43 +00:00
Ephraim Atta-Duncan
c86edbefb7 fix: reset autoplay timer when you manually click on a new slide 2024-05-23 13:10:42 +00:00
Timur Ercan
c2c0d4d259 chore: update callout CTAs 2024-05-23 14:22:28 +02:00
Ephraim Atta-Duncan
76e6adcf59 fix: progres slide count 2024-05-23 11:44:03 +00:00
Ephraim Atta-Duncan
7fa3069d8c chore: classname typo 2024-05-23 11:20:13 +00:00
Ephraim Atta-Duncan
4e6e4a0016 feat: add progress at the bottom of the slide 2024-05-23 11:18:21 +00:00
Ephraim Atta-Duncan
907cc3a74e chore: add what's new label 2024-05-23 10:33:47 +00:00
Ephraim Atta-Duncan
c14cd2dcc5 fix: show slide content based on image or video 2024-05-23 10:21:29 +00:00
Ephraim Atta-Duncan
7fdda0a840 feat: replace signup widget with carousel 2024-05-23 10:09:36 +00:00
Lucas Smith
6e2363d48c Merge branch 'main' into fix/sealing-robustness 2024-05-23 15:11:23 +10:00
Mythie
311328471e fix: bump react-pdf and pdfjs-dist to handle cve
Bumps ReactPDF and pdfjs-dist to avoid the CVE that allows
for code execution in pdf's. This change doesn't specifically
upgrade to the latest pdfjs-dist due to issues with top level
await, instead disabling the evaluation of javascript within
the PDF.
2024-05-23 14:47:32 +10:00
Mythie
d58a88196a fix: use noto sans for text insertion on pdfs
Use Noto Sans to gracefully handle inserting custom text
on PDF's. Previously we were using Helvetica which is a
standard PDF font but that would fail for any character
that couldn't be encoded in WinANSI.

Noto Sans was chosen as it has support for a large number
of languages and glyphs with challenges now being adding
support for CJK glyphs.
2024-05-23 13:07:37 +10:00
Mythie
4c0b772fc9 fix: rewrite form flattening handler
Previously we used the form flattening method from PDF-Lib
but unfortunately when it encountered orphaned form items
or other PDF oddities it would throw an error.

Because of this certain documents would fail to seal and
be stuck in a pending state with no recourse available.
This change rewrites the form flattening handler to be
more lenient when coming across the unknown opting to skip
items it can't handle rather than abort.
2024-05-22 21:58:30 +10:00
Ephraim Atta-Duncan
72d0a1b69c chore: custom tooltip 2024-05-21 22:53:31 +00:00
Ephraim Atta-Duncan
39e7eb0568 fix: remove cummulative 2024-05-21 22:45:32 +00:00
Timur Ercan
c1449e01b1 chore: remove cummulative for clarity 2024-05-21 14:07:27 +02:00
Timur Ercan
7da5535667 chore: grammarly 2024-05-21 13:04:48 +02:00
Ephraim Atta-Duncan
95a94d4fc1 chore: use single chart graphs 2024-05-21 09:28:23 +00:00
Timur Ercan
09ead88d74 feat: sunsetting early adopters blog article 2024-05-17 11:59:25 +02:00
Timur Ercan
6f9906164d chore: save text 2024-05-16 19:14:52 +02:00
Timur Ercan
fb8ab9719b chore: ex ea customer label on open page 2024-05-16 18:58:37 +02:00
Timur Ercan
9f9c0c10e9 chore: remove the plan, it's cleaner 2024-05-16 18:41:33 +02:00
Timur Ercan
f8b51a7ac2 chore: add teams pricing and move enterprise cta 2024-05-16 18:39:40 +02:00
Rushat Gabhane
a877c64aca Merge branch 'main' into show-time 2024-05-12 21:07:15 +05:30
David Nguyen
2f86bb523b feat: add template enhancements (#1154)
## Description

General enhancements for templates.

## Changes Made

Added the following changes to the template flow:
- Allow adding document meta settings
- Allow adding email settings
- Allow adding document access & action authentication
- Allow adding recipient action authentication
- Save the state between template steps similar to how it works for
documents

Other changes:
- Extract common fields between document and template flows
- Remove the title field from "Use template" since we now have it as
part of the template flow
- Add new API endpoint for generating templates

## Testing Performed

Added E2E tests for templates and creating documents from templates
2024-05-10 19:45:19 +07:00
Rushat Gabhane
bbcbc56e70 feat: 12h format 2024-05-08 19:17:47 +05:30
Adithya Krishna
968b116012 Merge branch 'main' into show-time 2024-05-08 15:27:30 +05:30
Catalin Pit
2ba0f48c61 fix: unauthorized access error api tokens page team (#1134) 2024-05-08 12:03:21 +07:00
David Nguyen
e50ccca766 fix: allow template recipients to be filled (#1148)
## Description

Update the template flow to allow for entering recipient placeholder
emails and names

## Changes Made

- General refactoring
- Added advanced recipient settings for future usage
2024-05-07 17:22:24 +07:00
Ephraim Atta-Duncan
50b57d5aa5 fix: minor changes based on review 2024-05-07 09:35:59 +00:00
David Nguyen
d7a3c40050 feat: add general template enhancements (#1147)
## Description

Refactor the "use template" flow

## Changes Made

- Add placeholders for recipients
- Add audit log when document is created
- Trigger DOCUMENT_CREATED webhook when document is created
- Remove role field when using template
- Remove flaky logic when associating template recipients with form
recipients
- Refactor to use `Form` 

### Using template when document has no recipients

<img width="529" alt="image"
src="https://github.com/documenso/documenso/assets/20962767/a8494ac9-0397-4e3b-a0cf-818c8454a55c">

### Using template with recipients 

<img width="529" alt="image"
src="https://github.com/documenso/documenso/assets/20962767/54d949fc-ed6a-4318-bfd6-6a3179896ba9">

### Using template with the send option selected

<img width="529" alt="image"
src="https://github.com/documenso/documenso/assets/20962767/541b2664-0540-43e9-83dd-e040a45a44ea">
2024-05-07 15:04:12 +07:00
David Nguyen
64e3e2c64b fix: disable encrypted pdfs (#1130)
## Description

Currently if you complete a pending encrypted document, it will prevent
the document from being sealed due to the systems inability to decrypt
it.

This PR disables uploading any documents that cannot be loaded as a
temporary measure.

**Note**
This is a client side only check

## Changes Made

- Disable uploading documents that cannot be parsed
- Refactor putFile to putDocumentFile
- Add a flag as a backup incase something goes wrong
2024-05-03 22:25:24 +07:00
Rushat Gabhane
84bbcea7bb Merge branch 'main' into show-time 2024-05-03 12:29:23 +05:30
Lucas Smith
15dee5ef35 fix: enforce users to have stripe account (#1131)
## Description

Currently users who sign in via Google SSO do not get assigned a Stripe
customer account.

This enforces the Stripe customer requirement on sign in.

There might be a better place to put this so it's open to any
suggestions.
2024-05-01 16:48:05 +10:00
David Nguyen
cfec366c1a fix: refactor 2024-04-30 15:54:24 +07:00
David Nguyen
8622e68853 fix: add logging 2024-04-30 15:50:22 +07:00
Adithya Krishna
0e16a86e74 chore: updated dark mode text 2024-04-30 11:55:01 +05:30
David Nguyen
97d334a1da fix: force users to have a Stripe customer on sign in 2024-04-29 20:15:40 +07:00
Rushat Gabhane
80c03fcf3f feat: show time in documents table 2024-04-29 04:28:13 +05:30