e0956c6043
- Remove all personal data from source code (HA IP, JWT tokens) - Move secrets to .env configuration (gitignored) - Create .env.example template for new installations - Add centralized env() helper, eliminate code duplication (~120 lines removed) - Add input validation on inventory operations (quantity bounds, location whitelist) - Remove sensitive credential exposure in API responses - Remove database and runtime files from Git tracking - Disable database push-to-GitHub backup (local-only backup now) - Update .gitignore for distribution - Add comprehensive README with installation guide - Add CHANGELOG.md for version tracking - Add MIT LICENSE - Add author/license headers to all source files - TTS defaults now empty (configured per-installation via .env)
32 lines
461 B
Plaintext
32 lines
461 B
Plaintext
# Environment variables (secrets — copy .env.example to .env)
|
|
.env
|
|
|
|
# Data directory (user-specific runtime data)
|
|
data/dispensa.db
|
|
data/*.db-wal
|
|
data/*.db-shm
|
|
data/backups/
|
|
data/cron.log
|
|
data/smart_shopping_cache.json
|
|
data/bring_token.json
|
|
data/bring_catalog.json
|
|
data/dupliclick_token.json
|
|
data/client_debug.log
|
|
|
|
# SSL certificates (local only)
|
|
data/*.crt
|
|
data/*.pem
|
|
*.crt
|
|
*.pem
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Editor / IDE
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.idea/
|
|
.vscode/
|