{"push_id":626589755,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"49c477bbd4cc8870f91a7e6b9e539d879d1a5313","before":"5ac755744b34292456502317df6f040c7a8dc67a","commits":[{"sha":"49c477bbd4cc8870f91a7e6b9e539d879d1a5313","author":{"email":"ac6cd873baa88bc01617079164a64bd45f9cc022@gmail.com","name":"Joshua Johnston"},"message":"Adding Webservice to expose LTI Tools with contextlevel = CONTEXT_COURSE\n\nExample\n```http\nPOST /webservice/xmlrpc/server.php?wstoken=8aa3b7f5e589b5aa008ac8373e1c37a4 HTTP/1.1\nHost: hamplus.localhost\nContent-Type: application/xml\nContent-Length: 134\n\n<?xml version=\"1.0\"?>\n<methodCall>\n  <methodName>local_ltiprovider_list_course_tools</methodName>\n</methodCall>\n\nHTTP/1.1 200 OK\nDate: Wed, 08 Apr 2015 16:42:28 GMT\nServer: Apache/2.4.9 (Unix) PHP/5.5.14\nX-Powered-By: PHP/5.5.14\nCache-Control: private, must-revalidate, pre-check=0, post-check=0, max-age=0\nExpires: Thu, 01 Jan 1970 00:00:00 GMT\nPragma: no-cache\nAccept-Ranges: none\nContent-Length: 4074\nKeep-Alive: timeout=5, max=100\nConnection: Keep-Alive\nContent-Type: text/xml; charset=utf-8\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<methodResponse><params><param><value><array><data><value><struct><member><name>course_name</name><value><string>Advanced</string></value></member><member><name>course_summary</name><value><string>&lt;p&gt;Consolidate your grammar and vocabulary and improve your skills so that you have a detailed understanding of the texts you read and listen to, even when these are long and demanding, and express yourself fluently and effectively in social, academic and professional contexts.&lt;/p&gt;&#13;\n&lt;p&gt;----&lt;/p&gt;&#13;\n&lt;p&gt;By the end of this level &lt;span&gt;you will be able to:&lt;/span&gt;&lt;/p&gt;&#13;\n&lt;ul&gt;&#13;\n&lt;li&gt;&lt;span&gt;read long, complex factual literary texts and specialised articles.&lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;understand programmes, films, lectures, discussions and debates with very little effort.&lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;identify attitudes and follow arguments in spoken and written texts, even when these are not clearly presented or only implied.&lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;write about complex subjects clearly and in a structured way, utilising appropriate organisational patterns, connectors and cohesive devices.&lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;express your point of view at some length and present well-developed arguments.&lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;use a style when you are writing that is appropriate to the purpose. &lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;express yourself fluently and spontaneously with little effort. &lt;/span&gt;&lt;/li&gt;&#13;\n&lt;li&gt;&lt;span&gt;contribute to discussions skilfully in social, academic and professional settings. &lt;/span&gt;&lt;/li&gt;&#13;\n&lt;/ul&gt;</string></value></member><member><name>lti_launch_url</name><value><string>http://hamplus.localhost/local/ltiprovider/tool.php?id=2</string></value></member><member><name>role_name</name><value><string>editingteacher</string></value></member></struct></value><value><struct><member><name>course_name</name><value><string>Advanced2</string></value></member><member><name>course_summary</name><value><string>&lt;p&gt;Consolidate your grammar and vocabulary and improve your skills so that you have a detailed understanding of the texts you read and listen to, even when these are long and demanding, and express yourself fluently and effectively in social, academic and professional contexts.&lt;/p&gt;\n&lt;p&gt;----&lt;/p&gt;\n&lt;p&gt;By the end of this level &lt;span&gt;you will be able to:&lt;/span&gt;&lt;/p&gt;\n&lt;ul&gt;\n&lt;li&gt;&lt;span&gt;read long, complex factual literary texts and specialised articles.&lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;understand programmes, films, lectures, discussions and debates with very little effort.&lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;identify attitudes and follow arguments in spoken and written texts, even when these are not clearly presented or only implied.&lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;write about complex subjects clearly and in a structured way, utilising appropriate organisational patterns, connectors and cohesive devices.&lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;express your point of view at some length and present well-developed arguments.&lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;use a style when you are writing that is appropriate to the purpose. &lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;express yourself fluently and spontaneously with little effort. &lt;/span&gt;&lt;/li&gt;\n&lt;li&gt;&lt;span&gt;contribute to discussions skilfully in social, academic and professional settings. &lt;/span&gt;&lt;/li&gt;\n&lt;/ul&gt;</string></value></member><member><name>lti_launch_url</name><value><string>http://hamplus.localhost/local/ltiprovider/tool.php?id=1</string></value></member><member><name>role_name</name><value><string>editingteacher</string></value></member></struct></value></data></array></value></param></params></methodResponse>\n```\n\nMay need to add back the call to initialize the user's profile\nSee: https://gist.github.com/Trii/62c76d5789128b6f3a5f","distinct":true,"url":"https://api.github.com/repos/Trii/moodle-local_ltiprovider/commits/49c477bbd4cc8870f91a7e6b9e539d879d1a5313"}]}