diff --git a/changelog.md b/changelog.md index 93de317..0ce1baa 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ All important changes to this plugin will be documented in this file. +## [v1.4.5] - 2021-09-01 +### Fixed +- Fixed an issue, where adding MUMIE Tasks via drag&drop did not create entries in the Moodle Gradebook. + ## [v1.4.4] - 2021-07-29 ### Added - Added possibility to select *ungraded* articles, chapters and courses in problem selector. diff --git a/classes/mumie_dndupload_processor.php b/classes/mumie_dndupload_processor.php index ee33ead..932bf4c 100644 --- a/classes/mumie_dndupload_processor.php +++ b/classes/mumie_dndupload_processor.php @@ -263,6 +263,7 @@ private function create_mumie_from_uploadinstance($uploadinstance) { $mumie->points = 100; $mumie->name = \mod_mumie\locallib::get_default_name($uploadinstance) ?? $uploadinstance->name; $mumie->privategradepool = $this->gradepoolsettings; + $mumie->isgraded = $uploadinstance->isGraded; return $mumie; } diff --git a/lib.php b/lib.php index 1c1936b..e8426dd 100644 --- a/lib.php +++ b/lib.php @@ -162,7 +162,11 @@ function mumie_cm_info_view(cm_info $cm) { $info .= html_writer::tag('p', $content, array('class' => 'tag-info tag mumie_tag badge badge-info ')); } if (!isset($mumie->privategradepool)) { - $info .= html_writer::tag('p', get_string('mumie_tag_disabled', 'mod_mumie'), array('class' => 'tag-warning tag mumie_tag badge badge-warning')) + $info .= html_writer::tag( + 'p', + get_string('mumie_tag_disabled', 'mod_mumie'), + array('class' => 'tag-warning tag mumie_tag badge badge-warning') + ) . html_writer::tag( 'span', get_string('mumie_tag_disabled_help', 'mod_mumie') diff --git a/version.php b/version.php index 0ed9d05..b051941 100644 --- a/version.php +++ b/version.php @@ -25,10 +25,10 @@ defined('MOODLE_INTERNAL') || die; -$plugin->version = 2021072900; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2021090100; // The current module version (Date: YYYYMMDDXX). $plugin->component = 'mod_mumie'; // Full name of the plugin (used for diagnostics). $plugin->requires = 2020061500; -$plugin->release = "v1.4.4"; +$plugin->release = "v1.4.5"; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( 'auth_mumie' => 2021031200,