Posts made by Martin Dougiamas

Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Plugin developers Picture of Testers
Hi all,

This is just a heads-up to let you know that we at Moodle HQ are working on moving to git.moodle.org as our main server soon, at which point cvs.moodle.org will become a read-only mirror of it. As a result, you may lose CVS access if you had it and if you want to continue working on Moodle code then learning to use git would be a good idea. smile

At the same time we are going to be reworking our processes to take more advantage of the flexibility that git gives us. This means a lot more reviewing of code and STABLE branches that are even more stable. More about this soon, and come to the developer meeting on Thursday to talk with us about it!

Average of ratings: Useful (2)
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Plugin developers Picture of Testers
Hi Tim,

The new file API was designed and implemented to fix a lot of problems we were experiencing.

As one example, you say you'd like to store files on disk using their original names. This single requirement would mean that many of our users would experience huge problems (as they did in Moodle 1.x), since they want to name their files using all kinds of non-latin characters, and many operating systems do not support these well. Talk with people trying to use Moodle in Japan, for example.

Another old problem is that we could never tell what files were being used by exactly what activity. This led to all kinds of issues with backups, security, images appearing to teachers but not students, and so on. For example, if you wanted to backup one Forum you had to include EVERY file in the course, which could be gigabytes. Course import often broke, too, because we did not know what files to bring over with activities.

Following from this, every file in the course files area had to be readable by students (because we had no idea where/how they were seeing it), so a smart student could easily guess URLs and gain access to all kinds of files that teachers thought was private (and thus cheat).

The answer is not to go back to the 1.x design - it's too late for that. If there are issues with the 2.x interface then let's work on them (as we have been for over 2 years). One of the things that was always planned (though sadly not finished yet) was a WebDAV interface (built on top of the File API) to make it easier to drag files in and out of Moodle. There is also the filesystem repository and a new course files repository that mimics a lot of the old behaviour for those who really want it.

To me it's clear that the general trend in the world is to move towards specialised repositories that do that job really well, and then plug these into application servers like Moodle to use the files.

I think most of us involved recognise that there is going to be some re-learning required, that old workflows may have to change, but the result is a more powerful, flexible and international tool with fewer problems.

Finally, Moodle 1.9 is still around. If you can't adapt your custom backend stuff then you may not want to upgrade, and that's fair enough.

Cheers,
Martin
Average of ratings: Useful (5)

Moodle in English -> Hotpot (plugin) -> Hotpot 2.0

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Plugin developers Picture of Testers
Hi all,

Unfortunately the hotpot module is not going to be ready in time for Moodle 2.0 RC1 (don't blame Gordon!), so rather than include it in the package as a broken module, I'll have to move it to contrib for now and make it separate from the core distribution.

If anyone upgrades to Moodle 2.0 without realising, everything should work fine. The hotpot activities will simply not be shown. When Hotpot is added later the activities will re-appear.

Hopefully Hotpot can make a return later.

MDL-23450
Average of ratings: -