General plugins

Google Apps integration: Google Apps/Moodle integration features

 
 
Picture of Sandor Lukacs
Google Apps integration: Google Apps/Moodle integration features
 

Hi everybody!

We at NetSapiensis AB are planning to release in the next 3 months a block/module to integrate Google Apps with Moodle. We would appreciate if you could come with ideas about the features you would like to see in such a block/module.

Best regards

Sandor Lukacs

NetSapiensis AB

 
Average of ratings: -
Picture of Dennis Williams
Re: Google Apps integration: Google Apps/Moodle integration features
 
Besided word processing and spreadsheets that allow one to submit directly to the assignment, both google scholar search and a google maps (or better google earth) block would be interesting.
 
Average of ratings: -
Picture of A. T. Wyatt
Re: Google Apps integration: Google Apps/Moodle integration features
 
I use google spreadsheets, google docs, google homepages, and now google presentations in some of my classes.

I am however, drawing a blank as to how this block could work. I might have 100 files or so among 25 students in a class, some of them individual and some of them collaborative.

If the document was published, then perhaps capturing a link would be sufficient, but if the document was still in collaboration mode, you would have to be invited. How will the block help with that?

I would like to hear more about your ideas so that I can think more productively.

At present, my main problem is getting all the students gmail accounts posted somewhere so everyone has the ability to invite the right people to collaborate on a document. I wish that was automated, or that the students could enter that information themselves. (I could probably use the database, but I haven't quite mastered the art of building decent looking templates yet. . .)

We set up iGoogle pages and added the widgets for google docs and links to sites we use each class session. We made the iGoogle page the homepage for the browser in the lab where I teach. That way each students gets a pretty good portal when they sit down and log in. It isn't roaming, but it works for us. Will your block be able to do some things like that?

atw

 
Average of ratings: -
ME
Re: Google Apps integration: Google Apps/Moodle integration features
 

Dear Wyatt

Hii!!

I think you have implemented the google bock in your moodle system. Thats look gr8!! I have an issue that whenever i try to integrate google with moodle it gives me errors of authentication. I donno what to do. I have read the documentation on moodlerooms but still not able to solve my issue. If you could tellme the process then i will be obliged.

Thanks

Regards

 
Average of ratings: -
Jim Whitacre
Re: Google Apps integration: Google Apps/Moodle integration features
 
Sandor,

This sounds great! Currently our school uses Google Apps for Education, mostly now for the email feature which I even get complaints about having to leave the Moodle to check email! It would be nice to integrate some of the shared doc features into the assignment level, integrate gmail into the block, Calendar integration would be nice so we only have "one" calendar say...the Google one?, the new "presentation" feature, custom searching (haven't been able to get that one figured out yet since we operate "behind closed doors" (i.e. must login to see anything) - Google doesn't seem to want us to use their search without access itself, etc.

I wish I had some better ideas...we only switched our email and to the Apps program in August.

What kind of ideas are you considering?
 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi,
I have developed single sign on and gApps account management within moodle and i will publish my work in next few days. Currently i am developing some documentation and soon after i finished it, i will publish the whole thing at "modules and plugins" forum.
 
Average of ratings: -
Picture of Sandor Lukacs
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi Rashan!

Great news! We will test it as soon as it becomes available.

Greeting
Sandor Lukacs
NetSapiensis AB
 
Average of ratings: -
Me & Em
Re: Google Apps integration: Google Apps/Moodle integration features
 
I did a search through the "modules and plugins" but could not find your authentication module. Has this been uploaded yet? If so can you provide a link to the thread/file please.
 
Average of ratings: -
Picture of Hans de Zwart
Re: Google Apps integration: Google Apps/Moodle integration features
Group Developers
Coming from a dreamworld: I would like to have the possibility of adding a GoogleDocs document in the course like any other activity (e.g. like a Wiki). It should then work with single sign on and should take the some of the permissions (reading/writing) of the Moodle system into account.

I will be following this with much interest!
 
Average of ratings: -
Picture of Sixmund Paulo
Re: Google Apps integration: Google Apps/Moodle integration features
 
I would like to know how to integrate my moodle data base with Google so it can be viewed by any body in the world.
 
Average of ratings: -
Picture of Ross Mackenzie
Re: Google Apps integration: Google Apps/Moodle integration features
 

I'd certainly be interested to hear more about what you're proposing to do - my main interest here would be to see how we can use the word-processing and spreadsheet applications collaboratively alongside other Moodle tools.

Ross Mackenzie
Open University

 
Average of ratings: -
Picture of Sandor Lukacs
Re: Google Apps integration: Google Apps/Moodle integration features
 

Primarily we would like to have something similar to a "school bag" containing documents and calendar information for a Google Apps (GA) user. Collaborating on documents can allready be accomplished on the Google side. COnferencing tools will also be available in the near future since Google purchased Marratech this year.

For starters we would like to make it possible for a GA user using Moodle to:

-submit documents to assignemets
-syncronize calendars (Moodle to Google)
-use single sign on using the same account source as Moodle

Single sign on necessitates extensive customization of the GA environment and is something that is not accessible for most of us.

An important issue to discuss first is collaboration.

Should collaboration be done on the Google side and use Moodle as a presentation layer or vice versa?

Sincerely
Sandor Lukacs

NetSapiensis AB

 
Average of ratings:Useful (1)
Picture of Josiah Ritchie
Re: Google Apps integration: Google Apps/Moodle integration features
 
smile These features are making me salivate. I'm just now putting together something that would be able to take use of just about all of these. It sounds very useful.

The thing of most immediate interest though is the GA single sign-on idea. I'm messing around with one from here: http://moodle.org/mod/forum/discuss.php?d=85188. I haven't figured out how to make it work quite yet though.
 
Average of ratings: -
Picture of Jan Joost de Vries
Re: Google Apps integration: Google Apps/Moodle integration features
 
I would prefer if collaboration takes place on the google side. Basicly you need the GA for other Moodle activities. Unless you think up an activity that's unique and needs tight integration with GA.


 
Average of ratings: -
Anthony Borrow
Re: Google Apps integration: Google Apps/Moodle integration features
Group DevelopersGroup Moodle HQGroup Testers
Sandor/Rashan and others working on development of the possible integration of GoogleApps within Moodle - Please share with me the ideas you have and create an issue in the tracker to create space in the CONTRIB section of CVS. In the tracker, upload the code and I can then create the space and work toward getting you access to those directories. That way we can better collaborate on the development of the code. I can then also create a component in the tracker so that issues, feature requests, etc. can be managed. Let me know what I can do to help you coordinate your efforts. Peace - Anthony
 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi,
The full code can be downloaded via CVS( iam testing the code again and once it looks OK, i will make a release) and my draft documentation is at our wiki:
http://ucsc.cmb.ac.lk/wiki/index.php/Moodle_GApps

Feel free to test thissmile

PS: It took some time as i had to modify the code so that others too can use it (i.e. Earlier the code was written to just suit our uni's requirements)
 
Average of ratings: -
Picture of Nathanael Klassen
Re: Google Apps integration: Google Apps/Moodle integration features
 

Hi Rashan,

Just wanted to let you know that I tried installing your Google Apps integration on our Moodle server (W2K3 Server with IIS), and it works! I got the xmlsec binaries for Windows from here: http://www.zlatkovic.com/libxml.en.html. I think the only change I had to make was using the full path to the keys folder, rather than a relative path.

Thanks for the work you did on this.

Nathanael

 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Excellent news!
And for others, i have checked the code again and the instructions given in our wiki to install this. Since i am quite confident on the code i made a release (downloadable zip file) in the sourceforge site (https://sourceforge.net/projects/gapps-moodle/). sooner i will move the project into the contrib area of moodle and i am hoping to develop this in future with the help of you smile
 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi,
Now the code is available in the contrib area of Moodle CVS.

The main user interface:
contrib/plugins/mail

The admin interface:
contrib/plugins/admin/gapps

A simple block to access the service:
contrib/plugins/blocks/gapps
 
Average of ratings: -
Martin in black and white
Re: Google Apps integration: Google Apps/Moodle integration features
Group DevelopersGroup Documentation writersGroup Moodle HQGroup Particularly helpful MoodlersGroup Testers
Thanks Rashan! Unfortunately, these look like they are incorrect places in contrib/plugins (which is just for proper plugin locations). I've asked Anthony to help move them into a better format. See MDLSITE-435
 
Average of ratings: -
Picture of Howard Miller
Re: Google Apps integration: Google Apps/Moodle integration features
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
Any chance of README files in those directories telling us where to find the documentation. I don't want to be miserable, but having to search for the thread that mentions the docs wiki halfway through is hit and miss at best.
 
Average of ratings: -
Picture of Rafael Reyes III
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi Rashan. I have installed you integration for moodle and google apps. But I am having a problem with xmlsec. xmlsec is installed and openssl as per instructions. I have correctly created the certs fine, but still the same thing. Any help would be appreciated. Here is the error: Unable to sign XML response. Please ensure that xmlsec is installed, and check your keys.



 
Average of ratings: -
Picture of Rafael Reyes III
Re: Google Apps integration: Google Apps/Moodle integration features
 
Has anyone resolved the problem of the system not able to sign the XML response? Can someone give me some directions as to what to do next?
 
Average of ratings: -
Picture of isaac de la Fuente
Parse Error
 
First off thank you so much for this integration! I can't get it to work at the moment but I can't wait to get it working.

I followed all of the instructions from the wiki, including the changes to our google Education account. I got the message that said something about the gapps tables configuring correctly.....but when I go to my new mail/logon page:
http://www.nyclabonline.com/mail/index.php

I get the following error:
Parse error: parse error, unexpected '{' in /home/content/i/d/e/idelafue/html/nyclabonline-com/mail/index.php on line 42



 
Average of ratings: -
Picture of Rashan Anushka
Re: Parse Error
 
hi isaac,
could you tell me the PHP version that your using. Also pls recheck the config.php file again for the changes you have made.


 
Average of ratings: -
Picture of isaac de la Fuente
Re: Parse Error
 
Rashan,
I'm using 5.0 for PHP. I went in and checked both of the config files...they seem to be fine. I redid the setting in Google Apps Edu. I still get the same parse error in the index mail file on line 42. I have a feeling that it might have something to do with this part of the config file
/**
* The Path to the xmlsec executable
*/
define('XMLSEC','xmlsec1');

/**
* The Path to the xmlsec-openssl library
*/
define('LD_LIBRARY_PATH','/usr/bin');

I left this alone, didn't change anything......I'm using GoDaddy for a host, and I seem to remember that when I was accessing another common resource I did not use /usr/bin. Is there a way to find out the location of the XMLSEC and the LD_LIBRARY_PATH. I apologize if these are rudimentary questions, but I'm a newbie and not a programmer. I'll look back at the other project to see where this default location was located. Thanks in advance.

isaac
 
Average of ratings: -
Picture of isaac de la Fuente
Re: Parse Error
 
Rashan,
I think that I figured out the problem....when I look at the PHP version from my GoDaddy config panel it says that I'm running 5.0 but when I use the tool built into Moodle it says that I'm running 4.3.11. I'll do a new install wit PHP 5
 
Average of ratings: -
Picture of Alistair Gill
Time Out
 
Hi,
I've just installed the GApps block on my moodle.

When I try to test the moodle/gApps email block I get the error:

Unable to Connect to ssl://www.google.com:443. Error #110: Connection timed out

I havnt yet set up the MX records on our domain, as we currently receive email through them, obviously they will be changed when we go live with gApps.

Is the fact that the MX records havnt been set yet the reason for this time out? Or is there another problem?

Thanks,
Al
 
Average of ratings: -
Picture of Alistair Gill
Re: Time Out
 
I now get the error:

Unable to Connect to ssl://www.google.com:443. Error #101: Network is unreachable

though I havn't changed anything. It seems that I cant talk to the correct google address. Any ideas?

Cheers,
Al
 
Average of ratings: -
Picture of Rashan Anushka
Re: Time Out
 
Did u have installed all the required libs such as openssl and xmlsec-openssl;

could you pls send a phpinfo(); output

Also can u re-check the installation instructions at;
http://ucsc.cmb.ac.lk/wiki/index.php/Moodle_GApps
 
Average of ratings: -
Picture of Alistair Gill
Re: Time Out
 
ahhh

Judging from my phpinfo() we don't have

xmlsec v1.2.9 or later
xmlsec-openssl

Sorry, thought I'd checked that.

I'll install those and give it another go,
Thanks again!
 
Average of ratings: -
Picture of David Barszczak
Re: Time Out
 
Is there any issues when using a proxy server?
 
Average of ratings: -
Picture of John Doe II
Re: Time Out
 

Hi Rashan and all of you,

Is there a way to use this Moodle-GApps integration without xmlsec libraries?

If not, do you see any other possible library I could try to re-develop this integration with?

Regards.

 
Average of ratings: -
Picture of Rashan Anushka
Re: Time Out
 
Average of ratings: -
Picture of John Doe II
Re: Time Out
 

Hi Rashan,

Thank you for this information.

I managed to install your plug-in, but still have some problems.

I can access user accounts as administrator, add new gapps accounts, change password and all the rest.

Also, normal users are able to request e-mail account and change their google password directly from Moodle.

However, when users click on "Goto My Mail Box", a google acs page opens with the following error message:

"This service cannot be accessed because your login request contained no recipient information. Please log in and try again."

Any idea what might be the problem here?

Thanks.

 
Average of ratings: -
Picture of John Doe II
Re: Time Out
 

Hi Rashan and all,

Alright, I solved the problem I reported earlier.

Basically, the SAML response template XML was not updated in the Moodle-Gapps "mail/templates" directory.

It should be replaced with the latest version from this URL:

http://google-apps-sso-sample.googlecode.com/svn/trunk/php/SAMLTestTool/templates/SamlResponseTemplate.xml

Rashan, I think you should update your sources with this.

Cheers.

 
Average of ratings: -
Picture of Rashan Anushka
Re: Time Out
 
yes. Google will be updating the SSO process at the end of August for old customers and they are going to introduce that from the begining for new customers. I have updated the code, infact these days I am working on completing others like mailing lists, nicknames and reports (things i haven't developed in the current release). hopefully I will be able to release the compete updates this week or next.

ps: I will try to release at least the SSO updates if the others seems to take more time smile
 
Average of ratings: -
Picture of Rashan Anushka
Re: Time Out
 
ok I have updated the templates and mail.php file. pls checkout the latest from the moodle cvs.




 
Average of ratings: -
Picture of Philip Geramian
Re: Time Out
 
How does on go about installing these requirements on a server on godaddy?
thanks
--Philip
 
Average of ratings: -
Picture of Mike Finney
Re: Google Apps integration: Google Apps/Moodle integration features
 
I've installed it and its been working great until today. I am using 1.9 and everything was working fine until this afternoon. I was getting this message in Firefox only for awhile:

Unable to Connect to ssl://www.google.com:443. Error #110: Connection timed out

Then later, the same thing began occurring in IE.

Any thoughts as to why?

Thanks.
 
Average of ratings: -
Picture of David Perry
Re: Google Apps integration: Google Apps/Moodle integration features
Group Particularly helpful MoodlersGroup Testers
Sounds like either google's secure (443) server/connection went down, or a glitch in your own server's connection to them (mebbe internal firewall/network glitch) or a glitch in your internet service provider's network/routing system. Only way to eliminate your organisation's firewall (it probably will have one, even if only basic) is to put your server straight onto it or allow all traffic out from it in the firewall's rules that I can think, I'm sure some network engineer or another who sees this might be able to come up with something more detailed/helpful.

Dave
 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Did your servers PHP upgraded. If so this can be due to missing some libraries, pls see the relevant posts above.

Also make sure you upgrade the code to the latest. recently I have done many upgrades/updates to the code.

Othewise I agree with David.
 
Average of ratings: -
Picture of Mark Jenkins
Re: Google Apps integration: Google Apps/Moodle integration features
 

We are looking to roll out google apps asap but would REALLY like to integrate the account management within moodle. 

Our moodle site synchs internally with LDAP for users.  Will it still work with this module i.e. if a new user is created in our user directory will they be created on googleapps when they log in to moodle? 

Sorry if this is a really obvious question!

Mark

 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Actually it is already done. Any user whithin the moodle (regardless of how there account has been created in moodle) can request an email account OR the admin can request an account manually.

For users, they only have to visit <moodle_root>/mail and they are given the option to request an account on the first time and once there account is created they are given the options to visit there mail box, change password (to be used in other cases like chat), etc...

The acounts are not created and activated automatically since each user required to agree with google licence (This is a google requirement).


PS: I am developing a manual for normal users (still not finished), you may get an idea abbout the process by looking at it.
http://ucsc.cmb.ac.lk/wiki/index.php/Moodle_GApps_BIT_SM
 
Average of ratings: -
Picture of Rob Delissen
Re: Google Apps integration: Google Apps/Moodle integration features
 
I can confirm this is working, Andrew.
Our situation:
Moodle 1.84, ldap authentication on AC
Gapps module installed.

When a new user is created in AC, and logs in in Moodle, goes to the Gapps block, and the mailbox is created.

Nice work, Rashan. Thanks a lot

p.s. Upgraded our installation to 1.92+ tonight, and Gapps rc2.
Still working...
 
Average of ratings: -
Picture of Howard Miller
Re: Google Apps integration: Google Apps/Moodle integration features
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
One of our clients started getting nasty emails from Google about a securty vulnerability the other day. The salient bit was I think..

"To secure your sign-in application, you must include the Recipient attribute
in the SAML response. You can learn more here:
http://code.google.com/apis/apps/faq.html#recipient"

Does anybody know what this is all about and/or has this been sorted in a newer version of the plugin? I must confess that I haven't the slightest clue about the Google Apps stuff and am hoping to avoid finding out smile ...any help appreciated.
 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Google has changed the SSO mechanism bit and according I have changed the plugin too. so this has been resolved and pls ask them to use the latest version of the plugin.
The link is:
http://moodle.org/mod/data/view.php?d=13&rid=1129
 
Average of ratings: -
Picture of Howard Miller
Re: Google Apps integration: Google Apps/Moodle integration features
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers
Cool!

Thanks for the quick reply smile
 
Average of ratings: -
Picture of Charles Applegate
Re: Google Apps integration: Google Apps/Moodle integration features
 

Hi Rashan,

Thanks for a great module- still working fine. Just wondering if there is a way to go directly to the calendar instead of the email page?

I've modified your app to submit the login form automatically, so I have a simply icon link to go straight to gmail (education version) from within moodle. I can't see how to change it to go to the google calendar straight away.

Any help much appreciated. Thank you.

Charles.

 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Dear Charles,
These days I am doing some refactorings in the code and planing to integrate the other services as well. It seems that this will take some time sad
How ever i will try to update the code at least to access the calendar and docs via SSO, whithin this week smile

regards
 
Average of ratings: -
Picture of Charles Applegate
Re: Google Apps integration: Google Apps/Moodle integration features
 

Hi Rashan,

That would be excellent- thanks for your efforts and I look forward to the new code.

Cheers, Charles.

 
Average of ratings: -
Picture of Anil Sharma
Re: Google Apps integration: Google Apps/Moodle integration features
 
I need some help.

We're trying to install the google apps integration onto moodle 1.9 but probably our servers don't have xmlsec1. How do i check if its there ? Phpinfo.php doesnt show XMLsec1.

We have apache 2.2 and php 5.2.6, in case xmlsec1 is not installed, can you please guide how to get it running ? The error we get presently is "Unable to sign XML response. Please ensure that xmlsec is installed, and check your keys."
 
Average of ratings: -
Picture of Rashan Anushka
Re: Google Apps integration: Google Apps/Moodle integration features
 
Is this a linux server? if so you can install the relevant packages by using the package management tool available in your distro (i.e. yum, apt-get, etc...)

If you have a windows machine, then there are some instructions on this thread about installing the required binaries.


 
Average of ratings: -
Picture of Anil Sharma
Re: Google Apps integration: Google Apps/Moodle integration features
 
It is a linux server but i'm no linux expert. If i knew the exact yum or apt-get command to get xmlsec1 installed, i could probably do it. I've searched the net but can't find the exact details to install it.
 
Average of ratings: -
Picture of Anil Sharma
Re: Google Apps integration: Google Apps/Moodle integration features
 
I typed # yum list | grep xml in the root and it shows
xmlsec1.i386 1.2.9-8.1 installed
Does that mean xmlsec1 is installed by default ?

While phpinfo.php shows libxml to be active, there's no mention of xmlsec1 separately. Openssl ins enabled. We still get this error

"Unable to sign XML response. Please ensure that xmlsec is installed, and check your keys."



 
Average of ratings: -
Picture of Rob Johnson
Re: Google Apps integration: Google Apps/Moodle integration features
Group Particularly helpful Moodlers

We are seeing the same error.  We have verified that xmlsec1 is located at /usr/bin/xmlsec1.  Have you found a solution?

Thanks,

Rob

 
Average of ratings: -
Picture of Patrick Enaholo
Re: Google Apps integration: Google Apps/Moodle integration features
 

Hi,

I asked my hosts to check whether xmlsec is already installed on the server and here is the result:

-bash-3.1# find / -name xmlsec* -print
/usr/local/psa/admin/plib/sso/xmlseclibs.php

Any ideas whether this is okay for Gapps? If not, how do I go about installing it? Any help please...

 
Average of ratings: -
Picture of Nacho Aguilar
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi everibody,

I've installed the block and when I log in and go to the mail I have this error:

Expected response code 200, got 403
I'm using moodle 1.9.3 and PHP 5.2.0.8+etch13

What am I doing wrong?

Thanks


 
Average of ratings: -
Picture of Rob Johnson
Re: Google Apps integration: Google Apps/Moodle integration features
Group Particularly helpful Moodlers

We saw this until we checked the "Provisioning API" in the Google admin settings.

After that, we started getting the xmlsec error reported by Anil Sharma.

Rob

 
Average of ratings: -
Picture of Nacho Aguilar
Re: Google Apps integration: Google Apps/Moodle integration features
 
Thank you.
It's true. I have changed the "API"
 
Average of ratings: -
Picture of Rob Johnson
Re: Google Apps integration: Google Apps/Moodle integration features
Group Particularly helpful Moodlers
Does the block now work, or are you getting the xmlsec error reported by Anil?
 
Average of ratings: -
Picture of Ray Ibuks
Re: Google Apps integration: Google Apps/Moodle integration features
 
How do you resolve this apache error since ive tried writing the code but it indicates cannot retrieve repository metadata/
 
Average of ratings: -
Picture of Nacho Aguilar
Re: Google Apps integration: Google Apps/Moodle integration features
 
I had the same error. I'm still working on it...
 
Average of ratings: -
ME
Re: Google Apps integration: Google Apps/Moodle integration features
 
I hope by now you have understood how to install google apps with moodle. can you please tell me the entire process. since i have read the documentation and still not able to install it properly.
Thanks
 
Average of ratings: -
Picture of Arthur Manning
Re: Google Apps integration: Google Apps/Moodle integration features
 
I get the same error on my system - looking forward to a code fix.

Expected response code 200, got 403

If Google keeps the SSO protocol a moving target, this module will need to be constantly maintained.

See http://elearn.emmaus.edu/phpinfo.php for system info - running Moodle 1.9.3
 
Average of ratings: -
Picture of Rob Johnson
Re: Google Apps integration: Google Apps/Moodle integration features
Group Particularly helpful Moodlers
Have you enabled the provisioning API in Google Apps?
 
Average of ratings: -
Picture of Mal Pearson
Re: Google Apps integration: Google Apps/Moodle integration features
 
By default the plugin only allows the Google Apps block to show on the site main page. Has anybody found a way to have it show and work correctly on course pages as well?
 
Average of ratings: -
Picture of Sean Cullinan
Problem running xmlsec1 using php exec
 
Problem running xmlsec1 using php exec.

When I execute the command-line shown below using php exec, xmlsec1 responds as if the formatting is incorrect. When I run that actual command-line from bash the command executes correctly.

Please advise.

PHP exec command:
exec("/opt/local/bin/xmlsec1 --sign --privkey-pem keys/DSAPrivateKey01.pem --pubkey-der keys/DSAPublicKey01.key --output /Library/WebServer/moodledata/temp/samlresp-nbhfmebfbhedjkcnjboohiambocigagebnjnckdd.xml.out /Library/WebServer/moodledata/temp/samlresp-nbhfmebfbhedjkcnjboohiambocigagebnjnckdd.xml", $output);

PHP exec $output:
Array ( [0] => Usage: xmlsec [] [] [1] => [2] => xmlsec is a command line tool for signing, verifying, encrypting and [3] => decrypting XML documents. The allowed values are: [4] => --help display this help information and exit [5] => --help-all display help information for all commands/options and exit [6] => --help- display help information for command and exit [7] => --version print version information and exit [8] => --keys keys XML file manipulation [9] => --sign sign data and output XML document [10] => --verify verify signed document [11] => --sign-tmpl create and sign dynamicaly generated signature template [12] => --encrypt encrypt data and output XML document [13] => --decrypt decrypt data from XML document [14] => [15] => [16] => Report bugs to http://www.aleksey.com/xmlsec/bugs.html [17] => [18] => Written by Aleksey Sanin . [19] => [20] => Copyright (C) 2002-2003 Aleksey Sanin. [21] => This is free software: see the source for copying information. [22] => )
 
Average of ratings: -
Picture of Ahmad Arshad
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hello,

I was running this module successfully with 1.9.3

I have recently updated to 1.9.4 ... The login works.. The thing is I am unable to go to the Gapps block (shows nothing... blank page)... and create new accounts.

Just to be sure... When I create a new account in Moodle... I have to go to the Gapps block and click on the user... and click on the button to create it on the Google apps side..

THanks
Ahmad
 
Average of ratings: -
Picture of Ahmad Arshad
Re: Google Apps integration: Google Apps/Moodle integration features
 

On a side note...

When you go from Moodle website to the Gapps mail site... It probably needs some adjustment since IE8's XSS filter catches it...

Someone else having this problem?

 
Average of ratings: -
Wazza
Re: Google Apps integration: Google Apps/Moodle integration features
 

Google Apps for education wishlist:

  • Single Sign On with Moodle
  • If no account exists yet in Google Apps, Moodle needs to create it. The user should NOT be prompted for a password. We want Google Apps only to be accesible from within Moodle (this can already be set at the Google side)
  • In Moodle there should be a block that can be added sitewide. This block needs to contain:
    • Link to mail-inbox
    • Link to compose message
    • Link to Google Docs
    • Link to Google sites (my sites)

A way to submit a document from Google directly to Moodle would be nice, but I don't think that's possible yet. It would be something that needs to be done at the Google side.

Cheers for your efforts so far. We tested the module but are not using it yet because of the password-thing. We don't want our students to have passwords in Google as they have passwords in Moodle. Authentication should thus be done by Moodle.

 
Average of ratings: -
Picture of Ahmad Arshad
Re: Google Apps integration: Google Apps/Moodle integration features
 
How'd you make google apps only be accessible from within Moodle?
 
Average of ratings: -
Picture of Cameron Moredock
Re: Google Apps integration: Google Apps/Moodle integration features
 
Obi Wan, you're my only hope!

I am trying to get this working on a development environment. I appear to have everything working, as all lights are "green" from within Moodle install itself. For the life of me, I can not figure out why gdata/cron.php is throwing the following error:

[root@host gdata]# php cron.php
Starting Moodle to Google Apps synchronization
Client response error: 500 Internal Server Error
Client response error: 500 Internal Server Error
Client response error: 500 Internal Server Error
Number of Google Apps accounts deleted: 0
Number of Google Apps accounts created: 0
Number of Google Apps accounts updated: 0
Number of errors: 3
End Moodle to Google Apps synchronization
Execution took 2.384855 seconds

I have tried looking into an strace of the output, but my limited debugging skills have me confounded.


Running Moodle 1.9.4+ (Build: 20090304) on Fedora 2.6.25-14.fc9

Thanks for any help....
 
Average of ratings: -
Picture of Cameron Moredock
Re: Google Apps integration: Google Apps/Moodle integration features
 
Nobody? Is this the wrong thread? Anyone know of a better place to post???

-Cameron
 
Average of ratings: -
Picture of Ahmad Arshad
Re: Google Apps integration: Google Apps/Moodle integration features
 
yeah... nobody really replies on this one...

This plugin had such potential... Its a shame Rashan is not updating it anymore...

Does anyone else get a blank page with 1.9.4 when he clicks on the mail button?

 
Average of ratings: -
Picture of Jonas Lagneryd
Re: Google Apps integration: Google Apps/Moodle integration features
 
Hi,
Is it so that this module is no longer maintained? Is there a demo of this module somewhere to have a look at?
Kind regards,
Jonas
 
Average of ratings: -
Picture of Rob Higgins
Re: Google Apps integration: Google Apps/Moodle integration features
 
The module works perfect and has for us for a while. There is one change you will need to make. Google changed the password length requirements. So in index.php you just need to put the following to make it work. I put it on line 43. I just found out about the new requirement and made the change today.

if(strlen($pwd)<6)
$pwd=$pwd+100000;
 
Average of ratings: -