[Xerte-dev] Re: Export Code

Ron Mitchell ronm at mitchellmedia.co.uk
Wed May 2 09:28:28 BST 2012


<bug>
spoke to soon re the moodle integration! :-(

Opening, editing, publishing existing projects seems to work fine but when
creating a new project all seems fine until closing the editor. The
workspace appears empty until refresh when all the existing projects then
re-appear but not the newly created project. However this is being created
in the user-files directory so I'm guessing it's not being added to the
database but will check that next. Even so not sure why the workspace
appears empty on closing the editor until refresh. Here's a quick screencast
showing all this
http://dl.dropbox.com/u/1388941/xot18_beta_moodle_integration_problem.mp4

David - can you advise?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 01 May 2012 21:51
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: Export Code

<snip/>
> 1. Moodle (no XOT login page will be shown; Ron has apparently tested
this).<

I've updated the test install tonight with all the latest files from the XOT
svn so this is now using the new method of moodle integration rather than
the old method. I've also updated readme_moodlepatch.txt to cover how to
enable and use this method of moodle integration. All (moodle
authentication) seems to be working fine as far as I can tell and no longer
requires any different files like the previous moodle patch did.

Ron

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 01 May 2012 13:16
To: thomas.rochford at jiscadvance.ac.uk; For Xerte technical developers
Subject: [Xerte-dev] Re: Export Code

<snip/>

> provider but not at my request! - won't support ZLIB either. These are 
> both fairly deadly to Moodle 2.2. and the LDAP issue could be a 
> serious problem for XoT; I'm not sure if the export code uses ZLIB or 
> not, it's said to create performance issues.
> 



As of Sunday, XOT's trunk can authenticate against :

1. Moodle (no XOT login page will be shown; Ron has apparently tested this).

2. A static predefined list (See library/Xerte/Authetication/Static.php)

3. A database (see library/Xerte/Authentication/Db.php for hints/docs) (not
yet tested)

4. LDAP (See library/Xerte/Authentication/Ldap.php)

5 Have no authentication - i.e. guest user access (See
library/Xerte/Authentication/Guest.php) - no login page will be shown; this
is the default behaviour ATM.


To specify which, edit config.php - to define
$xerte_toolkits_site->authentication_method (I think).

It would be fairly trivial to add in e.g. a POP3 validator if required - or
write your own custom one.

I'm toying with the idea of removing the dependency on MySQL and allowing
XOT to use SQLite - which would make demo/test deployment a lot easier (no
need for a database, no need for authentication - just upload to a PHP
server and it would just work as a guest user) . but I'm not sure yet. I
suspect there are quite a few mysql_query's I've not removed from the code
base.

Thanks
David.



Pale Purple Ltd.  (Company No: 5580814)
'Business Web Application Development and Training in PHP'

http://www.palepurple.co.uk   
Office: 0845 0046746     Mobile: 07792380669 

Follow us on Twitter: @PalePurpleLtd


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev




More information about the Xerte-dev mailing list