46602f1933
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.
4.2 KiB
4.2 KiB
Community 5
54 nodes · cohesion 0.04
Key Concepts
- Content (24 connections)
- Models package for digiserver-v2. (13 connections)
- Player (12 connections)
- content.py (8 connections)
- player_feedback.py (5 connections)
- PlayerFeedback (5 connections)
- .check_quickconnect_code() (5 connections)
- player.py (4 connections)
- Main Blueprint - Dashboard and Home Routes (4 connections)
- Health check endpoint (4 connections)
- authenticate() (4 connections)
- Content model for media files. (3 connections)
- main.py (3 connections)
- .check_password() (3 connections)
- .is_image() (2 connections)
- .is_pdf() (2 connections)
- .is_video() (2 connections)
- .is_weblink() (2 connections)
- .repr() (2 connections)
- health() (2 connections)
- .repr() (2 connections)
- .repr() (2 connections)
- .repr() (2 connections)
- String representation of Playlist. (2 connections)
- current_media_path() (1 connections)
- ... and 29 more nodes in this community
Class Diagram
classDiagram
class Content {
+content.py()
+.__repr__()
+.is_image()
+.is_video()
+.is_pdf()
+.is_weblink()
}
class PlayerFeedback {
+player_feedback.py()
+.__repr__()
}
class Player {
+player.py()
+.__repr__()
+.update_status()
+.set_password()
+.check_password()
+.set_quickconnect_code()
+.check_quickconnect_code()
}
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/__init__.py
- /home/scheianu/digiserver-v2/app/blueprints/main.py
- /home/scheianu/digiserver-v2/app/models/__init__.py
- /home/scheianu/digiserver-v2/app/models/content.py
- /home/scheianu/digiserver-v2/app/models/player.py
- /home/scheianu/digiserver-v2/app/models/player_feedback.py
- /home/scheianu/digiserver-v2/app/models/playlist.py
- /home/scheianu/digiserver-v2/app/utils/__init__.py
Audit Trail
- EXTRACTED: 100 (68%)
- INFERRED: 47 (32%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.