Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
328 changes: 309 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,71 @@
# ============================================================================
# AutoJSON Specific Files
# ============================================================================
# AutoJSON output files
.autojson_debug_context.json
.autojson_filter_config.json
dashboard/.service_config.json

# AutoJSON time-travel archives
.autojson_history/

# AutoJSON temporary files
*.tmp
.autojson_tmp_*.json

# Test outputs
test_*.json
*_demo.json

# ============================================================================
# Sensitive Data & Secrets (CRITICAL - Never commit these!)
# ============================================================================
# Environment variables
.env
.env.*
!.env.example
.envrc

# API Keys and tokens
*.key
*.pem
*.p12
*.pfx
*.cer
*.crt
*.der
secrets/
.secrets/

# Configuration files with credentials
*secret*.json
*credentials*.json
*config*.local.*
*private*.json

# Database files
*.db
*.sqlite
*.sqlite3

# Backup files
*.backup
*.bak
*.old
*.orig

# ============================================================================
# Python
# ============================================================================
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
Expand All @@ -28,39 +86,271 @@ share/python-wheels/
*.egg
MANIFEST

# Virtual environments
venv/
env/
ENV/
env.bak/
venv.bak/
# PyInstaller
*.manifest
*.spec

# Testing
.pytest_cache/
.coverage
# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.hypothesis/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
pytestdebug.log

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/.doctrees/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# PEP 582
__pypackages__/

# IDEs
# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
pythonenv*

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# ============================================================================
# IDEs and Editors
# ============================================================================
# VSCode
.vscode/
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# PyCharm / IntelliJ IDEA
.idea/
.idea/*
*.iml
*.ipr
*.iws
.idea_modules/

# Sublime Text
*.sublime-project
*.sublime-workspace
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
sftp-config.json
sftp-config-alt*.json

# Vim
*.swp
*.swo
.vim/
.vimsettings
tags
.netrwhist

# Emacs
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# TextMate
*.tmproj
*.tmproject
tmtags

# Eclipse
.project
.cproject
.classpath
.settings/
.buildpath

# NetBeans
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/

# ============================================================================
# Operating System Files
# ============================================================================
# Common to all OS
*~

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Temporary files
*.tmp
.autojson_tmp_*.json
# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# Linux
.directory
.Trash-*
.nfs*

# ============================================================================
# Temporary and Cache Files
# ============================================================================
tmp/
temp/
*.tmp
*.temp
*.cache
.cache/

# Test outputs
test_*.json
*_demo.json
# ============================================================================
# Logs
# ============================================================================
*.log
logs/
*.log.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# AutoJSON time-travel archives
.autojson_history/
# ============================================================================
# Node.js / JavaScript (if applicable for dashboard or extensions)
# ============================================================================
node_modules/
npm-debug.log
yarn-error.log
.npm
.yarn-integrity
package-lock.json
yarn.lock
.pnp
.pnp.js
.eslintcache

# ============================================================================
# Misc
# ============================================================================
# Archives
*.zip
*.tar
*.tar.gz
*.tgz
*.rar
*.7z

# Docker
docker-compose.override.yml
.dockerignore

# Git
*.rej
.git-rewrite/

# Other
.history/
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ indicate security vulnerabilities in auth, payment, or admin endpoints.
- **[FILE_ANCHORS_GUIDE.md](FILE_ANCHORS_GUIDE.md)** - File navigation implementation
- **[BATCHING_SUMMARY.md](BATCHING_SUMMARY.md)** - Performance optimization details

### Security
- **[SECURITY.md](SECURITY.md)** - 🔒 Security policy, vulnerability reporting, and best practices

---

## 🔒 Security & Privacy
Expand All @@ -406,6 +409,14 @@ indicate security vulnerabilities in auth, payment, or admin endpoints.
- ✅ **No Internet Required** - Fully offline capable
- ⚠️ **Sensitive Data** - `.autojson_debug_context.json` may contain error messages with user data

**Security Resources:**
- **[SECURITY.md](SECURITY.md)** - 🔒 Complete security policy, vulnerability reporting, and best practices
- **Git History Scanner** - Scan for accidentally committed secrets:
```bash
python scripts/scan_git_history.py
python scripts/scan_git_history.py --output security_report.txt
```

**Recommended `.gitignore`:**
```
.autojson_debug_context.json
Expand Down
Loading
Loading