# ===========================================
# OS / Editor
# ===========================================
.DS_Store
Thumbs.db
._*
*.swp
*.swo
*~
.idea/
.vscode/

# ===========================================
# Dependencies
# ===========================================
/vendor/
/node_modules/

# ===========================================
# Configuration (secrets)
# ===========================================
config/config.php
config/database.php
config/inventory_sync_secret.php
/config/config.production.php
/reset_admin_password.php
.env
install.lock

# Sample configs should be tracked
!config/*_sample.php

# ===========================================
# Logs & Cache
# ===========================================
*.log
/.phpunit.cache/
/.venv_playwright/
__pycache__/
*.py[cod]
/tmp_*.js

# ===========================================
# Uploads (keep directory structure, ignore contents)
# ===========================================
/uploads/files/*
!/uploads/files/.gitkeep
/uploads/workflow/*
!/uploads/workflow/.gitkeep
/uploads/bulletin/*
!/uploads/bulletin/.gitkeep
/public/uploads/*
!/public/uploads/.gitkeep
!/public/uploads/workflow/
/public/uploads/workflow/*
!/public/uploads/workflow/.htaccess
!/public/uploads/bulletin/
/public/uploads/bulletin/*
!/public/uploads/bulletin/.htaccess
!/public/uploads/daily-report/
/public/uploads/daily-report/*
!/public/uploads/daily-report/.htaccess
!/public/uploads/webdatabase/
/public/uploads/webdatabase/*
!/public/uploads/webdatabase/.htaccess

# ===========================================
# Exports (keep directory structure, ignore contents)
# ===========================================
/exports/*
!/exports/workflow/
!/exports/workflow/.gitkeep
/storage/*

# ===========================================
# Backups
# ===========================================
*.sql.bak
*.bak
*.backup

# ===========================================
# Public distribution exclusions
# ===========================================
/db/demo_data*.sql
/public/img_icon/PrototypeRequestLedger.zip
