Commit Graph

5152 Commits

Author SHA1 Message Date
Calen Pennington
58a5cdd81f Replace references to .system 2013-09-12 09:29:17 -04:00
Valera Rozuvan
b858810aa4 Updating LTI Jasmine tests.
Due to the fact that by default the LTI settings have "http://www.example.com"
set as the default form action (launch_url), tests were updated to reflect the
fact that when setting is in default state, form is not submited, even when
the form action is not empty.
2013-09-12 11:07:07 +03:00
Carlos Andrés Rocha
ee0004e2f8 Remove dogstatsd-python in favor of dogapi
Also added datadog application to commom django apps and set it to use
a local statsd server by default.
2013-09-11 19:28:58 -04:00
Adam Palay
9538ae35d4 change graders text to unicode 2013-09-11 18:34:03 -04:00
David Baumgold
049aa3bbfd Merge pull request #880 from edx/db/update-requests-lib
Update `requests` library to 1.2.3
2013-09-11 13:03:55 -07:00
David Baumgold
acd23ad933 reformat for readability 2013-09-11 13:26:17 -04:00
Alexander Kryklia
4621952a55 Stub headers if scheme not provided. 2013-09-11 19:32:06 +03:00
Alexander Kryklia
96bb5e1692 Merge branch 'db/update-requests-lib' of github.com:edx/edx-platform into db/update-requests-lib 2013-09-11 19:17:13 +03:00
Alexander Kryklia
68409f0c7a Add default launch url for lti. 2013-09-11 19:16:46 +03:00
Calen Pennington
74dbb9d74e Remove unused XModuleDescriptor.get_sample_state method 2013-09-11 12:12:19 -04:00
David Baumgold
6a8546801c Response.json is now a callable 2013-09-11 10:18:00 -04:00
Valera Rozuvan
dd5506eeb7 Adding styles to fix issue BLD-221.
If you make the window smaller, and keep reducing it's size, at some
point the controls will not fit, and some will be bumped to the next row.
When the widnow is resized below the width 1024, extra styling rules
will kick in to fix this issue. The word "Speed" from the speeds control
will be temporarirly hidden.
2013-09-11 10:29:32 +03:00
David Baumgold
871ad7d694 Pass hostname to LTI XModule
Necessary for RFC compliance with oauthlib
2013-09-10 14:21:56 -04:00
David Baumgold
a1d3899a4d Use oauthlib directly for LTI module 2013-09-10 11:02:30 -04:00
David Baumgold
45f38ddf81 Update requests library to 1.2.3 2013-09-10 09:59:21 -04:00
Valera Rozuvan
ee02c06250 Add Learning Tools Interoperability (LTI) blade.
LTI blade allows to include LTI components to courses.
Python integration, Jasmine and acceptance tests are included.
2013-09-10 12:30:42 +03:00
Valera Rozuvan
d02ef8bc12 Add Learning Tools Interoperability (LTI) blade.
LTI blade allows to include LTI components to courses.
Python integration, Jasmine and acceptance tests are included.
2013-09-09 23:54:49 +03:00
Alexander Kryklia
719ec8f9d8 Revert "Merge pull request #804 from edx/valera/lti_module"
This reverts commit 2894b21c32, reversing
changes made to 34d0fe1554.
2013-09-09 22:51:57 +03:00
Alexander Kryklia
ecc37227f2 Fix 2013-09-09 19:32:44 +03:00
Alexander Kryklia
8377f490f0 Revert "Add custom LTI exception."
This reverts commit ef4b7b9b1d.
2013-09-09 19:30:44 +03:00
Alexander Kryklia
03de84ecfe Fix 2013-09-09 19:16:18 +03:00
Alexander Kryklia
ef4b7b9b1d Add custom LTI exception. 2013-09-09 19:16:18 +03:00
Valera Rozuvan
86dbb1fe3f Addressing comments on PR 804.
Rewriting expect() calls to use Jasmine jQuery event spies. Making individual
it() tests independent.
2013-09-09 19:16:18 +03:00
Alexander Kryklia
45da4115d1 Fix 2013-09-09 19:16:17 +03:00
Alexander Kryklia
5e3c6736ab Fixes. 2013-09-09 19:16:16 +03:00
Alexander Kryklia
6220da32c9 Improve code. 2013-09-09 19:16:16 +03:00
Alexander Kryklia
dd4fe82b00 Improve code. 2013-09-09 19:16:16 +03:00
Valera Rozuvan
6fc280d611 Updated Jasmine tests.
Now the introductory text is of a more serious nature.
2013-09-09 19:16:16 +03:00
Alexander Kryklia
56f01ce056 Improve code. 2013-09-09 19:16:16 +03:00
Alexander Kryklia
32138d3539 Improve code. 2013-09-09 19:16:16 +03:00
Alexander Kryklia
a2224e6820 Improve code style. 2013-09-09 19:16:15 +03:00
Alexander Kryklia
663ff81bc1 Updates documentation. 2013-09-09 19:16:15 +03:00
Alexander Kryklia
787545c83e Renames LTIs to lti_passports. 2013-09-09 19:16:15 +03:00
Valera Rozuvan
a187657810 Updated fixture for LTI Jasmine tests. 2013-09-09 19:16:15 +03:00
Alexander Kryklia
faa03f0e25 Update docstrings. 2013-09-09 19:16:14 +03:00
Alexander Kryklia
462a42e99e Update acceptance test 2013-09-09 19:16:14 +03:00
Alexander Kryklia
3531f2cbb7 Update docs. 2013-09-09 19:16:14 +03:00
Alexander Kryklia
e10577d6ad Pass user_id and course_id to runtime in cms (dev) and tests. 2013-09-09 19:16:14 +03:00
Alexander Kryklia
f6d9c077f0 Improve LTI module
Add simplifyed template.
Update lti integration test.
Add getting oauth credentials from course settings.
Add user id transferring to provider.
Improve documentation of lti module.
2013-09-09 19:13:22 +03:00
Alexander Kryklia
e5ec4600df Add documentation to LTI module and to dev docs 2013-09-09 19:13:22 +03:00
Alexander Kryklia
f1dc6ecf67 Add course setings for client key, secret 2013-09-09 19:13:22 +03:00
Alexander Kryklia
b1d40b0f27 updated docs 2013-09-09 19:13:22 +03:00
Alexander Kryklia
0d2d10d77a custom parameters 2013-09-09 19:13:22 +03:00
Alexander Kryklia
3e3d89e370 added roles and student id 2013-09-09 19:13:21 +03:00
Alexander Kryklia
42bcd9c28c updated comment 2013-09-09 19:13:21 +03:00
Alexander Kryklia
02de4609de updates 2013-09-09 19:13:21 +03:00
Alexander Kryklia
b5dc03ec36 Acceptance test for LTI module (not finished), but working 2013-09-09 19:13:20 +03:00
Valera Rozuvan
e4bad0a6a1 Fixing Jasmine tests. 2013-09-09 19:13:20 +03:00
Valera Rozuvan
729d74f129 Fixing issues found by Anton during review of PR 804.
Changed use of IDs to classes. Simplified lti.js - now simple one function.
Updated tests.
2013-09-09 19:13:20 +03:00
Alexander Kryklia
c8ea4da2cc Change h2 to h3 2013-09-09 19:13:20 +03:00