Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle 2.3 release notes: Difference between revisions

From MoodleDocs
Line 126: Line 126:


Credits to Dan Poltawski, Moodle HQ
Credits to Dan Poltawski, Moodle HQ


====IMS Common Cartridge 1.1 Export====
====IMS Common Cartridge 1.1 Export====


In Moodle 2.2 we introduced IMS CC import.  Well, now you can also export to that format, via the normal Backup menu.  Just look for the IMS CC checkbox.
* MDL-33079 - In Moodle 2.2 we introduced IMS CC import.  Well, now you can also export to that format, via the normal Backup menu.  Just look for the IMS CC checkbox.


====Miscellaneous====
====Miscellaneous====

Revision as of 21:01, 25 June 2012

Releases > Moodle 2.3 release notes

Release date: 25th June 2012

Here is the full list of fixed issues in 2.3.

Many thanks to everyone that worked on the new features in this release, including those from Moodle HQ, The Open University, NetSpot, Synergy Learning, Lancaster University Network Services, Catalyst IT, CV&A Consulting (funded by ESADE and IL3-UB) and others. More details can be found below under each major feature, or look at the list of bugs fixed above.

A special thanks to our incredible 'Integration Team' from Moodle HQ who worked tirelessly with all developers to review, test and help finish code for inclusion in Moodle core:

  • Eloy Lafuente
  • Sam Hemelryk
  • Dan Poltawski
  • Aparup Bannerjee

Finally, thanks to all our testers both within Moodle HQ and from the whole community, who have contributed to producing our most exciting and stable release yet!


Requirements

  • Minimum browser: Firefox 4, Internet Explorer 8, Safari 5, Google Chrome 11, Opera 9
  • Moodle upgrade: Moodle 2.2 or later (if upgrading from earlier versions, you must upgrade to 2.2 as a first step)
  • Minimum DB versions: Postgres 8.3, MySQL 5.1.33 (MDL-33984), MSSQL 2005 or Oracle 10.2
  • Minimum PHP version: PHP 5.3.2

Major new features

Files usability

  • MDL-31907 - A nicer-looking file picker with fewer clicks.
  • Images now display as true thumbnails in the file picker and file manager.
  • Other files have pretty icons for most file types.
  • Files view can be easily toggled between icons view or a table view with sizes and dates, or a hierarchical list view.
  • You can now drag and drop files directly from your desktop straight into file areas!
  • File info (eg license information, sizes, dates) can be easily edited and viewed in a popup dialogue.
  • Files can be created as "aliases/shortcuts" of other files. This allows you to, for example, use a single file in your private files area multiple times in all your courses. If you update the original file then all the aliases will automatically update!
  • Aliases are easily identifiable in the file manager interface.

Credits to Moodle HQ: Marina Glancy, Barbara Ramiro, Martin Dougiamas, David Mudrak, Dongsheng Cai and others.

File picker icon view
File picker table view
File picker hierarchical list view
File info popup dialogue
Creating an alias
Aliases are easily identifiable

Repository improvements

  • MDL-32117 - New EQUELLA repository enabling users to make aliases (shortcuts) to EQUELLA files.
  • MDL-28666 - If a repository supports it then it's possible to make an alias/shortcut to a file in an external repository. If the file is updated in the repository, then this change is reflected in Moodle. The file remains under Moodle access control however, and the original URL is not usually revealed. In the 2.3 core release, this is supported by private files, server files, file system, Box.net and EQUELLA repositories.
  • The repository plugin is now able to take over the whole right-hand pane of the file picker and provide it's own searching/browsing interface.
  • MDL-31675 - Server files repository now available for database, forum and glossary activities.

Credits to Moodle HQ: Dongsheng Cai, Marina Glancy, Martin Dougiamas, Petr Skoda

Improvements to course pages

  • MDL-32476 - Courses can now choose to show sections on individual pages
  • MDL-31052 - All AJAX editing on the course pages has been modernised and cleaned up (YUI3). It's on by default now too.
  • MDL-31263 - Blocks can be dragged and dropped around the page (again)
  • MDL-30617 - An optional new popup "Activity chooser" has been added with full introduction, examples and links about each activity or resource module.
  • MDL-22504 - You can now drag files straight into the course page and they will be added as resources.
  • MDL-31215 - You can edit the name of any activity or resource directly on the course page without entering the settings (works particularly well with drag and drop).
  • MDL-32771 - You can now add/remove sections directly from the course page.

Credits to: Andrew Nicols and Ruslan Kabalin (LUNS) Davo Smith (Synergy Learning), Dan Poltawski and Martin Dougiamas (Moodle HQ)

File drag and drop
Activity chooser

Assignment module

  • MDL-26997 - Complete rewrite of the assignment module from scratch, by NetSpot (Moodle Partner in Australia)
  • Assignment subtypes are no longer needed. New plugins are possible for
  • Old Assignment module is still installed, and works, but is not necessary

Credits to Netspot: Damyon Wiese, Raymond Wijaya, Minh-Tam Nguyen

  • MDL-31731 - New marking guide advanced grading method, where a teacher enters a comment per criterion and a mark up to a maximum

Credits to Catalyst IT: Dan Marsden

Book module

  • MDL-32709 - The most popular third-party resource module ever, Book finally joins core. Welcome!

Credits to Petr Škoda, Moodle HQ

Quiz module

  • MDL-3030 - More robust handling of quiz attempts that are not submitted by the deadline.
  • MDL-3054 & MDL-11047 - There is now an option for teacher to force students to answer the quiz questions strictly in order. As part of this, the quiz remembers which page the student was last on, and will take them back there when they resume an attempt.

Credits to Tim Hunt, The Open University and Charles Fulton, Lafayette College

SCORM module

  • MDL-29745 - New SCORM graph report plugin (credits to Ankit Agarwal, Moodle HQ and Dan Marsden, Catalyst IT)
  • MDL-32937 - You can now drag a SCORM package straight into the course page and it will be added as SCORM activity (credits to Christopher Tombleson and Dan Marsden, Catalyst IT, and Davo Smith, Synergy Learning)

Workshop module

  • MDL-26099 - Option to make the workshop switch to the assessment phase automatically after the submissions deadline (including automatic allocation of submissions for assessment)
  • MDL-25660 - Workshop submission deadlines are shown in the calendar
  • MDL-27508 - Improved support for pagination and filtering workshop submissions by group
  • MDL-32638 - Workshop supports file browsing via Server files repository (including improved access control when serving submission files)

Credits to David Mudrak, Moodle HQ

Available update notifications

Credits to David Mudrak, Moodle HQ

Other highlights

Google Docs and Picasa plugins requirement

  • MDL-29857 - Due to a change in Google's service, Moodle has switched to a more secure and more user-friendly system for communicating with Google called 'OAuth 2.0'. An administrator must register their site with Google, as described in Google OAuth 2.0 setup in order to obtain a client ID and secret for use in configuring all Google Docs and Picasa plugins (the Google Docs and Picasa repositories and the Google Docs and Picasa portfolios).

Credits to Dan Poltawski, Moodle HQ

IMS Common Cartridge 1.1 Export

  • MDL-33079 - In Moodle 2.2 we introduced IMS CC import. Well, now you can also export to that format, via the normal Backup menu. Just look for the IMS CC checkbox.

Miscellaneous

Security issues

All security issues that were fixed in 2.2.x and 2.1.x were also fixed in 2.3.

For developers: API changes

Core API changes

  • MDL-31902 All xxx_get_participants() functions are removed from core
  • As a part of MDL-32471, the signature of send_stored_file() has been modified. The last two parameters $filename and $dontdie were replaced with a single array containing additional options for the file serving. The pluginfile callbacks in plugins are supposed to transfer these options from the caller to send_stored_file() - see the note below.
  • MDL-28666 Files API changes, added ability to create file reference using file_storage::create_file_from_reference() method, update file record attributes using stored_file class
  • MDL-28666 Repository API changes, added new APIs repository::get_file_reference(), repository::get_file_by_reference(), repository::get_reference_details(), repository::send_file(), the new APIs make serving files from external repository possible
  • MDL-33446 Make sure that areas in your plugins where you DON'T want content to change have support for file references turned OFF. Some areas in Moodle core that do not support references are assignment submissions, workshop submissions, forum posts, and quiz essay questions - this is so that students are not able to update files from outside Moodle after any due date
  • AJAX Flags: MDL-32509 and MDL-32908 The $CFG->enablecourseajax and $USER->ajax fields have been removed. The fields was not widely respected and all 'advanced javascript' should work in a progressive enhancement and accessible way. A site wide flag still exists but may be phased out in the future.

Plugin API changes

  • As a part of MDL-32471, the API of the plugin function xyz_pluginfile() has been extended. There is a new array parameter passed to these callbacks containing additional options for the file serving. The array should be re-passed to send_stored_file(). The change is pretty trivial - see examples.

Webservice changes

Few changes could break existing web service clients in 2.3 - untill this version we tried not to break anything. However these changes will make the client's developer life easier, so we prefered to do them now than later. Please take in consideration these improvements and retest your clients:

Unit tests

We have switched completely to using PHPUnit for all our unit tests now. All existing simpletests have been rewritten, and new tests have been added.

We intend to move towards a completely unit-test-driven development methodology (where the tests are written first!) for significant new code, and we also encourage all developers to implement unit tests covering at least the core features of their code.

Moodle HQ run these tests on an automated basis for all new code submitted for integration, as well as on each weekly release.

Community hub changes

Some bug fixes and improvements in core and in the plugin. Hub administrators must update their hub to the most recent version regarding CONTRIB-3646.

See also