Files
digiserver-v2/docs/graphify-out/cache/70d403dd4a07c9f6faa62f365eee454669ef17b201b21cd8b87dfbb5a6e18c7e.json
T
ske087 46602f1933 Sanitize codebase, reorganize docs, and add missing deploy files
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.
2026-09-11 12:18:34 +03:00

1 line
7.8 KiB
JSON

{"nodes": [{"id": "home_scheianu_digiserver_v2_app_models_https_config_py", "label": "https_config.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "https_config_httpsconfig", "label": "HTTPSConfig", "file_type": "code", "type": "CLASS", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L8", "complexity": 5, "loc": 97}, {"id": "https_config_httpsconfig_repr", "label": ".__repr__()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L37", "complexity": 2, "loc": 4}, {"id": "https_config_get_config", "label": "get_config()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L43", "complexity": 1, "loc": 7}, {"id": "https_config_create_or_update", "label": "create_or_update()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L52", "complexity": 2, "loc": 34}, {"id": "https_config_httpsconfig_to_dict", "label": ".to_dict()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L87", "complexity": 3, "loc": 18}, {"id": "https_config_rationale_1", "label": "HTTPS Configuration model.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L1"}, {"id": "https_config_rationale_9", "label": "HTTPS configuration model for managing secure connections. Attributes:", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L9"}, {"id": "https_config_rationale_38", "label": "String representation of HTTPSConfig.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L38"}, {"id": "https_config_rationale_44", "label": "Get the current HTTPS configuration. Returns: HTTPS", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L44"}, {"id": "https_config_rationale_56", "label": "Create or update HTTPS configuration. Args: https_e", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L56"}, {"id": "https_config_rationale_88", "label": "Convert configuration to dictionary. Returns: Dicti", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L88"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_models_https_config_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_https_config_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_https_config_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_https_config_py", "target": "https_config_httpsconfig", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L8", "weight": 1.0}, {"source": "https_config_httpsconfig", "target": "https_config_httpsconfig_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L37", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_https_config_py", "target": "https_config_get_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L43", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_https_config_py", "target": "https_config_create_or_update", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L52", "weight": 1.0}, {"source": "https_config_httpsconfig", "target": "https_config_httpsconfig_to_dict", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L87", "weight": 1.0}, {"source": "https_config_create_or_update", "target": "https_config_get_config", "relation": "calls", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L70", "weight": 1.0}, {"source": "https_config_rationale_1", "target": "home_scheianu_digiserver_v2_app_models_https_config_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L1", "weight": 1.0}, {"source": "https_config_rationale_9", "target": "https_config_httpsconfig", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L9", "weight": 1.0}, {"source": "https_config_rationale_38", "target": "https_config_httpsconfig_repr", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L38", "weight": 1.0}, {"source": "https_config_rationale_44", "target": "https_config_httpsconfig_get_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L44", "weight": 1.0}, {"source": "https_config_rationale_56", "target": "https_config_httpsconfig_create_or_update", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L56", "weight": 1.0}, {"source": "https_config_rationale_88", "target": "https_config_httpsconfig_to_dict", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L88", "weight": 1.0}], "raw_calls": [{"caller_nid": "https_config_get_config", "callee": "first", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L49"}, {"caller_nid": "https_config_create_or_update", "callee": "cls", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L72"}, {"caller_nid": "https_config_create_or_update", "callee": "utcnow", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L81"}, {"caller_nid": "https_config_create_or_update", "callee": "add", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L83"}, {"caller_nid": "https_config_create_or_update", "callee": "commit", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L84"}, {"caller_nid": "https_config_httpsconfig_to_dict", "callee": "isoformat", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L101"}, {"caller_nid": "https_config_httpsconfig_to_dict", "callee": "isoformat", "source_file": "/home/scheianu/digiserver-v2/app/models/https_config.py", "source_location": "L102"}]}