## Frontend - Add media display (images, audio, video, docs) in Inbox - Add pause/resume functionality for WhatsApp accounts - Fix media URLs to use nginx proxy (relative URLs) ## API Gateway - Add /accounts/:id/pause and /accounts/:id/resume endpoints - Fix media URL handling for browser access ## WhatsApp Core - Add pauseSession() - disconnect without logout - Add resumeSession() - reconnect using saved credentials - Add media download and storage for incoming messages - Serve media files via /media/ static route ## Odoo Module (odoo_whatsapp_hub) - Add Chat Hub interface with DOLLARS theme (dark, 3-column layout) - Add WhatsApp/DRRR theme switcher for chat view - Add "ABRIR CHAT" button in conversation form - Add send_message_from_chat() method - Add security/ir.model.access.csv - Fix CSS scoping to avoid breaking Odoo UI - Update webhook to handle message events properly ## Documentation - Add docs/CONTEXTO_DESARROLLO.md with complete project context ## Infrastructure - Add whatsapp_media Docker volume - Configure nginx proxy for /media/ route - Update .gitignore to track src/sessions/ source files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
199 lines
4.0 KiB
Plaintext
199 lines
4.0 KiB
Plaintext
# =============================================================================
|
|
# WhatsApp Centralizado - Git Ignore
|
|
# =============================================================================
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Environment
|
|
# -----------------------------------------------------------------------------
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.env
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Python
|
|
# -----------------------------------------------------------------------------
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
.hypothesis/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
*.cover
|
|
|
|
# Virtual environments
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Node.js
|
|
# -----------------------------------------------------------------------------
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.npm
|
|
.yarn-integrity
|
|
.pnpm-store/
|
|
|
|
# Build outputs
|
|
dist/
|
|
build/
|
|
.next/
|
|
out/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# IDE / Editors
|
|
# -----------------------------------------------------------------------------
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.project
|
|
.classpath
|
|
.settings/
|
|
*.sublime-workspace
|
|
*.sublime-project
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# OS
|
|
# -----------------------------------------------------------------------------
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
*.bak
|
|
*.tmp
|
|
*.temp
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Docker
|
|
# -----------------------------------------------------------------------------
|
|
# No ignorar docker-compose.yml ni Dockerfiles
|
|
# Solo ignorar archivos temporales
|
|
*.log
|
|
docker-compose.override.yml
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Sessions / Data
|
|
# -----------------------------------------------------------------------------
|
|
/sessions/
|
|
*.session
|
|
*.session.json
|
|
|
|
# WhatsApp Baileys sessions (data, not source code)
|
|
services/whatsapp-core/sessions/
|
|
!services/whatsapp-core/src/sessions/
|
|
auth_info*/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Uploads / Media
|
|
# -----------------------------------------------------------------------------
|
|
uploads/
|
|
media/
|
|
*.mp3
|
|
*.mp4
|
|
*.wav
|
|
*.ogg
|
|
*.webm
|
|
*.pdf
|
|
*.doc
|
|
*.docx
|
|
*.xls
|
|
*.xlsx
|
|
|
|
# Excepto archivos de ejemplo/docs
|
|
!docs/**/*.pdf
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Logs
|
|
# -----------------------------------------------------------------------------
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
lerna-debug.log*
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Database
|
|
# -----------------------------------------------------------------------------
|
|
*.sql
|
|
*.sqlite
|
|
*.db
|
|
!database/migrations/*.sql
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Backups
|
|
# -----------------------------------------------------------------------------
|
|
backups/
|
|
*.bak
|
|
*.backup
|
|
*.dump
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Secrets / Certificates
|
|
# -----------------------------------------------------------------------------
|
|
*.pem
|
|
*.key
|
|
*.crt
|
|
*.p12
|
|
*.pfx
|
|
secrets/
|
|
nginx/ssl/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Test
|
|
# -----------------------------------------------------------------------------
|
|
coverage/
|
|
.nyc_output/
|
|
test-results/
|
|
playwright-report/
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Misc
|
|
# -----------------------------------------------------------------------------
|
|
.cache/
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
.grunt
|
|
.lock-wscript
|
|
.eslintcache
|
|
.stylelintcache
|
|
*.tsbuildinfo
|
|
|
|
# Temporary files
|
|
tmp/
|
|
temp/
|
|
.tmp/
|
|
.claude/
|