From b0e3abffd68145f42768e275e1d013ce8150dd43 Mon Sep 17 00:00:00 2001
From: Mythie
Date: Mon, 6 Nov 2023 14:47:46 +1100
Subject: [PATCH] chore: restore dangling changes from rebase
---
.changeset/README.md | 8 -
.changeset/config.json | 9 --
.devcontainer/devcontainer.json | 16 +-
.env.gitpod | 29 ----
CONTRIBUTING.md | 8 -
README.md | 2 +-
apps/marketing/content/blog/next.mdx | 4 +-
apps/marketing/src/app/layout.tsx | 2 +
.../src/components/(marketing)/callout.tsx | 2 +-
.../src/components/(marketing)/header.tsx | 8 +-
.../src/components/(marketing)/hero.tsx | 2 +-
.../components/(marketing)/pricing-table.tsx | 4 +-
.../src/components/(marketing)/widget.tsx | 2 +-
apps/web/components/forgot-password.tsx | 115 --------------
apps/web/components/reset-password.tsx | 143 ------------------
apps/web/package.json | 4 +-
apps/web/pages/api/auth/forgot-password.ts | 63 --------
apps/web/pages/api/auth/reset-password.ts | 69 ---------
apps/web/pages/auth/reset/[token].tsx | 30 ----
apps/web/pages/auth/reset/index.tsx | 20 ---
apps/web/pages/forgot-password.tsx | 32 ----
.../src/app/(signing)/sign/[token]/page.tsx | 12 +-
apps/web/src/components/forms/signin.tsx | 1 +
.../web/src/helpers}/get-asset-buffer.ts | 0
docker/Dockerfile | 15 --
docker/compose-without-app.yml | 1 +
package-lock.json | 65 +-------
package.json | 5 +-
.../lib/mail/resetPasswordSuccessTemplate.ts | 51 -------
packages/lib/mail/resetPasswordTemplate.ts | 46 ------
packages/lib/mail/sendResetPassword.ts | 14 --
.../lib/mail/sendResetPasswordSuccessMail.ts | 11 --
.../server-only/document/send-document.tsx | 1 +
packages/trpc/server/router.ts | 1 +
packages/ui/icons/signature.tsx | 61 ++++----
packages/ui/package.json | 2 +-
turbo.json | 13 +-
37 files changed, 79 insertions(+), 792 deletions(-)
delete mode 100644 .changeset/README.md
delete mode 100644 .changeset/config.json
delete mode 100644 .env.gitpod
delete mode 100644 apps/web/components/forgot-password.tsx
delete mode 100644 apps/web/components/reset-password.tsx
delete mode 100644 apps/web/pages/api/auth/forgot-password.ts
delete mode 100644 apps/web/pages/api/auth/reset-password.ts
delete mode 100644 apps/web/pages/auth/reset/[token].tsx
delete mode 100644 apps/web/pages/auth/reset/index.tsx
delete mode 100644 apps/web/pages/forgot-password.tsx
rename {packages/lib/server-only/feature-flags => apps/web/src/helpers}/get-asset-buffer.ts (100%)
delete mode 100644 packages/lib/mail/resetPasswordSuccessTemplate.ts
delete mode 100644 packages/lib/mail/resetPasswordTemplate.ts
delete mode 100644 packages/lib/mail/sendResetPassword.ts
delete mode 100644 packages/lib/mail/sendResetPasswordSuccessMail.ts
diff --git a/.changeset/README.md b/.changeset/README.md
deleted file mode 100644
index e5b6d8d6a..000000000
--- a/.changeset/README.md
+++ /dev/null
@@ -1,8 +0,0 @@
-# Changesets
-
-Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
-with multi-package repos, or single-package repos to help you version and publish your code. You can
-find the full documentation for it [in our repository](https://github.com/changesets/changesets)
-
-We have a quick list of common questions to get you started engaging with this project in
-[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
diff --git a/.changeset/config.json b/.changeset/config.json
deleted file mode 100644
index 91c0df52e..000000000
--- a/.changeset/config.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
- "changelog": "@changesets/cli/changelog",
- "commit": false,
- "linked": [],
- "access": "public",
- "baseBranch": "main",
- "updateInternalDependencies": "patch"
-}
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index a2ba921f5..60b385403 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -14,18 +14,18 @@
"customizations": {
"vscode": {
"extensions": [
- "GitHub.vscode-pull-request-github",
- "GitHub.copilot-labs",
- "GitHub.copilot-chat",
- "GitHub.copilot",
"aaron-bond.better-comments",
- "mikestead.dotenv",
- "VisualStudioExptTeam.vscodeintellicode",
- "Prisma.prisma",
"bradlc.vscode-tailwindcss",
"dbaeumer.vscode-eslint",
+ "esbenp.prettier-vscode",
+ "mikestead.dotenv",
"unifiedjs.vscode-mdx",
- "esbenp.prettier-vscode"
+ "GitHub.copilot-chat",
+ "GitHub.copilot-labs",
+ "GitHub.copilot",
+ "GitHub.vscode-pull-request-github",
+ "Prisma.prisma",
+ "VisualStudioExptTeam.vscodeintellicode",
]
}
}
diff --git a/.env.gitpod b/.env.gitpod
deleted file mode 100644
index fcb274047..000000000
--- a/.env.gitpod
+++ /dev/null
@@ -1,29 +0,0 @@
-DATABASE_URL="postgres://documenso:password@127.0.0.1:54320/documenso"
-NEXT_PUBLIC_WEBAPP_URL=""
-
-# AUTH
-NEXTAUTH_SECRET='lorem ipsum sit dolor random string for encryption this could literally be anything'
-NEXTAUTH_URL=""
-
-# SIGNING
-CERT_FILE_PATH=""
-CERT_PASSPHRASE=""
-CERT_FILE_ENCODING=""
-
-# EMAIL
-SMTP_MAIL_HOST='127.0.0.1'
-SMTP_MAIL_PORT='2500'
-SMTP_MAIL_USER='documenso'
-SMTP_MAIL_PASSWORD='documenso'
-MAIL_FROM='documenso@gitpod.io'
-
-# STRIPE
-STRIPE_API_KEY=""
-STRIPE_WEBHOOK_SECRET=""
-NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_MONTHLY_PRICE_ID=""
-NEXT_PUBLIC_STRIPE_COMMUNITY_PLAN_YEARLY_PRICE_ID=""
-
-#FEATURE FLAGS
-# Allow users to register via the /signup page. Otherwise they will be redirect to the home page.
-NEXT_PUBLIC_ALLOW_SIGNUP=true
-NEXT_PUBLIC_ALLOW_SUBSCRIPTIONS=false
\ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 3b4be2fb4..fe2bb8304 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -52,11 +52,3 @@ You can build the project with:
```bash
npm run build
```
-
-### Making a Pull Request
-
-When making a pull request, be sure to add a changeset when something has changed with Documenso.
-
-```shell
-npm run changeset
-```
diff --git a/README.md b/README.md
index 409d4c8f1..82ab469eb 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
Issues
·
Roadmap
- ·
+ ·
Upcoming Launches
diff --git a/apps/marketing/content/blog/next.mdx b/apps/marketing/content/blog/next.mdx
index 4f846a0a7..6bc14e053 100644
--- a/apps/marketing/content/blog/next.mdx
+++ b/apps/marketing/content/blog/next.mdx
@@ -20,11 +20,11 @@ Today, I'm pleased to share with you a preview of the next Documenso.
We redesigned the whole signing flow to make it more appealing and more convenient.
-We improved the overall look and feel by making it more elegant and appropriately playful. Focused on the task at hand, but explicitly enjoying doing it.
+We improved the overall look and feel by making it more elegant and appropriately playful. Focused on the task at hand, but explicitly enjoying doing it.
**We call it happy minimalism.**
-We paid particular attention to the moment of signing, which should be celebrated.
+We paid particular attention to the moment of signing, which should be celebrated.
The image below is the final bloom of the completion celebration we added:
diff --git a/apps/marketing/src/app/layout.tsx b/apps/marketing/src/app/layout.tsx
index edc1136b5..05206a76f 100644
--- a/apps/marketing/src/app/layout.tsx
+++ b/apps/marketing/src/app/layout.tsx
@@ -69,6 +69,8 @@ export default async function RootLayout({ children }: { children: React.ReactNo
+
+