Jason Bau
0ba1828f93
Fix shib code to handle course.enrollment_domain=None
2015-01-14 14:36:33 -08:00
Sarina Canelake
520935209d
s/pylint: disable=W0402/pylint: disable=deprecated-module/
2014-12-01 11:22:12 -05:00
Diana Huang
0c6cba73ac
Handle OpenID errors for POST requests.
...
ECOM-441
2014-10-15 16:33:31 -04:00
Jason Bau
4d5a2380f1
external_auth: handle request.META values as str, not unicode
2014-09-03 12:07:35 -07:00
Jason Bau
e1fcac93c5
fix shib reg from course about page
2014-07-17 10:51:32 -04:00
Jason Bau
e9022e74a8
Hotfix course_specific_reg/login for OpaqueKeys
2014-07-16 10:18:21 -04:00
Sarina Canelake
2aea261d48
Merge branch 'release'
...
Conflicts:
common/djangoapps/course_modes/views.py
common/djangoapps/student/tests/test_roles.py
common/djangoapps/student/views.py
common/lib/opaque_keys/opaque_keys/__init__.py
common/lib/opaque_keys/opaque_keys/tests/test_opaque_keys.py
common/lib/xmodule/xmodule/contentstore/mongo.py
lms/djangoapps/certificates/management/commands/gen_cert_report.py
lms/djangoapps/notes/views.py
2014-06-10 16:59:23 -04:00
Don Mitchell
2c6437a279
Fix performance regression
...
Remove course_from_id
don't fetch whole course when the root will do
don't fetch even the root if the id will do
check for definition.data == null
2014-06-09 15:10:47 -04:00
Julia Hansbrough
6ccb11f03e
Change Location, CourseLocator, etc to reference opaque-keys library
2014-05-30 20:32:38 +00:00
Calen Pennington
cd862b3253
Merge remote-tracking branch 'edx/master' into opaque-keys
...
Conflicts:
cms/djangoapps/contentstore/tests/test_contentstore.py
cms/djangoapps/contentstore/views/component.py
cms/djangoapps/contentstore/views/item.py
cms/djangoapps/contentstore/views/preview.py
cms/djangoapps/contentstore/views/tests/test_container.py
cms/static/js/spec/views/unit_spec.js
cms/static/js/utils/module.js
cms/templates/container.html
cms/templates/studio_vertical_wrapper.html
cms/templates/studio_xblock_wrapper.html
common/djangoapps/student/views.py
lms/templates/notes.html
lms/templates/textannotation.html
lms/templates/videoannotation.html
2014-05-22 10:52:00 -04:00
Jason Bau
411dc09af7
Autoactivate inactive users on external_auth login
...
Conditional on existing flag BYPASS_ACTIVATION_EMAIL_FOR_EXTAUTH
2014-05-19 13:35:35 -07:00
Calen Pennington
19acdd31e8
Merge remote-tracking branch 'edx/master' into opaque-keys-merge-master
...
Conflicts:
cms/djangoapps/contentstore/views/public.py
common/djangoapps/external_auth/tests/test_ssl.py
common/djangoapps/student/views.py
lms/djangoapps/dashboard/sysadmin.py
lms/templates/notes.html
2014-05-12 11:35:03 -04:00
Carson Gee
5452de20d8
Modified ssl certificate authentication to handle next redirection
...
Makes small changes in lms and cms both so that user's go to the
original page they intended to if they weren't already logged in
2014-05-09 14:22:10 -04:00
Calen Pennington
e2bfcf2a36
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit updates common/djangoapps.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-07 12:54:49 -04:00
Chris Dodge
fe3ebca1c5
add new feature to make sure we aren't writing PII into the application logs. So far we're aware of doing so regarding Auth use-cases
2014-02-25 00:14:19 -05:00
Carson Gee
3303fb120b
Review fixes
2014-02-21 16:01:01 -05:00
Carson Gee
082f20db60
Remove SSL Certifcate auth reliance on internal password
2014-02-21 12:19:59 -05:00
Carson Gee
8cbe263ca0
Rename of feature AUTH_USE_MIT_CERTIFICATES to AUTH_USE_CERTIFICATES across platform.
...
Caution! This is backwards incompatible
2014-02-04 10:50:48 -05:00
Diana Huang
6952aec870
Merge pull request #1941 from edx/diana/openid-fullname
...
Return the full name of the student as part of the OpenId response.
2013-12-13 07:32:34 -08:00
Diana Huang
0057f460ec
Return the full name of the student as part of the OpenId response.
...
LMS-750
2013-12-12 17:33:33 -05:00
Carson Gee
cec793680d
Add additional check signin to make sure an SSL certificate is passed
...
before redirecting to SSL authentication.
2013-12-12 11:26:57 -05:00
Carson Gee
93b0357978
Replaced retfun in ssl_login so that it properly redirect to dashboard
2013-12-12 10:49:20 -05:00
Carson Gee
caf44c3685
Added full test coverage for ssl login decorator
...
I also removed conflicting implementation of SSL_AUTH_IMMEDIATE_SIGNUP
and rebased on the current master.
2013-12-12 09:35:46 -05:00
ichuang
07e235a0c4
remove @cache_if_anonymous
2013-12-12 09:29:11 -05:00
ichuang
246fc030bd
add missing retfun
2013-12-12 09:29:10 -05:00
ichuang
e868759ceb
fix external_auth @ssl_login_shortcut decorator to properly use retfun
2013-12-12 09:29:10 -05:00
David Baumgold
e26fc08d2b
Update logging.getLogger() calls to use edx instead of mitx
2013-12-04 15:18:15 -05:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
David Baumgold
69899e24df
Merge pull request #1823 from edx/db/mitxmako-edxmako
...
mitxmako => edxmako
2013-12-03 11:36:50 -08:00
David Baumgold
8eff442752
mitxmako => edxmako
2013-12-03 14:15:09 -05:00
brianhw
c8adbe3895
Merge pull request #1182 from carsongee/add_mitx_ssl_bypass_signup
...
Add feature to do auto signup with external auth
2013-12-03 07:03:43 -08:00
Jay Zoldak
341875bb18
Remove code related to Pearson Testing Centers
2013-11-26 17:04:19 -05:00
Carson Gee
bf9ac26a06
Corrected CMS tests so that one is passing, added external_auth to cms apps
...
Several pylint fixes and bad super call
2013-11-25 15:30:36 -05:00
Carson Gee
0f324baaca
Fixed PEP8 and indentation issues
2013-11-25 11:16:06 -05:00
Carson Gee
5d066db1bf
Add feature to do auto signup with external auth
...
This adds a feature flag: AUTH_USE_MIT_CERTIFICATES_IMMEDIATE_SIGNUP
that does an automatic signup of users if they are using external authentcation.
2013-11-25 11:16:06 -05:00
Brian Wilson
07f94d46a6
Move Pearson courseware imports to function level.
2013-09-27 12:43:27 -04:00
Jason Bau
b48e3a9661
fix some shib signup session related bugs
2013-09-20 11:53:32 -07:00
Jason Bau
11ecd162d4
fix _flatten_to_ascii for str inputs
2013-09-20 11:53:09 -07:00
Jason Bau
7b9c6fbe5f
remove spaces from usename suggestion
2013-09-10 10:42:19 -07: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
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
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
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Chris Dodge
0847bc5e2b
pep8/pylint violations fixes
2013-09-04 11:34:35 -04:00
ichuang
00710f75d2
add CAS authentication via django_cas and mods to external_auth
2013-09-04 10:56:45 -04:00
Diana Huang
c867be7961
Limit the rate of logins.
2013-08-02 11:23:59 -04:00
Brian Wilson
635d36fcf9
Add audit log definition, and use for logging of logins in external_auth and student apps. Move test_login to student app. Improve conditional tests for Shibboleth login logic. (Does not include reconfiguring log settings.)
2013-07-31 13:32:21 -04:00
Jason Bau
e7bb85dee1
Merge pull request #259 from edx/features/jbau/stanford-shib
...
Bugfix for stanford shib
2013-07-12 10:19:58 -07:00
Diana Huang
f33bfd1c6c
Address code review feedback
2013-06-28 15:03:44 -04:00