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.3 KiB
4.3 KiB
Community 6
51 nodes · cohesion 0.05
Key Concepts
- HTTPSConfig (30 connections)
- players.py (18 connections)
- add_player() (10 connections)
- manage_player() (6 connections)
- .set_password() (4 connections)
- .set_quickconnect_code() (4 connections)
- get_player_playlist() (4 connections)
- player_fullscreen() (4 connections)
- Players blueprint for player management and display. (4 connections)
- Regenerate authentication code for a player. (4 connections)
- Redirect to manage player page (combined view). (4 connections)
- Manage player - edit credentials, assign playlist, view logs. (4 connections)
- Display all edited media files from this player. (4 connections)
- Display a tabular report of all edited media from this player. (4 connections)
- Display player fullscreen view (no authentication required for players). (4 connections)
- Get playlist for a player based on their assigned playlist. Args: (4 connections)
- Add a new player with optional SSH deployment. (4 connections)
- Legacy endpoint - Content reordering now handled in playlist management. (4 connections)
- Delete multiple players at once. (4 connections)
- Assign multiple players to a playlist. (4 connections)
- Return deployment status for all players (used by polling JS). (4 connections)
- Reorder items in player's playlist. (4 connections)
- Remove content from player's playlist. (4 connections)
- detect_server_ip() (4 connections)
- bulk_assign_playlist() (3 connections)
- ... and 26 more nodes in this community
Class Diagram
classDiagram
class HTTPSConfig {
+https_config.py()
+.__repr__()
+.to_dict()
}
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/players.py
- /home/scheianu/digiserver-v2/app/models/https_config.py
- /home/scheianu/digiserver-v2/app/models/player.py
- /home/scheianu/digiserver-v2/app/utils/caddy_manager.py
- /home/scheianu/digiserver-v2/app/utils/ssh_deploy.py
- /home/scheianu/digiserver-v2/migrations/add_https_config_table.py
Audit Trail
- EXTRACTED: 87 (45%)
- INFERRED: 107 (55%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.