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.
3.4 KiB
3.4 KiB
Community 2
68 nodes · cohesion 0.04
Key Concepts
- content.py (27 connections)
- .increment_version() (18 connections)
- upload_media() (9 connections)
- playlist.py (8 connections)
- process_file_in_background() (7 connections)
- process_presentation_file() (7 connections)
- add_weblink() (5 connections)
- add_weblink_to_playlist() (5 connections)
- process_pdf_file() (5 connections)
- process_video_file_extended() (5 connections)
- playlist.py (5 connections)
- add_content_to_playlist() (4 connections)
- bulk_remove_from_playlist() (4 connections)
- optimize_image_to_fullhd() (4 connections)
- process_image_file() (4 connections)
- remove_content_from_playlist() (4 connections)
- reorder_playlist_content() (4 connections)
- resize_image_to_fullhd() (4 connections)
- update_playlist_content_duration() (4 connections)
- update_playlist_content_edit_enabled() (4 connections)
- update_playlist_content_muted() (4 connections)
- add_to_playlist() (4 connections)
- clear_playlist() (4 connections)
- remove_from_playlist() (4 connections)
- reorder_playlist() (4 connections)
- ... and 43 more nodes in this community
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/content.py
- /home/scheianu/digiserver-v2/app/blueprints/playlist.py
- /home/scheianu/digiserver-v2/app/models/playlist.py
Audit Trail
- EXTRACTED: 154 (64%)
- INFERRED: 86 (36%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.