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 3
62 nodes · cohesion 0.06
Key Concepts
- PlayerEdit (99 connections)
- Playlist (33 connections)
- api.py (23 connections)
- receive_edited_media() (6 connections)
- authenticate_player() (5 connections)
- get_cached_playlist() (5 connections)
- get_playlist_by_quickconnect() (5 connections)
- receive_player_feedback() (5 connections)
- .get_content_ordered() (5 connections)
- deploy_player() (4 connections)
- get_player_playlist() (4 connections)
- API blueprint for REST endpoints and player communication. (4 connections)
- Get server SSL certificate. (4 connections)
- Handle 404 errors in API. (4 connections)
- Handle 405 errors in API. (4 connections)
- Handle 500 errors in API. (4 connections)
- Authenticate a player and return auth code and configuration. Request J (4 connections)
- Verify an auth code and return player information. Request JSON: (4 connections)
- Get playlist using hostname and quickconnect code (Kivy player compatible). (4 connections)
- Rate limiting decorator. Args: max_requests: Maximum number of (4 connections)
- Get playlist for a specific player. Requires player authentication via (4 connections)
- Get current playlist version for a player. Lightweight endpoint for pla (4 connections)
- Get cached playlist for a player based on assigned playlist. (4 connections)
- Receive feedback/status updates from players (Kivy player compatible). (4 connections)
- Get current status of a player (public endpoint for monitoring). (4 connections)
- ... and 37 more nodes in this community
Class Diagram
classDiagram
class PlayerEdit {
+player_edit.py()
+.__repr__()
+.to_dict()
}
class Playlist {
+playlist.py()
+.__repr__()
+.increment_version()
+.get_content_ordered()
}
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/api.py
- /home/scheianu/digiserver-v2/app/blueprints/content.py
- /home/scheianu/digiserver-v2/app/models/player.py
- /home/scheianu/digiserver-v2/app/models/player_edit.py
- /home/scheianu/digiserver-v2/app/models/playlist.py
Audit Trail
- EXTRACTED: 123 (35%)
- INFERRED: 228 (65%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.