Category: Events

Summer 2026 Hack/Doc Fest at Kalamazoo

CLAMP held its Summer 2026 Hack/Doc Fest at Kalamazoo College in Kalamazoo, Michigan. This was CLAMP’s second visit to K College, after the Summer 2012 Hack/Doc Fest. The primary focus this time around was the new Moodle 5.2 release, plus continuing follow-up on the issues with the question bank in Moodle 5.0. In addition to this overview, please see our separate post on changes to the login page.

Issues specific to Moodle 5.2

Question bank

The ongoing changes to the question bank have featured in the last few Hack/Doc Fests. The changes we tested in 5.2 are principally cosmetic/quality-of-life, and they all worked as expected:

  • Make question bank categories collapsible: the child categories can be hidden and displayed below their parent categories.
  • In-place editing of question bank category names: clicking the pencil icon allows for immediate name modifications.
  • On the question bank page show amount of questions for each bank: what it says on the tin.
  • Move entire question categories, complete with questions and subcategories, to a different question bank: worked as described.
  • Align in-place editing of question names with activities/category name editing behavior: question names were editable in-place and aligned as expected.

Problems remain with importing large question banks from pre-Moodle 5.0 instances. As described in January’s report, importing category-level questions triggers numerous non-fatal warnings that look like errors. We also encountered a problem with asynchronous backup/restore and questions that will be described below.

Asynchronous backup/restore of quizzes

We tested restoring a large Moodle 4.5-era course with a large and complex question bank. The restore failed, and caused the development server to run out of memory and crash. There are two bugs in play here. One, is that the backup/restore subsystem can get stuck in a loop and run out of memory. A mitigation of that problem is described in MDL-81511. We tried both patches and they both worked.

The underlying problem is less clear. We think the issue comes down to the following category structure in the associated question bank:

  • Parent category 1 (1+ questions)
    • Sub-category 1 (1+ questions)
  • Parent category 2 (1+ questions)
    • Sub-category 2 (0 questions)
      • Sub-category 3 (0 questions)
        • Sub-category 4 (1+ questions)
        • Sub-category 5 (1+ questions)

Attempts to reproduce the issue with a bare-bones structure matching the above were unsuccessful. Modifying the original backup by adding a question to the first empty category did resolve the issue. We didn’t report the problem to HQ yet because we hadn’t narrowed it down sufficiently.

Marking workflow

Moodle is starting to make a push around the marking workflow feature (MDL-86006). We looked at this in 2014 and thought it could be “handy.” The marking workflow now supports multiple markers (read: graders) and grade calculation methods.

Enabling Marking workflow in an assignment provides a workflow that requires grades to go through a series of stages before they’re released to students. A mark is a separate value (a “provisional grade”) set by a “marker.” Markers need to have the role of teacher or non-editing teacher and they are allocated to mark (not grade) specific students. The new functionality in 5.2 is that you can now have multiple markers provide a mark for a single assignment.

This seems like it could be particularly useful in large courses with TAs. The marking workflow does not work with rubrics.

Completion conditions

The completion criteria, activity dates, and completion actions are reorganized to sit prominently at the top of the activity page. If you were to set a completion requirement for a forum that is also graded, students can check off the completed activity even though they didn’t actually complete the forum. They won’t get a grade. The instructor has to add the grade manually. So the completion requirement is just used as a checklist.

Documentation updates to consider for 5.2

In this section we’re flagging areas where you might want to update your internal documentation when upgrading to Moodle 5.2.

  • Q&A Forum: acts more like a live forum – could be used for polling
  • Marking Workflows for the Assignment Activity: doesn’t work for rubric grading.
  • New login screen: for schools not using SSO authentication methods
  • Question Bank: can edit categories directly now, drag and drop/move categories, can see questions used in course, move categories to another course, etc.
  • Completion Requirements: act more as a visual checklist. Can be tied to competencies.
  • Restricted Content: clearer information displayed. The process is still the same but may need to update screenshots to reflect the new display.
  • Subsection anchor links: screenshots may need to be updated to reflect the new look. The new option to duplicate subsections should be reflected

Other issues

Timeline/Calendar/Upcoming Event and overrides

We’ve noted before that there are inconsistencies related to the Timeline, Upcoming Event, and Calendar blocks and the presentation of user and group overrides in assignments. There are at least three tracker items addressing aspects of these problems:

  • MDL-77441: Activity overrides NOT display correctly in the Timeline block 4.1
  • MDL-79989: Group overrides dates/times do not display correctly in calendar, upcoming events, and timeline for students in courses IF they are enrolled elsewhere in the site as a teacher
  • MDL-81004: Timeline doesn’t check the group or individual exceptions dates in some date filters

We think we’ve identified the root problem and we’ve posted a patch to MDL-77441 for review. It’s complicated to explain, but at root the problem manifests if the you’re looking at a particular window (say the next 7 days), and the original event falls within that window but the override does not.

H5P activity accessibility

We’ve looked at H5P before, most notably at the Winter 2021 Hack/Doc Fest. This time around we looked the accessibility of various activities, and how to disable individual types at the site level. It’s important to note that you can download types from h5p.org that were not evaluated for WCAG 2.1 AA conformance and are not maintained by the core team. All content types are enabled (visible) by default, but not all are recommended by the core team.

You can disable (hide) a content type in Site administration > General > H5P > Manage H5P content types. There’s a significant caveat, however. The H5P Page type (formerly called “Column”), allows adding H5P types to itself and ignores whether the type is disabled at the site level. This is a long-standing bug (MDL-77675) and hasn’t yet been addressed.

Off-label uses of course import and restore

It’s possible when restoring a Moodle course from a backup file to advance the dates of the resources to match the start and end date of the target course. To do so, you need to make the following choices when restoring the course:

  1. From the restore menu select any of the options, noting that the options to create a course will require you to set a start date.
  2. For any restores into existing courses, Set “Overwrite Course Configuration” to “Yes”.
  3. Uncheck the overwrite checkboxes for short name, full name, and start date.

In this configuration, the restored resources will have start and end dates recalculated from the target course’s start and end date, as opposed to whatever was in the backup. This is an alternative approach to using the Edit Dates report to bulk-update dates after the restore.

All well and good. The challenge is that this workflow isn’t possible when importing from an existing course, which means it’s not available to faculty if their course backup size exceeds the maximum upload size for the server. This functionality has now been requested in MDL-89095.

Remove reliance on color to convey information in Calendar View

In the full calendar view (/calendar/view.php) there are three view options, Month, Day and upcoming events. The events key in the Block Drawer shows there are 6 types of events and each one has a corresponding color that the event will appear on the calendar/event in the different views. In Day and Upcoming Event View there is an indicator of what type of event it is being viewed:

Dialog describing an event

In the calendar view the only indicator of event type is the color unless you click an event and bring up the modal dialog which brings up a view similar to above:

Calendar view. There is an event indicated by color alone.

WCAG states color shouldn’t be the only means of conveying information. On the Calendar View, it would be ideal if this color information was backed up by an image or other form of secondary encoding. This would facilitate information transfer for color vision deficient (colorblind) users. We’ve reported it to HQ as MDL-89011.

H5p content types not available on clean install

Using h5p requires the content types. These need to be downloaded. There’s a monthly task for keeping these in sync (\core\task\h5p_get_content_types_task). This is scheduled to run at a random time on the first of the month, so you could potentially go a month without types available on a new install. There’s a tracker item (MDL-80031) but no workaround beyond running the task manually.

Summary

We took an informal poll of seven participating schools as the Hack/Doc Fest wrapped up. Four were planning on upgrading to Moodle 5.1 for the Fall 2026 semester, two were planning to stay on Moodle 4.5 for another year, and one was planning on upgrading to 5.1 or 5.2. No one had any real concerns about running on either 5.1 or 5.2. The relative lack of major issues in 5.2 permitted us to take some deep dives into longer-standing issues, such as the override display issue, H5P modules, and calendar accessibility.

Registration open for Summer 2026 Moodle Hack/Doc Fest

Three brick buildings on a campus. The steeple of a chapel is in the background.
Mandelle Hall, Stetson Chapel, and the Upjohn Library Commons. Photo courtesy of Kalamazoo College.

Registration is now open for the Summer 2026 Hack/Doc Fest, which will be held at Kalamazoo College from June 23 through June 25, 2026. CLAMP’s Hack/Doc Fests are twice-yearly unconference-style events dedicated to improving the Moodle experience for liberal arts colleges.

Winter 2026 Hack/Doc Fest at Connecticut

CLAMP held its Winter 2026 Hack/Doc Fest at Connecticut College in New London, Connecticut. This was CLAMP’s second visit to Conn College, after the Winter 2024 Hack/Doc Fest. The primary focus this time around was the new Moodle 5.1 release, plus follow-up on the issues with the question bank in Moodle 5.0. In addition to this overview, please see our separate posts on data privacy and the safe exam browser.

Issues specific to Moodle 5.1

Question bank

The changes to the question bank in Moodle 5.0 required their own separate blog post to hash out. On the whole, folks felt better about the question bank in Moodle 5.1. That said, there are still some issues to be aware of.

Sharing question banks from the course level

We evaluated how to share question banks (QB) between courses now that there are no category-level question banks. In this example, we have Course 1 and Course 2 taught by Teacher 1 and Teacher 2. Teacher 1 can create a course-level QB in Course 1. Then they join Course 2 as a Teacher and import a quiz from Course 1. This quiz has 3 questions from the Course 1 course-level QB. Teacher 2 cannot edit those questions. Course 2 also does not have full access to the course-level QB in course 1.

If Teacher 1 edits a question in this quiz from their one in Course 1, it is also changed in the instance in Course 2. In the case that the quiz has been attempted, the Teacher 1 can change the the question. The student who had attempted the quiz still sees the original question, but future students will get the new version of the question unless the faculty explicitly chooses the question version in the Quiz settings.

If Teacher 2 duplicates the quiz, then they get a copy of the quiz but the questions are copied into a new “System shared question bank” in Course 2. Teacher 2 can edit that copy of those questions. But it is strange that they are dumped into a “System shared question bank” rather than in a quiz-specific question bank.

Restoring quizzes from Moodle 4.5 to Moodle 5.1

There are still some challenges with importing quizzes from Moodle 4.5 to Moodle 5.1. We tested with quizzes from a school’s production 4.5 instance. The first issue is that we saw a number of non-fatal errors that nevertheless had the red background that usually indicates a more serious issue:

Moodle displaying a series of non-fatal errors when importing questions
Category-level questions will be stored course-level question banks

These are all questions that were heretofore stored at the category level. Some of these questions contained Random questions from specific categories. The questions appear to load, but clicking on the “See questions” link on the Random Questions causes a fatal error:

Moodle question bank with list of questions

Moodle fatal error about invalid course module ID

As of yet, we cannot view the list of questions in the categories for these quizzes. The course-level question bank shows the list of quizzes, but clicking on them takes you to the quiz itself, and does not show you the list of questions in the category from which these Random questions are pulled.

Regular multiple-choice questions are labeled with “System shared question bank.” However, if I go to the course-level question banks, even though I see a System shared question bank (created from previous testing), the imported multiple-choice questions are not there. Site home does not have any question banks.

Conclusion: the questions are clearly there. But they are “hidden” in some kind of secret question bank. Use extreme caution when importing quizzes from previous versions into Moodle 5.1.

Activity overview

Activity overview is another feature that saw changes in Moodle 5.0 and was further improved in 5.1. It’s been extended to include dates and completion information for BigBlueButton, Choice, Database, Forum, Glossary, H5P, Lesson, SCORM and Quiz in addition to Assignment, Feedback, Resources, and Workshop.

Admin search improvements

Moodle carried out research into the information architecture (IA) of the site administration interface. Among other outcomes, this research identified a need to improve search within the administrative interface. The first improvement to land is MDL-85518, returning search results in a more intuitive order.

Server configuration

For self-hosted schools, Moodle has made a major change in its code layout for the 5.1 version. This is done to permit the introduction of the “router” feature and prettier URLs. Most of the public code that was previously in the root of the code base is now in a public subdirectory. Your config.php still lives in the root. Also still in the root is admin/cli/ with various tools, including cron.php. You’ll need to make various one-time adjustments to your deployment to accommodate these changes. Included below is the Apache configuration for CLAMP’s Moodle 5.1 test environment:

<VirtualHost *:443>
    ServerAdmin admin@clamp-it.org
    ServerName ferry.clamp-it.org
    DocumentRoot /var/www/ferry/site/public

    ErrorLog ${APACHE_LOG_DIR}/ferry-error.log
    CustomLog ${APACHE_LOG_DIR}/ferry-access.log combined

    <Directory "/var/www/ferry/site/public">
        AllowOverride None
        Require all granted
        DirectoryIndex index.php
        FallbackResource /r.php
        <FilesMatch \.php$>
            SetHandler "proxy:unix:/run/php/php8.3-fpm-ferry.sock|fcgi://ferry/"
        </FilesMatch>
    </Directory>

    <Proxy "fcgi://ferry/">
    </Proxy>

    SSLCertificateFile /etc/letsencrypt/live/ferry.clamp-it.org/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/ferry.clamp-it.org/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>

Section limit deprecation

Moodle has deprecated the maxsections configuration setting; going forward there will be no limit to the number of sections a teacher can add to a course. Out of curiosity, we used Moodle WebService Manage Sections plugin to bulk add 500 sections to a course (ironically, that plugin hasn’t be updated to reflect the change to maxsections). The course and navigation were functional afterwards.

Manual enrollment notifications

Manual enrollment notifications are sent immediately regardless of whether the enrollment is active. This has to do with how enrollment status is tracked in the database. There are only two states: enrolled or suspended. The start and end times are tracked separately. Moodle calculates whether an enrollment is active based on the time constraints, but it doesn’t go back to the database. It would be onerous for cron to check every minute whether an enrollment has become active.

That does leave the question of the message to the user. The default message for a new manual enrollment, as defined in the language string enrol/customwelcomemessageplaceholder, is this:

Hi {$a->firstname}, you are enrolled in the course {$a->coursename}.

Moodle allows teachers to override this on a per-course, per-enrollment method basis. It’s buried in the course navigation, in Course > Participants > Enrolment methods > Self enrolment (or Manual enrolment), if you edit the method. Moodle provides numerous placeholders for programmatic customization:

Moodle string customization interface with different placeholders

One thing that’s missing here is the enrollment start date, as opposed to the course start date. Moodle 5.1 added the ability to set an arbitrary state date for a manual enrollment. We’ve proposed a change (MDL-87665) to make that value available to the message customization.

Activity chooser

The activity chooser has a new look and feel. You can still “star” activities, which are now grouped functionally: Assessment, Collaboration, Communication, Resource, and Interactive content. These categories are fixed and can’t be modified. New activities are added to “All.”

Other issues

Phantom grading changes in the gradebook

There is a bug in Moodle that can lead to unexpected changes in the gradebook. When using Google Chrome, with grader editing turned on, if a user uses two-finger scroll or mouse wheel scroll they can change grades unintentionally if the cursor was hovering over a grade cell. On CLAMP’s development environment we could only reproduce this if the user’s browser had the Lastpass extension enabled. Macalester can reproduce the issue in production without the extension.

Core is tracking the issue in MDL-86837. A workaround is to add the following Javascript snippet to Site administration > Appearance > Additional HTML section > Before BODY is closed:

<script>
document.addEventListener("wheel", function(event) {
if (document.activeElement.type === "number") {
document.activeElement.blur();
}
});
</script>

Ongoing issues with group overrides on assignments

We documented some issues with group overrides in assignments at the Summer 2025 Hack/Doc Fest (“Overrides don’t appear properly at times“). There’s another issue, MDL-81004, related to how overrides appear on the timeline in the dashboard.

Here’s an example of the issue in question. Create an assignment with a default due date of midnight, 7 days from today. Create a Group Override and change the due date to be one month later. (Don’t do this testing in February because the shorter month might make it weird). This means the overridden due date is more than 30 days into the future.

Now, log in as a student in the date override group and navigate to the dashboard (in default config) so that the Timeline and Calendar are visible. Given that the calendar is showing the current month and the timeline is set to next 7 days; on the Timeline and calendar the original due date is shown, not the overridden date.

As the student, change the timeline to next 30 days, and the wrong due date (not applying the override) will still appear on the timeline. Still as the student, change the calendar to next month and timeline to next 60 days. Calendar and timeline will now show the override.

Quiz pre-creation

Moodle added a feature in 5.0 to “pre-create” quiz attempts prior to the quiz becoming available. This can potentially reduce performance issues with large quizzes. This must be enabled in Site administration > Plugins > Quiz > General settings. A range of 1-24 hours may be selected for when attempts are pre-created. These settings are sitewide and cannot be changed by teachers. Once the attempts are created the student receives a notification and the quiz cannot be modified.

Data privacy

Please see Using the Moodle data privacy feature for data export for a discussion of using the data privacy features for student data export.

Safe exam browser

Please see Safe Exam Browser integration within Moodle for a discussion of the current state of the Safe Exam Browser integration in Moodle.

Sanitizing courses of student data

We tested the possibility of retaining a course for historical reasons but removing the student data after a period of time because of FERPA concerns over data retention. Moodle has a course reset function available in the interface. The moosh cli package includes a course-reset command which permits automating this functionality. The course-reset command may be combined with the course-list command to output all courses from a category and then reset them:

moosh course-list -c 3 -i | xargs -n1 moosh course-reset

Note that course-list will traverse the subcategories of a category and retrieve all courses. Resetting a course purges course data but retains enrollments.

Error when adding media to the front page

Dragging and dropping an image to the course home page triggers an error and fails. This worked in Moodle 5.0. We reported this as MDL-87661; core has already identified the root cause and proposed a fix.

New plugins from CLAMP schools

LTI Tools API

Reed has developed a new plugin that provides a suite of web services for working with LTI tools on a Moodle installation.

Quick Search Plugin

Swarthmore has developed a new plugin that adds an admin menu search to every page. It can be invoked by pressing Ctrl + Shift + P.

Search box with submit button

Using the Moodle data privacy feature for data export

Moodle implemented a data privacy feature in response to Europe’s General Data Protection Regulation. CLAMP blogged about the GDPR and Moodle in 2018. The impact of the GDPR on the LMS at CLAMP schools has been limited. We do occasionally have students request exports of their data, and at the Connecticut Hack/Doc Fest we evaluated whether this feature would be helpful.

Data Privacy Officer

There is a “Privacy Officer” role in Moodle. “A Privacy officer can respond to data requests and manage the data registry.” A Moodle admin can do this too.

If enabled, Moodle users can send the Privacy Officer a request to download or delete all their Moodle data. The Privacy Officer receives an email notification and can approve or deny the request. If approved, a Moodle process starts to either generate a zip file containing all the user’s Moodle data or delete all the user’s data.

There are a variety of options to control the process, such as:

  • Allowing users to request data download or deletion
  • Automatic approvals of download or deletion of user data (self-service)
  • Only allowing the Privacy Officer (or admins) to download the user data

Enabling “Contact the privacy officer” shows these options in a user’s profile page.

Moodle administrative screen for a user to choose different privacy options

The data privacy settings are at: Site administration > Users > Privacy and policies > Privacy settings.

The exported user data file is a zip file containing an index.html file for handy navigation of the data.

  • User data includes things such as recently accessed items, messages and notifications, draft files, the last access to each course, and log and session data.
  • Course data includes activity data such as assignment submissions and forum posts, role assignments grades.
  • There are other information categories such as Antivirus failures, user preferences, and autosave data that seem less useful.

Data registry

Moodle has a data registry system to control the retention length of different types of data. For example, student submissions to an assessment may need to be retained indefinitely to be able to provide evidence of student accomplishments, whereas general coursework such as forum posts might only be retained until graduation + 12 months.

The data registry enables categories (types of data) and purposes (the reasons for processing data) to be set for all content on the site, from users and courses down to activities and blocks. For each purpose, a retention period may be set. When a retention period has expired, the data is flagged and listed for deletion, awaiting admin confirmation.

Categories and purposes can be very granular and set at the individual activity level. This seems like a huge amount of work if you want to retain quiz data for a different amount of time than forum posts. The primary driver for this feature seems to be the GDPR and it requires considerable setup. Much of the terminology is GDPR-specific.

Configuration screen for data registry and data retention

In some cases, the data retention policy can override the user’s deletion request.

Summary

Turning on user data requests seems like it could be helpful for graduating students who might want to keep a copy of their Moodle content. However, enabling the permission shows both the export and deletion options. It’s not possible to just enable export without enabling deletion.

Turning on user deletion requests seems potentially problematic since some of the data is used by faculty (e.g. course evaluations for tenure decisions). The Data Registry looks quite complicated and only seems useful for schools that want to implement strict data retention policies