How ronefel/moodle-mod_googlemeet works
Google Meet for Moodle lets teachers configure meeting activities and event reminders, then lets users enter the room and view recordings synchronized from the organizer’s Google Drive. The runtime spans Moodle activity pages, scheduling and notifications, Google OAuth/API access, and persisted activity and recording data. The README documents the Google OAuth prerequisite and Drive-recording capability; excerpts show the view-to-library and client-to-REST flow. Several listed subsystems are represented from their paths and registration files, but their internal calls were not sampled, so their links are omitted where unverified.
Main entry points: view.php Activity view · lib.php Activity lifecycle · client.php OAuth and Google client · mod_form.php Activity settings
Components 18
Activity and pages
- Activity settings
mod_form.php - Course listing
index.php - Activity view
view.php - Activity lifecycle
lib.php - Scheduling and display
locallib.php - AJAX actions
classes/external.php - Mobile output
classes/output/mobile.php
Google integration
- OAuth and Google client
classes/client.php - Google REST access
classes/rest.php
Events and notifications
- Event generation
locallib.php - Reminder task
classes/task/notify_event.php
Moodle services
- Activity and recording data
lib.php - Course backup and restore
backup/moodle2/restore_googlemeet_stepslib.php - Privacy requests
classes/privacy/provider.php
Other components
- Teacher
- Student
- Google Calendar and Drive
- Moodle messaging
Connections 17
- Teacher → Activity settings: configures
- Teacher → Course listing: browses
index.php - Student → Activity view: opens
view.php - Activity settings → Activity lifecycle: provides settings
lib.php - Course listing → Activity view: links to
index.php - Activity view → Activity lifecycle: loads
view.php - Activity view → Scheduling and display: renders
view.php - Activity view → OAuth and Google client: creates client
view.php - Scheduling and display → OAuth and Google client: creates client
locallib.php - OAuth and Google client → Google REST access: uses
classes/client.php - Google REST access → Google Calendar and Drive: requests data
- OAuth and Google client → Google Calendar and Drive: authenticates
- Activity lifecycle → Activity and recording data: reads and writes
lib.php - Event generation → Activity and recording data: stores event data
- Activity lifecycle → Event generation: generates events
- Reminder task → Moodle messaging: sends reminders
- Course backup and restore → Activity and recording data: restores records
backup/moodle2/restore_googlemeet_stepslib.php