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.2 KiB
3.2 KiB
Community 9
21 nodes · cohesion 0.11
Key Concepts
- uploads.py (9 connections)
- upload_content() (5 connections)
- process_video_file() (5 connections)
- set_upload_progress() (5 connections)
- process_pdf_file() (4 connections)
- upload_progress_status() (3 connections)
- delete_file() (3 connections)
- get_upload_progress() (3 connections)
- save_uploaded_file() (3 connections)
- clear_upload_progress() (2 connections)
- get_file_size() (2 connections)
- Get upload progress for a specific upload. (1 connections)
- Upload utilities for handling file uploads and processing. (1 connections)
- Process PDF file (convert to images for display). Args: filepat (1 connections)
- Get upload progress for a specific upload ID. Args: upload_id: (1 connections)
- Get file size in bytes. Args: filepath: Path to file (1 connections)
- Delete a file from disk. Args: filepath: Path to file (1 connections)
- Set upload progress for a specific upload ID. Args: upload_id: (1 connections)
- Clear upload progress for a specific upload ID. Args: upload_id (1 connections)
- Save an uploaded file to the upload folder. Args: file: FileSto (1 connections)
- Process video file for optimization (H.264, 30fps, max 1080p). Args: (1 connections)
Relationships
- No strong cross-community connections detected
Source Files
- /home/scheianu/digiserver-v2/app/blueprints/content_old.py
- /home/scheianu/digiserver-v2/app/utils/uploads.py
Audit Trail
- EXTRACTED: 42 (78%)
- INFERRED: 12 (22%)
- AMBIGUOUS: 0 (0%)
Part of the graphify knowledge wiki. See index to navigate.