The earlier swap to BOX_CAMPAIGNS_FOLDER_ID=133295752718 was wrong — Video Master operates on the automation campaigns folder (156182880490), where subfolders are named by campaign TITLE rather than the numeric job ID used in Reporting's root. Reverted the default in config.py and all three .env example files. Folder naming on Box is inconsistent — '1_CFUL263C01C_Kids drop1' vs '1_CFUL263C01F-Kids drop 2' vs 'Summer Activation 2026' all coexist. search_subfolder now strips every non-alphanumeric character from both the search input and the folder names before substring match, so: "kids drop 1" → matches "1_CFUL263C01C_Kids drop1" "Spring 2026" → matches "4023 Spring 2026" "winterfilm" → matches "1_WA20263C01 Winter Film" Form label/placeholder updated to "Campaign Title" with a hint that spaces/underscores/hyphens/case are all ignored.
29 lines
874 B
Text
29 lines
874 B
Text
# Azure AD authentication (shared with AI QC sibling project)
|
|
AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
|
|
AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
|
|
|
|
# Environment: development | production
|
|
# Controls cookie Secure flag and FLASK_ENV-derived behaviour.
|
|
ENVIRONMENT=development
|
|
|
|
# Box Configuration
|
|
BOX_CONFIG_PATH=config/box_config.json
|
|
BOX_REPORT_FOLDER_ID=133295752718
|
|
BOX_CAMPAIGNS_FOLDER_ID=156182880490
|
|
|
|
# Flask Configuration
|
|
FLASK_APP=app:app
|
|
FLASK_ENV=production
|
|
SECRET_KEY=your-secret-key-here
|
|
|
|
# Server Configuration
|
|
HOST=0.0.0.0
|
|
PORT=5000
|
|
|
|
# Database Configuration (use absolute path for Docker)
|
|
DATABASE_URI=sqlite:////app/database/qc_platform.db
|
|
|
|
# LLM Provider Configuration (NO HARDCODED KEYS - Set your keys here)
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
GOOGLE_API_KEY=your-google-api-key-here
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key-here
|