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.6 KiB
3.6 KiB
Community 8
24 nodes · cohesion 0.23
Key Concepts
- test_edit_media_api.py (14 connections)
- main() (13 connections)
- print_section() (10 connections)
- print_error() (9 connections)
- get_player_auth_code() (8 connections)
- get_sample_content() (8 connections)
- print_success() (8 connections)
- test_endpoint_exists() (8 connections)
- check_database_integrity() (7 connections)
- test_authentication() (7 connections)
- test_full_upload() (7 connections)
- print_info() (6 connections)
- print_warning() (6 connections)
- test_server_health() (6 connections)
- Colors (1 connections)
- Get a sample content file to use for testing (1 connections)
- Test if authentication works (1 connections)
- Test a full media upload (1 connections)
- Print a section header (1 connections)
- Check database tables and records (1 connections)
- Run all diagnostic tests (1 connections)
- Test if server is accessible (1 connections)
- Test if the endpoint is available (1 connections)
- Get a valid player auth code from the database (1 connections)
Class Diagram
classDiagram
class Colors {
+test_edit_media_api.py()
}
Relationships
- No strong cross-community connections detected
Source Files
Audit Trail
- EXTRACTED: 126 (99%)
- INFERRED: 1 (1%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.