Files
ske087 46602f1933 Sanitize codebase, reorganize docs, and add missing deploy files
Remove dead code identified in docs/SANITIZATION-REVIEW.md:
- app/blueprints/content_old.py and app/blueprints/playlist.py
- app/models/group.py, app/utils/nginx_config_reader.py
- orphaned templates (content_list, edit_content, upload_content,
  player_page) and the related group/Template references

Result: 6 blueprints, 82 routes, no dead modules or orphan templates.

Add files that deploy.sh and docker-entrypoint.sh already require but
which were never tracked:
- https_manager.py       (referenced by deploy.sh, migrate_network.sh,
                          docker-entrypoint.sh)
- Caddyfile.example      (seeded by deploy.sh; its absence aborts deploy)

Relocate generated Graphify artifacts from graphify-out/ to
docs/graphify-out/ (110 files, no content change) and archive the
superseded docs under docs/.

Ignore hygiene:
- ignore ad-hoc .env backups (.env.bak*) — they contain live secrets
- keep the pre-sanitization snapshots (docs/legacy code/,
  docs/old_code_documentation/) on disk but out of the repo

Fix .env.example: drop a duplicated config block, genericize the
hardcoded host IP, and document HOSTNAME_INTERNAL.
2026-09-11 12:18:34 +03:00

64 lines
920 B
Plaintext

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
venv/
env/
ENV/
.venv
# Development
.git/
.gitignore
*.md
.vscode/
.idea/
# Exclude shell scripts except Docker-related ones
*.sh
!docker-entrypoint.sh
!install_libreoffice.sh
!install_emoji_fonts.sh
# Database (will be created in volume)
instance/
!instance/.gitkeep
# Uploads (will be in volume)
app/static/uploads/*
!app/static/uploads/.gitkeep
static/uploads/*
!static/uploads/.gitkeep
# Logs
*.log
# Development data
*.db
*.db-*
flask_session/
# OS
.DS_Store
Thumbs.db
# Runtime data volumes (mounted at runtime, NOT part of the image)
data/
# Archived snapshot of the pre-sanitization codebase (not part of the image).
# Matched at any depth so it stays excluded regardless of where it is moved.
legacy code/
**/legacy code/
# Documentation
BLUEPRINT_GUIDE.md
ICON_INTEGRATION.md
KIVY_PLAYER_COMPATIBILITY.md
PLAYER_AUTH.md
PROGRESS.md
README.md