some random moodle stuff

33
Some Random Moodle Stuff Recent Developments at South Devon College Kevin Hughes [email protected] South Devon College 22 October 2008 Kevin Hughes South Devon College Some Random Moodle Stuff

Upload: kevin-hughes

Post on 25-May-2015

1.115 views

Category:

Travel


3 download

DESCRIPTION

Given at JISC South West Regional Support Center VLE Forum, 22 Oct 2008

TRANSCRIPT

Page 1: Some Random Moodle Stuff

Some Random Moodle StuffRecent Developments at South Devon College

Kevin [email protected]

South Devon College

22 October 2008

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 2: Some Random Moodle Stuff

SDC Webteam

Lead Web Developer New Media Officer

Web Developer Assistant Web Developer

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 3: Some Random Moodle Stuff

We have a vacancy

Web Developer

To design and develop web systems closelyintegrated with the college network, withparticular responsibility for the VirtualLearning Environment (Moodle) forE-Learning.

Salary: £21,275 — £22,940

Is this someone youknow?

http://www.southdevon.ac.uk/jobs

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 4: Some Random Moodle Stuff

Upgrade 1.7→ 1.9

Mostly trouble free...

Odd problem with SCORM (that no-one else has!)

A little trouble with slideshow, scheduler and feedbackmodules

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 5: Some Random Moodle Stuff

Upgrade 1.7→ 1.9

Mostly trouble free...

Odd problem with SCORM (that no-one else has!)

A little trouble with slideshow, scheduler and feedbackmodules

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 6: Some Random Moodle Stuff

Moodle and Git

ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules) but we also want to track the changes fromupstream...

SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 7: Some Random Moodle Stuff

Moodle and Git

ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules)

but we also want to track the changes fromupstream...

SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 8: Some Random Moodle Stuff

Moodle and Git

ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules) but we also want to track the changes fromupstream...

SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 9: Some Random Moodle Stuff

Moodle and Git

ProblemWe’re making changes to the Moodle code (even if this is justinstalling new modules) but we also want to track the changes fromupstream...

SolutionGit lets us track our changes, and those upstream, at the sametime in our own repository

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 10: Some Random Moodle Stuff

Moodle and Git

Catalyst have done the hard work for us

git clone git://git.catalyst.net.nz/moodle-r2.git

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 11: Some Random Moodle Stuff

Moodle and Git

Catalyst have done the hard work for us

git clone git://git.catalyst.net.nz/moodle-r2.git

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 12: Some Random Moodle Stuff

Torbay Moodle Network

A VLE is needed to support bay-wide diploma courses

South Devon College chosen as the best place to host it

There are issues with authentication and enrolment

I don’t want to do it!Not a big problem now – only one diploma running – but morediplomas will start next year

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 13: Some Random Moodle Stuff

Torbay Moodle Network

A VLE is needed to support bay-wide diploma courses

South Devon College chosen as the best place to host it

There are issues with authentication and enrolment

I don’t want to do it!Not a big problem now – only one diploma running – but morediplomas will start next year

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 14: Some Random Moodle Stuff

Torbay Moodle Network

A VLE is needed to support bay-wide diploma courses

South Devon College chosen as the best place to host it

There are issues with authentication and enrolment

I don’t want to do it!Not a big problem now – only one diploma running – but morediplomas will start next year

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 15: Some Random Moodle Stuff

Torbay Moodle Network

Thanks to Gavin Pidgley at SchoolCare

Page 16: Some Random Moodle Stuff

Torbay Moodle Network

Lessons learnt:The Moodle network is picky!It cannot connect out through a proxy [MDL-14624]

But there is a patch... [MDL-15125]

A connection directly to the moodle’s IP address must workA reverse-lookup of the IP must resolve to the correct address(not a local one)

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 17: Some Random Moodle Stuff

Torbay Moodle Network

Lessons learnt:The Moodle network is picky!It cannot connect out through a proxy [MDL-14624]

But there is a patch... [MDL-15125]

A connection directly to the moodle’s IP address must workA reverse-lookup of the IP must resolve to the correct address(not a local one)

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 18: Some Random Moodle Stuff

By the way...

The Graph Statsblock is cool

But it doesn’tcount networkedlogins

So lets fix it

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 19: Some Random Moodle Stuff

By the way...

The Graph Statsblock is cool

But it doesn’tcount networkedlogins

So lets fix it

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 20: Some Random Moodle Stuff

By the way...

The Graph Statsblock is cool

But it doesn’tcount networkedlogins

So lets fix it

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 21: Some Random Moodle Stuff

By the way...

Now you can select to count unique logged-in visitors instead.

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 22: Some Random Moodle Stuff

Deploying Moodle with Capistrano

ProblemNow I’ve got two moodles and two databases across four serversto look after with all the associated duplication of work

, and I’mmuch too lazy for that.

SolutionCapistrano (and a bit of cleverness) will let us administer all ofthem at the same time.

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 23: Some Random Moodle Stuff

Deploying Moodle with Capistrano

ProblemNow I’ve got two moodles and two databases across four serversto look after with all the associated duplication of work, and I’mmuch too lazy for that.

SolutionCapistrano (and a bit of cleverness) will let us administer all ofthem at the same time.

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 24: Some Random Moodle Stuff

Deploying Moodle with Capistrano

ProblemNow I’ve got two moodles and two databases across four serversto look after with all the associated duplication of work, and I’mmuch too lazy for that.

SolutionCapistrano (and a bit of cleverness) will let us administer all ofthem at the same time.

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 25: Some Random Moodle Stuff

Deploying Moodle with Capistrano

Capistrano:Rolls code out cleanly straight from a (git) repository to manyservers at once with one command1

Keep old versions handy and rollback to them instantlyCan run any job on parallel across all servers

Possible problems:You need a UNIX-like serverMoodle gets confused by symlinks in its path

1Told you I’d get back to thisKevin Hughes South Devon College

Some Random Moodle Stuff

Page 26: Some Random Moodle Stuff

Deploying Moodle with Capistrano

Capistrano:Rolls code out cleanly straight from a (git) repository to manyservers at once with one command1

Keep old versions handy and rollback to them instantlyCan run any job on parallel across all servers

Possible problems:You need a UNIX-like serverMoodle gets confused by symlinks in its path

1Told you I’d get back to thisKevin Hughes South Devon College

Some Random Moodle Stuff

Page 27: Some Random Moodle Stuff

Deploying Moodle with Capistrano

A recipe

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 28: Some Random Moodle Stuff

RESTian XML auto-enrolment

ProblemNone of Moodle’s automatic enrolment plugins are of any use tome.

SolutionOur new in-house eilp can supply enrolment data in simple XML ina RESTful way. Lets write a new plugin which pulls enrolment datafrom that.

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 29: Some Random Moodle Stuff

RESTian XML auto-enrolment

ProblemNone of Moodle’s automatic enrolment plugins are of any use tome.

SolutionOur new in-house eilp can supply enrolment data in simple XML ina RESTful way. Lets write a new plugin which pulls enrolment datafrom that.

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 30: Some Random Moodle Stuff

RESTian XML auto-enrolment

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 31: Some Random Moodle Stuff

RESTian XML auto-enrolment

The plugin has some issues:It doesn’t currently unenrol anyoneIt finds courses on their shortname for historical reasons

A new version coming soon, which...Fixes both those problemsCan link more than one real course to one moodle course

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 32: Some Random Moodle Stuff

RESTian XML auto-enrolment

The plugin has some issues:It doesn’t currently unenrol anyoneIt finds courses on their shortname for historical reasons

A new version coming soon, which...Fixes both those problemsCan link more than one real course to one moodle course

Kevin Hughes South Devon College

Some Random Moodle Stuff

Page 33: Some Random Moodle Stuff

Any questions?

”It is impossible to speak in such a way that youcannot be misunderstood.”

Karl Popper

http://www.slideshare.net/kevtufc/some-random-moodle-stuff-presentation

Kevin Hughes South Devon College

Some Random Moodle Stuff