From faca7286b7878393f8f47d00e3683f0b8a8a323b Mon Sep 17 00:00:00 2001 From: realaravinth Date: Thu, 30 Jun 2022 14:33:56 +0530 Subject: [PATCH] feat: load Dashboard source code repository URL from settings --- dashboard/local_settings.ci.py | 1 + dashboard/local_settings.example.py | 1 + dashboard/settings.py | 1 + 3 files changed, 3 insertions(+) diff --git a/dashboard/local_settings.ci.py b/dashboard/local_settings.ci.py index d171af4..5b0dde8 100644 --- a/dashboard/local_settings.ci.py +++ b/dashboard/local_settings.ci.py @@ -54,6 +54,7 @@ PAYMENT_VARIANTS = { ### Dashbaord specific configuration options HOSTEA = { + "SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard", "INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org", "ACCOUNTS": { "MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds diff --git a/dashboard/local_settings.example.py b/dashboard/local_settings.example.py index a5f9720..5afc69f 100644 --- a/dashboard/local_settings.example.py +++ b/dashboard/local_settings.example.py @@ -53,6 +53,7 @@ PAYMENT_VARIANTS = { ### Dashbaord specific configuration options HOSTEA = { + "SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard", "INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org", "ACCOUNTS": { "MAX_VERIFICATION_TOLERANCE_PERIOD": 60 * 60 * 24, # in seconds diff --git a/dashboard/settings.py b/dashboard/settings.py index 55eb1bb..315d708 100644 --- a/dashboard/settings.py +++ b/dashboard/settings.py @@ -168,6 +168,7 @@ PAYMENT_VARIANTS = { ### Dashbaord specific configuration options HOSTEA = { + "SOURCE_CODE": "https://gitea.hostea.org/Hostea/dashboard", "RESTRICT_NEW_INTEGRATION_INSTALLATION": True, "INSTANCE_MAINTAINER_CONTACT": "contact@hostea.example.org", "ACCOUNTS": {