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.1 KiB
4.1 KiB
Community 0
90 nodes · cohesion 0.03
Key Concepts
- log_action() (116 connections)
- content_old.py (13 connections)
- blueprint_groups.py (13 connections)
- ServerLog (12 connections)
- group_player_management.py (8 connections)
- get_player_status_info() (7 connections)
- logger.py (7 connections)
- auth.py (5 connections)
- server_log.py (5 connections)
- group_fullscreen() (4 connections)
- group_stats() (4 connections)
- groups_list() (4 connections)
- manage_group() (4 connections)
- get_group_statistics() (4 connections)
- add_content_to_group() (3 connections)
- add_player_to_group() (3 connections)
- remove_content_from_group() (3 connections)
- remove_player_from_group() (3 connections)
- reorder_group_content() (3 connections)
- bulk_delete_content() (3 connections)
- check_duplicates() (3 connections)
- content_groups_info() (3 connections)
- content_list() (3 connections)
- content_statistics() (3 connections)
- delete_by_filename() (3 connections)
- ... and 65 more nodes in this community
Class Diagram
classDiagram
class ServerLog {
+server_log.py()
+.__repr__()
}
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/auth.py
- /home/scheianu/digiserver-v2/app/blueprints/content_old.py
- /home/scheianu/digiserver-v2/app/blueprints/main.py
- /home/scheianu/digiserver-v2/app/models/server_log.py
- /home/scheianu/digiserver-v2/app/utils/group_player_management.py
- /home/scheianu/digiserver-v2/app/utils/logger.py
- /home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py
Audit Trail
- EXTRACTED: 180 (52%)
- INFERRED: 165 (48%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.