How soju001/case-managerment works
CaseMgmt is a Django/MySQL case-management application that preserves an existing browser frontend through a Google Apps Script-compatible RPC bridge. The main workflow is a user signing in, making a domain request through the bridge, and receiving or changing case, project, or task data; separate capabilities cover calendar, master data, reporting, imports, administration, and notifications. The excerpts establish several API-to-security and persistence dependencies; other feature links are included only where the README documents them.
Main entry points: rpc.py RPC endpoint · security.py Session and audit · site_settings.py Site settings · system.py System maintenance
Components 21
Browser client
- Frontend bridge
core/static/core/gas-shim.js - Page serving
core/views.py
Request and API
- RPC endpoint
core/rpc.py
Casework capabilities
- Authentication
core/api/auth.py - Case management
core/api/cases.py - Project management
core/api/projects.py - Task management
core/api/tasks.py - Calendar
core/api/calendar.py - Master data
core/api/lookups.py - Dashboard and KPIs
core/api/dashboard.py - User administration
core/api/users.py
Identity and persistence
- Session and audit
core/security.py - Roles and permissions
core/roles.py - Domain records
core/models.py - MySQL tables
Administration and integrations
- Data import
core/api/data_import.py - Import processing
core/importer.py - Site settings
core/api/site_settings.py - System maintenance
core/api/system.py - Notifications
core/notify.py
Other components
- User
Connections 33
- User → Frontend bridge: uses
README.md - Frontend bridge → RPC endpoint: calls
README.md - User → Page serving: opens
README.md - Page serving → Site settings: reads branding
core/views.py - RPC endpoint → Authentication: dispatches
README.md - RPC endpoint → Case management: dispatches
README.md - RPC endpoint → Project management: dispatches
README.md - RPC endpoint → Task management: dispatches
README.md - RPC endpoint → Calendar: dispatches
README.md - RPC endpoint → Master data: dispatches
README.md - RPC endpoint → Dashboard and KPIs: dispatches
README.md - RPC endpoint → User administration: dispatches
README.md - RPC endpoint → Data import: dispatches
README.md - RPC endpoint → Site settings: dispatches
README.md - RPC endpoint → System maintenance: dispatches
README.md - Authentication → Session and audit: uses sessions
core/api/auth.py - Calendar → Session and audit: checks access
core/api/calendar.py - Case management → Session and audit: checks access
core/api/cases.py - Task management → Session and audit: checks access
core/api/tasks.py - Site settings → Session and audit: checks access
core/api/site_settings.py - System maintenance → Session and audit: checks access
core/api/system.py - Session and audit → Roles and permissions: resolves roles
core/security.py - Session and audit → MySQL tables: reads and writes
core/security.py - Case management → MySQL tables: reads and writes
core/api/cases.py - Calendar → MySQL tables: reads and writes
core/api/calendar.py - Task management → MySQL tables: reads and writes
core/api/tasks.py - Site settings → MySQL tables: reads and writes
core/api/site_settings.py - System maintenance → MySQL tables: reads and writes
core/api/system.py - Import processing → MySQL tables: imports records
core/importer.py - Data import → Import processing: invokes
- System maintenance → Notifications: sends updates
core/api/system.py - Notifications → MySQL tables: stores notifications
core/notify.py - Notifications → Site settings: loads SMTP config
core/notify.py