Initial commit: enterprise digital platform with portal SSO, DigiServer, IT Assets, NetworkView, Server Monitor

This commit is contained in:
ske087
2026-05-10 21:07:50 +03:00
commit 8d9df56b0b
364 changed files with 73655 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
"""Utils package for digiserver-v2."""
from app.utils.logger import log_action, log_info, log_warning, log_error, get_recent_logs
from app.utils.uploads import (
save_uploaded_file,
process_video_file,
process_pdf_file,
get_upload_progress,
set_upload_progress,
clear_upload_progress,
get_file_size,
delete_file
)
from app.utils.group_player_management import (
get_player_status_info,
get_group_statistics,
assign_player_to_group,
bulk_assign_players_to_group,
get_online_players_count,
get_players_by_status
)
from app.utils.pptx_converter import pptx_to_pdf_libreoffice, validate_pptx_file
__all__ = [
# Logger
'log_action',
'log_info',
'log_warning',
'log_error',
'get_recent_logs',
# Uploads
'save_uploaded_file',
'process_video_file',
'process_pdf_file',
'get_upload_progress',
'set_upload_progress',
'clear_upload_progress',
'get_file_size',
'delete_file',
# Group/Player Management
'get_player_status_info',
'get_group_statistics',
'assign_player_to_group',
'bulk_assign_players_to_group',
'get_online_players_count',
'get_players_by_status',
# PPTX Converter
'pptx_to_pdf_libreoffice',
'validate_pptx_file',
]