From 4d996fddacd460b29eb84f854d2abb2d992e059e Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Tue, 23 May 2023 20:31:32 +0700 Subject: [PATCH] reason -> disablingReason and some fixes --- Web/Presenters/templates/About/Version.xml | 4 ++-- Web/Presenters/templates/Auth/Register.xml | 4 ++-- openvk-example.yml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Web/Presenters/templates/About/Version.xml b/Web/Presenters/templates/About/Version.xml index 36fbbb64..4d89a93d 100644 --- a/Web/Presenters/templates/About/Version.xml +++ b/Web/Presenters/templates/About/Version.xml @@ -458,7 +458,7 @@ Initial hosting - Ilya Prokopenko (dsrev) and Celestora + Lumaeris and Celestora Initial bug-tracker hosting @@ -492,7 +492,7 @@ kovaltim, Vladimir Lapskiy (0x7d5), Alexander Minkin (WerySkok), Polina Katunina (RousPhaul), veth, Egor Shevchenko, Vadim Korovin (yuni), Ash Defenders, - Pavel Silaev, Dmitriy Daemon, Ilya Prokopenko (dsrev), + Pavel Silaev, Dmitriy Daemon, Lumaeris, cmed404 and unknown tester, who disappeared shortly after trying to upload post with cat. diff --git a/Web/Presenters/templates/Auth/Register.xml b/Web/Presenters/templates/Auth/Register.xml index ac2743dc..a279e930 100644 --- a/Web/Presenters/templates/Auth/Register.xml +++ b/Web/Presenters/templates/Auth/Register.xml @@ -129,12 +129,12 @@ {_registration_disabled_info} - {if OPENVK_ROOT_CONF['openvk']['preferences']['registration']['reason']} + {if OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']}

{_admin_banned_link_reason}:
- {php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['reason']} + {php echo OPENVK_ROOT_CONF['openvk']['preferences']['registration']['disablingReason']} {/if} diff --git a/openvk-example.yml b/openvk-example.yml index 4b6ab4aa..c0428283 100644 --- a/openvk-example.yml +++ b/openvk-example.yml @@ -37,9 +37,9 @@ openvk: autoban: true registration: enable: true - reason: "" # reason for disabling registration + disablingReason: "" support: - supportName: "Moderator" + supportName: "Agent" adminAccount: 1 # Change this ok fastAnswers: - "This is a list of quick answers to common questions for support. Post your responses here and agents can send it quickly with just 3 clicks" @@ -125,9 +125,9 @@ openvk: token: "TOKEN_HERE" helpdeskChat: "" eventDB: - enable: false # Better enable this + enable: true database: - dsn: "mysql:unix_socket=/tmp/mysql.sock;dbname=openvk-eventdb" + dsn: "mysql:unix_host=localhost;dbname=openvk-eventdb" # or unix_socket=/tmp/mysql.sock user: "root" password: "DATABASE_PASSWORD" notificationsBroker: