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
John Cox
ce0b640712
Add third-party auth implementation and tests
2014-04-25 12:11:20 -07:00
Sef Kloninger
f3842dcc01
Merge pull request #2834 from edx/sef/theme-embargo-master
...
make embargo template theme-able
2014-04-22 10:04:08 -07:00
Waqas Khalid
43377af85a
fix change name view by replacing the request.user simple lazy object with request.user.id
...
LMS-2479
2014-04-11 18:36:49 +05:00
Waheed Ahmed
c0b50c7f62
Change user.is_authenticated to user.is_authenticated() in roles.py.
...
LMS-2442
2014-04-07 12:20:20 +05:00
chrisndodge
c407e89889
Merge pull request #2781 from edx/cdodge/password-history-enforcements
...
Add some optional policies around password resets, such as password reus...
2014-04-04 16:14:43 -04:00
Calen Pennington
9bcbba6750
Emit datadog events for all course enrollments, not just those outside of verified courses
2014-04-01 13:02:29 -04:00
Chris Dodge
d5bb1b5cca
Add some optional policies around password resets, such as password reuse, forced password resets, allowed frequency of password resets
2014-03-31 10:30:58 -04:00
jsa
b20c8f9248
Ensure account creation succeeds before creating comments service user
...
Also improves handling in cases where account creation did succeed, but
comments service user creation did not.
Depends on commit 88abdd8a0b20bc9816f487b25abdea1953f5661d in https://github.com/edx/cs_comments_service
JIRA: FOR-522
2014-03-18 13:24:30 -04:00
Sef Kloninger
397f383313
missing themed embargo page fails safely to unthemed
2014-03-18 09:00:23 -07:00
Sarina Canelake
5c1c96923a
Put language modal in alphabetical order LMS-2302
2014-03-11 10:20:21 -04:00
Greg Price
08ed1c5439
Merge pull request #2832 from edx/gprice/create-account-lang-pref
...
Save language preference on account creation
2014-03-10 15:13:15 -04:00
Greg Price
fa29a35ab8
Save language preference on account creation
...
This is necessary to allow non-browser-based services (e.g. notifier)
to know a user's preferred language even if the user has not explicitly
selected one.
2014-03-10 13:28:12 -04:00
Sef Kloninger
f484807419
make embargo template theme-able
...
Use "Stanford-style" theming to enable you to put your own embargo
notice up.
2014-03-05 15:22:22 -08:00
Carson Gee
4099fc9af0
Correct misaligned django-cas integration
2014-03-04 09:35:08 -05:00
Chris Dodge
aa43689a93
This PR addresses the open feedback on the Microsites feature
2014-02-28 16:27:12 -05:00
Adam Palay
89795191cb
Merge remote-tracking branch 'origin/release'
...
Conflicts:
cms/envs/common.py
lms/envs/common.py
2014-02-27 17:33:40 -05:00
chrisndodge
7884e49955
Merge pull request #2711 from edx/cdodge/throttle-forgot-password
...
add some rate limiting to the password reset functionality
2014-02-27 14:47:21 -05:00
Chris Dodge
46fa943fc2
fix method name to actually make sense
2014-02-27 13:56:58 -05:00
Sarina Canelake
fe85a1eec1
Django-admin for Embargo feature
...
Allows specification of countries to embargo, what course(s) should
apply embargo restrictions, and whitelist/blacklist capability for
specific individual IP addresses.
2014-02-27 08:38:05 -05:00
Julia Hansbrough
a7ae152d9b
Embargo Middleware feature
...
Adds configurable middleware in common/djangoapps/embargo that
allows specific courses to comply with US Export regulations by
embargoing students from specific countries, whilst simultaneously
allowing other courses to be freely open to all.
2014-02-27 08:37:58 -05:00
chrisndodge
38e55a4eb9
Merge pull request #2668 from edx/cdodge/no-pii-in-logs
...
add new feature to make sure we aren't writing PII into the application ...
2014-02-26 16:04:12 -05:00
Chris Dodge
9431318467
add some rate limiting to the password reset functionality
2014-02-26 16:02:42 -05:00
Jim Abramson
9c791a952c
Merge pull request #2706 from edx/jsa/forum-delete-comments-acceptance
...
Add acceptance tests for forums comment deletion.
2014-02-26 11:19:20 -05:00
jsa
bea463d950
Add acceptance tests for forums comment deletion.
...
JIRA: FOR-472
2014-02-26 10:31:02 -05:00
jsa
7be356b390
auto_auth: add ability to configure forum roles and scrape user id.
2014-02-26 10:30:55 -05:00
Waheed Ahmed
874d7360c1
Added validation for username and email max length.
...
LMS-1479
2014-02-26 16:25:37 +05: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
Don Mitchell
81a92e4bfc
Consolidate course_id triple parsing
2014-02-24 11:45:59 -05:00
thedeadparrot
b61649f9eb
Refactor out new lang_pref djangoapp
2014-02-14 22:35:14 +00:00
thedeadparrot
afdd8d68cb
Better dashboard display behavior
...
* Don't show sidebar if only one language is present
* only add in the default language code if it's not already present
2014-02-14 22:35:13 +00:00
thedeadparrot
48686793d7
Clean up tests.
2014-02-14 22:35:12 +00:00
Diana Huang
a07d243fdb
Clean up the display and dialog to use user preferences
...
instead of the current language.
2014-02-14 22:35:11 +00:00
Diana Huang
e94b1a5cfa
If we run into issues with languages, use default
2014-02-14 22:35:10 +00:00
Julia Hansbrough
cb6b52f890
wiring for language selector
2014-02-14 10:32:10 -05:00
cahrens
09d90b16af
Clean up of modulestore references (primarly LMS).
...
STUD-1151
2014-02-11 14:29:22 -05:00
David Baumgold
1dfd3310f7
Refactor student views
...
Fix pylint/pep8 warnings, use JsonResponse instead of HttpResponse where useful,
put in TODOs to change HTTP status codes to be more accurate.
2014-02-10 14:50:57 -05:00
Feanil Patel
95f31e5036
Merge remote-tracking branch 'origin/release'
2014-02-07 17:07:29 -05:00
David Baumgold
e52c9b515f
Missed some places to change the registration response status code
...
LMS-2203
2014-02-07 14:29:11 -05:00
chrisndodge
3f43fb6436
Merge pull request #1967 from edx/feature/cdodge/cap-num-enrollments
...
Add ability to cap number of enrollments in a course
2014-02-04 13:38:52 -08:00
Chris Dodge
ad7348ec11
Allow author to cap enrollments in course
...
add a test case for enrollment caps
pep8 fix
2014-02-04 15:32:36 -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
Julia Hansbrough
17869c5eee
Midcourse reverification: i18n fixes
...
Fixed i18n in templates
2014-01-31 22:20:33 +00:00
Julia Hansbrough
69b5b033fd
Midcourse reverifications: dismissal banner
...
Added a banner that students can use to dismiss the "you have failed reverification" message. Also, removed unused code, wired up the sidebar for design
2014-01-31 22:20:32 +00:00
Julia Hansbrough
3aa80654cb
Midcourse reverification: fixing broken tests
...
Also, refactored code representing ReverifyInfo
2014-01-31 22:08:09 +00:00
Julia Hansbrough
3e1519c62a
Midcourse reverification: increased quality
...
Also, removed an unused template
2014-01-31 22:08:09 +00:00
Julia Hansbrough
0b7594178b
Moved reverification windows into common
...
Added verification sidebar, banner for major courseware sections, quality & test improvements
2014-01-31 22:08:08 +00:00
Julia Hansbrough
bf210398e6
Tests and cleanup
...
Improved tests, fixed javascript for photocapture, removed extraneous photocapture code, added time & course numbers to templates for design
2014-01-31 21:48:36 +00:00
Frances Botsford
6c7d715e0e
re-verification dashboard styles
2014-01-31 21:48:35 +00:00
Julia Hansbrough
85030467ed
Skeleton for follow-on verification behavior
...
Quick-and-dirty end-to-end flow, functional for at least the case of one course in need of re-verification.
Ready for design to start taking a look; still needs tests and code cleanup
2014-01-31 21:08:24 +00:00