Skip to content

Commit

Permalink
Merge pull request #45 from integral-learning/dev
Browse files Browse the repository at this point in the history
prepare release v1.4.8
  • Loading branch information
jtgoltz authored Jul 8, 2022
2 parents fd5b175 + 9afecde commit ada7729
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
9 changes: 7 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@

All important changes to this plugin will be documented in this file.

## [v1.4.8] - 2022-07-08

### Fixed
- MUMIE Task's grading page is no longer opened in new tab.

## [v1.4.7] - 2022-03-23

## Fixed
### Fixed
- Fixed an issue where only participants with default student role were listed on the individual grading settings page. Now every participant with a graded role will be listed.

## [v1.4.6] - 2022-03-11

## Added
### Added
- Added support for MUMIE servers with multiple courses

### Fixed
Expand Down
4 changes: 3 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ function mumie_get_coursemodule_info($coursemodule) {
$info->content = format_module_intro('mumie', $mumie, $coursemodule->id, false);
}

$context = context_module::instance($coursemodule->id);
$openinnewtab = $mumie->launchcontainer == MUMIE_LAUNCH_CONTAINER_WINDOW && !has_capability("mod/mumie:viewgrades", $context, $USER);
// If the activity is supposed to open in a new tab, we need to do this right here or moodle won't let us.
if ($mumie->launchcontainer == MUMIE_LAUNCH_CONTAINER_WINDOW) {
if ($openinnewtab) {
$info->onclick = "window.open('{$CFG->wwwroot}/mod/mumie/view.php?id={$coursemodule->id}'); return false;";
}

Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@

defined('MOODLE_INTERNAL') || die;

$plugin->version = 2022032300; // The current module version (Date: YYYYMMDDXX).
$plugin->version = 2022070800; // 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.7";
$plugin->release = "v1.4.8";
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
'auth_mumie' => 2021031200,
Expand Down

0 comments on commit ada7729

Please sign in to comment.