Commit Graph

8 Commits

Author SHA1 Message Date
Simon Williams 69850ac3cb show error message for blank external tool url on assignment edit
fixes CNVS-5172

test plan:
- go to a course and start creating a new assignment
- set the submission type to external tool, but leave the url field
  blank
- hit save
- you should see a error message that the url field cannot be blank
- fill it in and save, it should work
- create a non external tool assignment, it should still work normally

Change-Id: I4f9514069f8822e7e337c5d1b728dc6402492bfd
Reviewed-on: https://gerrit.instructure.com/52357
Tested-by: Jenkins
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
QA-Review: Adam Stone <astone@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2015-04-24 03:04:27 +00:00
Nathan Mills d0fb188b10 construct uniq resource_link_id for lti_links
fixes PLAT-736

test plan:
install the lti2 test tool with all placements enabled
launch the tool from the different placements
every module item and assignment should have a uniq resource_link_id
course_nav and account_nav should have a uniq resource_link_id

Change-Id: Ifb65a27fa5b7758a27f20684a5af3f5c9bb03100
Reviewed-on: https://gerrit.instructure.com/44051
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2014-11-24 23:34:49 +00:00
Nathan Mills 5b44b2a83f lti2 course and account nav placements
fixes PLAT-658 PLAT-660 PLAT-661

test plan:
setup:
fixes PLAT-658 PLAT-660 PLAT-661

test plan:
*setup:
register an lti tool using the following url template
/accounts/#{account_id}/lti/tool_proxy_registration?
tool_consumer_url=http://lti-tool-provider-example.herokuapp.com/tool_proxy

ignore the canvaception during the registration

*testing:
there should be course and account nav placements for the tool

Change-Id: Ie02fffdc3a1ede70216db2b21d9f4bd17f53f36d
Reviewed-on: https://gerrit.instructure.com/42094
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
2014-10-24 17:01:19 +00:00
Nathan Mills 639ca7075f lti2 launches from module items and assignments
fixes: PLAT-635 PLAT-652 PLAT-654 PLAT-655

test-plan:
*setup:
register an lti tool using the following url template
/courses/#{course_id}/lti/tool_proxy_registration?
tool_consumer_url=http://lti-tool-provider-example.herokuapp.com/tool_proxy

ignore the canvaception during the registration

testing:
*add some lti tools to module items, including 'default tool'
*make sure all launches, and selecting tools still works
*test the same things for assignments external tools

Change-Id: I0642c10c9b416057764b327d925cb6158fbf5cc9
Reviewed-on: https://gerrit.instructure.com/41726
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2014-10-24 16:30:59 +00:00
Nathan Mills 1a78196fc5 create an api to return lti launch definitions
fixes PLAT-639

test-plan:
*the following api endpoints should return lti launch definitions
for each tool installed

GET api/v1/courses/:course_id/lti_apps/launch_definitions?
placements[]=module_item&placements[]=resource_selection

GET /api/v1/accounts/:account_id/lti_apps/launch_definitions?
placements[]=module_item&placements[]=resource_selection

Change-Id: I36ce6176f5cbb83dad7cd8578985acc2a02afdfd
Reviewed-on: https://gerrit.instructure.com/41427
QA-Review: Clare Strong <clare@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2014-09-26 19:05:48 +00:00
Nathan Mills 60d48cc0fc add query scopes to message handler
fixes: PLAT-649

test-plan
*specs should pass

Change-Id: I1902a1e5ad516ee544d1981b2ba56b35cce45691
Reviewed-on: https://gerrit.instructure.com/41262
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
2014-09-17 22:51:20 +00:00
Nathan Mills 63945c4d35 add tool setting service
fixes PLAT-608 PLAT-613 PLAT-615 PLAT-616 PLAT-620

test-plan
*spec should pass

Change-Id: Idf2a7d89973231a070a8d368bd60554e3501cdf6
Reviewed-on: https://gerrit.instructure.com/40227
Reviewed-by: Brad Humphrey <brad@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
QA-Review: Nathan Mills <nathanm@instructure.com>
2014-09-08 16:58:00 +00:00
Nathan Mills a91d9c09d0 add lti2 models and registration endpoints
fixes PLAT-522 PLAT-429 PLAT-545 PLAT-540 PLAT-498

test-plan
you can register an lti2 tool

Change-Id: If045b694213e1019f8a595b63a7e33ea4ac28e64
Reviewed-on: https://gerrit.instructure.com/37095
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
Product-Review: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Reviewed-by: Brad Humphrey <brad@instructure.com>
2014-07-18 16:42:10 +00:00