Some checks failed
Tests / Go Tests (push) Has been cancelled
Tests / Python Tests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / Go Lint (push) Has been cancelled
Tests / Python Lint (push) Has been cancelled
Tests / Security Scan (push) Has been cancelled
Tests / All Checks Passed (push) Has been cancelled
Security Scanning / Secret Scanning (push) Has been cancelled
Security Scanning / Dependency Vulnerability Scan (push) Has been cancelled
Security Scanning / Go Security Scan (push) Has been cancelled
Security Scanning / Python Security Scan (push) Has been cancelled
Security Scanning / Node.js Security Scan (push) Has been cancelled
Security Scanning / Docker Image Security (push) Has been cancelled
Security Scanning / Security Summary (push) Has been cancelled
CI/CD Pipeline / Go Tests (push) Has been cancelled
CI/CD Pipeline / Python Tests (push) Has been cancelled
CI/CD Pipeline / Website Tests (push) Has been cancelled
CI/CD Pipeline / Linting (push) Has been cancelled
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build & Push (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / CI Summary (push) Has been cancelled
ci/woodpecker/manual/build-ci-image Pipeline was successful
ci/woodpecker/manual/main Pipeline failed
All services: admin-v2, studio-v2, website, ai-compliance-sdk, consent-service, klausur-service, voice-service, and infrastructure. Large PDFs and compiled binaries excluded via .gitignore.
106 lines
2.7 KiB
Python
106 lines
2.7 KiB
Python
"""
|
|
Meetings Module
|
|
|
|
Modular structure for the Meetings frontend.
|
|
Jitsi Meet Integration for video conferences, trainings, and parent-teacher meetings.
|
|
|
|
Modular Refactoring (2026-02-03):
|
|
- Split into sub-modules for maintainability
|
|
- Original file: meetings.py (2,639 lines)
|
|
- Now split into: styles.py, templates.py, pages/
|
|
"""
|
|
|
|
from fastapi import APIRouter
|
|
from fastapi.responses import HTMLResponse
|
|
|
|
from .pages import (
|
|
meetings_dashboard,
|
|
meeting_room,
|
|
active_meetings,
|
|
schedule_meetings,
|
|
trainings_page,
|
|
recordings_page,
|
|
play_recording,
|
|
view_transcript,
|
|
breakout_rooms_page,
|
|
quick_meeting,
|
|
parent_teacher_meeting,
|
|
)
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
# ============================================
|
|
# API Routes
|
|
# ============================================
|
|
|
|
@router.get("/meetings", response_class=HTMLResponse)
|
|
def get_meetings_dashboard():
|
|
"""Main meetings dashboard"""
|
|
return meetings_dashboard()
|
|
|
|
|
|
@router.get("/meetings/room/{room_name}", response_class=HTMLResponse)
|
|
def get_meeting_room(room_name: str):
|
|
"""Meeting room with embedded Jitsi"""
|
|
return meeting_room(room_name)
|
|
|
|
|
|
@router.get("/meetings/active", response_class=HTMLResponse)
|
|
def get_active_meetings():
|
|
"""Active meetings list"""
|
|
return active_meetings()
|
|
|
|
|
|
@router.get("/meetings/schedule", response_class=HTMLResponse)
|
|
def get_schedule_meetings():
|
|
"""Schedule and manage upcoming meetings"""
|
|
return schedule_meetings()
|
|
|
|
|
|
@router.get("/meetings/trainings", response_class=HTMLResponse)
|
|
def get_trainings_page():
|
|
"""Training sessions management"""
|
|
return trainings_page()
|
|
|
|
|
|
@router.get("/meetings/recordings", response_class=HTMLResponse)
|
|
def get_recordings_page():
|
|
"""Recordings and transcripts management"""
|
|
return recordings_page()
|
|
|
|
|
|
@router.get("/meetings/breakout", response_class=HTMLResponse)
|
|
def get_breakout_rooms_page():
|
|
"""Breakout rooms management"""
|
|
return breakout_rooms_page()
|
|
|
|
|
|
@router.get("/meetings/quick", response_class=HTMLResponse)
|
|
def get_quick_meeting():
|
|
"""Start a quick meeting immediately"""
|
|
return quick_meeting()
|
|
|
|
|
|
@router.get("/meetings/parent-teacher", response_class=HTMLResponse)
|
|
def get_parent_teacher_meeting():
|
|
"""Create a parent-teacher meeting"""
|
|
return parent_teacher_meeting()
|
|
|
|
|
|
@router.get("/meetings/recordings/{recording_id}/play", response_class=HTMLResponse)
|
|
def get_play_recording(recording_id: str):
|
|
"""Play a recording"""
|
|
return play_recording(recording_id)
|
|
|
|
|
|
@router.get("/meetings/recordings/{recording_id}/transcript", response_class=HTMLResponse)
|
|
def get_view_transcript(recording_id: str):
|
|
"""View recording transcript"""
|
|
return view_transcript(recording_id)
|
|
|
|
|
|
__all__ = [
|
|
"router",
|
|
]
|