updates to digiserver app server
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Architectural Compass - /home/scheianu/digiserver-v2 (2026-08-16)
|
||||
|
||||
> [!NOTE]
|
||||
> This is a token-optimized summary. For deep logic, see GRAPH_REPORT.md.
|
||||
|
||||
## Core Abstractions (God Nodes)
|
||||
1. `log_action()` (116 edges)
|
||||
2. `PlayerEdit` (99 edges)
|
||||
3. `PlayerUser` (74 edges)
|
||||
4. `Playlist` (33 edges)
|
||||
5. `CaddyConfigGenerator` (31 edges)
|
||||
6. `HTTPSConfig` (30 edges)
|
||||
7. `Content` (24 edges)
|
||||
8. `User` (19 edges)
|
||||
9. `create_app()` (13 edges)
|
||||
10. `Models package for digiserver-v2.` (13 edges)
|
||||
|
||||
## System Layers
|
||||
- **L0: Global/Entry**:
|
||||
- **L1: Strategic/Core**:
|
||||
- **L2: Implementation**:
|
||||
- **L3: Utility**:
|
||||
@@ -0,0 +1,45 @@
|
||||
# System Domains (Communities)
|
||||
|
||||
| ID | Domain | Rationale |
|
||||
|---|---|---|
|
||||
| 0 | Community 0 | |
|
||||
| 1 | Community 1 | |
|
||||
| 2 | Community 2 | |
|
||||
| 3 | Community 3 | |
|
||||
| 4 | Community 4 | |
|
||||
| 5 | Community 5 | |
|
||||
| 6 | Community 6 | |
|
||||
| 7 | Community 7 | |
|
||||
| 8 | Community 8 | |
|
||||
| 9 | Community 9 | |
|
||||
| 10 | Community 10 | |
|
||||
| 11 | Community 11 | |
|
||||
| 12 | Community 12 | |
|
||||
| 13 | Community 13 | |
|
||||
| 14 | Community 14 | |
|
||||
| 15 | Community 15 | |
|
||||
| 16 | Community 16 | |
|
||||
| 17 | Community 17 | |
|
||||
| 18 | Community 18 | |
|
||||
| 19 | Community 19 | |
|
||||
| 20 | Community 20 | |
|
||||
| 21 | Community 21 | |
|
||||
| 22 | Community 22 | |
|
||||
| 23 | Community 23 | |
|
||||
| 24 | Community 24 | |
|
||||
| 25 | Community 25 | |
|
||||
| 26 | Community 26 | |
|
||||
| 27 | Community 27 | |
|
||||
| 28 | Community 28 | |
|
||||
| 29 | Community 29 | |
|
||||
| 30 | Community 30 | |
|
||||
| 31 | Community 31 | |
|
||||
| 32 | Community 32 | |
|
||||
| 33 | Community 33 | |
|
||||
| 34 | Community 34 | |
|
||||
| 35 | Community 35 | |
|
||||
| 36 | Community 36 | |
|
||||
| 37 | Community 37 | |
|
||||
| 38 | Community 38 | |
|
||||
| 39 | Community 39 | |
|
||||
| 40 | Community 40 | |
|
||||
@@ -0,0 +1,342 @@
|
||||
# Graph Report - /home/scheianu/digiserver-v2 (2026-08-16)
|
||||
|
||||
## Corpus Check
|
||||
- 49 files · ~210,805 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 631 nodes · 1162 edges · 41 communities detected
|
||||
- Extraction: 56% EXTRACTED · 44% INFERRED · 0% AMBIGUOUS · INFERRED: 512 edges (avg confidence: 0.62)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Community Hubs (Navigation)
|
||||
- [[_COMMUNITY_Community 0|Community 0]]
|
||||
- [[_COMMUNITY_Community 1|Community 1]]
|
||||
- [[_COMMUNITY_Community 2|Community 2]]
|
||||
- [[_COMMUNITY_Community 3|Community 3]]
|
||||
- [[_COMMUNITY_Community 4|Community 4]]
|
||||
- [[_COMMUNITY_Community 5|Community 5]]
|
||||
- [[_COMMUNITY_Community 6|Community 6]]
|
||||
- [[_COMMUNITY_Community 7|Community 7]]
|
||||
- [[_COMMUNITY_Community 8|Community 8]]
|
||||
- [[_COMMUNITY_Community 9|Community 9]]
|
||||
- [[_COMMUNITY_Community 10|Community 10]]
|
||||
- [[_COMMUNITY_Community 11|Community 11]]
|
||||
- [[_COMMUNITY_Community 12|Community 12]]
|
||||
- [[_COMMUNITY_Community 13|Community 13]]
|
||||
- [[_COMMUNITY_Community 14|Community 14]]
|
||||
- [[_COMMUNITY_Community 15|Community 15]]
|
||||
- [[_COMMUNITY_Community 16|Community 16]]
|
||||
- [[_COMMUNITY_Community 17|Community 17]]
|
||||
- [[_COMMUNITY_Community 18|Community 18]]
|
||||
- [[_COMMUNITY_Community 19|Community 19]]
|
||||
- [[_COMMUNITY_Community 20|Community 20]]
|
||||
- [[_COMMUNITY_Community 21|Community 21]]
|
||||
- [[_COMMUNITY_Community 22|Community 22]]
|
||||
- [[_COMMUNITY_Community 23|Community 23]]
|
||||
- [[_COMMUNITY_Community 24|Community 24]]
|
||||
- [[_COMMUNITY_Community 25|Community 25]]
|
||||
- [[_COMMUNITY_Community 26|Community 26]]
|
||||
- [[_COMMUNITY_Community 27|Community 27]]
|
||||
- [[_COMMUNITY_Community 28|Community 28]]
|
||||
- [[_COMMUNITY_Community 29|Community 29]]
|
||||
- [[_COMMUNITY_Community 30|Community 30]]
|
||||
- [[_COMMUNITY_Community 31|Community 31]]
|
||||
- [[_COMMUNITY_Community 32|Community 32]]
|
||||
- [[_COMMUNITY_Community 33|Community 33]]
|
||||
- [[_COMMUNITY_Community 34|Community 34]]
|
||||
- [[_COMMUNITY_Community 35|Community 35]]
|
||||
- [[_COMMUNITY_Community 36|Community 36]]
|
||||
- [[_COMMUNITY_Community 37|Community 37]]
|
||||
- [[_COMMUNITY_Community 38|Community 38]]
|
||||
- [[_COMMUNITY_Community 39|Community 39]]
|
||||
- [[_COMMUNITY_Community 40|Community 40]]
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `log_action()` - 116 edges
|
||||
2. `PlayerEdit` - 99 edges
|
||||
3. `PlayerUser` - 74 edges
|
||||
4. `Playlist` - 33 edges
|
||||
5. `CaddyConfigGenerator` - 31 edges
|
||||
6. `HTTPSConfig` - 30 edges
|
||||
7. `Content` - 24 edges
|
||||
8. `User` - 19 edges
|
||||
9. `create_app()` - 13 edges
|
||||
10. `Models package for digiserver-v2.` - 13 edges
|
||||
|
||||
## Surprising Connections (you probably didn't know these)
|
||||
- `reset_user_password()` --calls--> `log_action()` [INFERRED]
|
||||
/home/scheianu/digiserver-v2/app/blueprints/admin.py → /home/scheianu/digiserver-v2/app/utils/logger.py
|
||||
- `upload_header_logo()` --calls--> `log_action()` [INFERRED]
|
||||
/home/scheianu/digiserver-v2/app/blueprints/admin.py → /home/scheianu/digiserver-v2/app/utils/logger.py
|
||||
- `delete_editing_user()` --calls--> `log_action()` [INFERRED]
|
||||
/home/scheianu/digiserver-v2/app/blueprints/admin.py → /home/scheianu/digiserver-v2/app/utils/logger.py
|
||||
- `delete_playlist()` --calls--> `log_action()` [INFERRED]
|
||||
/home/scheianu/digiserver-v2/app/blueprints/content.py → /home/scheianu/digiserver-v2/app/utils/logger.py
|
||||
- `Main playlist management page.` --uses--> `PlayerEdit` [INFERRED]
|
||||
/home/scheianu/digiserver-v2/app/blueprints/content.py → /home/scheianu/digiserver-v2/app/models/player_edit.py
|
||||
|
||||
## Communities
|
||||
|
||||
### Community 0 - "Community 0"
|
||||
|
||||
Cohesion: 0.03
|
||||
Nodes (80): change_password(), login(), logout(), Authentication Blueprint - Login, Logout, Register, register(), add_content_to_group(), add_player_to_group(), delete_group() (+72 more)
|
||||
|
||||
### Community 1 - "Community 1"
|
||||
|
||||
Cohesion: 0.04
|
||||
Nodes (72): Add player_user table for user code mappings., admin_panel(), admin_required(), build_player(), change_theme(), change_user_role(), clear_logs(), create_user() (+64 more)
|
||||
|
||||
### Community 2 - "Community 2"
|
||||
|
||||
Cohesion: 0.04
|
||||
Nodes (61): add_content_to_playlist(), add_weblink(), add_weblink_to_playlist(), assign_player_to_playlist(), bulk_remove_from_playlist(), content_list(), create_fullhd_image(), delete_playlist() (+53 more)
|
||||
|
||||
### Community 3 - "Community 3"
|
||||
|
||||
Cohesion: 0.06
|
||||
Nodes (57): api_not_found(), authenticate_player(), deploy_player(), get_cached_playlist(), get_logs(), get_player_playlist(), get_player_status(), get_playlist_by_quickconnect() (+49 more)
|
||||
|
||||
### Community 4 - "Community 4"
|
||||
|
||||
Cohesion: 0.07
|
||||
Nodes (42): add_muted_column(), Add muted column to playlist_content association table., configure_login_manager(), create_app(), DigiServer v2 - Application Factory Modern Flask application with blueprint arch, Configure Flask-Login, Register error handlers, Register CLI commands (+34 more)
|
||||
|
||||
### Community 5 - "Community 5"
|
||||
|
||||
Cohesion: 0.04
|
||||
Nodes (27): Content, Content model for media files., String representation of Content., Check if content is an image., Check if content is a video., Content model representing media files for display. Attributes:, Check if content is a PDF., Check if content is a web link (URL) rather than an uploaded file. (+19 more)
|
||||
|
||||
### Community 6 - "Community 6"
|
||||
|
||||
Cohesion: 0.05
|
||||
Nodes (45): Add https_config table for HTTPS configuration management., Write Caddyfile to disk. Args: caddyfile_content: C, Reload Caddy configuration without restart. Note: Caddy monitor, Generate a complete Caddyfile. Behaviour: - HTTPS disabled / no, Write Caddyfile to disk. The default path is /etc/caddy/Caddyfile — the, Push the current Caddyfile to Caddy via its admin API (/load). Caddy ap, HTTPSConfig, String representation of HTTPSConfig. (+37 more)
|
||||
|
||||
### Community 7 - "Community 7"
|
||||
|
||||
Cohesion: 0.06
|
||||
Nodes (26): create_group(), delete_media(), Delete a media file and remove it from all playlists., Group, Group model for organizing players and content., Group model for organizing players with shared content. Attributes:, String representation of Group., Add a player to this group. Args: player: Player in (+18 more)
|
||||
|
||||
### Community 8 - "Community 8"
|
||||
|
||||
Cohesion: 0.23
|
||||
Nodes (23): check_database_integrity(), Colors, get_player_auth_code(), get_sample_content(), main(), print_error(), print_info(), print_section() (+15 more)
|
||||
|
||||
### Community 9 - "Community 9"
|
||||
|
||||
Cohesion: 0.11
|
||||
Nodes (20): Get upload progress for a specific upload., upload_content(), upload_progress_status(), clear_upload_progress(), delete_file(), get_file_size(), get_upload_progress(), process_pdf_file() (+12 more)
|
||||
|
||||
### Community 10 - "Community 10"
|
||||
|
||||
Cohesion: 0.12
|
||||
Nodes (18): background_player_deployment(), Background task execution for long-running operations., Run a function in a background thread, with a Flask app context pushed., Deploy player code to host in background. Args: hostname: SSH h, run_background_task(), deploy_player_to_host(), generate_app_config(), generate_player_config() (+10 more)
|
||||
|
||||
### Community 11 - "Community 11"
|
||||
|
||||
Cohesion: 0.15
|
||||
Nodes (18): build_player_action(), Build/refresh the staged player code and/or write its base config., build_player_files(), get_player_server_settings(), get_short_head(), load_build_settings(), make_build_record(), Utilities for building/staging the player files on the server. Admins use the " (+10 more)
|
||||
|
||||
### Community 12 - "Community 12"
|
||||
|
||||
Cohesion: 0.29
|
||||
Nodes (7): cleanup_libreoffice_processes(), pptx_to_pdf_libreoffice(), PowerPoint to PDF converter using LibreOffice., Clean up any hanging LibreOffice processes., Convert PPTX to PDF using LibreOffice for highest quality. This functio, Validate if file is a valid PowerPoint file. Args: filepath: Pa, validate_pptx_file()
|
||||
|
||||
### Community 13 - "Community 13"
|
||||
|
||||
Cohesion: 0.5
|
||||
Nodes (3): migrate(), Migration: Add edit_on_player_enabled column to playlist_content table., Add edit_on_player_enabled column to playlist_content.
|
||||
|
||||
### Community 14 - "Community 14"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Migrate player_user table to remove player_id and make user_code unique globally
|
||||
|
||||
### Community 15 - "Community 15"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Add original_filename column to content table. This preserves the pristine uplo
|
||||
|
||||
### Community 16 - "Community 16"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Add url column to content table for weblink support.
|
||||
|
||||
### Community 17 - "Community 17"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Add deployment tracking columns to player table.
|
||||
|
||||
### Community 18 - "Community 18"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Add email field to https_config table.
|
||||
|
||||
### Community 19 - "Community 19"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Flask extensions initialization Centralized extension management for the applica
|
||||
|
||||
### Community 20 - "Community 20"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Check if feedback indicates an error.
|
||||
|
||||
### Community 21 - "Community 21"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Get age of feedback in seconds.
|
||||
|
||||
### Community 22 - "Community 22"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Get most recent feedback for a player. Args: player
|
||||
|
||||
### Community 23 - "Community 23"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Get the current HTTPS configuration. Returns: HTTPS
|
||||
|
||||
### Community 24 - "Community 24"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Create or update HTTPS configuration. Args: https_e
|
||||
|
||||
### Community 25 - "Community 25"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Check if user has admin role.
|
||||
|
||||
### Community 26 - "Community 26"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Check if player is online (seen in last 5 minutes).
|
||||
|
||||
### Community 27 - "Community 27"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Authenticate a player by hostname and password or quickconnect code.
|
||||
|
||||
### Community 28 - "Community 28"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Create an info level log entry. Args: message: Log
|
||||
|
||||
### Community 29 - "Community 29"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Create a warning level log entry. Args: message: Lo
|
||||
|
||||
### Community 30 - "Community 30"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Create an error level log entry. Args: message: Log
|
||||
|
||||
### Community 31 - "Community 31"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Get number of content items in this group.
|
||||
|
||||
### Community 32 - "Community 32"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Get file size in megabytes.
|
||||
|
||||
### Community 33 - "Community 33"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Get number of groups containing this content.
|
||||
|
||||
### Community 34 - "Community 34"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Name of the original (unedited) file for display purposes.
|
||||
|
||||
### Community 35 - "Community 35"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Path (relative to uploads/) where the original unedited file lives. Whe
|
||||
|
||||
### Community 36 - "Community 36"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Path (relative to uploads/) of the current/latest version to display.
|
||||
|
||||
### Community 37 - "Community 37"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Whether this content has been edited on a player.
|
||||
|
||||
### Community 38 - "Community 38"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): Display name of the original (unedited) file.
|
||||
|
||||
### Community 39 - "Community 39"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (1): uploads/-relative path of the pristine original file. After a player ed
|
||||
|
||||
### Community 40 - "Community 40"
|
||||
|
||||
Cohesion: 1.0
|
||||
Nodes (0):
|
||||
|
||||
## Knowledge Gaps
|
||||
- **178 isolated node(s):** `Migrate player_user table to remove player_id and make user_code unique globally`, `Add original_filename column to content table. This preserves the pristine uplo`, `Add url column to content table for weblink support.`, `Add deployment tracking columns to player table.`, `Add email field to https_config table.` (+173 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components.
|
||||
- **Thin community `Community 14`** (2 nodes): `migrate_player_user_global.py`, `Migrate player_user table to remove player_id and make user_code unique globally`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 15`** (2 nodes): `Add original_filename column to content table. This preserves the pristine uplo`, `add_original_filename_to_content.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 16`** (2 nodes): `Add url column to content table for weblink support.`, `add_url_to_content.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 17`** (2 nodes): `Add deployment tracking columns to player table.`, `add_deployment_fields_to_player.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 18`** (2 nodes): `Add email field to https_config table.`, `add_email_to_https_config.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 19`** (2 nodes): `Flask extensions initialization Centralized extension management for the applica`, `extensions.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 20`** (1 nodes): `Check if feedback indicates an error.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 21`** (1 nodes): `Get age of feedback in seconds.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 22`** (1 nodes): `Get most recent feedback for a player. Args: player`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 23`** (1 nodes): `Get the current HTTPS configuration. Returns: HTTPS`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 24`** (1 nodes): `Create or update HTTPS configuration. Args: https_e`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 25`** (1 nodes): `Check if user has admin role.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 26`** (1 nodes): `Check if player is online (seen in last 5 minutes).`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 27`** (1 nodes): `Authenticate a player by hostname and password or quickconnect code.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 28`** (1 nodes): `Create an info level log entry. Args: message: Log`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 29`** (1 nodes): `Create a warning level log entry. Args: message: Lo`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 30`** (1 nodes): `Create an error level log entry. Args: message: Log`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 31`** (1 nodes): `Get number of content items in this group.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 32`** (1 nodes): `Get file size in megabytes.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 33`** (1 nodes): `Get number of groups containing this content.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 34`** (1 nodes): `Name of the original (unedited) file for display purposes.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 35`** (1 nodes): `Path (relative to uploads/) where the original unedited file lives. Whe`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 36`** (1 nodes): `Path (relative to uploads/) of the current/latest version to display.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 37`** (1 nodes): `Whether this content has been edited on a player.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 38`** (1 nodes): `Display name of the original (unedited) file.`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 39`** (1 nodes): `uploads/-relative path of the pristine original file. After a player ed`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
- **Thin community `Community 40`** (1 nodes): `check_fix_player.py`
|
||||
Too small to be a meaningful cluster - may be noise or needs more connections extracted.
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "label": "portal_sso.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "portal_sso_init_portal_sso", "label": "init_portal_sso()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L17", "complexity": 4, "loc": 16}, {"id": "portal_sso_get_or_create_user", "label": "_get_or_create_user()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L35", "complexity": 4, "loc": 18}, {"id": "portal_sso_rationale_1", "label": "Portal SSO middleware for DigiServer v2. When the umbrella nginx verifies the p", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L1"}, {"id": "portal_sso_rationale_18", "label": "Register the SSO before_request handler on the given Flask app.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L18"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "target": "secrets", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L12", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "target": "flask", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L13", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "target": "flask_login", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L14", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "target": "portal_sso_init_portal_sso", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L17", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "target": "portal_sso_get_or_create_user", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L35", "weight": 1.0}, {"source": "portal_sso_rationale_1", "target": "home_scheianu_digiserver_v2_app_utils_portal_sso_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L1", "weight": 1.0}, {"source": "portal_sso_rationale_18", "target": "portal_sso_init_portal_sso", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L18", "weight": 1.0}], "raw_calls": [{"caller_nid": "portal_sso_get_or_create_user", "callee": "first", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L40"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "filter_by", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L40"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "decode", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L42"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "generate_password_hash", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L42"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "token_hex", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L42"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "User", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L43"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "add", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L48"}, {"caller_nid": "portal_sso_get_or_create_user", "callee": "commit", "source_file": "/home/scheianu/digiserver-v2/app/utils/portal_sso.py", "source_location": "L49"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_add_https_config_table_py", "label": "add_https_config_table.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_https_config_table_rationale_1", "label": "Add https_config table for HTTPS configuration management.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_add_https_config_table_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_https_config_table_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_https_config_table_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_https_config_table_py", "target": "app_models_https_config", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L7", "weight": 1.0}, {"source": "add_https_config_table_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_add_https_config_table_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_https_config_table.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_blueprints_init_py", "label": "__init__.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/blueprints/__init__.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "init_rationale_1", "label": "Blueprints package initialization", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/blueprints/__init__.py", "source_location": "L1"}], "edges": [{"source": "init_rationale_1", "target": "home_scheianu_digiserver_v2_app_blueprints_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/blueprints/__init__.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_old_code_documentation_check_fix_player_py", "label": "check_fix_player.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py", "source_location": "L1", "complexity": 1, "loc": 1}], "edges": [{"source": "home_scheianu_digiserver_v2_old_code_documentation_check_fix_player_py", "target": "app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py", "source_location": "L4", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_check_fix_player_py", "target": "app_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_check_fix_player_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py", "source_location": "L6", "weight": 1.0}], "raw_calls": []}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_models_player_edit_py", "label": "player_edit.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "player_edit_playeredit", "label": "PlayerEdit", "file_type": "code", "type": "CLASS", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L8", "complexity": 4, "loc": 53}, {"id": "player_edit_playeredit_repr", "label": ".__repr__()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L42", "complexity": 1, "loc": 3}, {"id": "player_edit_playeredit_to_dict", "label": ".to_dict()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L46", "complexity": 4, "loc": 15}, {"id": "player_edit_rationale_1", "label": "Player edit model for tracking media edited on players.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L1"}, {"id": "player_edit_rationale_9", "label": "Player edit model for tracking media files edited on player devices. At", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L9"}, {"id": "player_edit_rationale_43", "label": "String representation of PlayerEdit.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L43"}, {"id": "player_edit_rationale_47", "label": "Convert to dictionary for API responses.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L47"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_models_player_edit_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_edit_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_edit_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_edit_py", "target": "player_edit_playeredit", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L8", "weight": 1.0}, {"source": "player_edit_playeredit", "target": "player_edit_playeredit_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L42", "weight": 1.0}, {"source": "player_edit_playeredit", "target": "player_edit_playeredit_to_dict", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L46", "weight": 1.0}, {"source": "player_edit_rationale_1", "target": "home_scheianu_digiserver_v2_app_models_player_edit_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L1", "weight": 1.0}, {"source": "player_edit_rationale_9", "target": "player_edit_playeredit", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L9", "weight": 1.0}, {"source": "player_edit_rationale_43", "target": "player_edit_playeredit_repr", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L43", "weight": 1.0}, {"source": "player_edit_rationale_47", "target": "player_edit_playeredit_to_dict", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L47", "weight": 1.0}], "raw_calls": [{"caller_nid": "player_edit_playeredit_to_dict", "callee": "isoformat", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L57"}, {"caller_nid": "player_edit_playeredit_to_dict", "callee": "isoformat", "source_file": "/home/scheianu/digiserver-v2/app/models/player_edit.py", "source_location": "L58"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_add_deployment_fields_to_player_py", "label": "add_deployment_fields_to_player.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_deployment_fields_to_player_rationale_1", "label": "Add deployment tracking columns to player table.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_add_deployment_fields_to_player_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_deployment_fields_to_player_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_deployment_fields_to_player_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_deployment_fields_to_player_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L7", "weight": 1.0}, {"source": "add_deployment_fields_to_player_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_add_deployment_fields_to_player_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_models_init_py", "label": "__init__.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "init_rationale_1", "label": "Models package for digiserver-v2.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_user", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_player", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_group", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L4", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_playlist", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_content", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_server_log", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L7", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_player_feedback", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L8", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_player_edit", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L9", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_player_user", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L10", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_init_py", "target": "app_models_https_config", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L11", "weight": 1.0}, {"source": "init_rationale_1", "target": "home_scheianu_digiserver_v2_app_models_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/__init__.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_old_code_documentation_add_muted_column_py", "label": "add_muted_column.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_muted_column_add_muted_column", "label": "add_muted_column()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L6", "complexity": 3, "loc": 25}, {"id": "add_muted_column_rationale_7", "label": "Add muted column to playlist_content association table.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L7"}], "edges": [{"source": "home_scheianu_digiserver_v2_old_code_documentation_add_muted_column_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_add_muted_column_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L4", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_add_muted_column_py", "target": "add_muted_column_add_muted_column", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L6", "weight": 1.0}, {"source": "add_muted_column_rationale_7", "target": "add_muted_column_add_muted_column", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L7", "weight": 1.0}], "raw_calls": [{"caller_nid": "add_muted_column_add_muted_column", "callee": "create_app", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L8"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "app_context", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L10"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "fetchall", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L13"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "execute", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L13"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "text", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L13"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L17"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "execute", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L21"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "text", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L21"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "commit", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L25"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L26"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L27"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "rollback", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L29"}, {"caller_nid": "add_muted_column_add_muted_column", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py", "source_location": "L30"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_utils_script_name_fix_py", "label": "script_name_fix.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "script_name_fix_scriptnamefix", "label": "ScriptNameFix", "file_type": "code", "type": "CLASS", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L15", "complexity": 3, "loc": 12}, {"id": "script_name_fix_scriptnamefix_init", "label": ".__init__()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L16", "complexity": 1, "loc": 2}, {"id": "script_name_fix_scriptnamefix_call", "label": ".__call__()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L19", "complexity": 3, "loc": 8}, {"id": "script_name_fix_rationale_1", "label": "ScriptNameFix WSGI middleware. When nginx strips the path prefix before forward", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_utils_script_name_fix_py", "target": "script_name_fix_scriptnamefix", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L15", "weight": 1.0}, {"source": "script_name_fix_scriptnamefix", "target": "script_name_fix_scriptnamefix_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L16", "weight": 1.0}, {"source": "script_name_fix_scriptnamefix", "target": "script_name_fix_scriptnamefix_call", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L19", "weight": 1.0}, {"source": "script_name_fix_rationale_1", "target": "home_scheianu_digiserver_v2_app_utils_script_name_fix_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "script_name_fix_scriptnamefix_call", "callee": "rstrip", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L20"}, {"caller_nid": "script_name_fix_scriptnamefix_call", "callee": "get", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L20"}, {"caller_nid": "script_name_fix_scriptnamefix_call", "callee": "get", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L23"}, {"caller_nid": "script_name_fix_scriptnamefix_call", "callee": "startswith", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L24"}, {"caller_nid": "script_name_fix_scriptnamefix_call", "callee": "len", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L25"}, {"caller_nid": "script_name_fix_scriptnamefix_call", "callee": "app", "source_file": "/home/scheianu/digiserver-v2/app/utils/script_name_fix.py", "source_location": "L26"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_old_code_documentation_fix_player_user_schema_py", "label": "fix_player_user_schema.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "fix_player_user_schema_main", "label": "main()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L10", "complexity": 1, "loc": 13}], "edges": [{"source": "home_scheianu_digiserver_v2_old_code_documentation_fix_player_user_schema_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_fix_player_user_schema_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_fix_player_user_schema_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L7", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_fix_player_user_schema_py", "target": "app_models_player_user", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L8", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_old_code_documentation_fix_player_user_schema_py", "target": "fix_player_user_schema_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L10", "weight": 1.0}], "raw_calls": [{"caller_nid": "fix_player_user_schema_main", "callee": "create_app", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L11"}, {"caller_nid": "fix_player_user_schema_main", "callee": "app_context", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L12"}, {"caller_nid": "fix_player_user_schema_main", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L14"}, {"caller_nid": "fix_player_user_schema_main", "callee": "execute", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L15"}, {"caller_nid": "fix_player_user_schema_main", "callee": "text", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L15"}, {"caller_nid": "fix_player_user_schema_main", "callee": "commit", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L16"}, {"caller_nid": "fix_player_user_schema_main", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L19"}, {"caller_nid": "fix_player_user_schema_main", "callee": "create", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L20"}, {"caller_nid": "fix_player_user_schema_main", "callee": "print", "source_file": "/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py", "source_location": "L22"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_models_player_user_py", "label": "player_user.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "player_user_playeruser", "label": "PlayerUser", "file_type": "code", "type": "CLASS", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L7", "complexity": 3, "loc": 31}, {"id": "player_user_playeruser_repr", "label": ".__repr__()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L25", "complexity": 1, "loc": 3}, {"id": "player_user_playeruser_to_dict", "label": ".to_dict()", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L29", "complexity": 3, "loc": 9}, {"id": "player_user_rationale_1", "label": "Player user model for managing user codes and names.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L1"}, {"id": "player_user_rationale_8", "label": "Player user model for managing user codes and names globally. Attribute", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L8"}, {"id": "player_user_rationale_26", "label": "String representation of PlayerUser.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L26"}, {"id": "player_user_rationale_30", "label": "Convert to dictionary for API responses.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L30"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_models_player_user_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_user_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L4", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_models_player_user_py", "target": "player_user_playeruser", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L7", "weight": 1.0}, {"source": "player_user_playeruser", "target": "player_user_playeruser_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L25", "weight": 1.0}, {"source": "player_user_playeruser", "target": "player_user_playeruser_to_dict", "relation": "method", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L29", "weight": 1.0}, {"source": "player_user_rationale_1", "target": "home_scheianu_digiserver_v2_app_models_player_user_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L1", "weight": 1.0}, {"source": "player_user_rationale_8", "target": "player_user_playeruser", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L8", "weight": 1.0}, {"source": "player_user_rationale_26", "target": "player_user_playeruser_repr", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L26", "weight": 1.0}, {"source": "player_user_rationale_30", "target": "player_user_playeruser_to_dict", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L30", "weight": 1.0}], "raw_calls": [{"caller_nid": "player_user_playeruser_to_dict", "callee": "isoformat", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L35"}, {"caller_nid": "player_user_playeruser_to_dict", "callee": "isoformat", "source_file": "/home/scheianu/digiserver-v2/app/models/player_user.py", "source_location": "L36"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_migrate_player_user_global_py", "label": "migrate_player_user_global.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "migrate_player_user_global_rationale_1", "label": "Migrate player_user table to remove player_id and make user_code unique globally", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_migrate_player_user_global_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_migrate_player_user_global_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_migrate_player_user_global_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_migrate_player_user_global_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L7", "weight": 1.0}, {"source": "migrate_player_user_global_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_migrate_player_user_global_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_add_original_filename_to_content_py", "label": "add_original_filename_to_content.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_original_filename_to_content_rationale_1", "label": "Add original_filename column to content table. This preserves the pristine uplo", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_add_original_filename_to_content_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L8", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_original_filename_to_content_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L11", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_original_filename_to_content_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L12", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_original_filename_to_content_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L13", "weight": 1.0}, {"source": "add_original_filename_to_content_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_add_original_filename_to_content_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_add_email_to_https_config_py", "label": "add_email_to_https_config.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_email_to_https_config_rationale_1", "label": "Add email field to https_config table.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_add_email_to_https_config_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_email_to_https_config_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_email_to_https_config_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_email_to_https_config_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L7", "weight": 1.0}, {"source": "add_email_to_https_config_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_add_email_to_https_config_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_extensions_py", "label": "extensions.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "extensions_rationale_1", "label": "Flask extensions initialization Centralized extension management for the applica", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_extensions_py", "target": "flask_sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_extensions_py", "target": "flask_bcrypt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_extensions_py", "target": "flask_login", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L7", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_extensions_py", "target": "flask_migrate", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L8", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_extensions_py", "target": "flask_caching", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L9", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_extensions_py", "target": "flask_cors", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L10", "weight": 1.0}, {"source": "extensions_rationale_1", "target": "home_scheianu_digiserver_v2_app_extensions_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/extensions.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_add_url_to_content_py", "label": "add_url_to_content.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_url_to_content_rationale_1", "label": "Add url column to content table for weblink support.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_add_url_to_content_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_url_to_content_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_url_to_content_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_url_to_content_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L7", "weight": 1.0}, {"source": "add_url_to_content_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_add_url_to_content_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_url_to_content.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_app_utils_init_py", "label": "__init__.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "init_rationale_1", "label": "Utils package for digiserver-v2.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_app_utils_init_py", "target": "app_utils_logger", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_init_py", "target": "app_utils_uploads", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L3", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_init_py", "target": "app_utils_group_player_management", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L13", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_app_utils_init_py", "target": "app_utils_pptx_converter", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L21", "weight": 1.0}, {"source": "init_rationale_1", "target": "home_scheianu_digiserver_v2_app_utils_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/app/utils/__init__.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "home_scheianu_digiserver_v2_migrations_add_player_user_table_py", "label": "add_player_user_table.py", "file_type": "code", "type": "FUNCTION", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L1", "complexity": 1, "loc": 1}, {"id": "add_player_user_table_rationale_1", "label": "Add player_user table for user code mappings.", "file_type": "rationale", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L1"}], "edges": [{"source": "home_scheianu_digiserver_v2_migrations_add_player_user_table_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L2", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_player_user_table_py", "target": "app_app", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L5", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_player_user_table_py", "target": "app_extensions", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L6", "weight": 1.0}, {"source": "home_scheianu_digiserver_v2_migrations_add_player_user_table_py", "target": "app_models_player_user", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L7", "weight": 1.0}, {"source": "add_player_user_table_rationale_1", "target": "home_scheianu_digiserver_v2_migrations_add_player_user_table_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/home/scheianu/digiserver-v2/migrations/add_player_user_table.py", "source_location": "L1", "weight": 1.0}], "raw_calls": []}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+23241
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"hotspots": [
|
||||
{
|
||||
"label": "receive_edited_media()",
|
||||
"risk": 0.62,
|
||||
"type": "FUNCTION"
|
||||
},
|
||||
{
|
||||
"label": "deploy_player_to_host()",
|
||||
"risk": 0.614,
|
||||
"type": "FUNCTION"
|
||||
},
|
||||
{
|
||||
"label": "add_player()",
|
||||
"risk": 0.592,
|
||||
"type": "FUNCTION"
|
||||
},
|
||||
{
|
||||
"label": "upload_media()",
|
||||
"risk": 0.537,
|
||||
"type": "FUNCTION"
|
||||
},
|
||||
{
|
||||
"label": "manage_player()",
|
||||
"risk": 0.429,
|
||||
"type": "FUNCTION"
|
||||
}
|
||||
],
|
||||
"blast_radius": {
|
||||
"log_action()": 116,
|
||||
"PlayerEdit": 99,
|
||||
"PlayerUser": 74,
|
||||
"Playlist": 33,
|
||||
"CaddyConfigGenerator": 31
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
{
|
||||
"projectName": "digiserver-v2",
|
||||
"communityLabels": {
|
||||
"0": "Community 0",
|
||||
"1": "Community 1",
|
||||
"2": "Community 2",
|
||||
"3": "Community 3",
|
||||
"4": "Community 4",
|
||||
"5": "Community 5",
|
||||
"6": "Community 6",
|
||||
"7": "Community 7",
|
||||
"8": "Community 8",
|
||||
"9": "Community 9",
|
||||
"10": "Community 10",
|
||||
"11": "Community 11",
|
||||
"12": "Community 12",
|
||||
"13": "Community 13",
|
||||
"14": "Community 14",
|
||||
"15": "Community 15",
|
||||
"16": "Community 16",
|
||||
"17": "Community 17",
|
||||
"18": "Community 18",
|
||||
"19": "Community 19",
|
||||
"20": "Community 20",
|
||||
"21": "Community 21",
|
||||
"22": "Community 22",
|
||||
"23": "Community 23",
|
||||
"24": "Community 24",
|
||||
"25": "Community 25",
|
||||
"26": "Community 26",
|
||||
"27": "Community 27",
|
||||
"28": "Community 28",
|
||||
"29": "Community 29",
|
||||
"30": "Community 30",
|
||||
"31": "Community 31",
|
||||
"32": "Community 32",
|
||||
"33": "Community 33",
|
||||
"34": "Community 34",
|
||||
"35": "Community 35",
|
||||
"36": "Community 36",
|
||||
"37": "Community 37",
|
||||
"38": "Community 38",
|
||||
"39": "Community 39",
|
||||
"40": "Community 40"
|
||||
},
|
||||
"communitySummaries": {
|
||||
"0": "",
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": "",
|
||||
"9": "",
|
||||
"10": "",
|
||||
"11": "",
|
||||
"12": "",
|
||||
"13": "",
|
||||
"14": "",
|
||||
"15": "",
|
||||
"16": "",
|
||||
"17": "",
|
||||
"18": "",
|
||||
"19": "",
|
||||
"20": "",
|
||||
"21": "",
|
||||
"22": "",
|
||||
"23": "",
|
||||
"24": "",
|
||||
"25": "",
|
||||
"26": "",
|
||||
"27": "",
|
||||
"28": "",
|
||||
"29": "",
|
||||
"30": "",
|
||||
"31": "",
|
||||
"32": "",
|
||||
"33": "",
|
||||
"34": "",
|
||||
"35": "",
|
||||
"36": "",
|
||||
"37": "",
|
||||
"38": "",
|
||||
"39": "",
|
||||
"40": ""
|
||||
},
|
||||
"communityLinks": {
|
||||
"1": {
|
||||
"11": 3,
|
||||
"0": 21,
|
||||
"4": 1,
|
||||
"6": 5,
|
||||
"10": 1,
|
||||
"3": 27
|
||||
},
|
||||
"11": {
|
||||
"0": 1,
|
||||
"1": 2,
|
||||
"3": 1
|
||||
},
|
||||
"0": {
|
||||
"9": 2,
|
||||
"4": 1,
|
||||
"10": 1,
|
||||
"7": 2
|
||||
},
|
||||
"4": {},
|
||||
"6": {
|
||||
"7": 1,
|
||||
"5": 1,
|
||||
"0": 14,
|
||||
"11": 1,
|
||||
"1": 16,
|
||||
"10": 1,
|
||||
"3": 16
|
||||
},
|
||||
"10": {
|
||||
"6": 1,
|
||||
"11": 1
|
||||
},
|
||||
"3": {
|
||||
"0": 14,
|
||||
"5": 5,
|
||||
"7": 1,
|
||||
"1": 25,
|
||||
"10": 1,
|
||||
"2": 1
|
||||
},
|
||||
"9": {
|
||||
"0": 5,
|
||||
"5": 1
|
||||
},
|
||||
"5": {
|
||||
"3": 9,
|
||||
"4": 1,
|
||||
"7": 1,
|
||||
"0": 2,
|
||||
"1": 1,
|
||||
"6": 3,
|
||||
"2": 1
|
||||
},
|
||||
"2": {
|
||||
"7": 2,
|
||||
"3": 25,
|
||||
"5": 6,
|
||||
"0": 25
|
||||
},
|
||||
"7": {
|
||||
"0": 3,
|
||||
"3": 2,
|
||||
"8": 1,
|
||||
"6": 1,
|
||||
"1": 1
|
||||
},
|
||||
"8": {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,243 @@
|
||||
# CaddyConfigGenerator
|
||||
|
||||
> God node · 31 connections · [/home/scheianu/digiserver-v2/app/utils/caddy_manager.py](file:///home/scheianu/digiserver-v2/app/utils/caddy_manager.py#L36)
|
||||
|
||||
## Call Trace Diagram
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant P0 as CaddyConfigGenerator
|
||||
participant P1 as HTTPSConfig
|
||||
participant P2 as Models package for digiserver-v2.
|
||||
participant P3 as PlayerEdit
|
||||
participant P4 as PlayerUser
|
||||
participant P5 as Playlist
|
||||
participant P6 as Content
|
||||
participant P7 as User
|
||||
participant P8 as Player
|
||||
participant P9 as ServerLog
|
||||
participant P10 as Group
|
||||
participant P11 as PlayerFeedback
|
||||
participant P12 as Players blueprint for player management and display.
|
||||
participant P13 as Display list of all players.
|
||||
participant P14 as Add a new player with optional SSH deployment.
|
||||
participant P15 as Regenerate authentication code for a player.
|
||||
participant P16 as Redirect to manage player page (combined view).
|
||||
participant P17 as Manage player - edit credentials, assign playlist, view logs.
|
||||
participant P18 as Display all edited media files from this player.
|
||||
participant P19 as Display a tabular report of all edited media from this player.
|
||||
participant P20 as Display player fullscreen view (no authentication required for players).
|
||||
participant P21 as Get playlist for a player based on their assigned playlist. Args:
|
||||
participant P22 as Legacy endpoint - Content reordering now handled in playlist management.
|
||||
participant P23 as Delete multiple players at once.
|
||||
participant P24 as Assign multiple players to a playlist.
|
||||
participant P25 as Return deployment status for all players (used by polling JS).
|
||||
participant P26 as Reorder items in player's playlist.
|
||||
participant P27 as Remove content from player's playlist.
|
||||
participant P28 as Add https_config table for HTTPS configuration management.
|
||||
participant P29 as Caddy configuration generator and manager.
|
||||
participant P30 as Generate Caddyfile configuration based on HTTPSConfig.
|
||||
participant P31 as Generate a complete Caddyfile. Behaviour: - HTTPS disabled / no
|
||||
participant P32 as Write Caddyfile to disk. The default path is /etc/caddy/Caddyfile — the
|
||||
participant P33 as Push the current Caddyfile to Caddy via its admin API (/load). Caddy ap
|
||||
participant P34 as Write Caddyfile to disk. Args: caddyfile_content: C
|
||||
participant P35 as Reload Caddy configuration without restart. Note: Caddy monitor
|
||||
participant P36 as Admin blueprint for user management and system settings.
|
||||
participant P37 as Decorator to require admin role for route access.
|
||||
participant P38 as Display admin panel with system overview.
|
||||
participant P39 as Create a new user account.
|
||||
participant P40 as Change user role between user and admin.
|
||||
participant P41 as Delete a user account.
|
||||
participant P42 as Change application theme.
|
||||
participant P43 as Upload custom logo for application.
|
||||
participant P44 as Clear all server logs.
|
||||
participant P45 as Display user management page.
|
||||
participant P46 as Get system information as JSON.
|
||||
participant P47 as Display leftover media files not assigned to any playlist.
|
||||
participant P48 as Delete all leftover images that are not part of any playlist
|
||||
participant P49 as Delete all leftover videos that are not part of any playlist
|
||||
participant P50 as Delete a single leftover content file
|
||||
participant P51 as Show system dependencies status.
|
||||
participant P52 as Install LibreOffice for PPTX conversion.
|
||||
participant P53 as Install Emoji Fonts for better UI display.
|
||||
participant P54 as Logo customization page.
|
||||
participant P55 as Upload login page logo.
|
||||
participant P56 as Display and manage users that edit images on players.
|
||||
participant P57 as Update editing user name.
|
||||
participant P58 as Display HTTPS configuration management page.
|
||||
participant P59 as Update HTTPS configuration.
|
||||
participant P60 as Get current HTTPS configuration status as JSON.
|
||||
participant P61 as Path to the persisted player-build settings (in the instance folder).
|
||||
participant P62 as Display the 'Build player files for deployment' admin page.
|
||||
participant P63 as Build/refresh the staged player code and/or write its base config.
|
||||
P0->>+ P1: uses
|
||||
P1-->>- P0: return
|
||||
P1->>+ P0: uses
|
||||
P0-->>- P1: return
|
||||
P1->>+ P2: uses
|
||||
P2-->>- P1: return
|
||||
P2->>+ P3: uses
|
||||
P3-->>- P2: return
|
||||
P2->>+ P4: uses
|
||||
P4-->>- P2: return
|
||||
P2->>+ P5: uses
|
||||
P5-->>- P2: return
|
||||
P2->>+ P1: uses
|
||||
P1-->>- P2: return
|
||||
P2->>+ P6: uses
|
||||
P6-->>- P2: return
|
||||
P2->>+ P7: uses
|
||||
P7-->>- P2: return
|
||||
P2->>+ P8: uses
|
||||
P8-->>- P2: return
|
||||
P2->>+ P9: uses
|
||||
P9-->>- P2: return
|
||||
P2->>+ P10: uses
|
||||
P10-->>- P2: return
|
||||
P2->>+ P11: uses
|
||||
P11-->>- P2: return
|
||||
P1->>+ P12: uses
|
||||
P12-->>- P1: return
|
||||
P12->>+ P3: uses
|
||||
P3-->>- P12: return
|
||||
P12->>+ P4: uses
|
||||
P4-->>- P12: return
|
||||
P12->>+ P1: uses
|
||||
P1-->>- P12: return
|
||||
P1->>+ P13: uses
|
||||
P13-->>- P1: return
|
||||
P1->>+ P14: uses
|
||||
P14-->>- P1: return
|
||||
P1->>+ P15: uses
|
||||
P15-->>- P1: return
|
||||
P1->>+ P16: uses
|
||||
P16-->>- P1: return
|
||||
P1->>+ P17: uses
|
||||
P17-->>- P1: return
|
||||
P1->>+ P18: uses
|
||||
P18-->>- P1: return
|
||||
P1->>+ P19: uses
|
||||
P19-->>- P1: return
|
||||
P1->>+ P20: uses
|
||||
P20-->>- P1: return
|
||||
P1->>+ P21: uses
|
||||
P21-->>- P1: return
|
||||
P1->>+ P22: uses
|
||||
P22-->>- P1: return
|
||||
P1->>+ P23: uses
|
||||
P23-->>- P1: return
|
||||
P1->>+ P24: uses
|
||||
P24-->>- P1: return
|
||||
P1->>+ P25: uses
|
||||
P25-->>- P1: return
|
||||
P1->>+ P26: uses
|
||||
P26-->>- P1: return
|
||||
P1->>+ P27: uses
|
||||
P27-->>- P1: return
|
||||
P1->>+ P28: uses
|
||||
P28-->>- P1: return
|
||||
P1->>+ P29: uses
|
||||
P29-->>- P1: return
|
||||
P1->>+ P30: uses
|
||||
P30-->>- P1: return
|
||||
P1->>+ P31: uses
|
||||
P31-->>- P1: return
|
||||
P1->>+ P32: uses
|
||||
P32-->>- P1: return
|
||||
P1->>+ P33: uses
|
||||
P33-->>- P1: return
|
||||
P1->>+ P34: uses
|
||||
P34-->>- P1: return
|
||||
P1->>+ P35: uses
|
||||
P35-->>- P1: return
|
||||
P0->>+ P36: uses
|
||||
P36-->>- P0: return
|
||||
P0->>+ P37: uses
|
||||
P37-->>- P0: return
|
||||
P0->>+ P38: uses
|
||||
P38-->>- P0: return
|
||||
P0->>+ P39: uses
|
||||
P39-->>- P0: return
|
||||
P0->>+ P40: uses
|
||||
P40-->>- P0: return
|
||||
P0->>+ P41: uses
|
||||
P41-->>- P0: return
|
||||
P0->>+ P42: uses
|
||||
P42-->>- P0: return
|
||||
P0->>+ P43: uses
|
||||
P43-->>- P0: return
|
||||
P0->>+ P44: uses
|
||||
P44-->>- P0: return
|
||||
P0->>+ P45: uses
|
||||
P45-->>- P0: return
|
||||
P0->>+ P46: uses
|
||||
P46-->>- P0: return
|
||||
P0->>+ P47: uses
|
||||
P47-->>- P0: return
|
||||
P0->>+ P48: uses
|
||||
P48-->>- P0: return
|
||||
P0->>+ P49: uses
|
||||
P49-->>- P0: return
|
||||
P0->>+ P50: uses
|
||||
P50-->>- P0: return
|
||||
P0->>+ P51: uses
|
||||
P51-->>- P0: return
|
||||
P0->>+ P52: uses
|
||||
P52-->>- P0: return
|
||||
P0->>+ P53: uses
|
||||
P53-->>- P0: return
|
||||
P0->>+ P54: uses
|
||||
P54-->>- P0: return
|
||||
P0->>+ P55: uses
|
||||
P55-->>- P0: return
|
||||
P0->>+ P56: uses
|
||||
P56-->>- P0: return
|
||||
P0->>+ P57: uses
|
||||
P57-->>- P0: return
|
||||
P0->>+ P58: uses
|
||||
P58-->>- P0: return
|
||||
P0->>+ P59: uses
|
||||
P59-->>- P0: return
|
||||
P0->>+ P60: uses
|
||||
P60-->>- P0: return
|
||||
P0->>+ P61: uses
|
||||
P61-->>- P0: return
|
||||
P0->>+ P62: uses
|
||||
P62-->>- P0: return
|
||||
P0->>+ P63: uses
|
||||
P63-->>- P0: return
|
||||
```
|
||||
|
||||
## Connections by Relation
|
||||
|
||||
### contains
|
||||
- [[caddy_manager.py]] `EXTRACTED`
|
||||
|
||||
### rationale_for
|
||||
- [[Generate Caddyfile configuration based on HTTPSConfig.]] `EXTRACTED`
|
||||
|
||||
### uses
|
||||
- [[HTTPSConfig]] `INFERRED`
|
||||
- [[Admin blueprint for user management and system settings.]] `INFERRED`
|
||||
- [[Decorator to require admin role for route access.]] `INFERRED`
|
||||
- [[Display admin panel with system overview.]] `INFERRED`
|
||||
- [[Create a new user account.]] `INFERRED`
|
||||
- [[Change user role between user and admin.]] `INFERRED`
|
||||
- [[Delete a user account.]] `INFERRED`
|
||||
- [[Change application theme.]] `INFERRED`
|
||||
- [[Upload custom logo for application.]] `INFERRED`
|
||||
- [[Clear all server logs.]] `INFERRED`
|
||||
- [[Display user management page.]] `INFERRED`
|
||||
- [[Get system information as JSON.]] `INFERRED`
|
||||
- [[Display leftover media files not assigned to any playlist.]] `INFERRED`
|
||||
- [[Delete all leftover images that are not part of any playlist]] `INFERRED`
|
||||
- [[Delete all leftover videos that are not part of any playlist]] `INFERRED`
|
||||
- [[Delete a single leftover content file]] `INFERRED`
|
||||
- [[Show system dependencies status.]] `INFERRED`
|
||||
- [[Install LibreOffice for PPTX conversion.]] `INFERRED`
|
||||
- [[Install Emoji Fonts for better UI display.]] `INFERRED`
|
||||
- [[Logo customization page.]] `INFERRED`
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,66 @@
|
||||
# Community 0
|
||||
|
||||
> 90 nodes · cohesion 0.03
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [log_action()](file:///home/scheianu/digiserver-v2/app/utils/logger.py#L9) (116 connections)
|
||||
- [content_old.py](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L1) (13 connections)
|
||||
- [blueprint_groups.py](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L1) (13 connections)
|
||||
- [ServerLog](file:///home/scheianu/digiserver-v2/app/models/server_log.py#L8) (12 connections)
|
||||
- [group_player_management.py](file:///home/scheianu/digiserver-v2/app/utils/group_player_management.py#L1) (8 connections)
|
||||
- [get_player_status_info()](file:///home/scheianu/digiserver-v2/app/utils/group_player_management.py#L10) (7 connections)
|
||||
- [logger.py](file:///home/scheianu/digiserver-v2/app/utils/logger.py#L1) (7 connections)
|
||||
- [auth.py](file:///home/scheianu/digiserver-v2/app/blueprints/auth.py#L1) (5 connections)
|
||||
- [server_log.py](file:///home/scheianu/digiserver-v2/app/models/server_log.py#L1) (5 connections)
|
||||
- [group_fullscreen()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L214) (4 connections)
|
||||
- [group_stats()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L394) (4 connections)
|
||||
- [groups_list()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L16) (4 connections)
|
||||
- [manage_group()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L175) (4 connections)
|
||||
- [get_group_statistics()](file:///home/scheianu/digiserver-v2/app/utils/group_player_management.py#L54) (4 connections)
|
||||
- [add_content_to_group()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L298) (3 connections)
|
||||
- [add_player_to_group()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L239) (3 connections)
|
||||
- [remove_content_from_group()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L335) (3 connections)
|
||||
- [remove_player_from_group()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L269) (3 connections)
|
||||
- [reorder_group_content()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L365) (3 connections)
|
||||
- [bulk_delete_content()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L337) (3 connections)
|
||||
- [check_duplicates()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L453) (3 connections)
|
||||
- [content_groups_info()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L478) (3 connections)
|
||||
- [content_list()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L30) (3 connections)
|
||||
- [content_statistics()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L419) (3 connections)
|
||||
- [delete_by_filename()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L289) (3 connections)
|
||||
- *... and 65 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class ServerLog {
|
||||
+server_log.py()
|
||||
+.__repr__()
|
||||
}
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/auth.py](file:///home/scheianu/digiserver-v2/app/blueprints/auth.py)
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/content_old.py](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py)
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/main.py](file:///home/scheianu/digiserver-v2/app/blueprints/main.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/server_log.py](file:///home/scheianu/digiserver-v2/app/models/server_log.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/group_player_management.py](file:///home/scheianu/digiserver-v2/app/utils/group_player_management.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/logger.py](file:///home/scheianu/digiserver-v2/app/utils/logger.py)
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 180 (52%)
|
||||
- INFERRED: 165 (48%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,69 @@
|
||||
# Community 1
|
||||
|
||||
> 80 nodes · cohesion 0.04
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [PlayerUser](file:///home/scheianu/digiserver-v2/app/models/player_user.py#L7) (74 connections)
|
||||
- [CaddyConfigGenerator](file:///home/scheianu/digiserver-v2/app/utils/caddy_manager.py#L36) (31 connections)
|
||||
- [admin.py](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1) (31 connections)
|
||||
- [get_config()](file:///home/scheianu/digiserver-v2/app/models/https_config.py#L43) (8 connections)
|
||||
- [build_player()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1028) (7 connections)
|
||||
- [update_https_config()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L886) (7 connections)
|
||||
- [https_config_status()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L995) (5 connections)
|
||||
- [caddy_manager.py](file:///home/scheianu/digiserver-v2/app/utils/caddy_manager.py#L1) (5 connections)
|
||||
- [create_user()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L79) (4 connections)
|
||||
- [https_config()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L856) (4 connections)
|
||||
- [_player_build_meta_path()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1019) (4 connections)
|
||||
- [Admin blueprint for user management and system settings.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1) (4 connections)
|
||||
- [Path to the persisted player-build settings (in the instance folder).](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1020) (4 connections)
|
||||
- [Display the 'Build player files for deployment' admin page.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1029) (4 connections)
|
||||
- [Change user role between user and admin.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L126) (4 connections)
|
||||
- [Delete a user account.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L160) (4 connections)
|
||||
- [Change application theme.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L188) (4 connections)
|
||||
- [Decorator to require admin role for route access.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L19) (4 connections)
|
||||
- [Upload custom logo for application.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L212) (4 connections)
|
||||
- [Clear all server logs.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L254) (4 connections)
|
||||
- [Display user management page.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L274) (4 connections)
|
||||
- [Get system information as JSON.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L323) (4 connections)
|
||||
- [Display leftover media files not assigned to any playlist.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L355) (4 connections)
|
||||
- [Display admin panel with system overview.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L36) (4 connections)
|
||||
- [Delete all leftover images that are not part of any playlist](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L407) (4 connections)
|
||||
- *... and 55 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class CaddyConfigGenerator {
|
||||
+caddy_manager.py()
|
||||
}
|
||||
class PlayerUser {
|
||||
+player_user.py()
|
||||
+.__repr__()
|
||||
+.to_dict()
|
||||
}
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/admin.py](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/https_config.py](file:///home/scheianu/digiserver-v2/app/models/https_config.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_edit.py](file:///home/scheianu/digiserver-v2/app/models/player_edit.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_user.py](file:///home/scheianu/digiserver-v2/app/models/player_user.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/caddy_manager.py](file:///home/scheianu/digiserver-v2/app/utils/caddy_manager.py)
|
||||
- [/home/scheianu/digiserver-v2/migrations/add_player_user_table.py](file:///home/scheianu/digiserver-v2/migrations/add_player_user_table.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 156 (41%)
|
||||
- INFERRED: 229 (59%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,45 @@
|
||||
# Community 10
|
||||
|
||||
> 20 nodes · cohesion 0.12
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [ssh_deploy.py](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L1) (8 connections)
|
||||
- [deploy_player_to_host()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L311) (8 connections)
|
||||
- [background_player_deployment()](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py#L29) (4 connections)
|
||||
- [generate_app_config()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L267) (4 connections)
|
||||
- [get_local_player_code_status()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L15) (4 connections)
|
||||
- [run_background_task()](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py#L9) (3 connections)
|
||||
- [background_tasks.py](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py#L1) (3 connections)
|
||||
- [parse_server_address()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L241) (3 connections)
|
||||
- [test_ssh_connection()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L85) (3 connections)
|
||||
- [generate_player_config()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L149) (2 connections)
|
||||
- [Background task execution for long-running operations.](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py#L1) (1 connections)
|
||||
- [Run a function in a background thread, with a Flask app context pushed.](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py#L10) (1 connections)
|
||||
- [Deploy player code to host in background. Args: hostname: SSH h](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py#L43) (1 connections)
|
||||
- [SSH deployment utilities for player provisioning.](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L1) (1 connections)
|
||||
- [Generate player configuration JSON for connecting to DigiServer. Args:](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L156) (1 connections)
|
||||
- [Check status of pre-staged player code. Args: player_code_dir: Opti](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L16) (1 connections)
|
||||
- [Derive the values the player needs from a DigiServer URL. The player's conf](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L242) (1 connections)
|
||||
- [Generate the config/app_config.json the player actually reads. This is what](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L277) (1 connections)
|
||||
- [Deploy player code to remote host. Args: hostname: Target hostn](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L326) (1 connections)
|
||||
- [Test SSH connection to a remote host. Args: hostname: Target ho](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L86) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/utils/background_tasks.py](file:///home/scheianu/digiserver-v2/app/utils/background_tasks.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/ssh_deploy.py](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 45 (87%)
|
||||
- INFERRED: 7 (13%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,44 @@
|
||||
# Community 11
|
||||
|
||||
> 19 nodes · cohesion 0.15
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [build_player_action()](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1074) (9 connections)
|
||||
- [player_build.py](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L1) (9 connections)
|
||||
- [build_player_files()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L49) (5 connections)
|
||||
- [get_short_head()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L38) (5 connections)
|
||||
- [Build/refresh the staged player code and/or write its base config.](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py#L1075) (4 connections)
|
||||
- [get_player_server_settings()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L188) (4 connections)
|
||||
- [load_build_settings()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L165) (4 connections)
|
||||
- [write_base_config()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L128) (4 connections)
|
||||
- [make_build_record()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L208) (3 connections)
|
||||
- [_run_git()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L28) (3 connections)
|
||||
- [save_build_settings()](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L176) (3 connections)
|
||||
- [Utilities for building/staging the player files on the server. Admins use the "](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L1) (1 connections)
|
||||
- [Write a base ``config/app_config.json`` into the staged player code. ``scre](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L137) (1 connections)
|
||||
- [Load saved build settings from ``meta_path`` (or None if absent/invalid).](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L166) (1 connections)
|
||||
- [Persist build settings to ``meta_path``.](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L177) (1 connections)
|
||||
- [Return the saved server address settings for deployment, if available. Retu](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L189) (1 connections)
|
||||
- [Assemble the metadata record to persist after a build.](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L210) (1 connections)
|
||||
- [Return the short git commit of the staged code, or 'unknown'.](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L39) (1 connections)
|
||||
- [Clone or refresh the player source into ``player_code_dir``. If the directo](file:///home/scheianu/digiserver-v2/app/utils/player_build.py#L50) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/admin.py](file:///home/scheianu/digiserver-v2/app/blueprints/admin.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/player_build.py](file:///home/scheianu/digiserver-v2/app/utils/player_build.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 44 (72%)
|
||||
- INFERRED: 17 (28%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,32 @@
|
||||
# Community 12
|
||||
|
||||
> 8 nodes · cohesion 0.29
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [pptx_converter.py](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L1) (4 connections)
|
||||
- [cleanup_libreoffice_processes()](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L11) (3 connections)
|
||||
- [pptx_to_pdf_libreoffice()](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L20) (3 connections)
|
||||
- [validate_pptx_file()](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L86) (2 connections)
|
||||
- [PowerPoint to PDF converter using LibreOffice.](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L1) (1 connections)
|
||||
- [Clean up any hanging LibreOffice processes.](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L12) (1 connections)
|
||||
- [Convert PPTX to PDF using LibreOffice for highest quality. This functio](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L21) (1 connections)
|
||||
- [Validate if file is a valid PowerPoint file. Args: filepath: Pa](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py#L87) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/utils/pptx_converter.py](file:///home/scheianu/digiserver-v2/app/utils/pptx_converter.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 16 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,28 @@
|
||||
# Community 13
|
||||
|
||||
> 4 nodes · cohesion 0.50
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [migrate_add_edit_enabled.py](file:///home/scheianu/digiserver-v2/old_code_documentation/migrate_add_edit_enabled.py#L1) (2 connections)
|
||||
- [migrate()](file:///home/scheianu/digiserver-v2/old_code_documentation/migrate_add_edit_enabled.py#L7) (2 connections)
|
||||
- [Migration: Add edit_on_player_enabled column to playlist_content table.](file:///home/scheianu/digiserver-v2/old_code_documentation/migrate_add_edit_enabled.py#L1) (1 connections)
|
||||
- [Add edit_on_player_enabled column to playlist_content.](file:///home/scheianu/digiserver-v2/old_code_documentation/migrate_add_edit_enabled.py#L8) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/migrate_add_edit_enabled.py](file:///home/scheianu/digiserver-v2/old_code_documentation/migrate_add_edit_enabled.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 6 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Community 14
|
||||
|
||||
> 2 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [migrate_player_user_global.py](file:///home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py#L1) (1 connections)
|
||||
- [Migrate player_user table to remove player_id and make user_code unique globally](file:///home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py#L1) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py](file:///home/scheianu/digiserver-v2/migrations/migrate_player_user_global.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 2 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Community 15
|
||||
|
||||
> 2 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Add original_filename column to content table. This preserves the pristine uplo](file:///home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py#L1) (1 connections)
|
||||
- [add_original_filename_to_content.py](file:///home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py#L1) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py](file:///home/scheianu/digiserver-v2/migrations/add_original_filename_to_content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 2 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Community 16
|
||||
|
||||
> 2 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Add url column to content table for weblink support.](file:///home/scheianu/digiserver-v2/migrations/add_url_to_content.py#L1) (1 connections)
|
||||
- [add_url_to_content.py](file:///home/scheianu/digiserver-v2/migrations/add_url_to_content.py#L1) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/migrations/add_url_to_content.py](file:///home/scheianu/digiserver-v2/migrations/add_url_to_content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 2 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Community 17
|
||||
|
||||
> 2 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Add deployment tracking columns to player table.](file:///home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py#L1) (1 connections)
|
||||
- [add_deployment_fields_to_player.py](file:///home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py#L1) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py](file:///home/scheianu/digiserver-v2/migrations/add_deployment_fields_to_player.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 2 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Community 18
|
||||
|
||||
> 2 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Add email field to https_config table.](file:///home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py#L1) (1 connections)
|
||||
- [add_email_to_https_config.py](file:///home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py#L1) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py](file:///home/scheianu/digiserver-v2/migrations/add_email_to_https_config.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 2 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Community 19
|
||||
|
||||
> 2 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Flask extensions initialization Centralized extension management for the applica](file:///home/scheianu/digiserver-v2/app/extensions.py#L1) (1 connections)
|
||||
- [extensions.py](file:///home/scheianu/digiserver-v2/app/extensions.py#L1) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/extensions.py](file:///home/scheianu/digiserver-v2/app/extensions.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 2 (100%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,52 @@
|
||||
# Community 2
|
||||
|
||||
> 68 nodes · cohesion 0.04
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [content.py](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L1) (27 connections)
|
||||
- [.increment_version()](file:///home/scheianu/digiserver-v2/app/models/playlist.py#L70) (18 connections)
|
||||
- [upload_media()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L1220) (9 connections)
|
||||
- [playlist.py](file:///home/scheianu/digiserver-v2/app/blueprints/playlist.py#L1) (8 connections)
|
||||
- [process_file_in_background()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L798) (7 connections)
|
||||
- [process_presentation_file()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L977) (7 connections)
|
||||
- [add_weblink()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L272) (5 connections)
|
||||
- [add_weblink_to_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L352) (5 connections)
|
||||
- [process_pdf_file()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L727) (5 connections)
|
||||
- [process_video_file_extended()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L702) (5 connections)
|
||||
- [playlist.py](file:///home/scheianu/digiserver-v2/app/models/playlist.py#L1) (5 connections)
|
||||
- [add_content_to_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L222) (4 connections)
|
||||
- [bulk_remove_from_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L455) (4 connections)
|
||||
- [optimize_image_to_fullhd()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L1203) (4 connections)
|
||||
- [process_image_file()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L676) (4 connections)
|
||||
- [remove_content_from_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L418) (4 connections)
|
||||
- [reorder_playlist_content()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L497) (4 connections)
|
||||
- [resize_image_to_fullhd()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L1145) (4 connections)
|
||||
- [update_playlist_content_duration()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L620) (4 connections)
|
||||
- [update_playlist_content_edit_enabled()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L579) (4 connections)
|
||||
- [update_playlist_content_muted()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L538) (4 connections)
|
||||
- [add_to_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/playlist.py#L33) (4 connections)
|
||||
- [clear_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/playlist.py#L278) (4 connections)
|
||||
- [remove_from_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/playlist.py#L88) (4 connections)
|
||||
- [reorder_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/playlist.py#L143) (4 connections)
|
||||
- *... and 43 more nodes in this community*
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/content.py](file:///home/scheianu/digiserver-v2/app/blueprints/content.py)
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/playlist.py](file:///home/scheianu/digiserver-v2/app/blueprints/playlist.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/playlist.py](file:///home/scheianu/digiserver-v2/app/models/playlist.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 154 (64%)
|
||||
- INFERRED: 86 (36%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 20
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Check if feedback indicates an error.](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py#L43) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_feedback.py](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 21
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Get age of feedback in seconds.](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py#L48) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_feedback.py](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 22
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Get most recent feedback for a player. Args: player](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py#L54) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_feedback.py](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 23
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Get the current HTTPS configuration. Returns: HTTPS](file:///home/scheianu/digiserver-v2/app/models/https_config.py#L44) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/https_config.py](file:///home/scheianu/digiserver-v2/app/models/https_config.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 24
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Create or update HTTPS configuration. Args: https_e](file:///home/scheianu/digiserver-v2/app/models/https_config.py#L56) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/https_config.py](file:///home/scheianu/digiserver-v2/app/models/https_config.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 25
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Check if user has admin role.](file:///home/scheianu/digiserver-v2/app/models/user.py#L38) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/user.py](file:///home/scheianu/digiserver-v2/app/models/user.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 26
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Check if player is online (seen in last 5 minutes).](file:///home/scheianu/digiserver-v2/app/models/player.py#L61) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/player.py](file:///home/scheianu/digiserver-v2/app/models/player.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 27
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Authenticate a player by hostname and password or quickconnect code.](file:///home/scheianu/digiserver-v2/app/models/player.py#L122) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/player.py](file:///home/scheianu/digiserver-v2/app/models/player.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 28
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Create an info level log entry. Args: message: Log](file:///home/scheianu/digiserver-v2/app/models/server_log.py#L31) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/server_log.py](file:///home/scheianu/digiserver-v2/app/models/server_log.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 29
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Create a warning level log entry. Args: message: Lo](file:///home/scheianu/digiserver-v2/app/models/server_log.py#L46) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/server_log.py](file:///home/scheianu/digiserver-v2/app/models/server_log.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,71 @@
|
||||
# Community 3
|
||||
|
||||
> 62 nodes · cohesion 0.06
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [PlayerEdit](file:///home/scheianu/digiserver-v2/app/models/player_edit.py#L8) (99 connections)
|
||||
- [Playlist](file:///home/scheianu/digiserver-v2/app/models/playlist.py#L19) (33 connections)
|
||||
- [api.py](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L1) (23 connections)
|
||||
- [receive_edited_media()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L736) (6 connections)
|
||||
- [authenticate_player()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L107) (5 connections)
|
||||
- [get_cached_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L378) (5 connections)
|
||||
- [get_playlist_by_quickconnect()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L207) (5 connections)
|
||||
- [receive_player_feedback()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L429) (5 connections)
|
||||
- [.get_content_ordered()](file:///home/scheianu/digiserver-v2/app/models/playlist.py#L75) (5 connections)
|
||||
- [deploy_player()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L980) (4 connections)
|
||||
- [get_player_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L305) (4 connections)
|
||||
- [API blueprint for REST endpoints and player communication.](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L1) (4 connections)
|
||||
- [Get server SSL certificate.](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L101) (4 connections)
|
||||
- [Handle 404 errors in API.](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L1050) (4 connections)
|
||||
- [Handle 405 errors in API.](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L1056) (4 connections)
|
||||
- [Handle 500 errors in API.](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L1062) (4 connections)
|
||||
- [Authenticate a player and return auth code and configuration. Request J](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L108) (4 connections)
|
||||
- [Verify an auth code and return player information. Request JSON:](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L164) (4 connections)
|
||||
- [Get playlist using hostname and quickconnect code (Kivy player compatible).](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L208) (4 connections)
|
||||
- [Rate limiting decorator. Args: max_requests: Maximum number of](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L22) (4 connections)
|
||||
- [Get playlist for a specific player. Requires player authentication via](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L306) (4 connections)
|
||||
- [Get current playlist version for a player. Lightweight endpoint for pla](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L350) (4 connections)
|
||||
- [Get cached playlist for a player based on assigned playlist.](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L379) (4 connections)
|
||||
- [Receive feedback/status updates from players (Kivy player compatible).](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L430) (4 connections)
|
||||
- [Get current status of a player (public endpoint for monitoring).](file:///home/scheianu/digiserver-v2/app/blueprints/api.py#L541) (4 connections)
|
||||
- *... and 37 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
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](file:///home/scheianu/digiserver-v2/app/blueprints/api.py)
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/content.py](file:///home/scheianu/digiserver-v2/app/blueprints/content.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player.py](file:///home/scheianu/digiserver-v2/app/models/player.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_edit.py](file:///home/scheianu/digiserver-v2/app/models/player_edit.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/playlist.py](file:///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.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 30
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Create an error level log entry. Args: message: Log](file:///home/scheianu/digiserver-v2/app/models/server_log.py#L61) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/server_log.py](file:///home/scheianu/digiserver-v2/app/models/server_log.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 31
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Get number of content items in this group.](file:///home/scheianu/digiserver-v2/app/models/group.py#L46) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/group.py](file:///home/scheianu/digiserver-v2/app/models/group.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 32
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Get file size in megabytes.](file:///home/scheianu/digiserver-v2/app/models/content.py#L50) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 33
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Get number of groups containing this content.](file:///home/scheianu/digiserver-v2/app/models/content.py#L57) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 34
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Name of the original (unedited) file for display purposes.](file:///home/scheianu/digiserver-v2/app/models/content.py#L62) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 35
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Path (relative to uploads/) where the original unedited file lives. Whe](file:///home/scheianu/digiserver-v2/app/models/content.py#L67) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 36
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Path (relative to uploads/) of the current/latest version to display.](file:///home/scheianu/digiserver-v2/app/models/content.py#L79) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 37
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Whether this content has been edited on a player.](file:///home/scheianu/digiserver-v2/app/models/content.py#L100) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 38
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Display name of the original (unedited) file.](file:///home/scheianu/digiserver-v2/app/models/content.py#L105) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 39
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [uploads/-relative path of the pristine original file. After a player ed](file:///home/scheianu/digiserver-v2/app/models/content.py#L110) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,91 @@
|
||||
# Community 4
|
||||
|
||||
> 55 nodes · cohesion 0.07
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [User](file:///home/scheianu/digiserver-v2/app/models/user.py#L10) (19 connections)
|
||||
- [create_app()](file:///home/scheianu/digiserver-v2/app/app.py#L17) (13 connections)
|
||||
- [ScriptNameFix](file:///home/scheianu/digiserver-v2/app/utils/script_name_fix.py#L15) (12 connections)
|
||||
- [DevelopmentConfig](file:///home/scheianu/digiserver-v2/app/config.py#L56) (11 connections)
|
||||
- [ProductionConfig](file:///home/scheianu/digiserver-v2/app/config.py#L78) (11 connections)
|
||||
- [TestingConfig](file:///home/scheianu/digiserver-v2/app/config.py#L102) (11 connections)
|
||||
- [app.py](file:///home/scheianu/digiserver-v2/app/app.py#L1) (8 connections)
|
||||
- [DigiServer v2 - Application Factory Modern Flask application with blueprint arch](file:///home/scheianu/digiserver-v2/app/app.py#L1) (6 connections)
|
||||
- [Configure Flask-Login](file:///home/scheianu/digiserver-v2/app/app.py#L111) (6 connections)
|
||||
- [Register error handlers](file:///home/scheianu/digiserver-v2/app/app.py#L124) (6 connections)
|
||||
- [Register CLI commands](file:///home/scheianu/digiserver-v2/app/app.py#L149) (6 connections)
|
||||
- [Application factory pattern Args: config_name: Configuration en](file:///home/scheianu/digiserver-v2/app/app.py#L18) (6 connections)
|
||||
- [Register context processors for templates](file:///home/scheianu/digiserver-v2/app/app.py#L190) (6 connections)
|
||||
- [Register custom Jinja2 template filters](file:///home/scheianu/digiserver-v2/app/app.py#L214) (6 connections)
|
||||
- [Register application blueprints](file:///home/scheianu/digiserver-v2/app/app.py#L91) (6 connections)
|
||||
- [config.py](file:///home/scheianu/digiserver-v2/app/config.py#L1) (6 connections)
|
||||
- [Config](file:///home/scheianu/digiserver-v2/app/config.py#L9) (4 connections)
|
||||
- [add_muted_column()](file:///home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py#L6) (3 connections)
|
||||
- [configure_login_manager()](file:///home/scheianu/digiserver-v2/app/app.py#L110) (3 connections)
|
||||
- [register_blueprints()](file:///home/scheianu/digiserver-v2/app/app.py#L90) (3 connections)
|
||||
- [register_commands()](file:///home/scheianu/digiserver-v2/app/app.py#L148) (3 connections)
|
||||
- [register_context_processors()](file:///home/scheianu/digiserver-v2/app/app.py#L189) (3 connections)
|
||||
- [register_error_handlers()](file:///home/scheianu/digiserver-v2/app/app.py#L123) (3 connections)
|
||||
- [register_template_filters()](file:///home/scheianu/digiserver-v2/app/app.py#L213) (3 connections)
|
||||
- [user.py](file:///home/scheianu/digiserver-v2/app/models/user.py#L1) (3 connections)
|
||||
- *... and 30 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class Config {
|
||||
+config.py()
|
||||
}
|
||||
class DevelopmentConfig {
|
||||
+config.py()
|
||||
}
|
||||
class ProductionConfig {
|
||||
+config.py()
|
||||
}
|
||||
class TestingConfig {
|
||||
+config.py()
|
||||
}
|
||||
class ScriptNameFix {
|
||||
+script_name_fix.py()
|
||||
+.__init__()
|
||||
+.__call__()
|
||||
}
|
||||
class User {
|
||||
+user.py()
|
||||
+.__repr__()
|
||||
+.update_last_login()
|
||||
}
|
||||
DevelopmentConfig <|-- Config
|
||||
ProductionConfig <|-- Config
|
||||
TestingConfig <|-- Config
|
||||
Config <|-- DevelopmentConfig
|
||||
Config <|-- ProductionConfig
|
||||
Config <|-- TestingConfig
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/app.py](file:///home/scheianu/digiserver-v2/app/app.py)
|
||||
- [/home/scheianu/digiserver-v2/app/config.py](file:///home/scheianu/digiserver-v2/app/config.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/user.py](file:///home/scheianu/digiserver-v2/app/models/user.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/portal_sso.py](file:///home/scheianu/digiserver-v2/app/utils/portal_sso.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/script_name_fix.py](file:///home/scheianu/digiserver-v2/app/utils/script_name_fix.py)
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py](file:///home/scheianu/digiserver-v2/old_code_documentation/add_muted_column.py)
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py](file:///home/scheianu/digiserver-v2/old_code_documentation/fix_player_user_schema.py)
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_simple.py](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_simple.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 112 (53%)
|
||||
- INFERRED: 99 (47%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,25 @@
|
||||
# Community 40
|
||||
|
||||
> 1 nodes · cohesion 1.00
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [check_fix_player.py](file:///home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py#L1) (0 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py](file:///home/scheianu/digiserver-v2/old_code_documentation/check_fix_player.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 0 (0%)
|
||||
- INFERRED: 0 (0%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,84 @@
|
||||
# Community 5
|
||||
|
||||
> 54 nodes · cohesion 0.04
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [Content](file:///home/scheianu/digiserver-v2/app/models/content.py#L8) (24 connections)
|
||||
- [Models package for digiserver-v2.](file:///home/scheianu/digiserver-v2/app/models/__init__.py#L1) (13 connections)
|
||||
- [Player](file:///home/scheianu/digiserver-v2/app/models/player.py#L8) (12 connections)
|
||||
- [content.py](file:///home/scheianu/digiserver-v2/app/models/content.py#L1) (8 connections)
|
||||
- [player_feedback.py](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py#L1) (5 connections)
|
||||
- [PlayerFeedback](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py#L8) (5 connections)
|
||||
- [.check_quickconnect_code()](file:///home/scheianu/digiserver-v2/app/models/player.py#L106) (5 connections)
|
||||
- [player.py](file:///home/scheianu/digiserver-v2/app/models/player.py#L1) (4 connections)
|
||||
- [Main Blueprint - Dashboard and Home Routes](file:///home/scheianu/digiserver-v2/app/blueprints/main.py#L1) (4 connections)
|
||||
- [Health check endpoint](file:///home/scheianu/digiserver-v2/app/blueprints/main.py#L50) (4 connections)
|
||||
- [authenticate()](file:///home/scheianu/digiserver-v2/app/models/player.py#L121) (4 connections)
|
||||
- [Content model for media files.](file:///home/scheianu/digiserver-v2/app/models/content.py#L1) (3 connections)
|
||||
- [main.py](file:///home/scheianu/digiserver-v2/app/blueprints/main.py#L1) (3 connections)
|
||||
- [.check_password()](file:///home/scheianu/digiserver-v2/app/models/player.py#L85) (3 connections)
|
||||
- [.is_image()](file:///home/scheianu/digiserver-v2/app/models/content.py#L82) (2 connections)
|
||||
- [.is_pdf()](file:///home/scheianu/digiserver-v2/app/models/content.py#L90) (2 connections)
|
||||
- [.is_video()](file:///home/scheianu/digiserver-v2/app/models/content.py#L86) (2 connections)
|
||||
- [.is_weblink()](file:///home/scheianu/digiserver-v2/app/models/content.py#L94) (2 connections)
|
||||
- [.__repr__()](file:///home/scheianu/digiserver-v2/app/models/content.py#L44) (2 connections)
|
||||
- [health()](file:///home/scheianu/digiserver-v2/app/blueprints/main.py#L49) (2 connections)
|
||||
- [.__repr__()](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py#L37) (2 connections)
|
||||
- [.__repr__()](file:///home/scheianu/digiserver-v2/app/models/player.py#L55) (2 connections)
|
||||
- [.__repr__()](file:///home/scheianu/digiserver-v2/app/models/playlist.py#L48) (2 connections)
|
||||
- [String representation of Playlist.](file:///home/scheianu/digiserver-v2/app/models/playlist.py#L49) (2 connections)
|
||||
- [current_media_path()](file:///home/scheianu/digiserver-v2/app/models/content.py#L78) (1 connections)
|
||||
- *... and 29 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class Content {
|
||||
+content.py()
|
||||
+.__repr__()
|
||||
+.is_image()
|
||||
+.is_video()
|
||||
+.is_pdf()
|
||||
+.is_weblink()
|
||||
}
|
||||
class PlayerFeedback {
|
||||
+player_feedback.py()
|
||||
+.__repr__()
|
||||
}
|
||||
class Player {
|
||||
+player.py()
|
||||
+.__repr__()
|
||||
+.update_status()
|
||||
+.set_password()
|
||||
+.check_password()
|
||||
+.set_quickconnect_code()
|
||||
+.check_quickconnect_code()
|
||||
}
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/__init__.py](file:///home/scheianu/digiserver-v2/app/blueprints/__init__.py)
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/main.py](file:///home/scheianu/digiserver-v2/app/blueprints/main.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/__init__.py](file:///home/scheianu/digiserver-v2/app/models/__init__.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/content.py](file:///home/scheianu/digiserver-v2/app/models/content.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player.py](file:///home/scheianu/digiserver-v2/app/models/player.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player_feedback.py](file:///home/scheianu/digiserver-v2/app/models/player_feedback.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/playlist.py](file:///home/scheianu/digiserver-v2/app/models/playlist.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/__init__.py](file:///home/scheianu/digiserver-v2/app/utils/__init__.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 100 (68%)
|
||||
- INFERRED: 47 (32%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,66 @@
|
||||
# Community 6
|
||||
|
||||
> 51 nodes · cohesion 0.05
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [HTTPSConfig](file:///home/scheianu/digiserver-v2/app/models/https_config.py#L8) (30 connections)
|
||||
- [players.py](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L1) (18 connections)
|
||||
- [add_player()](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L56) (10 connections)
|
||||
- [manage_player()](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L328) (6 connections)
|
||||
- [.set_password()](file:///home/scheianu/digiserver-v2/app/models/player.py#L76) (4 connections)
|
||||
- [.set_quickconnect_code()](file:///home/scheianu/digiserver-v2/app/models/player.py#L97) (4 connections)
|
||||
- [get_player_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L545) (4 connections)
|
||||
- [player_fullscreen()](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L522) (4 connections)
|
||||
- [Players blueprint for player management and display.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L1) (4 connections)
|
||||
- [Regenerate authentication code for a player.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L299) (4 connections)
|
||||
- [Redirect to manage player page (combined view).](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L322) (4 connections)
|
||||
- [Manage player - edit credentials, assign playlist, view logs.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L329) (4 connections)
|
||||
- [Display all edited media files from this player.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L446) (4 connections)
|
||||
- [Display a tabular report of all edited media from this player.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L490) (4 connections)
|
||||
- [Display player fullscreen view (no authentication required for players).](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L523) (4 connections)
|
||||
- [Get playlist for a player based on their assigned playlist. Args:](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L546) (4 connections)
|
||||
- [Add a new player with optional SSH deployment.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L57) (4 connections)
|
||||
- [Legacy endpoint - Content reordering now handled in playlist management.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L591) (4 connections)
|
||||
- [Delete multiple players at once.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L601) (4 connections)
|
||||
- [Assign multiple players to a playlist.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L633) (4 connections)
|
||||
- [Return deployment status for all players (used by polling JS).](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L670) (4 connections)
|
||||
- [Reorder items in player's playlist.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L694) (4 connections)
|
||||
- [Remove content from player's playlist.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L747) (4 connections)
|
||||
- [detect_server_ip()](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py#L208) (4 connections)
|
||||
- [bulk_assign_playlist()](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L632) (3 connections)
|
||||
- *... and 26 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class HTTPSConfig {
|
||||
+https_config.py()
|
||||
+.__repr__()
|
||||
+.to_dict()
|
||||
}
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/players.py](file:///home/scheianu/digiserver-v2/app/blueprints/players.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/https_config.py](file:///home/scheianu/digiserver-v2/app/models/https_config.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/player.py](file:///home/scheianu/digiserver-v2/app/models/player.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/caddy_manager.py](file:///home/scheianu/digiserver-v2/app/utils/caddy_manager.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/ssh_deploy.py](file:///home/scheianu/digiserver-v2/app/utils/ssh_deploy.py)
|
||||
- [/home/scheianu/digiserver-v2/migrations/add_https_config_table.py](file:///home/scheianu/digiserver-v2/migrations/add_https_config_table.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 87 (45%)
|
||||
- INFERRED: 107 (55%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,78 @@
|
||||
# Community 7
|
||||
|
||||
> 42 nodes · cohesion 0.06
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [NginxConfigReader](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L7) (13 connections)
|
||||
- [Group](file:///home/scheianu/digiserver-v2/app/models/group.py#L15) (11 connections)
|
||||
- [.get_status()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L24) (11 connections)
|
||||
- [list()](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L19) (9 connections)
|
||||
- [delete_media()](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L71) (4 connections)
|
||||
- [get_nginx_status()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L117) (4 connections)
|
||||
- [._extract_client_max_body_size()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L102) (4 connections)
|
||||
- [._extract_http_ports()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L53) (4 connections)
|
||||
- [._extract_https_ports()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L61) (4 connections)
|
||||
- [._extract_ssl_protocols()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L92) (4 connections)
|
||||
- [._extract_upstream_servers()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L69) (4 connections)
|
||||
- [Display list of all players.](file:///home/scheianu/digiserver-v2/app/blueprints/players.py#L20) (4 connections)
|
||||
- [create_group()](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py#L38) (3 connections)
|
||||
- [group.py](file:///home/scheianu/digiserver-v2/app/models/group.py#L1) (3 connections)
|
||||
- [nginx_config_reader.py](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L1) (3 connections)
|
||||
- [._check_gzip_enabled()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L110) (3 connections)
|
||||
- [._check_ssl_enabled()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L47) (3 connections)
|
||||
- [._extract_server_names()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L80) (3 connections)
|
||||
- [Delete a media file and remove it from all playlists.](file:///home/scheianu/digiserver-v2/app/blueprints/content.py#L72) (2 connections)
|
||||
- [.add_player()](file:///home/scheianu/digiserver-v2/app/models/group.py#L49) (2 connections)
|
||||
- [.remove_player()](file:///home/scheianu/digiserver-v2/app/models/group.py#L58) (2 connections)
|
||||
- [.__repr__()](file:///home/scheianu/digiserver-v2/app/models/group.py#L38) (2 connections)
|
||||
- [.__init__()](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py#L10) (2 connections)
|
||||
- [content_count()](file:///home/scheianu/digiserver-v2/app/models/group.py#L45) (1 connections)
|
||||
- [Group model for organizing players and content.](file:///home/scheianu/digiserver-v2/app/models/group.py#L1) (1 connections)
|
||||
- *... and 17 more nodes in this community*
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class Group {
|
||||
+group.py()
|
||||
+.__repr__()
|
||||
+.add_player()
|
||||
+.remove_player()
|
||||
}
|
||||
class NginxConfigReader {
|
||||
+nginx_config_reader.py()
|
||||
+.__init__()
|
||||
+.get_status()
|
||||
+._check_ssl_enabled()
|
||||
+._extract_http_ports()
|
||||
+._extract_https_ports()
|
||||
+._extract_upstream_servers()
|
||||
+._extract_server_names()
|
||||
+._extract_ssl_protocols()
|
||||
+._extract_client_max_body_size()
|
||||
}
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/content.py](file:///home/scheianu/digiserver-v2/app/blueprints/content.py)
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/players.py](file:///home/scheianu/digiserver-v2/app/blueprints/players.py)
|
||||
- [/home/scheianu/digiserver-v2/app/models/group.py](file:///home/scheianu/digiserver-v2/app/models/group.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py](file:///home/scheianu/digiserver-v2/app/utils/nginx_config_reader.py)
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py](file:///home/scheianu/digiserver-v2/old_code_documentation/blueprint_groups.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 97 (79%)
|
||||
- INFERRED: 26 (21%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,57 @@
|
||||
# Community 8
|
||||
|
||||
> 24 nodes · cohesion 0.23
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [test_edit_media_api.py](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L1) (14 connections)
|
||||
- [main()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L309) (13 connections)
|
||||
- [print_section()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L25) (10 connections)
|
||||
- [print_error()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L34) (9 connections)
|
||||
- [get_player_auth_code()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L97) (8 connections)
|
||||
- [get_sample_content()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L137) (8 connections)
|
||||
- [print_success()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L31) (8 connections)
|
||||
- [test_endpoint_exists()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L65) (8 connections)
|
||||
- [check_database_integrity()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L271) (7 connections)
|
||||
- [test_authentication()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L171) (7 connections)
|
||||
- [test_full_upload()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L202) (7 connections)
|
||||
- [print_info()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L37) (6 connections)
|
||||
- [print_warning()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L40) (6 connections)
|
||||
- [test_server_health()](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L43) (6 connections)
|
||||
- [Colors](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L14) (1 connections)
|
||||
- [Get a sample content file to use for testing](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L138) (1 connections)
|
||||
- [Test if authentication works](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L172) (1 connections)
|
||||
- [Test a full media upload](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L203) (1 connections)
|
||||
- [Print a section header](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L26) (1 connections)
|
||||
- [Check database tables and records](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L272) (1 connections)
|
||||
- [Run all diagnostic tests](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L310) (1 connections)
|
||||
- [Test if server is accessible](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L44) (1 connections)
|
||||
- [Test if the endpoint is available](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L66) (1 connections)
|
||||
- [Get a valid player auth code from the database](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py#L98) (1 connections)
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```mermaid
|
||||
classDiagram
|
||||
class Colors {
|
||||
+test_edit_media_api.py()
|
||||
}
|
||||
```
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py](file:///home/scheianu/digiserver-v2/old_code_documentation/test_edit_media_api.py)
|
||||
|
||||
## Audit Trail
|
||||
|
||||
- EXTRACTED: 126 (99%)
|
||||
- INFERRED: 1 (1%)
|
||||
- AMBIGUOUS: 0 (0%)
|
||||
|
||||
---
|
||||
|
||||
*Part of the graphify knowledge wiki. See [[index]] to navigate.*
|
||||
@@ -0,0 +1,46 @@
|
||||
# Community 9
|
||||
|
||||
> 21 nodes · cohesion 0.11
|
||||
|
||||
## Key Concepts
|
||||
|
||||
- [uploads.py](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L1) (9 connections)
|
||||
- [upload_content()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L86) (5 connections)
|
||||
- [process_video_file()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L94) (5 connections)
|
||||
- [set_upload_progress()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L33) (5 connections)
|
||||
- [process_pdf_file()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L176) (4 connections)
|
||||
- [upload_progress_status()](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L374) (3 connections)
|
||||
- [delete_file()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L224) (3 connections)
|
||||
- [get_upload_progress()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L17) (3 connections)
|
||||
- [save_uploaded_file()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L60) (3 connections)
|
||||
- [clear_upload_progress()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L50) (2 connections)
|
||||
- [get_file_size()](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L209) (2 connections)
|
||||
- [Get upload progress for a specific upload.](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py#L375) (1 connections)
|
||||
- [Upload utilities for handling file uploads and processing.](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L1) (1 connections)
|
||||
- [Process PDF file (convert to images for display). Args: filepat](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L177) (1 connections)
|
||||
- [Get upload progress for a specific upload ID. Args: upload_id:](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L18) (1 connections)
|
||||
- [Get file size in bytes. Args: filepath: Path to file](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L210) (1 connections)
|
||||
- [Delete a file from disk. Args: filepath: Path to file](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L225) (1 connections)
|
||||
- [Set upload progress for a specific upload ID. Args: upload_id:](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L35) (1 connections)
|
||||
- [Clear upload progress for a specific upload ID. Args: upload_id](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L51) (1 connections)
|
||||
- [Save an uploaded file to the upload folder. Args: file: FileSto](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L62) (1 connections)
|
||||
- [Process video file for optimization (H.264, 30fps, max 1080p). Args:](file:///home/scheianu/digiserver-v2/app/utils/uploads.py#L95) (1 connections)
|
||||
|
||||
## Relationships
|
||||
|
||||
- No strong cross-community connections detected
|
||||
|
||||
## Source Files
|
||||
|
||||
- [/home/scheianu/digiserver-v2/app/blueprints/content_old.py](file:///home/scheianu/digiserver-v2/app/blueprints/content_old.py)
|
||||
- [/home/scheianu/digiserver-v2/app/utils/uploads.py](file:///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.*
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user