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.
1 line
7.7 KiB
JSON
1 line
7.7 KiB
JSON
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "label": "player_feedback.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "player_feedback_playerfeedback", "label": "PlayerFeedback", "file_type": "code", "type": "CLASS", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L8", "complexity": 1, "loc": 57}, {"id": "player_feedback_playerfeedback_repr", "label": ".__repr__()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L37", "complexity": 1, "loc": 3}, {"id": "player_feedback_is_error", "label": "is_error()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L42", "complexity": 1, "loc": 3}, {"id": "player_feedback_age_seconds", "label": "age_seconds()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L47", "complexity": 1, "loc": 4}, {"id": "player_feedback_get_latest_for_player", "label": "get_latest_for_player()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L53", "complexity": 1, "loc": 12}, {"id": "player_feedback_rationale_1", "label": "Player feedback model for tracking player status and errors.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L1"}, {"id": "player_feedback_rationale_9", "label": "Player feedback model for tracking player status updates. Attributes:", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L9"}, {"id": "player_feedback_rationale_38", "label": "String representation of PlayerFeedback.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L38"}, {"id": "player_feedback_rationale_43", "label": "Check if feedback indicates an error.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L43"}, {"id": "player_feedback_rationale_48", "label": "Get age of feedback in seconds.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L48"}, {"id": "player_feedback_rationale_54", "label": "Get most recent feedback for a player. Args: player", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L54"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "player_feedback_playerfeedback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L8", "weight": 1.0}, {"source": "player_feedback_playerfeedback", "target": "player_feedback_playerfeedback_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L37", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "player_feedback_is_error", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L42", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "player_feedback_age_seconds", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L47", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "target": "player_feedback_get_latest_for_player", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L53", "weight": 1.0}, {"source": "player_feedback_rationale_1", "target": "home_scheianu_digiserver_v2_app_models_player_feedback_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L1", "weight": 1.0}, {"source": "player_feedback_rationale_9", "target": "player_feedback_playerfeedback", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L9", "weight": 1.0}, {"source": "player_feedback_rationale_38", "target": "player_feedback_playerfeedback_repr", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L38", "weight": 1.0}, {"source": "player_feedback_rationale_43", "target": "player_feedback_playerfeedback_is_error", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L43", "weight": 1.0}, {"source": "player_feedback_rationale_48", "target": "player_feedback_playerfeedback_age_seconds", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L48", "weight": 1.0}, {"source": "player_feedback_rationale_54", "target": "player_feedback_playerfeedback_get_latest_for_player", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L54", "weight": 1.0}], "raw_calls": [{"caller_nid": "player_feedback_age_seconds", "callee": "utcnow", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L49"}, {"caller_nid": "player_feedback_age_seconds", "callee": "total_seconds", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L50"}, {"caller_nid": "player_feedback_get_latest_for_player", "callee": "first", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L62"}, {"caller_nid": "player_feedback_get_latest_for_player", "callee": "order_by", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L62"}, {"caller_nid": "player_feedback_get_latest_for_player", "callee": "filter_by", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L62"}, {"caller_nid": "player_feedback_get_latest_for_player", "callee": "desc", "source_file": "/home/scheianu/digiserver-v2/app/models/player_feedback.py", "source_location": "L63"}]} |