Subcourse

Activities ::: mod_subcourse
Maintained by Dan Marsden, Catalyst IT
Subcourse behaves as a graded activity. The grade for each student is automatically fetched from a final grade in another course. This allows course designers to organize the learning content into separate units.

Subcourse 7.2.0

Moodle 3.3, 3.4, 3.5, 3.6, 3.7, 3.8
Released: Saturday, 2 February 2019, 1:58 AM

7.2.0

  • Links to the referenced course can open in a new window/tab (issue #27).

7.1.1

  • Do not call a method deprecated in Moodle 3.6
  • Updated Behat tests to work in Moodle 3.6

7.1.0

  • Improved handling of hidden grade items in the referenced course (issue #28).

7.0.0

  • Progress in the referenced course is displayed.
  • The main view page now provides links to the gradebook in the referenced course instead of the link to the gradebook in the current course (issue #22).
  • Overall cleanup and UI improvements of the main view page.

6.0.0

  • Filters are applied displaying course names - credit goes to Philipp Hager
  • The "should be completed" event is displayed on the dashboard if expected completion date/time is set.
  • Privacy API implemented to make it GDPR friendly. No personal data are stored by the module itself.
  • Requires Moodle 3.3 or higher, updated tests for Moodle 3.5.

5.0.1

  • Fixed a typo in the string (currrent -> current).
  • Updated Behat tests to work in Moodle 3.3 and 3.4.

5.0.0

  • Performance improvements: On triggered events (such as when a student received a grade in the referenced course), the subcourse used to fetch all students grades. This led to performance troubles in courses with many students, or when performing bulk changes (such as enrolling multiple students at once).
  • Completion: The subcourse can now be automatically marked as completed when the student completes the referenced course.
  • Behat tests pass on Moodle 3.1 and 3.2, manually tested on 3.3.

4.0.1

  • Fixed Behat tests syntax for Moodle 3.1 and 3.2

4.0.0

  • Fixed Behat test failure in Moodle 3.0 due to MDL-51051.
  • Fixed coding style violations reported by the codechecker.
  • Added support for Travis CI.

3.1

  • Added support for Moodle 2.9 - does not use add_intro_editor() for this and higher versions.
  • Improved Behat tests to prevent accidental false positive matches of certain selectors.

3.0

  • The module now observes "user graded" and "role assigned" events and fetches grades instantly on them (no need to rely on pressing the "Fetch now" button or the cron task running). Credit goes to Vadim Dvorovenko for implementing this.
  • Added Behat tests.
  • Fixed missing name of the "addinstance" capability.
  • Requires Moodle 2.8.
  • Changed versioning scheme of the plugin. The "master" branch now contains the most recent stable code.

2.7.0

  • Added an option to instantly redirect to the referenced course when attempting to view the subcourse module page. This does not affect users with the permission to fetch grades manually so they do not loose that option. Credit goes to Matt Gibson for the original idea and implementation in his fork.
  • Legacy cron function replaced with the new scheduled task API. This allows administrators to define the schedule of fetching grades from subcourses to fit their needs (especially on heavy loaded sites with many users).
  • Legacy add_to_log() replaced with the new event API. This allows to use the new logging storage introduced in Moodle 2.7. Credit goes to Vadim Dvorovenko for the original patch.

Version information

Version build number
2019020100
Version release name
7.2.0
Maturity
Stable version
MD5 Sum
ed83e3b916c247d4450a30105e558ee8
Supported software
Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • The more recent release 9.0.1 (2020090602) exists for Moodle 3.8

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v7.2.0

Default installation instructions for plugins of the type Activities

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "assignment") in the "mod" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation