Commit Graph

16535 Commits

Author SHA1 Message Date
Tyler Hallada
e4a9bef8d5 Trigger recalculate subsection, undo override 2017-07-27 18:27:56 -04:00
Tyler Hallada
cf39bef74f GradesService: accept both string id or opaque key 2017-07-26 15:49:26 -04:00
Tyler Hallada
39a27ac793 Merge remote-tracking branch 'origin/master' into EDUCATOR-926 2017-07-25 15:05:36 -04:00
Eric Fischer
0f2279d325 Merge pull request #15658 from edx/efischer/fix_leaks
CMS memory leak fix
2017-07-25 13:26:55 -04:00
Kevin Falcone
228356dc09 Merge pull request #15633 from edx/jibsheet/remove-pre-insights-analytics-config
Remove these unused config settings
2017-07-25 13:07:17 -04:00
Eric Fischer
d4943c5337 Use bulk_operations when loading items
This has been causing a huge memory leak, wrapping the call in this
context manager properly cleans up the 'records' entries.

EDUCATOR-274
2017-07-25 12:40:15 -04:00
Tyler Hallada
4c353d9318 Create GradesService to override persistent grades 2017-07-25 11:58:08 -04:00
Afzal Wali Naushahi
0d7305bc49 Merge pull request #15636 from edx/clintonb/multi-tenant-programs-fix
Resolved multi-tenant program issues
2017-07-25 20:28:35 +05:00
Clinton Blackburn
9efa7770f8 Resolved multi-tenant program issues
A site must be passed so the system knows which URL to use to contact
the Discovery Service.
2017-07-25 19:37:14 +05:00
Matthew Piatetsky
bfa8f4f436 CSS/JS fixes to Track Selection V3 Test
LEARNER-1726
2017-07-25 09:48:46 -04:00
Harry Rein
b523ac3f91 Merge pull request #15589 from edx/HarryRein/LEARNER-1894-in-course-messaging-xsy
Adding in-course messages on the home page.
2017-07-24 16:06:52 -04:00
Diana Huang
eb987ed680 Merge pull request #15594 from edx/diana/access-checks
Move prereq checking into course load checks.
2017-07-24 16:04:05 -04:00
Andy Armstrong
d5fca9ee19 Merge pull request #15642 from edx/andya/studio-bootstrap-theme
Add basic Bootstrap theme to Studio
2017-07-24 15:25:04 -04:00
Harry Rein
08df53e110 Adding in course messaging to the home page.
LEARNER-1894

This commit adds in course messaging for three use cases. First,
when the user is not signed in, the user is shown a message that
provides a link to sign in or register. If the user is signed in
but not enrolled, they are given a link to do so. If the user is
enrolled but the course has not yet started, they are shown a
message explaining when the course starts and shown a link (not
yet enabled) to add a reminder to their calendar.

The implementation defines a base message class and extends it
for the course home messages as well as the previously implemented
page level messages.
2017-07-24 15:17:12 -04:00
Diana Huang
c338b751f2 Consolidate access checks for prereqs and surveys. 2017-07-24 11:42:39 -04:00
Andy Armstrong
95e47ddb02 Add basic Bootstrap theme to Studio
LEARNER-1982
2017-07-24 10:43:18 -04:00
Jesse Shapiro
91752ad98a Merge pull request #15624 from open-craft/haikuginger/remove-sso-consent
[ENT-491] Remove SSO consent features; verify fully-populated consent URL generation
2017-07-24 07:43:16 -04:00
Jesse Shapiro
fa9c09f9fe Remove Enterprise SSO hooks 2017-07-21 18:24:09 -04:00
Kevin Falcone
585d85ea96 ANALYTICS_API_KEY and ANALYTICS_SERVER_URL aren't used
ANALYTICS_API_KEY was used to make direct requests to the
ANALYTICS_SERVER_URL which was our original original analytics effort.
2017-07-21 17:06:05 -04:00
Matthew Piatetsky
7452456986 Merge pull request #15616 from edx/LEARNER-1726
LEARNER-1726 Track Selection V3
2017-07-21 14:46:31 -04:00
sanfordstudent
7d9cc90cab Merge pull request #15627 from edx/sstudent/compute_grades_fix
force subsection grades to update when course grade updates
2017-07-21 14:03:52 -04:00
Matthew Piatetsky
c8250fd573 Implement track selection v3 test
LEARNER-1726
2017-07-21 13:17:24 -04:00
Sanford Student
66fdd2fbd3 EDUCATOR-915: force subsection grades to update when course grade updates 2017-07-21 13:07:21 -04:00
Kevin Falcone
deaf89b709 Remove these unused config settings
We cleaned out the feature flag and code using these in
https://github.com/edx/edx-platform/pull/5707
but missed the config (I'll go get them in configuration.git later,
when I pull them out of the secure repos, which is where I found them).
2017-07-21 12:46:11 -04:00
Brandon DeRosier
1990dc7fd8 Patch the bulk_enroll request to use a form content type
Setting the content type to be form data makes Django Rest Framework v3.6.3 treat all passed JSON data as
POST parameters. This is necessary because this request is forwarded on to the student_update_enrollment
view, which requires all of the parameters to be passed in via POST parameters.
2017-07-20 17:56:56 -04:00
George Song
8ec6039766 Merge pull request #15557 from edx/george/cookie-consent-message
Improve cookie consent message
2017-07-20 13:59:31 -07:00
mrey
040dfd698f Improve cookie consent message 2017-07-20 10:43:29 -07:00
Brittney Exline
6439020815 ENT-550 Display only TOS for enterprise's configured to skip registration
We have recently discovered that for any SSO Provider configured to skip
the registration form, we were auto checking the terms of service box,
which is a legal faux pas. Since IBM is planning to launch imminently and
is depending on this feature, we need to remedy this situation for enterprises
whose SSO Provider is configured to skip registration.

This PR hides all of the registration fields except TOS for this scenario
and disables the autoSubmit functionality that typically happens when skipping
registration.
2017-07-20 12:53:20 -04:00
Ned Batchelder
8ce7d86471 Merge pull request #15620 from edx/nedbat/update-translations
Update translations (autogenerated message)
2017-07-20 12:45:05 -04:00
Harry Rein
ce87896fb6 Merge pull request #15609 from edx/HarryRein/LEARNER-1879-updates-image-styling
Update Image Styling on Welcome Message and Updates
2017-07-20 09:34:35 -04:00
Ned Batchelder
8702988000 Update translations (autogenerated message) 2017-07-20 11:52:03 +00:00
Jeff LaJoie
aa5b8bed11 Merge pull request #15289 from edx/jlajoie/EDUCATOR-434
EDUCATOR-434: Unit Group Access
2017-07-19 15:32:02 -04:00
Harry Rein
2658646e1e Fixing styling on updates.
LEARNER-1879

Issues with images overflowing over their container divs and images being too large for the containing div. Also did a bit of cleanup to improve scss quality.
2017-07-19 14:33:47 -04:00
Jeff LaJoie
1c90220462 EDUCATOR-434: Extends Course Outline Unit settings to allow Group Access configuration 2017-07-19 14:17:38 -04:00
Clinton Blackburn
2eea7606a3 Exposed ExperimentKeyValue model in Django admin
The model data can now be viewed/managed via Django admin. Additionally, the verbose name of the model has been corrected.
2017-07-19 12:27:51 -04:00
Awais Jibran
125552f204 Switching course view to specific student retains the profile language setting
https://openedx.atlassian.net/browse/EDUCATOR-891
2017-07-19 16:48:18 +05:00
Gregory Martin
7799c4adf4 Merge pull request #15592 from edx/yro-cert-pacing-signal
Course/Certificates Pacing Signal Registration
2017-07-18 15:36:39 -04:00
sanfordstudent
07ad189b9d Merge pull request #15263 from edx/sstudent/grade-override
Learner grade override
2017-07-18 14:33:27 -04:00
Sanford Student
932776159c EDUCATOR-165 instructor task and UI for overriding learner grades. 2017-07-18 13:51:56 -04:00
Andy Armstrong
33bee3f70b Refactor learner profile into openedx/features directory
LEARNER-1855
2017-07-18 12:30:12 -04:00
Brittney Exline
583719cce1 Merge pull request #15579 from open-craft/bdero/bulk-enroll
Fix the BulkEnrollSerializer courses field to internally behave with strings and lists
2017-07-18 11:32:08 -04:00
Gregory Martin
5189f2524d remove dupe 2017-07-18 11:19:26 -04:00
Gregory Martin
8b3f285d04 fix tests 2017-07-18 11:13:01 -04:00
Andy Armstrong
3e786ec6c5 Show page banner for anonymous and unenrolled users
LEARNER-1697
2017-07-17 22:19:40 -04:00
Gregory Martin
7df91841ee cleanup 2017-07-17 15:44:29 -04:00
John Eskew
0365712b96 Merge pull request #15584 from edx/jeskew/fix_drf_upgrade_incompat
Remove request.POST save - incompatible with DRF v3.6.3.
2017-07-17 13:54:06 -04:00
John Eskew
d003765047 Remove request.POST save - incompatible with DRF v3.6.3. 2017-07-17 13:05:39 -04:00
Andy Armstrong
a077a5e364 Add support for page banner status messages
LEARNER-1890
2017-07-17 12:17:32 -04:00
John Eskew
febf2a07ae Merge pull request #15373 from edx/jeskew/drf_upgrade_django_1.11
Bump DRF version to 3.6.3 for eventual Django 1.11 compatibility.
2017-07-17 11:19:56 -04:00
Albert (AJ) St. Aubin
2e140a6a5f Merge pull request #15569 from edx/staubina/ed-592_tests
Staubina/ed 592 tests
2017-07-17 07:24:16 -04:00