Commit Graph

1230 Commits

Author SHA1 Message Date
Renzo Lucioni
08dcbace0f Cache program UUIDs after caching details
This prevents the LMS from requesting details for programs which the command hasn't been able to cache yet, which would throw off monitoring we'll be setting up to keep an eye on missing entries.

LEARNER-382
2017-05-05 14:45:47 -04:00
Qubad786
a01e5771e3 Repopulate course overview imageset 2017-05-05 19:24:58 +05:00
muzaffaryousaf
4fa993ac37 Re-create image set for course overview.
EDU-218
2017-05-05 19:17:40 +05:00
Diana Huang
e12a704cea Add new course dates fragment.
Also add it to the course home page.
2017-05-04 20:53:42 -04:00
Renzo Lucioni
7fc356b537 Merge pull request #15035 from edx/renzo/improved-program-caching
Add management command for caching program data
2017-05-04 17:34:41 -04:00
Renzo Lucioni
6cf2503f0b Add management command for caching program data
This command requests every available program from the discovery service, writing each to its own cache entry with an indefinite expiration. It is meant to be run on a scheduled basis and should be the only code updating these cache entries.

LEARNER-382
2017-05-04 15:35:26 -04:00
Muzaffar yousaf
49f20a323b Merge pull request #15042 from edx/mrehan/courseoverview-broader-for-prod-clone
EDUCATOR-218 – Add logging
2017-05-04 23:27:59 +05:00
Qubad786
9db1b9cc1b address feedback 2017-05-04 21:31:08 +05:00
Eric Fischer
a047d009c7 Merge pull request #15020 from edx/efischer/partition_scheming
EDUCATOR-199 Fix ICRV broken courses
2017-05-04 09:37:53 -04:00
Qubad786
657249bd6d Add broader exception. 2017-05-04 13:00:43 +05:00
Eric Fischer
f3da0eb5de Implement a naive PartitionScheme for ICRV 2017-05-03 15:21:27 -04:00
Calen Pennington
74ce1ae918 Update comment to reflect the code in lang_pref tests 2017-05-03 11:09:18 -04:00
Calen Pennington
dc855dd647 Merge pull request #15019 from cpennington/cale/reset-session-language-on-cookie-update
Reset the SESSION language when the language-preference cookie changes
2017-05-03 10:31:03 -04:00
George Song
7b34fe4ba6 Merge pull request #15009 from ahmedaljazzar/patch-1
Added unicode to CourseUserGroup
2017-05-02 13:18:57 -07:00
Calen Pennington
4b512626f8 Reset the SESSION language when the language-preference cookie changes 2017-05-02 11:24:41 -04:00
Calen Pennington
3deb3a3c1b Merge pull request #14977 from cpennington/cale/fix-learner-542
Cale/fix learner 542
2017-05-01 12:18:03 -04:00
Ahmed Jazzar
0da29d1786 Added unicode to CourseUserGroup 2017-05-01 13:14:20 +03:00
Calen Pennington
2ca367a147 Extract some common logic about dirty serializers into a helper method 2017-04-28 16:10:22 -04:00
Calen Pennington
0ca11f6428 Add a trailing comma to make future diffs cleaner 2017-04-28 15:40:46 -04:00
Calen Pennington
1c78d7c02e Remove a stray maxDiff = None 2017-04-28 15:17:05 -04:00
Ned Batchelder
ecce0f1513 Merge pull request #14996 from edx/nedbat/remove-useless-super-delegation
Remove a number of unneeded super()-delegation methods
2017-04-28 13:04:43 -04:00
Calen Pennington
1811f7235f Minimize the number of queries done while noop updating a user-preference 2017-04-28 12:26:41 -04:00
Calen Pennington
20caf52bea Use the existing user object in the case where a user is making changes to their own preferences 2017-04-28 12:26:39 -04:00
Christina Roberts
61316c3807 Merge pull request #14972 from edx/christina/ed11
Renaming prep for allow discussions to be divided by enrollment tracks
2017-04-28 11:00:09 -04:00
M. Rehan
ce93ad2af4 Merge pull request #14973 from edx/mrehan/educator-122-enable-course-sharing-in-future-courses
EDUCATOR-112 – Enable sharing icons for future courses
2017-04-28 18:33:53 +05:00
Qubad786
4b73bac9b2 Enable sharing icons for future courses 2017-04-28 15:45:24 +05:00
Qubad786
fad53592d2 Create or update course overview on a course publish event received from studio. 2017-04-28 14:31:45 +05:00
cahrens
31fbde9c1f Rename cohort methods to divided. 2017-04-27 14:58:08 -04:00
Ned Batchelder
4a568476fd Remove a number of unneeded super()-delegation methods 2017-04-27 14:12:56 -04:00
Ahsan Ulhaq
b6993c392d Stop program cert awarding if cert is not configured in credentials
ECOM-4478
2017-04-27 20:13:17 +05:00
Calen Pennington
33fee20c3a Reapply "Merge pull request #14868 from cpennington/learner-542"
This reverts commit 65f13ddec4.
2017-04-27 09:25:02 -04:00
edx-pipeline-bot
38c0fbd638 Merge pull request #14975 from edx/release-mergeback-to-master
Merge release back to master
2017-04-26 15:29:32 -04:00
Calen Pennington
65f13ddec4 Revert "Merge pull request #14868 from cpennington/learner-542"
This reverts commit 88dd85caec, reversing
changes made to bf8aef33fc.
2017-04-26 11:29:56 -04:00
Christina Roberts
8fbf01cd9b Merge pull request #14963 from edx/christina/ed15
Don't return Credit as an EnrollmentTrack Group.
2017-04-26 10:58:00 -04:00
Clinton Blackburn
2b4817b102 Added OpenID Connect discovery endpoint
Although we are phasing out our support of OIDC, this particular feature will allow us to eliminate many of the settings we
share across services. Instead of reading various endpoints and secret keys from settings or hardcoded values, services
with the proper authentication backend can simply read (and cache) the information from this endpoint.

ECOM-3629
2017-04-26 10:02:27 -04:00
Brittney Exline
2b48a5e7c5 Merge pull request #14920 from edx/bexline/registration_email
ENT-304 Add confirm email field to registration
2017-04-26 07:59:29 -04:00
Renzo Lucioni
a0129ccbb6 Merge pull request #14964 from edx/release-mergeback-to-master
Merge release back to master
2017-04-25 16:49:40 -04:00
cahrens
111b7dffd7 Don't return Credit as an EnrollmentTrack Group.
EDUCATOR-15
2017-04-25 15:40:22 -04:00
Brittney Exline
c2df64c3f8 ENT-304 Add confirm email field to registration 2017-04-25 18:35:29 +00:00
Calen Pennington
88dd85caec Merge pull request #14868 from cpennington/learner-542
Store Learner language preferences into a cookie rather than the session
2017-04-25 14:08:13 -04:00
Renzo Lucioni
ef606d6f0a Compress API results before caching them
Some result sets may be larger than the default cache's 1 MB max item size. This change is a bandaid meant to allow us to resume use of memcached while we work on a longer-term fix.

LEARNER-682
2017-04-25 12:52:28 -04:00
Calen Pennington
dffcb13c0e Validate that the language cookie is preserved during logout 2017-04-25 11:46:52 -04:00
Calen Pennington
f8b050a5d8 Put LANGUAGE_COOKIE into settings 2017-04-24 13:03:17 -04:00
Clinton Blackburn
ff4d9e4360 Using shared secret for JWTs sent to Credentials API
This change brings the Credentials API calls in line with those of other services. The change also makes it easier for the future switch to an asymmetric signing key.

LEARNER-629
2017-04-24 12:28:23 -04:00
Clinton Blackburn
f4e72c80c5 Added given and family name fields to profile scope
This information mirrors the fields returned in our ID token for OpenID
Connect (OIDC). Including this information will allow us to eventually
migrate toward replacing OIDC with OAuth 2.0 + JWT.

ECOM-3628
2017-04-24 11:07:08 -04:00
Calen Pennington
4cc23bc641 Attempt to reduce the number of database calls for user_api serialization 2017-04-24 07:37:19 -04:00
Calen Pennington
0c82bae91c Add the caller to user_api caught error logging 2017-04-24 07:37:19 -04:00
Calen Pennington
e733179d49 Store Learner language preferences into a cookie rather than the session
This modifies the lang-pref django app to:
a) Use the current value of the 'edx-language-preference' cookie to set the
   users Accept-Language header on an incoming request.
b) At the end of the request, update the 'edx-language-preference' cookie
   to reflect the users current Language Preference choice, if any.

[LEARNER-542]
2017-04-24 07:37:19 -04:00
Renzo Lucioni
70e13407a3 Fix course completion logic when determining program completion
We want to treat professional certificates equally for the purposes of program completion.

LEARNER-601
2017-04-21 17:35:24 -04:00
Matthew Piatetsky
c13ac619c6 Treat no-id-professional enrollments as professional
ECOM-7746
2017-04-21 13:38:02 -04:00