I made a WebDAV extension for the file manager.
It uses HTTP_WebDAV_Server php class and Moodle authentication.
With this extension, teachers are able to manage their course's folders with webdav.
For example :
If someone is interested, a zip file is included with a readme for instructions.
I tested it only with a unix server and few windows clients (dreamweaver MX, DAV Explorer, windows explorer).
I am not very sure about security and I would be very happy if you can help me in this field .
Any comments welcome !
I have installed the scripts (I also executed the SQL to create the "properties" and "locks" tables - is that required? It isn't mentioned in the README) but can't get anything helpful from the
$DAVCONF_base should be the same as moodles $CFG->dataroot parameter, is that right?
And what do I use for the $DAVCONF_dbf_locks parameter?
The "locks" table is required.
I added $DAVCONF_dbf_locks so you can use any name for the locks table and so you do not need to create a new DB.
Oups I made a mistake, its $DAVCONF_dbt_locks for "table" and not field (sorry)
You have two ways for the WebDAV DB.
1) create a new DB -> $DAVCONF_db_name
create the "lock" table -> $DAVCONF_dbf_locks
2) Use an existing DB moodle for example -> $DAVCONF_db_name
create the "webdav_lock" table-> $DAVCONF_dbf_locks
Yes $DAVCONF_base is the path to moodledata $CFG->dataroot.
Bu in my config $DAVCONF_base ends with a "/"
Sorry, I don't understand any of this. Can anyone who managed to get this to work provide more instructions?
Now I'm studing how to implement the 2445 rfc described by Apple with the iCalendar software. I'll start with the easy methods, to made a basic schema for develope a full solution with the nexts releases.
The sunbird software from the mozilla family, have two ways to get remote calendars, over ftp or webdav application protocol, I need help about how to do it, :
Moodle calendar's database,
Moodle user's databases for made personal calendars anotations.
Moodle ftp or webdav support.
I am a student from Pompeu Fabra University from Barcelona at Spain, and we do an asigment with the moodle open software.
(see the orange iCal button)
- the orange button does not show up and the word "export" does not appear in page's source code.
- Some export scripts are indeed in moodle/calendar but calling directly moodle/calendar/export.php gives an incomplete setup screen and the button "export" always fails.
Apache logs say :
[Mon May 14 10:18:12 2007] [error] [client 188.8.131.52] PHP Fatal error: Unsupported operand types in /var/www/html/
moodle172/calendar/export_execute.php on line 30, referer: http://cipcnet.insa-lyon.fr/moodle/calendar/export.php
Offending line is
$courses = array() + $USER->student + $USER->teacher;
I am running Moodle on PHP 5.2 .
I think his project is here http://rscds.sourceforge.net/
Sorry for resurrecting an old thread but I was also having problems finding some understandable instructions on configuring WebDAV on the server. I've added some instructions on installing WebDAV on a Windows 2003 SP 2 Applications Server here:
I'm not sure if this is the right place to put them but I hope it helps.
Thanks for the docs - however I think you're missing one critical bit of info: how does one enable the Admin->Server->WebDAV menu in the first place?
My understanding (and that of many others, judging by the results of a "WebDAV" search on moodle.org) is that Moodle 2.0 includes built-in WebDAV server support. I'm running the latest preview of Moodle 2.0, but can't find a WebDAV config option anywhere.
Are your instructions for Moodle 2.0? Or are they for older releases of Moodle with a WebDAV patch? If the latter, then you may wish to make note of that in your docs. If the former, then please tell us how you got that WebDAV menu in the first place! ;)