Änderungen an Branding - App Name
This commit is contained in:
@@ -150,7 +150,7 @@ Example payload for the `document.created` event:
|
|||||||
"id": 52,
|
"id": 52,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer@documenso.com",
|
"email": "signer@sign.bls.media",
|
||||||
"name": "John Doe",
|
"name": "John Doe",
|
||||||
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -212,7 +212,7 @@ Example payload for the `document.sent` event:
|
|||||||
"id": 52,
|
"id": 52,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer2@documenso.com",
|
"email": "signer2@sign.bls.media",
|
||||||
"name": "Signer 2",
|
"name": "Signer 2",
|
||||||
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -230,7 +230,7 @@ Example payload for the `document.sent` event:
|
|||||||
"id": 53,
|
"id": 53,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer1@documenso.com",
|
"email": "signer1@sign.bls.media",
|
||||||
"name": "Signer 1",
|
"name": "Signer 1",
|
||||||
"token": "HkrptwS42ZBXdRKj1TyUo",
|
"token": "HkrptwS42ZBXdRKj1TyUo",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -292,7 +292,7 @@ Example payload for the `document.opened` event:
|
|||||||
"id": 52,
|
"id": 52,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer2@documenso.com",
|
"email": "signer2@sign.bls.media",
|
||||||
"name": "Signer 2",
|
"name": "Signer 2",
|
||||||
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -354,7 +354,7 @@ Example payload for the `document.signed` event:
|
|||||||
"id": 51,
|
"id": 51,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer1@documenso.com",
|
"email": "signer1@sign.bls.media",
|
||||||
"name": "Signer 1",
|
"name": "Signer 1",
|
||||||
"token": "HkrptwS42ZBXdRKj1TyUo",
|
"token": "HkrptwS42ZBXdRKj1TyUo",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -419,7 +419,7 @@ Example payload for the `document.completed` event:
|
|||||||
"id": 50,
|
"id": 50,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer2@documenso.com",
|
"email": "signer2@sign.bls.media",
|
||||||
"name": "Signer 2",
|
"name": "Signer 2",
|
||||||
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -440,7 +440,7 @@ Example payload for the `document.completed` event:
|
|||||||
"id": 51,
|
"id": 51,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer1@documenso.com",
|
"email": "signer1@sign.bls.media",
|
||||||
"name": "Signer 1",
|
"name": "Signer 1",
|
||||||
"token": "HkrptwS42ZBXdRKj1TyUo",
|
"token": "HkrptwS42ZBXdRKj1TyUo",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -505,7 +505,7 @@ Example payload for the `document.rejected` event:
|
|||||||
"id": 52,
|
"id": 52,
|
||||||
"documentId": 10,
|
"documentId": 10,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer@documenso.com",
|
"email": "signer@sign.bls.media",
|
||||||
"name": "Signer",
|
"name": "Signer",
|
||||||
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
"token": "vbT8hi3jKQmrFP_LN1WcS",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
@@ -598,7 +598,7 @@ Example payload for the `document.rejected` event:
|
|||||||
"id": 7,
|
"id": 7,
|
||||||
"documentId": 7,
|
"documentId": 7,
|
||||||
"templateId": null,
|
"templateId": null,
|
||||||
"email": "signer@documenso.com",
|
"email": "signer@sign.bls.media",
|
||||||
"name": "Signer",
|
"name": "Signer",
|
||||||
"token": "XkKx1HCs6Znm2UBJA2j6o",
|
"token": "XkKx1HCs6Znm2UBJA2j6o",
|
||||||
"documentDeletedAt": null,
|
"documentDeletedAt": null,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import type { DocsThemeConfig } from 'nextra-theme-docs';
|
|||||||
import { useConfig } from 'nextra-theme-docs';
|
import { useConfig } from 'nextra-theme-docs';
|
||||||
|
|
||||||
const themeConfig: DocsThemeConfig = {
|
const themeConfig: DocsThemeConfig = {
|
||||||
logo: <span>Documenso</span>,
|
logo: <span>BLS sign</span>,
|
||||||
head: function useHead() {
|
head: function useHead() {
|
||||||
const config = useConfig<{ title?: string; description?: string }>();
|
const config = useConfig<{ title?: string; description?: string }>();
|
||||||
|
|
||||||
|
|||||||
@@ -216,9 +216,9 @@ export const TeamMemberInviteDialog = ({ trigger, ...props }: TeamMemberInviteDi
|
|||||||
|
|
||||||
const downloadTemplate = () => {
|
const downloadTemplate = () => {
|
||||||
const data = [
|
const data = [
|
||||||
{ email: 'admin@documenso.com', role: 'Admin' },
|
{ email: 'admin@sign.bls.media', role: 'Admin' },
|
||||||
{ email: 'manager@documenso.com', role: 'Manager' },
|
{ email: 'manager@sign.bls.media', role: 'Manager' },
|
||||||
{ email: 'member@documenso.com', role: 'Member' },
|
{ email: 'member@sign.bls.media', role: 'Member' },
|
||||||
];
|
];
|
||||||
|
|
||||||
const csvContent =
|
const csvContent =
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export const EmbedDocumentCompleted = ({ name, signature }: EmbedDocumentComplet
|
|||||||
<div className="mt-8 w-full max-w-md">
|
<div className="mt-8 w-full max-w-md">
|
||||||
<SigningCard3D
|
<SigningCard3D
|
||||||
className="mx-auto w-full"
|
className="mx-auto w-full"
|
||||||
name={name || 'Documenso'}
|
name={name || 'BLS sign'}
|
||||||
signature={signature}
|
signature={signature}
|
||||||
signingCelebrationImage={signingCelebration}
|
signingCelebrationImage={signingCelebration}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export const AppNavMobile = ({ isMenuOpen, onMenuOpenChange }: AppNavMobileProps
|
|||||||
<Link to="/" onClick={handleMenuItemClick}>
|
<Link to="/" onClick={handleMenuItemClick}>
|
||||||
<img
|
<img
|
||||||
src={LogoImage}
|
src={LogoImage}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="dark:invert"
|
className="dark:invert"
|
||||||
width={170}
|
width={170}
|
||||||
height={25}
|
height={25}
|
||||||
@@ -83,7 +83,7 @@ export const AppNavMobile = ({ isMenuOpen, onMenuOpenChange }: AppNavMobileProps
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p className="text-muted-foreground text-sm">
|
<p className="text-muted-foreground text-sm">
|
||||||
© {new Date().getFullYear()} Documenso, Inc. <br /> All rights reserved.
|
© {new Date().getFullYear()} Made by BLS media
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</SheetContent>
|
</SheetContent>
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ export const DirectTemplateConfigureForm = ({
|
|||||||
derivedRecipientAccessAuth !== null ||
|
derivedRecipientAccessAuth !== null ||
|
||||||
user?.email !== undefined
|
user?.email !== undefined
|
||||||
}
|
}
|
||||||
placeholder="recipient@documenso.com"
|
placeholder="recipient@sign.bls.media"
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { Link } from 'react-router';
|
|||||||
|
|
||||||
import { Button } from '@documenso/ui/primitives/button';
|
import { Button } from '@documenso/ui/primitives/button';
|
||||||
|
|
||||||
const SUPPORT_EMAIL = 'support@documenso.com';
|
const SUPPORT_EMAIL = 'support@sign.bls.media';
|
||||||
|
|
||||||
export default function SignatureDisclosure() {
|
export default function SignatureDisclosure() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -6,15 +6,15 @@ import type { Route } from './+types/share.$slug';
|
|||||||
|
|
||||||
export function meta({ params: { slug } }: Route.MetaArgs) {
|
export function meta({ params: { slug } }: Route.MetaArgs) {
|
||||||
return [
|
return [
|
||||||
{ title: 'Documenso - Share' },
|
{ title: 'BLS sign - Share' },
|
||||||
{ description: 'I just signed a document in style with Documenso!' },
|
{ description: 'I just signed a document in style with BLS sign!' },
|
||||||
{
|
{
|
||||||
property: 'og:title',
|
property: 'og:title',
|
||||||
content: 'Documenso - Join the open source signing revolution',
|
content: 'BLS sign - Join the open source signing revolution',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: 'og:description',
|
property: 'og:description',
|
||||||
content: 'I just signed with Documenso!',
|
content: 'I just signed with BLS sign!',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: 'og:type',
|
property: 'og:type',
|
||||||
@@ -38,7 +38,7 @@ export function meta({ params: { slug } }: Route.MetaArgs) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'twitter:description',
|
name: 'twitter:description',
|
||||||
content: 'I just signed with Documenso!',
|
content: 'I just signed with BLS sign!',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -50,8 +50,8 @@ export const loader = ({ request }: Route.LoaderArgs) => {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Is hardcoded because this whole meta is hardcoded anyway for Documenso.
|
// Is hardcoded because this whole meta is hardcoded anyway for BLS sign.
|
||||||
throw redirect('https://documenso.com');
|
throw redirect('https://bls.media/');
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function SharePage() {
|
export default function SharePage() {
|
||||||
|
|||||||
@@ -2,11 +2,11 @@ import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
|
|||||||
|
|
||||||
export const appMetaTags = (title?: string) => {
|
export const appMetaTags = (title?: string) => {
|
||||||
const description =
|
const description =
|
||||||
'Join Documenso, the open signing infrastructure, and get a 10x better signing experience. Pricing starts at $30/mo. forever! Sign in now and enjoy a faster, smarter, and more beautiful document signing process. Integrates with your favorite tools, customizable, and expandable. Support our mission and become a part of our open-source community.';
|
'Join BLS sign, the open signing infrastructure, and get a 10x better signing experience. Pricing starts at $30/mo. forever! Sign in now and enjoy a faster, smarter, and more beautiful document signing process. Integrates with your favorite tools, customizable, and expandable. Support our mission and become a part of our open-source community.';
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
title: title ? `${title} - Documenso` : 'Documenso',
|
title: title ? `${title} - BLS sign` : 'BLS sign',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'description',
|
name: 'description',
|
||||||
@@ -15,7 +15,7 @@ export const appMetaTags = (title?: string) => {
|
|||||||
{
|
{
|
||||||
name: 'keywords',
|
name: 'keywords',
|
||||||
content:
|
content:
|
||||||
'Documenso, open source, DocuSign alternative, document signing, open signing infrastructure, open-source community, fast signing, beautiful signing, smart templates',
|
'BLS sign, open source, DocuSign alternative, document signing, open signing infrastructure, open-source community, fast signing, beautiful signing, smart templates',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'author',
|
name: 'author',
|
||||||
@@ -27,7 +27,7 @@ export const appMetaTags = (title?: string) => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: 'og:title',
|
property: 'og:title',
|
||||||
content: 'Documenso - The Open Source DocuSign Alternative',
|
content: 'BLS sign',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
property: 'og:description',
|
property: 'og:description',
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
Contact: https://github.com/documenso/documenso/issues/new?assignees=&labels=bug&projects=&template=bug-report.yml
|
Contact: https://github.com/documenso/documenso/issues/new?assignees=&labels=bug&projects=&template=bug-report.yml
|
||||||
|
|
||||||
# Report critical issues privately to let us take appropriate action before publishing.
|
# Report critical issues privately to let us take appropriate action before publishing.
|
||||||
Contact: mailto:security@documenso.com
|
Contact: mailto:security@sign.bls.media
|
||||||
Preferred-Languages: en
|
Preferred-Languages: en
|
||||||
Canonical: https://documenso.com/.well-known/security.txt
|
Canonical: https://documenso.com/.well-known/security.txt
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Documenso",
|
"name": "BLS sign",
|
||||||
"short_name": "Documenso",
|
"short_name": "BLS sign",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/android-chrome-192x192.png",
|
"src": "/android-chrome-192x192.png",
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ export const OpenAPIV1 = Object.assign(
|
|||||||
ApiContractV1,
|
ApiContractV1,
|
||||||
{
|
{
|
||||||
info: {
|
info: {
|
||||||
title: 'Documenso API',
|
title: 'BLS sign API',
|
||||||
version: '1.0.0',
|
version: '1.0.0',
|
||||||
description: 'The Documenso API for retrieving, creating, updating and deleting documents.',
|
description: 'The BLS sign API for retrieving, creating, updating and deleting documents.',
|
||||||
},
|
},
|
||||||
servers: [
|
servers: [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ test('[DOCUMENT_AUTH]: should grant access when not required', async ({ page })
|
|||||||
|
|
||||||
const document = await seedPendingDocument(user, [
|
const document = await seedPendingDocument(user, [
|
||||||
recipientWithAccount,
|
recipientWithAccount,
|
||||||
'recipientwithoutaccount@documenso.com',
|
'recipientwithoutaccount@sign.bls.media',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const recipients = await prisma.recipient.findMany({
|
const recipients = await prisma.recipient.findMany({
|
||||||
@@ -40,7 +40,7 @@ test('[DOCUMENT_AUTH]: should allow or deny access when required', async ({ page
|
|||||||
|
|
||||||
const document = await seedPendingDocument(
|
const document = await seedPendingDocument(
|
||||||
user,
|
user,
|
||||||
[recipientWithAccount, 'recipientwithoutaccount@documenso.com'],
|
[recipientWithAccount, 'recipientwithoutaccount@sign.bls.media'],
|
||||||
{
|
{
|
||||||
createDocumentOptions: {
|
createDocumentOptions: {
|
||||||
authOptions: createDocumentAuthOptions({
|
authOptions: createDocumentAuthOptions({
|
||||||
|
|||||||
@@ -39,11 +39,11 @@ test.describe('[EE_ONLY]', () => {
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Signers' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Signers' })).toBeVisible();
|
||||||
|
|
||||||
// Add 2 signers.
|
// Add 2 signers.
|
||||||
await page.getByPlaceholder('Email').fill('recipient1@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient1@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient 1');
|
await page.getByPlaceholder('Name').fill('Recipient 1');
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Add Signer' }).click();
|
await page.getByRole('button', { name: 'Add Signer' }).click();
|
||||||
await page.getByLabel('Email').nth(1).fill('recipient2@documenso.com');
|
await page.getByLabel('Email').nth(1).fill('recipient2@sign.bls.media');
|
||||||
await page.getByLabel('Name').nth(1).fill('Recipient 2');
|
await page.getByLabel('Name').nth(1).fill('Recipient 2');
|
||||||
|
|
||||||
// Display advanced settings.
|
// Display advanced settings.
|
||||||
@@ -74,12 +74,12 @@ test('[DOCUMENT_FLOW]: add signers', async ({ page }) => {
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Signers' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Signers' })).toBeVisible();
|
||||||
|
|
||||||
// Add 2 signers.
|
// Add 2 signers.
|
||||||
await page.getByPlaceholder('Email').fill('recipient1@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient1@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient 1');
|
await page.getByPlaceholder('Name').fill('Recipient 1');
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Add Signer' }).click();
|
await page.getByRole('button', { name: 'Add Signer' }).click();
|
||||||
|
|
||||||
await page.getByLabel('Email').nth(1).fill('recipient2@documenso.com');
|
await page.getByLabel('Email').nth(1).fill('recipient2@sign.bls.media');
|
||||||
await page.getByLabel('Name').nth(1).fill('Recipient 2');
|
await page.getByLabel('Name').nth(1).fill('Recipient 2');
|
||||||
|
|
||||||
// Advanced settings should not be visible for non EE users.
|
// Advanced settings should not be visible for non EE users.
|
||||||
|
|||||||
@@ -343,14 +343,14 @@ test('[DOCUMENT_FLOW]: should be able to approve a document', async ({ page }) =
|
|||||||
|
|
||||||
const { recipients } = await seedPendingDocumentWithFullFields({
|
const { recipients } = await seedPendingDocumentWithFullFields({
|
||||||
owner: user,
|
owner: user,
|
||||||
recipients: ['user@documenso.com', 'approver@documenso.com'],
|
recipients: ['user@sign.bls.media', 'approver@sign.bls.media'],
|
||||||
recipientsCreateOptions: [
|
recipientsCreateOptions: [
|
||||||
{
|
{
|
||||||
email: 'user@documenso.com',
|
email: 'user@sign.bls.media',
|
||||||
role: RecipientRole.SIGNER,
|
role: RecipientRole.SIGNER,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
email: 'approver@documenso.com',
|
email: 'approver@sign.bls.media',
|
||||||
role: RecipientRole.APPROVER,
|
role: RecipientRole.APPROVER,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ type LoginOptions = {
|
|||||||
|
|
||||||
export const apiSignin = async ({
|
export const apiSignin = async ({
|
||||||
page,
|
page,
|
||||||
email = 'example@documenso.com',
|
email = 'example@sign.bls.media',
|
||||||
password = 'password',
|
password = 'password',
|
||||||
redirectPath = '/documents',
|
redirectPath = '/documents',
|
||||||
}: LoginOptions) => {
|
}: LoginOptions) => {
|
||||||
|
|||||||
@@ -39,10 +39,10 @@ test.describe('[EE_ONLY]', () => {
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add 2 signers.
|
// Add 2 signers.
|
||||||
await page.getByPlaceholder('Email').fill('recipient1@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient1@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient 1');
|
await page.getByPlaceholder('Name').fill('Recipient 1');
|
||||||
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
||||||
await page.getByPlaceholder('Email').nth(1).fill('recipient2@documenso.com');
|
await page.getByPlaceholder('Email').nth(1).fill('recipient2@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
||||||
|
|
||||||
// Display advanced settings.
|
// Display advanced settings.
|
||||||
@@ -89,10 +89,10 @@ test('[TEMPLATE_FLOW]: add placeholder', async ({ page }) => {
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add 2 signers.
|
// Add 2 signers.
|
||||||
await page.getByPlaceholder('Email').fill('recipient1@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient1@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient 1');
|
await page.getByPlaceholder('Name').fill('Recipient 1');
|
||||||
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
||||||
await page.getByPlaceholder('Email').nth(1).fill('recipient2@documenso.com');
|
await page.getByPlaceholder('Email').nth(1).fill('recipient2@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
||||||
|
|
||||||
// Advanced settings should not be visible for non EE users.
|
// Advanced settings should not be visible for non EE users.
|
||||||
|
|||||||
@@ -91,10 +91,10 @@ test('[TEMPLATE]: should create a document from a template', async ({ page }) =>
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add 2 signers.
|
// Add 2 signers.
|
||||||
await page.getByPlaceholder('Email').fill('recipient1@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient1@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient 1');
|
await page.getByPlaceholder('Name').fill('Recipient 1');
|
||||||
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
||||||
await page.getByPlaceholder('Email').nth(1).fill('recipient2@documenso.com');
|
await page.getByPlaceholder('Email').nth(1).fill('recipient2@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
||||||
|
|
||||||
// Apply require passkey for Recipient 1.
|
// Apply require passkey for Recipient 1.
|
||||||
@@ -226,10 +226,10 @@ test('[TEMPLATE]: should create a team document from a team template', async ({
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add 2 signers.
|
// Add 2 signers.
|
||||||
await page.getByPlaceholder('Email').fill('recipient1@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient1@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient 1');
|
await page.getByPlaceholder('Name').fill('Recipient 1');
|
||||||
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
await page.getByRole('button', { name: 'Add Placeholder Recipient' }).click();
|
||||||
await page.getByPlaceholder('Email').nth(1).fill('recipient2@documenso.com');
|
await page.getByPlaceholder('Email').nth(1).fill('recipient2@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
await page.getByPlaceholder('Name').nth(1).fill('Recipient 2');
|
||||||
|
|
||||||
// Apply require passkey for Recipient 1.
|
// Apply require passkey for Recipient 1.
|
||||||
@@ -330,7 +330,7 @@ test('[TEMPLATE]: should create a document from a template with custom document'
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add a signer
|
// Add a signer
|
||||||
await page.getByPlaceholder('Email').fill('recipient@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient');
|
await page.getByPlaceholder('Name').fill('Recipient');
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Continue' }).click();
|
await page.getByRole('button', { name: 'Continue' }).click();
|
||||||
@@ -411,7 +411,7 @@ test('[TEMPLATE]: should create a team document from a template with custom docu
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add a signer
|
// Add a signer
|
||||||
await page.getByPlaceholder('Email').fill('recipient@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient');
|
await page.getByPlaceholder('Name').fill('Recipient');
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Continue' }).click();
|
await page.getByRole('button', { name: 'Continue' }).click();
|
||||||
@@ -481,7 +481,7 @@ test('[TEMPLATE]: should create a document from a template using template docume
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add a signer
|
// Add a signer
|
||||||
await page.getByPlaceholder('Email').fill('recipient@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient');
|
await page.getByPlaceholder('Name').fill('Recipient');
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Continue' }).click();
|
await page.getByRole('button', { name: 'Continue' }).click();
|
||||||
@@ -561,7 +561,7 @@ test('[TEMPLATE]: should persist document visibility when creating from template
|
|||||||
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'Add Placeholder' })).toBeVisible();
|
||||||
|
|
||||||
// Add a signer
|
// Add a signer
|
||||||
await page.getByPlaceholder('Email').fill('recipient@documenso.com');
|
await page.getByPlaceholder('Email').fill('recipient@sign.bls.media');
|
||||||
await page.getByPlaceholder('Name').fill('Recipient');
|
await page.getByPlaceholder('Name').fill('Recipient');
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Continue' }).click();
|
await page.getByRole('button', { name: 'Continue' }).click();
|
||||||
|
|||||||
@@ -225,7 +225,7 @@ test('[DIRECT_TEMPLATES]: use direct template link with 1 recipient', async ({ p
|
|||||||
await page.goto(formatDirectTemplatePath(template.directLink?.token || ''));
|
await page.goto(formatDirectTemplatePath(template.directLink?.token || ''));
|
||||||
await expect(page.getByRole('heading', { name: 'General' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'General' })).toBeVisible();
|
||||||
|
|
||||||
await page.getByPlaceholder('recipient@documenso.com').fill(seedTestEmail());
|
await page.getByPlaceholder('recipient@sign.bls.media').fill(seedTestEmail());
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Continue' }).click();
|
await page.getByRole('button', { name: 'Continue' }).click();
|
||||||
await page.getByRole('button', { name: 'Complete' }).click();
|
await page.getByRole('button', { name: 'Complete' }).click();
|
||||||
@@ -299,7 +299,7 @@ test('[DIRECT_TEMPLATES]: use direct template link with 2 recipients', async ({
|
|||||||
await expect(page.getByRole('heading', { name: 'General' })).toBeVisible();
|
await expect(page.getByRole('heading', { name: 'General' })).toBeVisible();
|
||||||
|
|
||||||
await page.waitForTimeout(1000);
|
await page.waitForTimeout(1000);
|
||||||
await page.getByPlaceholder('recipient@documenso.com').fill(seedTestEmail());
|
await page.getByPlaceholder('recipient@sign.bls.media').fill(seedTestEmail());
|
||||||
|
|
||||||
await page.getByRole('button', { name: 'Continue' }).click();
|
await page.getByRole('button', { name: 'Continue' }).click();
|
||||||
await page.getByRole('button', { name: 'Complete' }).click();
|
await page.getByRole('button', { name: 'Complete' }).click();
|
||||||
|
|||||||
@@ -184,8 +184,8 @@ test('[TEMPLATES]: use template', async ({ page }) => {
|
|||||||
await page.getByRole('button', { name: 'Use Template' }).click();
|
await page.getByRole('button', { name: 'Use Template' }).click();
|
||||||
|
|
||||||
// Enter template values.
|
// Enter template values.
|
||||||
await page.getByPlaceholder('recipient.1@documenso.com').click();
|
await page.getByPlaceholder('recipient.1@sign.bls.media').click();
|
||||||
await page.getByPlaceholder('recipient.1@documenso.com').fill(teamMemberUser.email);
|
await page.getByPlaceholder('recipient.1@sign.bls.media').fill(teamMemberUser.email);
|
||||||
await page.getByPlaceholder('Recipient 1').click();
|
await page.getByPlaceholder('Recipient 1').click();
|
||||||
await page.getByPlaceholder('Recipient 1').fill('name');
|
await page.getByPlaceholder('Recipient 1').fill('name');
|
||||||
|
|
||||||
@@ -202,8 +202,8 @@ test('[TEMPLATES]: use template', async ({ page }) => {
|
|||||||
await page.getByRole('button', { name: 'Use Template' }).click();
|
await page.getByRole('button', { name: 'Use Template' }).click();
|
||||||
|
|
||||||
// Enter template values.
|
// Enter template values.
|
||||||
await page.getByPlaceholder('recipient.1@documenso.com').click();
|
await page.getByPlaceholder('recipient.1@sign.bls.media').click();
|
||||||
await page.getByPlaceholder('recipient.1@documenso.com').fill(teamMemberUser.email);
|
await page.getByPlaceholder('recipient.1@sign.bls.media').fill(teamMemberUser.email);
|
||||||
await page.getByPlaceholder('Recipient 1').click();
|
await page.getByPlaceholder('Recipient 1').click();
|
||||||
await page.getByPlaceholder('Recipient 1').fill('name');
|
await page.getByPlaceholder('Recipient 1').fill('name');
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Documenso",
|
"name": "BLS sign",
|
||||||
"short_name": "Documenso",
|
"short_name": "BLS sign",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/android-chrome-192x192.png",
|
"src": "/android-chrome-192x192.png",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export const TemplateDocumentImage = ({ assetBaseUrl, className }: TemplateDocum
|
|||||||
<Column />
|
<Column />
|
||||||
|
|
||||||
<Column>
|
<Column>
|
||||||
<Img className="h-42 mx-auto" src={getAssetUrl('/static/document.png')} alt="Documenso" />
|
<Img className="h-42 mx-auto" src={getAssetUrl('/static/document.png')} alt="BLS sign" />
|
||||||
</Column>
|
</Column>
|
||||||
|
|
||||||
<Column />
|
<Column />
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => {
|
|||||||
<Text className="my-4 text-base text-slate-400">
|
<Text className="my-4 text-base text-slate-400">
|
||||||
<Trans>
|
<Trans>
|
||||||
This document was sent using{' '}
|
This document was sent using{' '}
|
||||||
<Link className="text-[#7AC455]" href="https://documen.so/mail-footer">
|
<Link className="text-[#7AC455]" href="https://bls.media/sign/">
|
||||||
Documenso.
|
BLS sign.
|
||||||
</Link>
|
</Link>
|
||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
@@ -36,9 +36,7 @@ export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => {
|
|||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : (
|
||||||
<Text className="my-8 text-sm text-slate-400">
|
<Text className="my-8 text-sm text-slate-400">
|
||||||
Documenso, Inc.
|
Made by BLS media
|
||||||
<br />
|
|
||||||
2261 Market Street, #5211, San Francisco, CA 94114, USA
|
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const ConfirmEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export type DocumentCancelEmailTemplateProps = Partial<TemplateDocumentCancelPro
|
|||||||
|
|
||||||
export const DocumentCancelTemplate = ({
|
export const DocumentCancelTemplate = ({
|
||||||
inviterName = 'Lucas Smith',
|
inviterName = 'Lucas Smith',
|
||||||
inviterEmail = 'lucas@documenso.com',
|
inviterEmail = 'lucas@sign.bls.media',
|
||||||
documentName = 'Open Source Pledge.pdf',
|
documentName = 'Open Source Pledge.pdf',
|
||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
cancellationReason,
|
cancellationReason,
|
||||||
@@ -39,7 +39,7 @@ export const DocumentCancelTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export const DocumentCompletedEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export const DocumentCreatedFromDirectTemplateEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export type DocumentInviteEmailTemplateProps = Partial<TemplateDocumentInvitePro
|
|||||||
|
|
||||||
export const DocumentInviteEmailTemplate = ({
|
export const DocumentInviteEmailTemplate = ({
|
||||||
inviterName = 'Lucas Smith',
|
inviterName = 'Lucas Smith',
|
||||||
inviterEmail = 'lucas@documenso.com',
|
inviterEmail = 'lucas@sign.bls.media',
|
||||||
documentName = 'Open Source Pledge.pdf',
|
documentName = 'Open Source Pledge.pdf',
|
||||||
signDocumentLink = 'https://documenso.com',
|
signDocumentLink = 'https://documenso.com',
|
||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
@@ -69,7 +69,7 @@ export const DocumentInviteEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export const DocumentPendingEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export interface DocumentRecipientSignedEmailTemplateProps {
|
|||||||
export const DocumentRecipientSignedEmailTemplate = ({
|
export const DocumentRecipientSignedEmailTemplate = ({
|
||||||
documentName = 'Open Source Pledge.pdf',
|
documentName = 'Open Source Pledge.pdf',
|
||||||
recipientName = 'John Doe',
|
recipientName = 'John Doe',
|
||||||
recipientEmail = 'lucas@documenso.com',
|
recipientEmail = 'lucas@sign.bls.media',
|
||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
}: DocumentRecipientSignedEmailTemplateProps) => {
|
}: DocumentRecipientSignedEmailTemplateProps) => {
|
||||||
const { _ } = useLingui();
|
const { _ } = useLingui();
|
||||||
@@ -44,7 +44,7 @@ export const DocumentRecipientSignedEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export function DocumentRejectedEmail({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export function DocumentRejectionConfirmedEmail({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export const DocumentSelfSignedEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export const DocumentSuperDeleteEmailTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ export const ForgotPasswordTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export const RecipientRemovedFromDocumentTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export type ResetPasswordTemplateProps = Partial<TemplateResetPasswordProps>;
|
|||||||
|
|
||||||
export const ResetPasswordTemplate = ({
|
export const ResetPasswordTemplate = ({
|
||||||
userName = 'Lucas Smith',
|
userName = 'Lucas Smith',
|
||||||
userEmail = 'lucas@documenso.com',
|
userEmail = 'lucas@sign.bls.media',
|
||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
}: ResetPasswordTemplateProps) => {
|
}: ResetPasswordTemplateProps) => {
|
||||||
const { _ } = useLingui();
|
const { _ } = useLingui();
|
||||||
@@ -38,7 +38,7 @@ export const ResetPasswordTemplate = ({
|
|||||||
) : (
|
) : (
|
||||||
<Img
|
<Img
|
||||||
src={getAssetUrl('/static/logo.png')}
|
src={getAssetUrl('/static/logo.png')}
|
||||||
alt="Documenso Logo"
|
alt="BLS sign Logo"
|
||||||
className="mb-4 h-6"
|
className="mb-4 h-6"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
@@ -72,7 +72,7 @@ export const ResetPasswordTemplate = ({
|
|||||||
<Trans>
|
<Trans>
|
||||||
Didn't request a password change? We are here to help you secure your account,
|
Didn't request a password change? We are here to help you secure your account,
|
||||||
just{' '}
|
just{' '}
|
||||||
<Link className="text-documenso-700 font-normal" href="mailto:hi@documenso.com">
|
<Link className="text-documenso-700 font-normal" href="mailto:hi@sign.bls.media">
|
||||||
contact us.
|
contact us.
|
||||||
</Link>
|
</Link>
|
||||||
</Trans>
|
</Trans>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ export type TeamEmailRemovedTemplateProps = {
|
|||||||
export const TeamEmailRemovedTemplate = ({
|
export const TeamEmailRemovedTemplate = ({
|
||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
baseUrl = 'https://documenso.com',
|
baseUrl = 'https://documenso.com',
|
||||||
teamEmail = 'example@documenso.com',
|
teamEmail = 'example@sign.bls.media',
|
||||||
teamName = 'Team Name',
|
teamName = 'Team Name',
|
||||||
teamUrl = 'demo',
|
teamUrl = 'demo',
|
||||||
}: TeamEmailRemovedTemplateProps) => {
|
}: TeamEmailRemovedTemplateProps) => {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export const TeamJoinEmailTemplate = ({
|
|||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
baseUrl = 'https://documenso.com',
|
baseUrl = 'https://documenso.com',
|
||||||
memberName = 'John Doe',
|
memberName = 'John Doe',
|
||||||
memberEmail = 'johndoe@documenso.com',
|
memberEmail = 'johndoe@sign.bls.media',
|
||||||
teamName = 'Team Name',
|
teamName = 'Team Name',
|
||||||
teamUrl = 'demo',
|
teamUrl = 'demo',
|
||||||
}: TeamJoinEmailProps) => {
|
}: TeamJoinEmailProps) => {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export const TeamLeaveEmailTemplate = ({
|
|||||||
assetBaseUrl = 'http://localhost:3002',
|
assetBaseUrl = 'http://localhost:3002',
|
||||||
baseUrl = 'https://documenso.com',
|
baseUrl = 'https://documenso.com',
|
||||||
memberName = 'John Doe',
|
memberName = 'John Doe',
|
||||||
memberEmail = 'johndoe@documenso.com',
|
memberEmail = 'johndoe@sign.bls.media',
|
||||||
teamName = 'Team Name',
|
teamName = 'Team Name',
|
||||||
teamUrl = 'demo',
|
teamUrl = 'demo',
|
||||||
}: TeamLeaveEmailProps) => {
|
}: TeamLeaveEmailProps) => {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
// Put into a separate file due to Playwright not compiling due to the macro in the templates.ts file.
|
// Put into a separate file due to Playwright not compiling due to the macro in the templates.ts file.
|
||||||
export const DIRECT_TEMPLATE_RECIPIENT_EMAIL = 'direct.link@documenso.com';
|
export const DIRECT_TEMPLATE_RECIPIENT_EMAIL = 'direct.link@sign.bls.media';
|
||||||
export const DIRECT_TEMPLATE_RECIPIENT_NAME = 'Direct link recipient';
|
export const DIRECT_TEMPLATE_RECIPIENT_NAME = 'Direct link recipient';
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import { env } from '../utils/env';
|
import { env } from '../utils/env';
|
||||||
|
|
||||||
export const FROM_ADDRESS = env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com';
|
export const FROM_ADDRESS = env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media';
|
||||||
export const FROM_NAME = env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso';
|
export const FROM_NAME = env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso';
|
||||||
|
|
||||||
export const SERVICE_USER_EMAIL = 'serviceaccount@documenso.com';
|
export const SERVICE_USER_EMAIL = 'serviceaccount@sign.bls.media';
|
||||||
|
|
||||||
export const EMAIL_VERIFICATION_STATE = {
|
export const EMAIL_VERIFICATION_STATE = {
|
||||||
NOT_FOUND: 'NOT_FOUND',
|
NOT_FOUND: 'NOT_FOUND',
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export const sendConfirmationEmail = async ({ userId }: SendConfirmationEmailPro
|
|||||||
const assetBaseUrl = NEXT_PUBLIC_WEBAPP_URL() || 'http://localhost:3000';
|
const assetBaseUrl = NEXT_PUBLIC_WEBAPP_URL() || 'http://localhost:3000';
|
||||||
const confirmationLink = `${assetBaseUrl}/verify-email/${verificationToken.token}`;
|
const confirmationLink = `${assetBaseUrl}/verify-email/${verificationToken.token}`;
|
||||||
const senderName = NEXT_PRIVATE_SMTP_FROM_NAME || 'Documenso';
|
const senderName = NEXT_PRIVATE_SMTP_FROM_NAME || 'Documenso';
|
||||||
const senderAddress = NEXT_PRIVATE_SMTP_FROM_ADDRESS || 'noreply@documenso.com';
|
const senderAddress = NEXT_PRIVATE_SMTP_FROM_ADDRESS || 'noreply@sign.bls.media';
|
||||||
|
|
||||||
const confirmationTemplate = createElement(ConfirmEmailTemplate, {
|
const confirmationTemplate = createElement(ConfirmEmailTemplate, {
|
||||||
assetBaseUrl,
|
assetBaseUrl,
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export const sendForgotPassword = async ({ userId }: SendForgotPasswordOptions)
|
|||||||
},
|
},
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject: i18n._(msg`Forgot Password?`),
|
subject: i18n._(msg`Forgot Password?`),
|
||||||
html,
|
html,
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ export const sendResetPassword = async ({ userId }: SendResetPasswordOptions) =>
|
|||||||
},
|
},
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject: 'Password Reset Success!',
|
subject: 'Password Reset Success!',
|
||||||
html,
|
html,
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ export const sendCompletedEmail = async ({ documentId, requestMetadata }: SendDo
|
|||||||
],
|
],
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject: i18n._(msg`Signing Complete!`),
|
subject: i18n._(msg`Signing Complete!`),
|
||||||
html,
|
html,
|
||||||
@@ -192,7 +192,7 @@ export const sendCompletedEmail = async ({ documentId, requestMetadata }: SendDo
|
|||||||
],
|
],
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject:
|
subject:
|
||||||
isDirectTemplate && document.documentMeta?.subject
|
isDirectTemplate && document.documentMeta?.subject
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export const sendDeleteEmail = async ({ documentId, reason }: SendDeleteEmailOpt
|
|||||||
},
|
},
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject: i18n._(msg`Document Deleted!`),
|
subject: i18n._(msg`Document Deleted!`),
|
||||||
html,
|
html,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ export const sendPendingEmail = async ({ documentId, recipientId }: SendPendingE
|
|||||||
},
|
},
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject: i18n._(msg`Waiting for others to complete signing.`),
|
subject: i18n._(msg`Waiting for others to complete signing.`),
|
||||||
html,
|
html,
|
||||||
|
|||||||
@@ -604,8 +604,8 @@ export const createDocumentFromDirectTemplate = async ({
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
from: {
|
from: {
|
||||||
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'Documenso',
|
name: env('NEXT_PRIVATE_SMTP_FROM_NAME') || 'BLS sign',
|
||||||
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@documenso.com',
|
address: env('NEXT_PRIVATE_SMTP_FROM_ADDRESS') || 'noreply@sign.bls.media',
|
||||||
},
|
},
|
||||||
subject: i18n._(msg`Document created from direct template`),
|
subject: i18n._(msg`Document created from direct template`),
|
||||||
html,
|
html,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { prisma } from '@documenso/prisma';
|
|||||||
export const deletedAccountServiceAccount = async () => {
|
export const deletedAccountServiceAccount = async () => {
|
||||||
const serviceAccount = await prisma.user.findFirst({
|
const serviceAccount = await prisma.user.findFirst({
|
||||||
where: {
|
where: {
|
||||||
email: 'deleted-account@documenso.com',
|
email: 'deleted-account@sign.bls.media',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export const formatDirectTemplatePath = (token: string) => {
|
|||||||
export const generateRecipientPlaceholder = (index: number) => {
|
export const generateRecipientPlaceholder = (index: number) => {
|
||||||
return {
|
return {
|
||||||
name: `Recipient ${index}`,
|
name: `Recipient ${index}`,
|
||||||
email: `recipient.${index}@documenso.com`,
|
email: `recipient.${index}@sign.bls.media`,
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
INSERT INTO "User" ("email", "name") VALUES (
|
INSERT INTO "User" ("email", "name") VALUES (
|
||||||
'serviceaccount@documenso.com',
|
'serviceaccount@sign.bls.media',
|
||||||
'Service Account'
|
'Service Account'
|
||||||
) ON CONFLICT DO NOTHING;
|
) ON CONFLICT DO NOTHING;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
-- Create deleted@documenso.com
|
-- Create deleted@sign.bls.media
|
||||||
DO $$
|
DO $$
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS (SELECT 1 FROM "public"."User" WHERE "email" = 'deleted-account@documenso.com') THEN
|
IF NOT EXISTS (SELECT 1 FROM "public"."User" WHERE "email" = 'deleted-account@sign.bls.media') THEN
|
||||||
INSERT INTO
|
INSERT INTO
|
||||||
"public"."User" (
|
"public"."User" (
|
||||||
"email",
|
"email",
|
||||||
@@ -16,7 +16,7 @@ BEGIN
|
|||||||
)
|
)
|
||||||
VALUES
|
VALUES
|
||||||
(
|
(
|
||||||
'deleted-account@documenso.com',
|
'deleted-account@sign.bls.media',
|
||||||
NOW(),
|
NOW(),
|
||||||
NULL,
|
NULL,
|
||||||
NOW(),
|
NOW(),
|
||||||
|
|||||||
@@ -25,11 +25,11 @@ export const seedDatabase = async () => {
|
|||||||
|
|
||||||
const exampleUser = await prisma.user.upsert({
|
const exampleUser = await prisma.user.upsert({
|
||||||
where: {
|
where: {
|
||||||
email: 'example@documenso.com',
|
email: 'example@sign.bls.media',
|
||||||
},
|
},
|
||||||
create: {
|
create: {
|
||||||
name: 'Example User',
|
name: 'Example User',
|
||||||
email: 'example@documenso.com',
|
email: 'example@sign.bls.media',
|
||||||
emailVerified: new Date(),
|
emailVerified: new Date(),
|
||||||
password: hashSync('password'),
|
password: hashSync('password'),
|
||||||
roles: [Role.USER],
|
roles: [Role.USER],
|
||||||
@@ -39,11 +39,11 @@ export const seedDatabase = async () => {
|
|||||||
|
|
||||||
const adminUser = await prisma.user.upsert({
|
const adminUser = await prisma.user.upsert({
|
||||||
where: {
|
where: {
|
||||||
email: 'admin@documenso.com',
|
email: 'admin@sign.bls.media',
|
||||||
},
|
},
|
||||||
create: {
|
create: {
|
||||||
name: 'Admin User',
|
name: 'Admin User',
|
||||||
email: 'admin@documenso.com',
|
email: 'admin@sign.bls.media',
|
||||||
emailVerified: new Date(),
|
emailVerified: new Date(),
|
||||||
password: hashSync('password'),
|
password: hashSync('password'),
|
||||||
roles: [Role.USER, Role.ADMIN],
|
roles: [Role.USER, Role.ADMIN],
|
||||||
@@ -126,10 +126,10 @@ export const seedDatabase = async () => {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
const testUsers = [
|
const testUsers = [
|
||||||
'test@documenso.com',
|
'test@sign.bls.media',
|
||||||
'test2@documenso.com',
|
'test2@sign.bls.media',
|
||||||
'test3@documenso.com',
|
'test3@sign.bls.media',
|
||||||
'test4@documenso.com',
|
'test4@sign.bls.media',
|
||||||
];
|
];
|
||||||
|
|
||||||
const createdUsers = [];
|
const createdUsers = [];
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ export const seedTemplate = async (options: SeedTemplateOptions) => {
|
|||||||
},
|
},
|
||||||
recipients: {
|
recipients: {
|
||||||
create: {
|
create: {
|
||||||
email: 'recipient.1@documenso.com',
|
email: 'recipient.1@sign.bls.media',
|
||||||
name: 'Recipient 1',
|
name: 'Recipient 1',
|
||||||
token: Math.random().toString().slice(2, 7),
|
token: Math.random().toString().slice(2, 7),
|
||||||
sendStatus: SendStatus.NOT_SENT,
|
sendStatus: SendStatus.NOT_SENT,
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export const addSigningPlaceholder = async ({ pdf }: AddSigningPlaceholderOption
|
|||||||
SubFilter: 'adbe.pkcs7.detached',
|
SubFilter: 'adbe.pkcs7.detached',
|
||||||
ByteRange: byteRange,
|
ByteRange: byteRange,
|
||||||
Contents: PDFHexString.fromText(' '.repeat(8192)),
|
Contents: PDFHexString.fromText(' '.repeat(8192)),
|
||||||
Reason: PDFString.of('Signed by Documenso'),
|
Reason: PDFString.of('Signed by BLS sign'),
|
||||||
M: PDFString.fromDate(new Date()),
|
M: PDFString.fromDate(new Date()),
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ describe('updateSigningPlaceholder', () => {
|
|||||||
/SubFilter /adbe.pkcs7.detached
|
/SubFilter /adbe.pkcs7.detached
|
||||||
/ByteRange [ 0 /********** /********** /********** ]
|
/ByteRange [ 0 /********** /********** /********** ]
|
||||||
/Contents <0000000000000000000000000000000000000000000000000000000>
|
/Contents <0000000000000000000000000000000000000000000000000000000>
|
||||||
/Reason (Signed by Documenso)
|
/Reason (Signed by BLS sign)
|
||||||
/M (D:20210101000000Z)
|
/M (D:20210101000000Z)
|
||||||
>>
|
>>
|
||||||
endobj
|
endobj
|
||||||
@@ -48,7 +48,7 @@ describe('updateSigningPlaceholder', () => {
|
|||||||
/SubFilter /adbe.pkcs7.detached
|
/SubFilter /adbe.pkcs7.detached
|
||||||
/ByteRange [ 0 /********** /********** /********** ]
|
/ByteRange [ 0 /********** /********** /********** ]
|
||||||
/Contents <0000000000000000000000000000000000000000000000000000000>
|
/Contents <0000000000000000000000000000000000000000000000000000000>
|
||||||
/Reason (Signed by Documenso)
|
/Reason (Signed by BLS sign)
|
||||||
/M (D:20210101000000Z)
|
/M (D:20210101000000Z)
|
||||||
>>
|
>>
|
||||||
endobj
|
endobj
|
||||||
@@ -59,7 +59,7 @@ describe('updateSigningPlaceholder', () => {
|
|||||||
/SubFilter /adbe.pkcs7.detached
|
/SubFilter /adbe.pkcs7.detached
|
||||||
/ByteRange [ 0 /********** /********** /********** ]
|
/ByteRange [ 0 /********** /********** /********** ]
|
||||||
/Contents <0000000000000000000000000000000000000000000000000000000>
|
/Contents <0000000000000000000000000000000000000000000000000000000>
|
||||||
/Reason (Signed by Documenso)
|
/Reason (Signed by BLS sign)
|
||||||
/M (D:20210101000000Z)
|
/M (D:20210101000000Z)
|
||||||
>>
|
>>
|
||||||
endobj
|
endobj
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { appRouter } from './router';
|
|||||||
|
|
||||||
export const openApiDocument = {
|
export const openApiDocument = {
|
||||||
...generateOpenApiDocument(appRouter, {
|
...generateOpenApiDocument(appRouter, {
|
||||||
title: 'Documenso v2 beta API',
|
title: 'BLS sign v2 beta API',
|
||||||
description: 'Subject to breaking changes until v2 is fully released.',
|
description: 'Subject to breaking changes until v2 is fully released.',
|
||||||
version: '0.0.0',
|
version: '0.0.0',
|
||||||
baseUrl: `${NEXT_PUBLIC_WEBAPP_URL()}/api/v2-beta`,
|
baseUrl: `${NEXT_PUBLIC_WEBAPP_URL()}/api/v2-beta`,
|
||||||
|
|||||||
Reference in New Issue
Block a user