Key features implemented: - Added Invoke-AwJsonPost function to handle UTF-8 encoded JSON POST requests with proper content type header - Replaced direct Invoke-RestMethod calls with Invoke-AwJsonPost wrapper in Ensure-Bucket, Send-Heartbeat, Send-CategoryHeartbeat, and Send-DlpIncidentHeartbeat functions - Updated .gitignore with comprehensive file exclusion patterns for various development environments and system files The changes ensure proper UTF-8 character encoding when sending JSON data to the ActivityWatch API while maintaining all existing functionality. The gitignore updates provide better project hygiene by excluding common temporary and environment-specific files.
67 lines
581 B
Plaintext
67 lines
581 B
Plaintext
# PowerShell/Windows specific
|
|
Thumbs.db
|
|
Desktop.ini
|
|
$RECYCLE.BIN/
|
|
System Volume Information/
|
|
*.tmp
|
|
*.log
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
*.env.*
|
|
|
|
# IDE/Editor files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Dependencies and build artifacts
|
|
node_modules/
|
|
__pycache__/
|
|
*.pyc
|
|
*.class
|
|
*.o
|
|
*.obj
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.a
|
|
*.out
|
|
dist/
|
|
build/
|
|
target/
|
|
.venv/
|
|
venv/
|
|
.mypy_cache/
|
|
.pytest_cache/
|
|
.coverage
|
|
coverage/
|
|
htmlcov/
|
|
.gradle/
|
|
|
|
# System files
|
|
.DS_Store
|
|
*.zip
|
|
*.gz
|
|
*.tar
|
|
*.tgz
|
|
*.bz2
|
|
*.xz
|
|
*.7z
|
|
*.rar
|
|
*.zst
|
|
*.lz4
|
|
*.lzh
|
|
*.cab
|
|
*.arj
|
|
*.rpm
|
|
*.deb
|
|
*.Z
|
|
*.lz
|
|
*.lzo
|
|
*.tar.gz
|
|
*.tar.bz2
|
|
*.tar.xz
|
|
*.tar.zst |