Posts Tagged ‘Moodle’

GSOC 2012 Projects

Monday, April 23rd, 2012

Moodle is lucky to have 4 successful GSOC projects this year – hopefully this will be a rewarding experience for the successful students and will produce some useful code for Moodle! – Thanks to Google for providing the funding to allow this to happen!

The quality of applicants varied a lot this year – we had one applicant who copied the full Wikipedia Moodle page and submitted that as their proposal. There were several students who put a great effort into their applications and missed out this year – hopefully some of these may still engage further in the community – we appreciate the effort you put into your applications and the patches you provided as part of your application process!

Moodle 1.9 Long Term Support

Monday, April 2nd, 2012

Moodle HQ ends support for Moodle 1.9 Security fixes in June and there seems to be a large number of people in the community who aren’t ready to upgrade to Moodle 2 quite yet. I offered to personally continue support for Serious Security fixes until Dec 2012 and had a range of people get in touch with feedback(thanks!). I also sent a bunch of e-mails looking for someone to help to fund support for a longer period as the extension by 6 months wasn’t quite long enough for some people I’ve been talking with.

I’m pleased to announce that I have found a sponsor that will allow the team here at Catalyst IT to continue support for serious security issues with Moodle 1.9 until December 2013

Totara LMS is funding/sponsoring this work which is great! – hopefully this will ease the concerns of organisations who are not quite ready to upgrade to Moodle 2.

I’ve posted more info about these plans in the moodle.org forums here.

My employer Catalyst IT is an authorised Moodle Partner and we have offices in UK/AU/NZ, we provide a range of services focused around free and open source technologies including products such as Moodle/Mahara/Drupal/Koha and many others.

Totara LMS is custom distribution of Moodle targeted at the corporate sector.

GSOC 2012

Sunday, March 18th, 2012

GSOC is here again and Moodle has been approved as a participating organisation. GSOC students get USD $5,000 for participation in the program(thanks Google!).

Depending on the number of slots allocated to Moodle and the quality of the applicants, I’m planning to run 2 projects this year.

SCORM 2004 – building on the work from our GSOC 2011 student Mayank, I’d like to get some more progress towards SCORM 2004 compliance – there are a large number of tasks to complete 2004 and I may take on more than one student to work on this (depending on slots/applicants) If you know of any students good with Javascript and PHP – make sure you point them towards GSOC.

Improving Plagiarism API – The plagiarism api currently only hooks into the upload assignment types – I’ve been planning to add hooks into other Moodle modules but haven’t quite got round to it – this project will involve adding new hooks to other Moodle modules and probably some work on some plagiarism plugins like Crot.

For more info see: http://docs.moodle.org/dev/Projects_for_new_developers

 

Future of Moodle Turnitin plugins

Tuesday, March 6th, 2012

Ever since Moodle 1.5 I’ve enjoyed developing the Turnitin integration which has resulted in the new Plagiarism API in Moodle 2 – now we have plugins for Urkund, Crot, Moss and hopefully more to come!

I started developing the Turntin integration while working for Lincoln University and playing with the Turnitin basic assignment type developed by Turnitin which didn’t really suit our requirements. Since then a company called nLearning (now part of Turnitin) developed a 3rd plugin called “Moodle Direct” – so there are now 3 different ways of connecting Moodle to Turnitin.

Independently developing the Turnitin plugin has presented a range of challenges – including:

  •  Keeping in touch with new features/improvements to Turnitin services and implementing them in my plugin.
  • Providing support to people who have downloaded the plugin and have a contract with Turnitin but no support contract with me – I’ve spent a lot of volunteer time helping via e-mail/forum support but this can be quite time-consuming. It can also be confusing for people using the plugins – not knowing who to contact related to a problem.
  • Diagnosing issues can prove difficult – is there an issue with the code/Turnitin (Kudos to the Turnitin Devs who have provided a lot of support directly to me while developing/improving the plugin)
  • Enabling my plugin can be a convoluted process, emails to Turnitin, extra configuration required…

Where am I going with this you ask? – Turnitin are working directly with me to “merge” their “Turnitin Direct” plugin with my plagiarism plugin for Moodle 2.x – this will bring a range of very good benefits.

  • Single support base – support for the plugins will come direct from Turnitin for all plugins making it much easier to access support.
  • Larger feature-set available – my focus has been on the originality checking feature – Turnitin provides a range of other features which will be implemented and supported in both plugins.
  • Moodle admins will be able to choose between using the plagiarism plugin which uses the existing assignment types or to use a separate “turnitin” module.
  • The new plugin will be backwards compatible with data stored from my version. (planning to use the same tables)
  • The new plugin will sync grades entered via Grademark with Moodle.
  • The new plugin will support the existing featureset (and more).

Obviously there will be some form of changeover period where I will continue some level of support for the existing plugin but sites will be migrating to the newer version provided directly from Turnitin – Turnitin are hoping to provide the new code in a git repo and allow others to contribute patches back (I know I’ll probably be submitting a few in the long term)

This is all very new and there isn’t a specific time frame in place to have this completed except to say that you should keep an eye out for the initial code release in the upcoming months.

Thanks to everyone who has tested/provided feedback/provided patches/provided funding for the plugin – it’s been a cool project to be involved with. Now that the core plugin will be supported directly from Turnitin I may finally have time to implement the plagiarism api into other areas of the Moodle codebase like forum posts, workshop mod, Essay quiz questions etc – or maybe I’ll just waste away more time on SCORM… :-)

Meta-course enrolments and failed Moodle 2 upgrades oh my!

Monday, January 23rd, 2012

We just upgraded one of our clients sites that makes extensive use of the meta-course enrolment feature combined with ‘nosyncroleids’ from 1.9 to 2.2  – they use meta-courses to enrol their students but use manual enrolments for their teachers so the teacher role was set in ‘nosyncroleids’ – during the upgrade these manual enrolments for teachers seem to have been corrupted – after upgrade the users show as “enrolled” using meta-enrolment but don’t have any roles in their courses. This seems strange as in the 1.9 site they were “manual” enrolments.

It looks like Petr Skoda may have fixed this as part of MDL-29684 but this is only fixed in master, not the stable branches. (and I haven’t tested it)

And unfortunately as the sync process has already screwed up the enrolments on the courses, simply applying the patch to the clients 2.2 site wouldn’t work – the only way it seems it might work would be to revert back to the 1.9 site and re-run the upgrade with the patch in place – or manually go through each course and fix the enrolments. Unfortunately we didn’t notice this early enough and the site was already being used so the client is now going through each course and manually fixing the enrolments for their teachers (time-consuming and frustrating!)

IMO this sort of issue should be back-ported but hopefully this post might help prevent others from experiencing the same pain!

Moodle 2.2 SCORM Reporting improvements and GSOC

Monday, August 15th, 2011

Ankit Agarwal has been working on restructuring the SCORM reporting code as part of a GSOC project this year. This now allows the standard Moodle plugin functionality to the reporting interface in SCORM – developers can write their own SCORM report plugins and drop them in place in the same way installation of a block/module/standard plugin is done in Moodle.

The initial work involved a large amount of restructuring and very limited (if any) differences in the UI to users…. but Ankit has just finished a new “interactions” report that displays SCORM interactions in a more readable manner – This report is currently available in MDL-28277 and will probably become part of Moodle 2.2 core very soon. This interactions report is something that has been requested a lot in the forums and will hopefully allow teachers to make a lot more sense out of the data that SCORM presents.

Kudos to Ankit for his hard work on this project – it will be interesting to see any new SCORM report plugins that are developed and hopefully the new interactions report provides a useful addition to the SCORM reporting in Moodle! Thanks heaps to Google for funding Ankit’s time to work on the project!

Moodle 2.2 SCORM 2004 and GSOC

Monday, August 15th, 2011

Mayank Gupta has been working on a new test harness that allows us to automatically run the SCORM ADL 1.2 and 2004 tests as part of a GSOC project this year. This also means we can start to run the 1.2 and 2004 tests during Moodle’s weekly integration review to make sure that any new code hasn’t broken SCORM compliance. Previously, running the tests has been a very time consuming task – even for SCORM 1.2 with just 2 SCORM packages to test… SCORM 2004 has 189 different SCORM packages that need testing!

As part of Mayank’s work a small number of SCORM 2004 issues have been resolved in Moodle 2.2 and hopefully with the automated test harness in place it will help to progress with other SCORM 2004 bugs.

If you would like to keep track of Moodles SCORM 2004 progress, add yourself as a watcher to MDL-7068 where each SCORM 2004 test has been added as a task.

If you would like to install the test harness and check it out in action – see the instructions here:
http://docs.moodle.org/dev/SCORM_Test_Harness#Running_ADL_SCORM_Test

One of the challenges we faced was loading 189 SCORM packages into a Moodle Course – I knocked up a quick script to import bulk SCORM packages that is available on MDL-17822 if anyone is interested!

Mayank’s work has been a valuable contribution and I’m personally appreciative of the effort he put into the test harness – it’s going to save me a LOT of time – and hopefully help to prevent any SCORM regressions from appearing in new versions of Moodle! – and thanks heaps to Google for helping to fund Mayank’s time to do the work!

IE7 and XMLHttpRequest

Wednesday, July 13th, 2011

I’ve spent a big part of the last week of my time lost in the abyss of IE 7 and XMLHttpRequest as part of MDL-28295 – it seems that under certain conditions a call to XMLHttpRequest crashes IE 7 when called from a child window….

Posting here in case someone else runs into this weird bug in the hope that it might save someone some time!
Pseudo code:
httpReq = new XMLHttpRequest();
httpReq.open(“POST”, url,false);
httpReq.setRequestHeader(‘Content-Type’, ‘application/x-www-form-urlencoded’);
httpReq.send(param);

When “param” contains something like this it works fine!
id=&a=11

but when “param” contains something like this – it crashes IE 7:
id=&a=11&cmi_corelesson_status=incomplete&cmicoreexit=suspend&cmi_suspend_data=|&attempt=1&scoid=28

Initially I thought the encoding might be the issue and encoding the params using encodeURI() seemed to work – but further testing found it was still an issue.

The fix was to re-structure the code so that it didn’t call the code from a child window but from within the “parent” window…. crazy….

SCORM and GSOC

Monday, April 25th, 2011

We’ve just accepted 2 GSOC students to improve the SCORM module in Moodle.

Mayank Gupta will be working on a SCORM Test Harness to allow us to automatically run the SCORM ADL tests on the latest code – this has previously been a time consuming process and can only be performed in IE – this will greatly improve our existing code review process and help to identify the issues with SCORM 2004 support and allow ongoing development without breaking compatibility with previous tests, for more information on this see MDL-26912 – a secondary task for Mayank is to add tracker issues for the failing SCORM 2004 tests and if he has time suggest fixes for a few of them as well.

Ankit Kumar Agarwal will be working on improving the quiz reporting in SCORM – presenting the responses to quiz questions (if the SCORM package reports them back to Moodle) in a more readable manner – for more information on this see MDL-27256 , a secondary task for Ankit(if he has time) is to look at some of the SCORM 2004 tests that are failing and suggest fixes for them.

Malea Praise Marsden

Thursday, December 9th, 2010

Malea Praise Marsden A new Addition to the Marsden Whanau – Malea Praise Marsden born 10:21pm 2/12/2010, 3.445Kg(7.6 Pounds)