From 5aa5815649a29d256658dedc0666fc4c73f450d1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 29 Dec 2021 10:40:06 +0200 Subject: [PATCH] fdssdf --- docker-compose.yml | 1 + env | 3 ++- files/__main__.py | 1 + files/templates/authforms.html | 2 +- files/templates/default.html | 2 +- files/templates/email/default.html | 2 +- files/templates/login.html | 2 +- files/templates/login_2fa.html | 2 +- files/templates/settings.html | 2 +- files/templates/settings2.html | 2 +- files/templates/sign_up.html | 2 +- files/templates/sign_up_failed_ref.html | 2 +- files/templates/submit.html | 2 +- 13 files changed, 14 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0f2bcd9bf9..6f61ea3008 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,6 +42,7 @@ services: - DUES=0 - MAIL_USERNAME=blahblahblah@gmail.com - MAIL_PASSWORD=3435tdfsdudebussylmaoxxt43 + - DESCRIPTION=rdrama.net caters to drama in all forms such as Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all! links: - "redis" - "postgres" diff --git a/env b/env index 300dfd28aa..9905cc15dd 100644 --- a/env +++ b/env @@ -30,4 +30,5 @@ export DUES="0" export DEFAULT_THEME="midnight" export DEFAULT_COLOR="ff66ac" # YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58 export MAIL_USERNAME="blahblahblah@gmail.com" -export MAIL_PASSWORD="3435tdfsdudebussylmaoxxt43" \ No newline at end of file +export MAIL_PASSWORD="3435tdfsdudebussylmaoxxt43" +export DESCRIPTION="rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!" \ No newline at end of file diff --git a/files/__main__.py b/files/__main__.py index aa5ba92d77..65410d8c49 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -65,6 +65,7 @@ app.config['MAIL_PORT'] = 587 app.config['MAIL_USE_TLS'] = True app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME", "").strip() app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD", "").strip() +app.config['DESCRIPTION'] = environ.get("DESCRIPTION", "rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!").strip() r=redis.Redis(host=environ.get("REDIS_URL", "redis://localhost"), decode_responses=True, ssl_cert_reqs=None) diff --git a/files/templates/authforms.html b/files/templates/authforms.html index 678b1e04ad..0824e53bad 100644 --- a/files/templates/authforms.html +++ b/files/templates/authforms.html @@ -2,7 +2,7 @@ - + diff --git a/files/templates/default.html b/files/templates/default.html index 6fe815c276..d2c879e2e8 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -1,7 +1,7 @@ - + diff --git a/files/templates/email/default.html b/files/templates/email/default.html index a8c5257e91..c16660b4b6 100644 --- a/files/templates/email/default.html +++ b/files/templates/email/default.html @@ -2,7 +2,7 @@ - + diff --git a/files/templates/login.html b/files/templates/login.html index 5ff84eae18..de325994c5 100644 --- a/files/templates/login.html +++ b/files/templates/login.html @@ -3,7 +3,7 @@ - + diff --git a/files/templates/login_2fa.html b/files/templates/login_2fa.html index 71fcaf265a..bb1e03a795 100644 --- a/files/templates/login_2fa.html +++ b/files/templates/login_2fa.html @@ -3,7 +3,7 @@ - + diff --git a/files/templates/settings.html b/files/templates/settings.html index 031058a1dc..978376fca2 100644 --- a/files/templates/settings.html +++ b/files/templates/settings.html @@ -2,7 +2,7 @@ - + diff --git a/files/templates/settings2.html b/files/templates/settings2.html index 8aadd354ef..c29a3cecb7 100644 --- a/files/templates/settings2.html +++ b/files/templates/settings2.html @@ -3,7 +3,7 @@ - + diff --git a/files/templates/sign_up.html b/files/templates/sign_up.html index 33b396b16c..773b893849 100644 --- a/files/templates/sign_up.html +++ b/files/templates/sign_up.html @@ -2,7 +2,7 @@ - + diff --git a/files/templates/sign_up_failed_ref.html b/files/templates/sign_up_failed_ref.html index 6500c8fbd5..e2eab0ea66 100644 --- a/files/templates/sign_up_failed_ref.html +++ b/files/templates/sign_up_failed_ref.html @@ -3,7 +3,7 @@ - + diff --git a/files/templates/submit.html b/files/templates/submit.html index 6731f0fa50..b6c23e6fb9 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -1,7 +1,7 @@ - +