Server IP : 68.65.122.142  /  Your IP : 3.144.48.193
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/glenirhm/.subaccounts/../lms.myglenbow.ca/old/../old/lib/ltiprovider/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/glenirhm/.subaccounts/../lms.myglenbow.ca/old/../old/lib/ltiprovider/readme_moodle.txt
LTI Tool Provider Library PHP
=============================

Some changes from the upstream version have been made:
* Define consumer profile member variable for ToolConsumer class
* Added context type property for Context class
* Set context type if 'context_type' parameter was submitted through POST
* Do not require tool_consumer_instance_guid
* Prevent modification of the request to the provider
These changes can be reverted once the following pull requests have been integrated upstream:
* https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/pull/10
* https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/pull/11
* https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/pull/47
* https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/pull/48

This local changes can be reverted once it's checked that they are present upstream (note the
LTI-Tool-Provider-Library-PHP repo has been archived so it doesn't accept pull requests anymore):
* MDL-67034 php74 compliance fixes
* MDL-71920: Migrated from curl_exec and friends to use our Moodle curl wrapper,
so we can better handle site security settings

It is recommended by upstream to install depdencies via composer - but the composer installation is bundled
with an autoloader so it's better to do it manually.

Information
-----------

URL: https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/wiki
License: Apache License, Version 2.0

Installation
------------

1) Download the latest version of the provider library
wget https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/archive/3.0.3.zip

2) Unzip the archive
unzip 3.0.3.zip

3) Move the source code directory into place
mv LTI-Tool-Provider-Library-PHP-3.0.3/* lib/ltiprovider/

4) Updates
Check that the following pull request is included in the release.
Then remove this step from this file.
https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/pull/13
If not, apply manually.

5) Run unit tests on enrol_lti_testsuite

Upgrading Notes
---------------

Check if there are any new changes to the database schema. To do this, view the logs
since the last release for the data connector base class and the mysql data connector.

https://github.com/IMSGlobal/LTI-Tool-Provider-Library-PHP/compare/3.0.2...3.0.3

src/ToolProvider/DataConnector/DataConnector.php
src/ToolProvider/DataConnector/DataConnector_mysql.php

In case of any changes we may need to update

enrol/lti/classes/data_connector.php
enrol/lti/db/install.xml
enrol/lti/db/upgrade.php