How tjcsl/ion works
Ion is TJHSST’s Django intranet for students, teachers, and staff. The principal workflow is: a user reaches the web application, authenticates, selects an intranet capability, and receives student information, announcements, events, or Eighth Period signup results. Distinct stages include access control, domain operations, persistence, and asynchronous notification/integration work. The tree and sampled sources strongly support Eighth tasks, event imports, emergency status caching, email, and websocket routing; other app branches are represented from documented capabilities and paths without asserting unsampled calls.
Main entry points: urls.py Django Web App · celery.py Background Tasks · eighth Eighth Signup · events School Events
Components 23
Access and Core
- Django Web App
intranet/urls.py - Authentication
intranet/apps/auth - User Profiles
intranet/apps/users - Dashboard
intranet/apps/dashboard
Student Services
- Announcements
intranet/apps/announcements - School Events
intranet/apps/events - Site Search
intranet/apps/search - Lost and Found
intranet/apps/lostfound
Eighth Program
- Eighth Signup
intranet/apps/eighth - Eighth Data
intranet/apps/eighth/models.py - Student Groups
intranet/apps/groups
Realtime and Messaging
- Notification Tasks
intranet/apps/notifications - Bus Tracking
intranet/apps/bus - Digital Signage
intranet/apps/signage
Operations and Integrations
- Background Tasks
intranet/celery.py - Data Imports
intranet/apps/dataimport - Emergency Status
intranet/apps/emerg
Other components
- School User
- Postgres Database
- Redis Cache
- Sports Website
- Status Services
- Email Service
Connections 27
- School User → Django Web App: opens intranet
- Django Web App → Authentication: dispatches auth
- Authentication → User Profiles: resolves users
- Django Web App → Dashboard: dispatches dashboard
- Django Web App → Announcements: dispatches announcements
- Django Web App → School Events: dispatches events
- Django Web App → Site Search: dispatches search
- Django Web App → Eighth Signup: dispatches signup
- Eighth Signup → Eighth Data: reads and writes
- Eighth Signup → Student Groups: uses groups
- Eighth Signup → Background Tasks: queues work
- Background Tasks → Notification Tasks: runs notifications
- Notification Tasks → Email Service: sends email
- Django Web App → Bus Tracking: dispatches bus
- Django Web App → Digital Signage: dispatches signage
- Bus Tracking → Postgres Database: reads routes
- Digital Signage → Postgres Database: reads displays
- Background Tasks → School Events: runs imports
- School Events → Sports Website: fetches schedules
- School Events → Postgres Database: stores events
- Background Tasks → Emergency Status: runs updates
- Emergency Status → Status Services: fetches status
- Emergency Status → Redis Cache: writes cache
- Background Tasks → Data Imports: runs imports
- Data Imports → Postgres Database: writes records
- Background Tasks → Lost and Found: expires items
- Lost and Found → Postgres Database: updates items