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