From 6dfa8984079dce49cab95b15b77b5543a8b4671d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 16:27:32 +0200 Subject: [PATCH 002/145] fd --- files/templates/header.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/files/templates/header.html b/files/templates/header.html index 02b48cde3..2913079e6 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -1,9 +1,11 @@ \ No newline at end of file From f97800857987e7aeb19ddc4ab9e135ca5609499a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 16:33:25 +0200 Subject: [PATCH 004/145] fd --- files/templates/default.html | 2 +- files/templates/header.html | 376 ++++++++++++++++++----------------- 2 files changed, 193 insertions(+), 185 deletions(-) diff --git a/files/templates/default.html b/files/templates/default.html index 7806aa247..9f80d83d2 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -1064,7 +1064,7 @@ - + diff --git a/files/templates/header.html b/files/templates/header.html index 586a37a4b..1bc60e074 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -1,196 +1,204 @@ - \ No newline at end of file From bdac6afa06cc5a13cc446b024aa6075384306852 Mon Sep 17 00:00:00 2001 From: Aevann1 <59999695+Aevann1@users.noreply.github.com> Date: Sun, 5 Sep 2021 16:40:41 +0200 Subject: [PATCH 005/145] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 209940624..5aa084ff7 100644 --- a/readme.md +++ b/readme.md @@ -24,7 +24,7 @@ docker-compose up 4- That's it! Visit `localhost` in your browser. -5- Optional: to configure the site settings and successsfully integrate it with the external services we use (hcaptcha, cloudflare, discord, giphy, mailgun, pusher, imgur, and youtube), please edit the variables in the docker-compose.yml file. +5- Optional: to change the domain from "localhost" to something else, configure the site settings and integrate it with the external services we use, please edit the variables in the docker-compose.yml file. --- From d3ba73274877c42002cd39388567becbc9ab2942 Mon Sep 17 00:00:00 2001 From: Aevann1 <59999695+Aevann1@users.noreply.github.com> Date: Sun, 5 Sep 2021 16:41:33 +0200 Subject: [PATCH 006/145] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5aa084ff7..c39b9bef3 100644 --- a/readme.md +++ b/readme.md @@ -51,7 +51,7 @@ source setup 4- That's it. Visit `localhost` in your browser. -5- Optional: to configure the site settings and successsfully integrate it with the external services we use, please run this command and edit the variables: +5- Optional: to change the domain from "localhost" to something else, configure the site settings and integrate it with the external services we use, please run this command and edit the variables: ``` nano /drama/docker-compose.yml From 6134324e4c404cd86650d0eea215b00fffae2fa9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 16:59:49 +0200 Subject: [PATCH 007/145] fd --- files/routes/posts.py | 2 +- files/templates/default.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index c6da808d2..56119245e 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -934,7 +934,7 @@ def submit_post(v): n = Notification(comment_id=c_jannied.id, user_id=v.id) g.db.add(n) - if "rdrama" in request.host or (new_post.url and not "weebzone" in request.host): + if "rdrama" in request.host or (new_post.url and not "weebzone" in request.host and not "marsey.tech" in request.host): c = Comment(author_id=261, distinguish_level=6, parent_submission=new_post.id, diff --git a/files/templates/default.html b/files/templates/default.html index 9f80d83d2..3c938efbd 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -1066,7 +1066,7 @@ - +{% if "marsey.tech" not in request.host %}{% endif %} {% include "header.html" %} From 5581d358028fc1a77290daddba80cfd0ac722331 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 5 Sep 2021 17:12:22 +0200 Subject: [PATCH 008/145] fd --- files/templates/header.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/files/templates/header.html b/files/templates/header.html index 1bc60e074..bcc127821 100644 --- a/files/templates/header.html +++ b/files/templates/header.html @@ -3,7 +3,7 @@