Commit Graph

99 Commits

Author SHA1 Message Date
emma-green
cbf3f78325 Revert "WIP:Cache course runs to programs" 2019-02-20 12:03:07 -05:00
Emma Green
f2139bbe2f add courses to programs to cache 2019-02-19 15:17:23 -05:00
Matthew Piatetsky
f294b1a374 fix unicode strings in openedx/ part 1 2019-02-13 10:47:35 -05:00
Emma Green
ce7b094cfb don't error out to user programs with really old course runs not in lms 2018-10-19 13:25:28 -04:00
Michael Terry
c90edab169 Bundle an SQL query for performance
We were doing many individual SQL queries for certificates when
awarding program certs. It's possible this was contributing to
high SQL load. Instead, let's bundle those queries up into a larger
one.

LEARNER-6490
2018-10-05 12:43:47 -04:00
Diana Huang
755ebc8c7f Send program cert visible_date
When sending a program cert to Credentials, also send along a
calculated visible_date along with it.

LEARNER-6262
2018-09-04 16:05:24 -04:00
christopher lee
56f83b5704 Add switch to always calculate program price as anon user
LEARNER-5555
2018-06-18 12:33:40 -04:00
Eric Fischer
247bb50ed2 s/django.core.urlresolvers/django.urls/g
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Michael Terry
27a2b8f676 Only get program certs from credentials
Allow our utility function to filter out course certs when asking
Credentials for a list of certificates. This way once we start
handing back course certs, the LMS won't be surprised by
assumptions about what the credentials service will give back.
2018-06-01 12:53:18 -04:00
Eric Fischer
e18448e27d Silence deprecation warnings
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Albert St. Aubin
213673db61 Updates to use the is_anonymous flag of basket calculate
[LEARNER-4913]
2018-04-25 11:42:53 -04:00
Matt Tuchfarber
fce1699a55 Enables disabling of auth urls for program cert linkings.
WL credentials sites are not set up with site aware OAuth and therefore
require that
2018-03-20 16:03:47 -04:00
Ahsan Ulhaq
5a67f50174 Make sure user is login in credential when redirected from lms
LEARNER-3729
2018-02-23 13:15:02 +05:00
Waheed Ahmed
c68b50d964 Update program detail fragment.
LEARNER-3755
2018-01-17 13:48:33 +05:00
Albert St. Aubin
2e99ee0d7f Changes the Program Details page to show the most recently purchased
entitlement data

[LEARNER-3708]
2018-01-12 15:03:25 -05:00
Waheed Ahmed
2406812100 Update program detail fragment url for mobile apps.
LEARNER-3754
2018-01-10 19:01:04 +05:00
Harry Rein
b09f4fabf1 Show more sessions coming soon for entitlements without sessions. 2017-12-21 15:38:45 -05:00
Harry Rein
5e2c3e4bf5 Merge pull request #16933 from edx/HarryRein/LEARNER-3636-dont-show-expired-entitlements-unenrolled
Do not show expired, unfulfilled entitlements on dashboards.
2017-12-18 16:26:43 -05:00
Harry Rein
75aa736dcf Do not show expired, unfulfilled entitlements on course/programs dashboard.
LEARNER-3636
2017-12-18 15:16:35 -05:00
Michael Terry
4fe60eb1e4 Show programs for expired entitlements
The dashboard was not showing related programs for expired but
fulfilled entitlements.

LEARNER-3608
2017-12-18 14:41:20 -05:00
Michael Frey
3305a7c3ff Get only the first program from the list of matching entitlements.
LEARNER-3606
2017-12-17 17:32:52 -05:00
Matt Tuchfarber
a4f5c14cf9 Order program instructors based on new program field
This collects the instructors from the courses in the program like before. There is now a field in the program model in discovery that allows you to list instructors for the program.

Depends on this PR: https://github.com/edx/course-discovery/pull/1244
2017-12-13 14:43:44 -05:00
Harry Rein
2711fb521a Allowing a user to fulfill their entitlement on the programs dashboard.
LEARNER-3438

The user can now enroll in a session, unenroll from a session or change session
from a new course enrollment card on the programs dashboard.
2017-12-12 10:35:26 -05:00
McKenzie Welter
853cd9a0a7 show programs in which user holds a course entitlement on programs listing page 2017-12-11 12:22:36 -05:00
Anthony Mangano
f72cf800e1 Consider user entitlements and use entitlement products in bundle one-click purchase 2017-11-30 13:59:46 -05:00
Matt Tuchfarber
1d8613f34e Merge pull request #16602 from edx/tuchfarber/fix_instructor_ordering
Fix instructors ordering on program marketing page
2017-11-27 09:52:23 -05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
Matt Tuchfarber
2c67f9647b Fix instructors ordering on program marketing page
Changed to hold the instructors in a list instead of a dict
because a dict does not keep ordering.
2017-11-20 11:25:19 -05:00
Diana Huang
b0877270bf Add course grades to programs dashboard. 2017-10-25 15:44:47 -04:00
Matt Tuchfarber
7305d6f97d Add trim to instructor deduplicator
Current instructor list on program marketing page has duplicate
professors because they are manually entered and some have trailing
spaces. This fixes that.
2017-10-23 14:50:02 -04:00
Albert St. Aubin
724168d605 simplification pr changes 2017-10-06 09:53:58 -04:00
Albert St. Aubin
a4cb374b16 PR update 2017-10-06 09:53:58 -04:00
Albert St. Aubin
d37264ae0c Bug fix for unpublished courses that users have putchased within a program
[LEARNER-2715]
2017-10-06 09:53:57 -04:00
Albert St. Aubin
004f4b75a4 update to resolver complete my program purchase to work with no-id-professional
LEARNER-2420
2017-08-31 13:54:33 -04:00
Albert St. Aubin
eab62e786f Corrected issue with missing Certificated on Program Dashboard View
LEARNER-2352
2017-08-24 11:17:43 -04:00
McKenzie Welter
3e4d20e0d4 bundle purchase tracking 2017-08-21 11:22:52 -04:00
sanfordstudent
5b34264cbc Merge pull request #15809 from edx/aed/EDUCATOR-527
EDUCATOR-527 | get_certificates() should take CourseOverview.may_certify() into account
2017-08-17 16:00:15 -04:00
Alex Dusenbery
14fcba4922 EDUCATOR-527 | get_certificates() should take CourseOverview.may_certify() into account. 2017-08-14 14:07:29 -04:00
McKenzie Welter
f11a4cf589 updated exception handling 2017-08-14 10:59:00 -04:00
Albert St. Aubin
de6d48a698 Added Program Purchase button to the Programs dashboard
Learners can upgrade or enroll as verified in all remaining courses in a program from their programs dashboard

[LEARNER-1899]
2017-08-09 16:52:51 -04: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
de3c802700 Do not count programs with no courses as completed
LEARNER-1143
2017-07-13 14:57:47 -04:00
Marko Jevtic
75531b2fef [LEARNER-437] Reflect discount on the Program About Page (WL) 2017-06-23 17:34:06 +02:00
Marko Jevtic
d48100d386 [LEARNER-1367] Move Program Marketing page from private themes repo to edx platform repo
[LEARNER-311] Enable a purchase button on the Program page - platform (WL)
2017-06-23 16:27:37 +02:00
Marko Jevtic
bf164ae962 [LEARNER-1183] Prepare program data to be presented on program marketing page
[LEARNER-1393] Filter program course runs by status
2017-06-12 10:15:38 +00:00
Marko Jevtic
2422728671 LEARNER-1366 EcommerceService should be able to provide a link to the basket page that contains multiple products 2017-06-09 12:29:29 +02:00
ayub-khan
761db165b5 LEARNER-925 - Allow user to get program certificate if enrolled as verified in credit course 2017-06-06 01:14:52 +05:00
Andy Armstrong
f4b0a76c0b Merge pull request #15204 from edx/andya/clean-imports-2
Reorder imports using isort (except lms and cms)
2017-05-30 20:36:41 -04:00
Clinton Blackburn
e9cdc133a6 Updated programs detail page to always call Credentials API
The programs detail page now always makes a call to the Credentials API to check for program credentials, regardless of whether the user has earned a course certificate. The course certificate constraint adds an additional burden to testing in exchange for slightly decreased load on the API. The cost outweighs the benefit given the limited traffic to this page.

LEARNER-1103
2017-05-30 17:30:20 -04:00
Andy Armstrong
93235d118d Reorder imports using isort (except lms and cms) 2017-05-30 16:04:54 -04:00