fixed front end build errors

This commit is contained in:
michael 2025-10-10 10:26:57 -05:00
parent aefd559e68
commit f59f5cf93b
4 changed files with 261 additions and 1 deletions

97
.gitignore vendored
View file

@ -1 +1,98 @@
# =============================================================================
# Project-wide Git Ignore Rules
# =============================================================================
# Examples and documentation drafts
examples/
# =============================================================================
# Environment & Secrets (CRITICAL - DO NOT COMMIT)
# =============================================================================
.env
.env.local
.env.production
.env.*.local
secrets/
*.pem
*.key
*.json.secret
*credentials*.json
# =============================================================================
# Operating System Files
# =============================================================================
# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# Linux
*~
.directory
# =============================================================================
# IDE & Editor Files
# =============================================================================
# VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# JetBrains IDEs (PyCharm, WebStorm, IntelliJ)
.idea/
*.iml
*.ipr
*.iws
.idea_modules/
# Vim
*.swp
*.swo
*~
.*.sw?
# Emacs
*~
\#*\#
.\#*
# Sublime Text
*.sublime-project
*.sublime-workspace
# =============================================================================
# Docker
# =============================================================================
docker-compose.override.yml
*.log
# =============================================================================
# Backup Files
# =============================================================================
*.backup
*.bak
*.tmp
*.temp
.backup.*
# =============================================================================
# Documentation Artifacts
# =============================================================================
docs/*.pdf
*.pdf.tmp
# =============================================================================
# Project-specific
# =============================================================================
# Deployment backups (created by deployment scripts)
/var/www/html/video-accessibility.backup.*

162
backend/.gitignore vendored Normal file
View file

@ -0,0 +1,162 @@
# =============================================================================
# Python Backend Git Ignore Rules
# =============================================================================
# =============================================================================
# Python
# =============================================================================
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
test-results/
junit.xml
# Translations
*.mo
*.pot
# Django stuff (if applicable)
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff (if applicable)
instance/
.webassets-cache
# Scrapy stuff (if applicable)
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# =============================================================================
# Python Virtual Environments
# =============================================================================
venv/
ENV/
env/
.venv/
.ENV/
.env.venv/
poetry.lock.venv
# =============================================================================
# Poetry
# =============================================================================
poetry.toml
# =============================================================================
# Environment Variables & Secrets
# =============================================================================
.env
.env.local
.env.production
.env.*.local
*.env
# GCP Service Account Keys (CRITICAL)
*credentials*.json
*.json.key
service-account*.json
# =============================================================================
# Type Checking & Linting
# =============================================================================
.mypy_cache/
.dmypy.json
dmypy.json
.ruff_cache/
.pylint.d/
# =============================================================================
# Application Logs
# =============================================================================
logs/
*.log
*.log.*
# =============================================================================
# Database Files
# =============================================================================
*.db
*.sqlite
*.sqlite3
# =============================================================================
# Celery
# =============================================================================
celerybeat-schedule
celerybeat.pid
# =============================================================================
# Temporary & Debug Files
# =============================================================================
*.pyc
*.pyo
*.pyd
.Python
*.so
*.egg
*.egg-info
debug_*.py
test_*.temp.py
scratch*.py

View file

@ -26,6 +26,7 @@ export const useAuthStore = create<AuthState>((set) => ({
email: email,
full_name: '', // Will be populated from user profile
role: response.role as UserRole,
auth_provider: 'local', // Local login always uses local auth
is_active: true,
created_at: '',
};
@ -56,6 +57,7 @@ export const useAuthStore = create<AuthState>((set) => ({
email: response.email,
full_name: response.full_name,
role: response.role as UserRole,
auth_provider: 'local', // Default to local, will be updated if user fetched
is_active: true,
created_at: '',
};

View file

@ -49,7 +49,6 @@ export const msalConfig: Configuration = {
logLevel: import.meta.env.DEV ? LogLevel.Info : LogLevel.Error,
piiLoggingEnabled: false,
},
allowNativeBroker: false, // Disable WAM broker (Windows)
windowHashTimeout: 60000,
iframeHashTimeout: 6000,
loadFrameTimeout: 0,