VPL 4.2.0
Release of version 4.2.0 of VPL for Moodle
This update brings enhanced user functionality, improved performance, and several bug fixes to Virtual Programming Lab (VPL) for Moodle.
Improvements
-
Read-only files in the IDE
Files appearing in both "required files" and "execution files" are viewed as read-only by students. Although students can view the "required file", they cannot modify it. The "execution files" version is used during run, evaluation, etc. -
Unified Icon Style
The Monologo icon has been introduced, aligning the VPL activity icon style with other Moodle activities. Previously, the VPL icon displayed with black lines. -
Enhanced Activity Import Checks
New checks and messages alert users when a "based on activity" is missing during VPL activity import or restoration. If an activity with the same name isn't found, a warning message is shown. This prevents silent loss of "based on activity" that occurred in previous versions. The check also triggers if a "based on" activity is deleted. -
Detailed Course Overview
Users can now optionally view detailed configurations of each VPL activity on a single page when using the "Virtual programing labs" report
in the administration menu of any VPL activity. -
Enhanced Editor Interface
The editor now displays a status line showing file name, cursor position (row and column), and programming language. -
Global Search Integration
Thanks to @Astor-Bizard, users can use Moodle's global search to locate VPL activities based on activity names and descriptions. -
Performance Optimizations
Several actions, including Virtual programming labs report, Submissions download and List submissions report, have been optimized for reduced database access and memory usage, enhancing response times and resource efficiency. -
New Language Support
Added support for the PSeInt programming language. -
Enhanced Automatic Evaluation
Now supports running tests using teacher-provided solutions, verifying the accuracy of evaluations for various activity solutions. User can access this feature going to "Execution files" option and pushing the evaluate botton that no longer evaluate user submisson. -
Variation Management:
The variation management interface has been simplified. Additionally, if a variation is used in an activity, the "List submissions" will display the assigned variation for each student.
Bugfixes
-
Editor Update
Users only need to modify the submission user comment to allow saving a new submission. -
Activity remains marked as 'Overdue' post-submission
Adjusted due date and activity completion logic to correctly reflect VPL submission status in student Timeline. -
JQuery-UI Incompatibility with Boost theme
VPL uses JQuery-UI for its editor interface, which is incompatible with the Boost theme in some scenarios. This causes issues with toggling the left and right drawers in the Boost theme. As a temporary solution, JQuery-UI usage has been limited to the editor. Future releases will replace JQuery-UI with an alternative solution.[!NOTE]
The issue persists in this VPL version.
Compatibility
This VPL version has been validated with:
- Moodle: versions 3.9 to 4.2.2
- PHP: versions 7.4 to 8.1.
Upgrading from a previous version
Upgrading retains all existing plugin data. Direct upgrades from VPL 2.4 are supported.