mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Patches for email and branding removal
This commit is contained in:
parent
6a2e19bf08
commit
982dc654b4
2 changed files with 26 additions and 0 deletions
14
sources/patches/app-01-branding.patch
Normal file
14
sources/patches/app-01-branding.patch
Normal file
|
@ -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<Props> {
|
||||||
|
</Flex>
|
||||||
|
</React.Suspense>
|
||||||
|
</MaxWidth>
|
||||||
|
- {isShare && !isCustomDomain() && (
|
||||||
|
- <Branding href="//www.getoutline.com?ref=sharelink" />
|
||||||
|
- )}
|
||||||
|
</Container>
|
||||||
|
</Background>
|
||||||
|
{!isShare && (
|
12
sources/patches/app-02-email.patch
Normal file
12
sources/patches/app-02-email.patch
Normal file
|
@ -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) {
|
Loading…
Add table
Reference in a new issue