1 |
efrain |
1 |
LTI 1.3 Tool Library import instructions
|
|
|
2 |
|
|
|
3 |
This library is a patched for use in Moodle - it requires the following changes be applied on top of the packback upstream base:
|
|
|
4 |
1. Removal of phpseclib dependency (replaces a single call with openssl equivalent)
|
|
|
5 |
|
|
|
6 |
To upgrade to a new version of this library:
|
|
|
7 |
1. Clone the latest version of the upstream library from github:
|
|
|
8 |
https://github.com/packbackbooks/lti-1-3-php-library/tags
|
|
|
9 |
2. Apply the changes mentioned above from the moodle-fixes branch of this repository:
|
|
|
10 |
https://github.com/snake/lti-1-3-php-library/tree/moodle-fixes
|
|
|
11 |
Apply these commits on top of the upstream clone.
|
|
|
12 |
3. Replace lib/lti1p3/src/ with the library's /src directory
|
|
|
13 |
4. Copy LICENSE.md to lib/lti1p3/
|
|
|
14 |
5. Copy README.md to lib/lti1p3/
|
|
|
15 |
6. Update the library entry in lib/thirdpartylibs.xml
|
|
|
16 |
7. Update the dependency note in lib/php-jwt/readme_moodle.txt, recording the version of php-jwt lib/lti1p3 depends on, if needed.
|
|
|
17 |
8. Check the upstream library's release notes and UPGRADES.md for any backwards incompatible changes to names, etc.
|
|
|
18 |
Moodle's calling code may require updates if changes are breaking - so check this and make any changes if needed.
|
|
|
19 |
9. Run all unit tests in enrol/lti and auth/lti.
|
|
|
20 |
10. Regression test Moodle-to-Moodle LTI using LTI Advantage (not legacy) using the relevant MDLQA tests as a guide.
|