Angel Fernando Quiroz Campos 60ff03ee73 WIP LTI add oauth lib - refs BT#13469 6 jaren geleden
..
Entity b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
assets 779efaacd3 Add IMS/LTI plugin - refs #5333 8 jaren geleden
gradebook 7eb3f2d916 WIP lti add link to register tool in gradebook - refs BT#13469 6 jaren geleden
lang b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
src 6bae0d27aa LTI using remove xss - refs BT#13469 6 jaren geleden
vendor 60ff03ee73 WIP LTI add oauth lib - refs BT#13469 6 jaren geleden
view 6bae0d27aa LTI using remove xss - refs BT#13469 6 jaren geleden
ImsLtiPlugin.php b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
OAuthSimple.php 4767a90c9c WIP LTI verify oauth signature in service - refs BT#13469 6 jaren geleden
README.md b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
admin.php aca4d9f992 LTI add breadcrumbs - refs BT#13469 6 jaren geleden
configure.php b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
create.php b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
delete.php 002b907867 Fix and improve Ims/LIT plugin - refs BT#13469 7 jaren geleden
edit.php b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
form.php b8bb53d154 LTI Allow create tools when there is no key/secret available for launch - refs BT#13469 6 jaren geleden
install.php b711b72977 Minor - format code 6 jaren geleden
item_return.php 869f6f39fb LTI verify oauth signature for deep linking - refs BT#13469 6 jaren geleden
outcome_service.php 4767a90c9c WIP LTI verify oauth signature in service - refs BT#13469 6 jaren geleden
plugin.php 779efaacd3 Add IMS/LTI plugin - refs #5333 8 jaren geleden
start.php 6bae0d27aa LTI using remove xss - refs BT#13469 6 jaren geleden
uninstall.php b711b72977 Minor - format code 6 jaren geleden

README.md

IMS/LTI plugin

Version 1.4 (beta)

This plugin is meant to be later integrated into Chamilo (in a major version release).

IMS/LTI defines the possibility to integrate tools or content into Chamilo. This plugin allows the integration of a new tool into courses, without (for now) obtaining any data back from those tools. It will gradually be developed to support IMS/LTI content items.

As platform admin you can register external tools available for all courses. You need set the tools settings in the IMS/LTI administration page. Then the registered tools should be add in each course individually.

As teacher you can register external tools available only for the current course. You need follow the link in the IMS/LTI block located in the Course Settings tool. Then select a previously tool registered or register a new external tool.

Changelog

v1.1

  • Support for Deep-Linking added.
  • Support for outcomes services. And register score on course gradebook.

v1.2

  • Register course in which the tool was added.
  • Register parent tool from which the new tool comes from.

v1.3

  • Privacy settings added. Allow to indicate id the launcher's data should be sent in request.

v1.4

  • Allow create external tools when there is no key/secret available for launch

Installation

  1. Install the plugin from Plugin page
  2. Enable the plugin from Plugin Settings page
  3. Assign to the Administrator region

Upgrading

Run this changes on database:

To v1.1

ALTER TABLE plugin_ims_lti_tool
    ADD active_deep_linking TINYINT(1) DEFAULT '0' NOT NULL,
    CHANGE id id INT AUTO_INCREMENT NOT NULL,
    CHANGE launch_url launch_url VARCHAR(255) NOT NULL;
    
ALTER TABLE plugin_ims_lti_tool ADD gradebook_eval_id INT DEFAULT NULL;
ALTER TABLE plugin_ims_lti_tool ADD CONSTRAINT FK_C5E47F7C82F80D8B
    FOREIGN KEY (gradebook_eval_id) REFERENCES gradebook_evaluation (id)
    ON DELETE SET NULL;
CREATE INDEX IDX_C5E47F7C82F80D8B ON plugin_ims_lti_tool (gradebook_eval_id);

To v1.2

ALTER TABLE plugin_ims_lti_tool ADD c_id INT DEFAULT NULL;
ALTER TABLE plugin_ims_lti_tool ADD CONSTRAINT FK_C5E47F7C91D79BD3
    FOREIGN KEY (c_id) REFERENCES course (id);
CREATE INDEX IDX_C5E47F7C91D79BD3 ON plugin_ims_lti_tool (c_id);

ALTER TABLE plugin_ims_lti_tool ADD parent_id INT DEFAULT NULL, DROP is_global;
ALTER TABLE plugin_ims_lti_tool ADD CONSTRAINT FK_C5E47F7C727ACA70
    FOREIGN KEY (parent_id) REFERENCES plugin_ims_lti_tool (id);
CREATE INDEX IDX_C5E47F7C727ACA70 ON plugin_ims_lti_tool (parent_id);

To v1.3

ALTER TABLE plugin_ims_lti_tool ADD privacy LONGTEXT DEFAULT NULL;

To v.4

ALTER TABLE plugin_ims_lti_tool
    CHANGE consumer_key consumer_key VARCHAR(255) DEFAULT NULL,
    CHANGE shared_secret shared_secret VARCHAR(255) DEFAULT NULL;