Commit Graph

2724 Commits

Author SHA1 Message Date
Timur Ercan 81d86559eb Merge branch 'main' into admin/stats 2024-06-18 17:01:17 +02:00
Timur Ercan fbf4bd605f chore: bump date (#1189) 2024-06-17 13:38:14 +02:00
Timur Ercan c869ad23f9 chore: bump date 2024-06-17 13:37:12 +02:00
Timur Ercan 16406b3aae chore: direct links announce (#1177)
direct links account blogarticle


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

- **New Features**
- Introduced Direct Links for templates, allowing asynchronous document
signing via unique shareable links for easy access.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-17 13:36:23 +02:00
Timur Ercan f7cb468176 Merge branch 'main' into chore/direct-links-announce 2024-06-17 13:27:32 +02:00
Timur Ercan d86c5fee42 chore: typo 2024-06-17 13:27:04 +02:00
Timur Ercan 46a7dce320 chore: freelance-blog (#1175)
"How Documenso Helps Freelancers Close More Clients Efficiently" blog
article

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

- **Documentation**
- Added a new blog post titled "How Documenso Helps Freelancers Close
More Clients Efficiently," discussing the benefits of using Documenso to
streamline the proposal process with digital signatures for enhanced
speed and security in closing deals.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-14 12:11:42 +02:00
Timur Ercan 09d1c1bc33 chore: bump 2024-06-14 11:26:04 +02:00
Timur Ercan 36d7e3c8c4 chore: final polish 2024-06-14 11:18:23 +02:00
Timur Ercan 24d0dfa65a text 2024-06-14 11:10:23 +02:00
Timur Ercan 55dc14f7dc Merge branch 'main' into chore/freelance-blog 2024-06-14 11:08:35 +02:00
Timur Ercan 232dc96eb5 chore: update open page
update open page
2024-06-13 14:02:02 +02:00
Timur Ercan 7b594b303d fix: carousel on mobile screen (#1186)
## Description

Adjusts the styling to improve the layout and appearance of the carousel
controls and thumbnails on smaller screens.

## Changes Made

- Updated the carousel control styling to be more responsive.
- Adjusted the font size and padding of the slide component for better
display on mobile screens.

## Screenshot
![CleanShot 2024-06-13 at 08 18
55@2x](https://github.com/documenso/documenso/assets/55143799/1bcb31a3-2b4f-48bc-8a22-9d8e16b71d17)


## Checklist

- [x] I have tested these changes locally and they work as expected.
- [ ] I have added/updated tests that prove the effectiveness of these
changes.
- [ ] I have updated the documentation to reflect these changes, if
applicable.
- [x] I have followed the project's coding style guidelines.
- [ ] I have addressed the code review feedback from the previous
submission, if applicable.

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



<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-13 13:39:33 +02:00
Ephraim Atta-Duncan 3356934590 fix: carousel on mobile screen 2024-06-13 08:09:06 +00:00
Ephraim Duncan c470e4d516 Merge branch 'main' into admin/stats 2024-06-13 05:47:17 +00:00
Ephraim Atta-Duncan 1bbfd9d0f3 fix: remove redundant cards 2024-06-13 05:46:34 +00:00
Lucas Smith 1647f7c4a0 fix: correctly insert fields on rotated pages (#1183)
## Description

PDFs can have pages that are rotated, which are correctly rendered in
the frontend. However, when we load the PDF in the backend, the rotation
is applied which causes issues when we want to insert fields.

To account for this, we swap the width and height for pages that are
rotated by 90/270 degrees. This is so we can calculate the virtual
position the field was placed if it was correctly oriented in the
frontend.

Then when we insert the fields, we apply a transformation to the
position of the field so it is rotated correctly.

**Test document with 0/90/180/270 rotated pages**


[rotated_test.pdf](https://github.com/user-attachments/files/15798138/rotated_test.pdf)
v1.5.6-rc.4 v1.5.6
2024-06-12 21:54:45 +10:00
Lucas Smith eca66a7c1d fix: add regular plan to price type enum (#1184)
Adds the regular plan to our current plan type enum so we can use it for
user limit calculations.
2024-06-12 21:54:11 +10:00
Lucas Smith 6f2de54640 Merge branch 'main' into fix/regular-plan 2024-06-12 21:49:39 +10:00
Mythie e62fa6cc92 fix: update plans on the billing page 2024-06-12 21:33:17 +10:00
Mythie 8c2f61a004 fix: add regular plan to price type enum 2024-06-12 21:27:05 +10:00
Timur Ercan b25683c086 Chore/sunset-early-adopters (#1182)
chore: sunset early adopters

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

- **New Features**
- Introduced a new `Carousel` component with video autoplay
functionality.
  - Added a `Thumb` component for carousel navigation.
- Introduced a new `Enterprise` component detailing enterprise licensing
and compliance.
  
- **Updates**
- Updated the `Hero` component to replace the `Widget` with the new
`Carousel`.
- Revised the `PricingTable` component to reflect new pricing plans and
details.
  - Changed tooltip text in the marketing app for better clarity.
- Updated button texts and links in the `Callout` component to promote
the "Free Plan".

- **Content**
- Published a blog post announcing the end of the Early Adopters Plan
and introducing new pricing plans.
  
- **Dependencies**
- Added Embla Carousel dependencies for enhanced carousel functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-12 12:48:29 +02:00
Timur Ercan 383c62e7e6 chore: typo+text 2024-06-12 12:30:12 +02:00
Timur Ercan e41c12fcbf chore: update date 2024-06-12 12:24:14 +02:00
Timur Ercan c8d56104c5 fix: build/ cleanup 2024-06-12 12:05:00 +02:00
Timur Ercan 71f7717f0b fix: theme issues and cleanup 2024-06-12 11:52:38 +02:00
David Nguyen 6174415339 fix: add comment 2024-06-12 14:00:45 +10:00
David Nguyen 9fbc61a04d fix: insert fields correctly for rotated pdfs 2024-06-11 19:04:55 +10:00
Ephraim Atta-Duncan 2bf0d42fbd chore: rename to slide 2024-06-10 13:44:43 +00:00
Ephraim Atta-Duncan 1fda9ed2a6 chore: show each slide based on video time 2024-06-10 13:43:50 +00:00
Timur Ercan 1b849d1fb8 chore: fix package lock 2024-06-10 12:59:02 +02:00
Timur Ercan 59193ab40d chore: remove badge 2024-06-10 10:32:48 +02:00
Timur Ercan 817638c24a chore: add darkmode videos and zapier 2024-06-10 10:28:55 +02:00
Ephraim Atta-Duncan a278cd6b58 chore: show video on dark theme and light theme 2024-06-06 23:43:51 +00:00
Timur Ercan acb9eb66a5 Merge branch 'main' into chore/sunset-early-adopters 2024-06-06 17:46:00 +02:00
Timur Ercan 8ab9b0df7c chore: first video tries 2024-06-06 17:14:56 +02:00
Lucas Smith cc43139573 fix: downloaded files should have _signed (#1149)
Modifies the generated filename for the downloaded PDF by appending
"_signed" to the base title.

## Changes Made

- Update the filename in the downloadFile function call to append
"_signed" to the baseTitle variable.

## Testing Performed

Tested the `downloadPDF` function locally to ensure that the downloaded
PDF file has the correct filename with "_signed" appended.
v1.5.6-rc.3
2024-06-05 14:56:02 +10:00
David Nguyen 0c2306b745 fix: add correct role names for direct templates (#1179)
## Description

Update the direct template signing process and emails to correctly
reflect the role of the recipient who actioned the direct template.


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

## Summary by CodeRabbit

- **New Features**
- Dynamic updating of title and description based on recipient role in
the document signing process.
- Enhanced email templates to include recipient roles, providing more
context in email notifications.

- **Improvements**
- More descriptive actions in email templates based on recipient roles,
improving clarity for recipients.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-05 14:40:45 +10:00
Timur Ercan fa9310db01 chore: cta 2024-06-04 17:46:44 +02:00
Timur Ercan 2dfc37754e chore: direct links article 2024-06-04 17:38:44 +02:00
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>
v1.5.6-rc.2
2024-06-02 15:49:09 +10:00
Lucas Smith c346a3fd6a feat: add oidc support (#1103)
## Description

This PR adds generic OIDC as an authentication provider. This allows
personal users and companies potentially to define whatever IdP they
want as long as it supports the OIDC well known format. (Azure, Zitadel,
Authentik, KeyCloak, Google, etc. all support it)

## Related Issue

Fixes #1090 

## Changes Made

- Adds OIDC buttons to the signin and registration pages
- Adds appropriate environment variables
- Adds migration to add OIDC to the `IdentityProvider` Enum

## Testing Performed

#### Zitadel
- Created application in Zitadel as an web app, with Client auth
- Enabled `User Info inside ID Token` in Token settings
- Copied client id and client secret to the new .ENV variables
- Copied the well-known URL from the URLs section to .ENV
- Created new account with OIDC provider button
- Verified email manually
- Signed into account with OIDC provider
- Logged out
- Signed into accounting again with OIDC provider

#### Authentik
- Created application in Authentik
- Copied client id and client secret to the new .ENV variables
- Copied the well-known URL from the URLs section to .ENV
- Created new account with OIDC provider button
- Verified email manually
- Signed into account with OIDC provider
- Logged out
- Signed into accounting again with OIDC provider

#### Azure AD
- Created application in Azure AD using OAuth2
- Copied client id and client secret to the new .ENV variables
- Copied the well-known URL from the URLs section to .ENV
- Created new account with OIDC provider button
- Verified email manually
- Signed into account with OIDC provider
- Logged out
- Signed into accounting again with OIDC provider
2024-05-31 11:45:17 +10:00
Mythie 70eeb1a746 chore: improve oidc provider support
Adds fields to the Account model to support various pieces
of data returned by OIDC providers such as AzureAD and GitLab.

Additionally passes through the email verification status and handles
retrieving the email for providers such as AzureAD who use a different
claim instead.
2024-05-30 22:15:45 +10:00
Lucas Smith d8d0734680 Merge branch 'main' into mk/oidc-auth 2024-05-30 15:41:36 +10:00