From 982dc654b4e6cac9d271d7fcee9869e6f1dd9491 Mon Sep 17 00:00:00 2001 From: Limezy Date: Sun, 20 Feb 2022 01:10:42 +0700 Subject: [PATCH] Patches for email and branding removal --- sources/patches/app-01-branding.patch | 14 ++++++++++++++ sources/patches/app-02-email.patch | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 sources/patches/app-01-branding.patch create mode 100644 sources/patches/app-02-email.patch diff --git a/sources/patches/app-01-branding.patch b/sources/patches/app-01-branding.patch new file mode 100644 index 0000000..39a2df0 --- /dev/null +++ b/sources/patches/app-01-branding.patch @@ -0,0 +1,14 @@ +diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx +index 690fb737..2573430b 100644 +--- a/app/scenes/Document/components/Document.tsx ++++ b/app/scenes/Document/components/Document.tsx +@@ -635,9 +635,6 @@ class DocumentScene extends React.Component { + + + +- {isShare && !isCustomDomain() && ( +- +- )} + + + {!isShare && ( \ No newline at end of file diff --git a/sources/patches/app-02-email.patch b/sources/patches/app-02-email.patch new file mode 100644 index 0000000..1c5d162 --- /dev/null +++ b/sources/patches/app-02-email.patch @@ -0,0 +1,12 @@ +diff --git a/server/mailer.tsx b/server/mailer.tsx +index 058e43f6..b7652b19 100644 +--- a/server/mailer.tsx ++++ b/server/mailer.tsx +@@ -85,6 +85,7 @@ export class Mailer { + ciphers: process.env.SMTP_TLS_CIPHERS, + } + : undefined, ++ ignoreTLS:true + }; + + if (process.env.SMTP_USERNAME) { \ No newline at end of file