Commit Graph

1879 Commits

Author SHA1 Message Date
Timur Ercan
317ebea8ad Merge branch 'main' into chore/freelance-blog 2024-06-03 17:32:24 +02:00
Timur Ercan
0502181d0f chore: grammarly 2024-06-03 17:28:03 +02:00
Timur Ercan
b010fa3682 chore: date 2024-06-03 10:21:39 +02:00
Timur Ercan
65f10d267f chore: typo 2024-06-03 10:21:05 +02:00
Timur Ercan
b25bbff3f2 chore: video 2024-06-03 10:19:46 +02:00
Timur Ercan
cd2cb6e9d7 chore: typo 2024-06-03 09:53:12 +02:00
David Nguyen
d11a68fc4c feat: add direct templates links (#1165)
## Description

Direct templates links is a feature that provides template owners the
ability to allow users to create documents based of their templates.

## General outline

This works by allowing the template owner to configure a "direct
recipient" in the template.

When a user opens the direct link to the template, it will create a flow
where they sign the fields configured by the template owner for the
direct recipient. After these fields are signed the following will
occur:

- A document will be created where the owner is the template owner
- The direct recipient fields will be signed
- The document will be sent to any other recipients configured in the
template
- If there are none the document will be immediately completed

## Notes

There's a custom prisma migration to migrate all documents to have
'DOCUMENT' as the source, then sets the column to required.

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
2024-06-02 15:49:09 +10:00
Lucas Smith
d8d0734680 Merge branch 'main' into mk/oidc-auth 2024-05-30 15:41:36 +10:00
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