- Correctie reset password en confirm email adress by adapting the prefixed_url_for to use config setting
- Adaptation of DPA and T&Cs - Refer to privacy statement as DPA, not a privacy statement - Startup of enforcing signed DPA and T&Cs - Adaptation of eveai_chat_client to ensure we retrieve correct DPA & T&Cs
This commit is contained in:
@@ -310,15 +310,12 @@ class Config(object):
|
||||
# API Encryption ------------------------------------------------------------------------------
|
||||
API_ENCRYPTION_KEY = environ.get('API_ENCRYPTION_KEY')
|
||||
|
||||
# Email settings for API key notifications
|
||||
# Email settings for API key notifications ----------------------------------------------------
|
||||
PROMOTIONAL_IMAGE_URL = 'https://askeveai.com/wp-content/uploads/2024/07/Evie-Call-scaled.jpg' # Replace with your actual URL
|
||||
|
||||
# Langsmith settings
|
||||
LANGCHAIN_TRACING_V2 = True
|
||||
LANGCHAIN_ENDPOINT = 'https://api.smith.langchain.com'
|
||||
LANGCHAIN_PROJECT = "eveai"
|
||||
|
||||
# Type Definitions ----------------------------------------------------------------------------
|
||||
TENANT_TYPES = ['Active', 'Demo', 'Inactive', 'Test']
|
||||
CONSENT_TYPES = ["Data Privacy Agreement", "Terms & Conditions"]
|
||||
|
||||
# The maximum number of seconds allowed for audio compression (to save resources)
|
||||
MAX_COMPRESSION_DURATION = 60*10 # 10 minutes
|
||||
@@ -351,7 +348,7 @@ class Config(object):
|
||||
# Entitlement Constants
|
||||
ENTITLEMENTS_MAX_PENDING_DAYS = 5 # Defines the maximum number of days a pending entitlement can be active
|
||||
|
||||
# Content Directory for static content like the changelog, terms & conditions, privacy statement, ...
|
||||
# Content Directory for static content like the changelog, terms & conditions, dpa statement, ...
|
||||
CONTENT_DIR = '/app/content'
|
||||
|
||||
# Ensure health check endpoints are exempt from CSRF protection
|
||||
@@ -361,6 +358,12 @@ class Config(object):
|
||||
]
|
||||
SECURITY_LOGIN_WITHOUT_VIEWS = True # Dit voorkomt automatische redirects
|
||||
|
||||
# Define the nginx prefix used for the specific apps
|
||||
CHAT_CLIENT_PREFIX = 'chat-client/chat/'
|
||||
EVEAI_APP_PREFIX = 'admin/'
|
||||
# Whether to use dynamic fallback (X-Forwarded-Prefix/Referer) when EVEAI_APP_PREFIX is empty
|
||||
EVEAI_USE_DYNAMIC_PREFIX_FALLBACK = False
|
||||
|
||||
|
||||
class DevConfig(Config):
|
||||
DEVELOPMENT = True
|
||||
@@ -368,9 +371,6 @@ class DevConfig(Config):
|
||||
FLASK_DEBUG = True
|
||||
EXPLAIN_TEMPLATE_LOADING = False
|
||||
|
||||
# Define the nginx prefix used for the specific apps
|
||||
CHAT_CLIENT_PREFIX = 'chat-client/chat/'
|
||||
|
||||
# Define the static path
|
||||
STATIC_URL = None
|
||||
|
||||
@@ -394,9 +394,6 @@ class TestConfig(Config):
|
||||
FLASK_DEBUG = True
|
||||
EXPLAIN_TEMPLATE_LOADING = False
|
||||
|
||||
# Define the nginx prefix used for the specific apps
|
||||
CHAT_CLIENT_PREFIX = 'chat-client/chat/'
|
||||
|
||||
# Define the static path
|
||||
STATIC_URL = None
|
||||
|
||||
@@ -420,9 +417,6 @@ class StagingConfig(Config):
|
||||
FLASK_DEBUG = True
|
||||
EXPLAIN_TEMPLATE_LOADING = False
|
||||
|
||||
# Define the nginx prefix used for the specific apps
|
||||
CHAT_CLIENT_PREFIX = 'chat-client/chat/'
|
||||
|
||||
# Define the static path
|
||||
STATIC_URL = 'https://evie-staging-static.askeveai.com/'
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ fields:
|
||||
required: true
|
||||
meta:
|
||||
kind: "consent"
|
||||
consentRich: "Ik Agree with the <terms>Terms and Conditions</terms> and the <privacy>Privacy Statement</privacy> of Ask Eve AI"
|
||||
consentRich: "Ik Agree with the <terms>Terms and Conditions</terms> and the <dpa>Privacy Statement</dpa> of Ask Eve AI"
|
||||
ariaPrivacy: "Open privacyverklaring in a modal dialog"
|
||||
ariaTerms: "Open algemene voorwaarden in a modal dialog"
|
||||
metadata:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"dist/chat-client.js": "dist/chat-client.421bb8ee.js",
|
||||
"dist/chat-client.css": "dist/chat-client.23ac6be5.css",
|
||||
"dist/chat-client.js": "dist/chat-client.59b28883.js",
|
||||
"dist/chat-client.css": "dist/chat-client.79757200.css",
|
||||
"dist/main.js": "dist/main.f3dde0f6.js",
|
||||
"dist/main.css": "dist/main.c40e57ad.css"
|
||||
}
|
||||
Reference in New Issue
Block a user