Oleg Marshev
13c19c98e2
Add role parameter to LTI. BLD-583.
2014-01-30 14:37:33 +02:00
Carson Gee
cbb6e5e686
Changed default user to be anonymous in both has_access and student.views.index
...
Replaced existing test_none_user_index_access_with_startdate_fails
test with new test now that the tested function has changed and
was causing the original test to fail.
2013-12-15 09:56:37 -05:00
Calen Pennington
061a46beef
Formalize various access roles as objects
...
This centralizes the logic for group membership, and means that we
don't need to make queries to find out whether the legacy groups names exist.
2013-11-13 13:42:37 -05:00
Julia Hansbrough
1a3f4cb8f8
Moved can_refund logic to CourseEnrollment
2013-11-04 18:48:43 +00:00
Julia Hansbrough
c375666d88
Added new copy, small CR fixes
...
* Changed text for "Are you sure you want to refund"...
* Addressed a CR comment adding clarity to student view code
* Converted UTC to pytz.utc
2013-11-04 18:38:46 +00:00
Julia Hansbrough
7ab8142e82
Response to Dave & Diana's CR
2013-11-04 18:38:44 +00:00
Julia Hansbrough
bf916b6624
Fixes from Daian's CR
2013-11-04 18:38:43 +00:00
Julia Hansbrough
fcab46b138
Refactored to use signals; full test coverage
2013-11-04 18:38:42 +00:00
Julia Hansbrough
63940141c8
End-to-end refunding with tests
2013-11-04 18:37:55 +00:00
Julia Hansbrough
045e69f3c5
Can check verified-ness and expiration date
2013-11-04 18:37:54 +00:00
Jason Bau
07e56ac43b
Merge pull request #67 from edx/features/jbau/stanford-shib
...
Shibboleth Auth
2013-06-21 09:32:30 -07:00
Ned Batchelder
61b53713d2
Remove unused imports from lms, as detected by pylint.
2013-06-19 16:56:34 -04:00
Jason Bau
824fb9a311
The bulk of Shibboleth authentication for Stanford
...
Highlights:
* The url '/shib-login/' interfaces with apache/mod_shib via
request.META to handle shibboleth login and registrations
* Courses can designate 'enrollment_domains' to limit enrollment
to users with a linked ExternalAuthMap verified by a particular
identity provider
* Tests
* Logging
Changes to be committed:
new file: common/djangoapps/external_auth/migrations/0001_initial.py
new file: common/djangoapps/external_auth/migrations/__init__.py
new file: common/djangoapps/external_auth/tests/test_shib.py
modified: common/djangoapps/external_auth/views.py
modified: common/djangoapps/student/views.py
modified: common/lib/xmodule/xmodule/course_module.py
modified: lms/djangoapps/courseware/access.py
modified: lms/djangoapps/courseware/tests/test_access.py
modified: lms/envs/common.py
modified: lms/envs/dev.py
modified: lms/envs/test.py
modified: lms/templates/courseware/course_about.html
modified: lms/templates/dashboard.html
modified: lms/templates/extauth_failure.html
modified: lms/templates/navigation.html
modified: lms/templates/register.html
modified: lms/templates/signup_modal.html
modified: lms/urls.py
renamed: lms/wsgi_apache.py -> lms/wsgi_apache_lms.py
2013-06-19 00:48:18 -07:00
Don Mitchell
d7194e6bec
struct_time to datetime conversion.
2013-06-10 17:16:34 -04:00
Calen Pennington
6b64b4214f
Make relative imports explicitly relative
2013-03-15 11:23:22 -04:00
Calen Pennington
cec3475c9d
Remove references to .definition and .metadata in modules
2013-03-06 18:07:56 -05:00
Jay Zoldak
b0a018195a
Pep8 fixes for tests
2013-03-05 11:53:00 -05:00
Will Daly
2436d59e14
Merge branch 'master' into feature/deena/testing
...
Conflicts:
cms/djangoapps/contentstore/tests/factories.py
lms/djangoapps/courseware/tests/test_access.py
2013-03-04 16:30:41 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Deena Wang
25aca5866d
Merge branch 'master' into feature/deena/testing
...
Conflicts:
lms/djangoapps/courseware/tests/test_access.py
2013-02-01 10:19:40 -05:00
Jay Zoldak
91b8a95ed7
Add unit tests for lms courseware access
2013-01-30 15:03:43 -05:00
Deena Wang
3ff3189260
Finished tests for access.py (as far as able)
2013-01-15 15:39:05 -05:00