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

602 B

Architectural Compass - /home/scheianu/digiserver-v2 (2026-08-16)

Note

This is a token-optimized summary. For deep logic, see GRAPH_REPORT.md.

Core Abstractions (God Nodes)

  1. log_action() (116 edges)
  2. PlayerEdit (99 edges)
  3. PlayerUser (74 edges)
  4. Playlist (33 edges)
  5. CaddyConfigGenerator (31 edges)
  6. HTTPSConfig (30 edges)
  7. Content (24 edges)
  8. User (19 edges)
  9. create_app() (13 edges)
  10. Models package for digiserver-v2. (13 edges)

System Layers

  • L0: Global/Entry:
  • L1: Strategic/Core:
  • L2: Implementation:
  • L3: Utility: