Jason Bau
f3af24f692
Merge pull request #842 from edx/jbau/shib-revamp
...
Revamped + Enhanced Shibboleth support
2013-09-10 12:27:07 -07:00
Jason Bau
7b9c6fbe5f
remove spaces from usename suggestion
2013-09-10 10:42:19 -07: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
2894b21c32
Merge pull request #804 from edx/valera/lti_module
...
LTI module with tests
2013-09-09 12:38:01 -07: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
Alexander Kryklia
e4e7a4e30b
Remove ipdb.
2013-09-09 19:13:20 +03:00
Valera Rozuvan
417ddcaaa1
LTI module with tests
2013-09-09 19:13:20 +03:00
David Ormsbee
48f867bd6b
Merge branch 'master' into ormsbee/verifyuser3
...
Conflicts:
lms/envs/common.py
2013-09-09 10:18:25 -04:00
Jason Bau
9dac2eff90
actually flatten username suggestion to ascii
2013-09-08 20:26:21 -07:00
Jason Bau
6a850e27bb
Address @brianhw review comments
...
* Fix open redirect vulnerability
* Add Logging To AUDIT_LOG : Note I had to change existing tests
that mocked AUDIT_LOG with this
* Use external_auth.views.SHIBBOLETH_DOMAIN_PREFIX in student.views
* Add a bunch of documentation
* PEP8 / Pylint
2013-09-06 15:37:27 -07:00
Jason Bau
4d656061be
Removing handling for ExternalAuthMap.MultipleObjectsReturned
2013-09-06 15:36:22 -07:00
Jason Bau
948c07c493
Revamped + Enhanced Shibboleth support
...
* If a shib users type in their email on the regular login page,
redirects them to /shib-login/
* Modify student.views.accounts_login to handle redirects
generated by @login_required for courses that use shib for
access control.
Redirect those logins to /shib-login/?next=
2013-09-06 15:36:22 -07:00
Diana Huang
238a2d53e3
Don't allow people into the verification flow if they've already been verified
2013-09-06 17:20:24 -04:00
Vik Paruchuri
499d272adc
Merge pull request #825 from edx/fix/vik/staff-information
...
Staff information about duplicate ORA submissions
2013-09-06 14:14:31 -07:00
Adam
3184939138
Merge pull request #885 from edx/release
...
Release
2013-09-06 13:51:03 -07:00
Don Mitchell
0848360436
Merge pull request #844 from edx/dhm/editable_metadata
...
refactoring of platform to xblock 0.3 w/ refactoring of inheritance in the platform to a consistent representation.
2013-09-06 11:58:36 -07:00
Chris Dodge
c7f2f27708
fix bug and add unit test
2013-09-06 14:47:59 -04:00
Don Mitchell
0099ee0970
Clarify repr by naming
2013-09-06 12:19:51 -04:00