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 1
80 nodes · cohesion 0.04
Key Concepts
- PlayerUser (74 connections)
- CaddyConfigGenerator (31 connections)
- admin.py (31 connections)
- get_config() (8 connections)
- build_player() (7 connections)
- update_https_config() (7 connections)
- https_config_status() (5 connections)
- caddy_manager.py (5 connections)
- create_user() (4 connections)
- https_config() (4 connections)
- _player_build_meta_path() (4 connections)
- Admin blueprint for user management and system settings. (4 connections)
- Path to the persisted player-build settings (in the instance folder). (4 connections)
- Display the 'Build player files for deployment' admin page. (4 connections)
- Change user role between user and admin. (4 connections)
- Delete a user account. (4 connections)
- Change application theme. (4 connections)
- Decorator to require admin role for route access. (4 connections)
- Upload custom logo for application. (4 connections)
- Clear all server logs. (4 connections)
- Display user management page. (4 connections)
- Get system information as JSON. (4 connections)
- Display leftover media files not assigned to any playlist. (4 connections)
- Display admin panel with system overview. (4 connections)
- Delete all leftover images that are not part of any playlist (4 connections)
- ... and 55 more nodes in this community
Class Diagram
classDiagram
class CaddyConfigGenerator {
+caddy_manager.py()
}
class PlayerUser {
+player_user.py()
+.__repr__()
+.to_dict()
}
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/admin.py
- /home/scheianu/digiserver-v2/app/models/https_config.py
- /home/scheianu/digiserver-v2/app/models/player_edit.py
- /home/scheianu/digiserver-v2/app/models/player_user.py
- /home/scheianu/digiserver-v2/app/utils/caddy_manager.py
- /home/scheianu/digiserver-v2/migrations/add_player_user_table.py
Audit Trail
- EXTRACTED: 156 (41%)
- INFERRED: 229 (59%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.