-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Grade according to the duration of meeting attendance - set the id with the name for non-registered users so we use it a unique identifier for the user. - updating records of participants instate of adding new record in case if the non-registered user left the meeting and return fixing some codes and try to fix phpunit test add name condition add a condition for checking the existence of the participant by name along with user id to avoid update existence record if the user id is null this should pass the phpunit test adding a condition to check the existence of a data in zoom_meeting_participants by name along with user id to prevent updating records of users with null id. options for grading methods and display name - Adding setting to choose the grading method. - Adding setting to choose the display name. - Removing the overlapped time when merging a participant record in duration. get_participant_overlap_time creating a function that properly calculate the overlap timing in the meeting reports. Just make the code checker happier. Update get_meeting_reports.php forgot to include join_time field. Creating a function to calculate users grades - Creating a function to calculate users grades according to their duration in the meeting. - Fixing the function get_participant_overlap_time(). - Move the code to calculate the grades outside the loop. - return the original inserting data to the participants table. - prevent inserting multiple data for exist record. - not updating grades until the new grade is larger than the old one. testing the new grading method Notify teachers about grades Send teachers a notification about grades in meeting according to duration. test the notification update tests try preventResetByRollback() maybe messages test work! try to make messages work changing teacher role to editingteacher change graders array key fix message index fix misspelling Add and fix comments remove wrong using class and fix some comments check the existence of user after integer check Try not to be spamy As the task get_meeting_reports run, don't send notifications unless there is new records in meeting participants table Help teacher to fine ungraded users Narrowing the options for teachers needing to grade non-recognized students in participant meeting report. Adding a function to get a list of users clicked (join meeting) using this function and excluding already recognized students displaying a list of the rest student in the notification message to teachers try to solve null readers try to skip error: Call to a member function get_events_select() on null on PHPUnit test. phpcs: small cleanups New grading method is in module level - Add new field to mod_form to specify the grading method instead of specify it on the admin level. fix typo and version Change gradefor field to grading_method namespace: convert to use statements use messages Co-authored-by: Jonathan Champ <[email protected]>
- Loading branch information
Showing
13 changed files
with
949 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
// This file is part of Moodle - http://moodle.org/ | ||
// | ||
// Moodle is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Moodle is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
/** | ||
* Defines message providers for mod_zoom. | ||
* | ||
* @package mod_zoom | ||
* @copyright 2023 Mo Farouk <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
defined('MOODLE_INTERNAL') || die(); | ||
|
||
$messageproviders = [ | ||
'teacher_notification' => [], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.