Diego Millan
2dd128bce0
Setting template to show currency defined in the course mode DB record
2020-02-17 11:45:50 -04:00
David Ormsbee
2cb2265ffe
Add request caching to reduce ORM queries
...
This adds request caching to the following places:
* course expiration wrapper (displayed in Units)
* offer banner generation (displayed in Units)
* get_enrollment
* user_by_anonymous_id
* youtube_disabled_for_course
On a sample course with edx-val enabled, this reduced the queries
for a large sequence from 450 to 155.
2019-12-30 16:19:25 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Dillon Dumesnil
7165eeff44
DISCO-1522: check if enrolled before congrats message
...
This helps out the Verified Only case where the user
is not first enrolled as an audit learner.
2019-12-18 19:54:28 +00:00
Matthew Piatetsky
b0c9662b51
remove discount banner from track selection
2019-11-12 13:28:27 -05:00
Matthew Piatetsky
86bb0cfa2c
add discount percentage configuration
2019-10-23 12:00:34 -04:00
julianajlk
6e0914ad5d
add FPD banner to courseware ( #22113 )
...
REV-980
2019-10-23 09:33:11 -04:00
julianajlk
98f907f23c
Revert "add first purchase discount to courseware ( #22058 )"
...
This reverts commit 059b619794 .
2019-10-21 13:57:18 -04:00
julianajlk
059b619794
add first purchase discount to courseware ( #22058 )
...
REV-980.
* moved get_first_purchase_offer_banner_fragment to Discounts utils.py
* added banner wrapper method
* updated banner with time limit
2019-10-21 13:56:38 -04:00
Christie Rice
3d062aab62
REVMI-354 Add enroll_in_course permission ( #21243 )
...
* REVMI-354 Add enroll_in_course permission
* Fix test
2019-08-01 08:37:41 -04:00
Calen Pennington
e37e7e67fb
Add metrics and logging around track selection rendering without enrollment
2019-06-21 13:15:14 -04:00
Matthew Piatetsky
ad77392f8d
add discount banner to track selection
2019-06-03 14:18:17 -04:00
Dave St.Germain
0e590c0f7e
Moved these functions out of helpers because they're not needed elsewhere
2019-04-24 15:53:24 -04:00
Dave St.Germain
27437bc03f
Ran python-modernize
2019-04-23 15:29:27 -04:00
Audrey Kao
3b4c4c30cb
Tearing down data from bundling test, see REVEM-136
2019-01-28 15:00:28 -05:00
Bill Filler
c253374372
Conditionalize track selection based on settings of course duration and content gating
2019-01-07 09:47:37 -05:00
Bill Filler
684d6e3669
check if user is in holdback before showing new track selection
2018-12-17 16:05:13 -05:00
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -05:00
Matthew Piatetsky
6f8090eadb
handle case when list of programs for course is empty
2018-11-20 13:11:33 -05:00
Matt Tuchfarber
2f283c411b
Update course mode selection text for content gating
2018-10-30 15:04:44 -04:00
Emma Green
5af901e016
fix-bundle-info
2018-10-09 09:27:15 -04:00
Emma Green
fcc1b55496
rev-bundle-discount
2018-10-03 17:20:43 -04:00
Matthew Piatetsky
30c14b36ba
bundles on track selection
2018-09-27 14:45:32 -04:00
uzairr
d84d47f32c
Update sailthru audit purchase calls
...
Currently, there are two purchase calls are occurring for each audit
purchase on sail-thru.To avoid it,code is updated so that a single
call will occur for each purchase.
LEARNER-5257
2018-07-09 01:09:27 +05: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
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
Douglas Hall
d8494483c1
ENT-779 Remove code references to ProviderConfig.drop_existing_session.
...
We no longer need the drop_existing_session flag on IdP configurations
because dropping the existing session should actually be the only
behavior for certain view in the edx-enterprise code.
2017-12-21 14:39:46 -05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
Matthew Piatetsky
e1c24084e9
Fix request to currency endpoint
2017-10-25 15:38:10 -04:00
Matthew Piatetsky
c741bcbee7
Implement local currency in lms
...
LEARNER-2412
2017-10-11 14:37:18 -04:00
Matthew Piatetsky
d394c05236
Take users from track selection to course home instead of dashboard
...
LEARNER-2546
2017-10-02 12:15:12 -04:00
Calen Pennington
127e90e3a3
Remove extraneous request argument to experiments.utils.check_and_get_upgrade_link
2017-08-23 10:38:39 -04:00
Jesse Shapiro
7a31441ebc
Move to new consent API
2017-08-16 22:58:09 -04:00
cahrens
819a56fee3
Remove usages of deprecated SlashSeparatedCourseKey.
2017-08-14 11:01:00 -04:00
Calen Pennington
1edd367008
Add course_start to the fields, and put all fields on the track selection page
2017-08-01 10:14:35 -04:00
Brittney Exline
8c362d4df6
Revert "Create EnterpriseCourseEnrollment when enrolling via Track Selection page"
...
This reverts commit d940bbfd09 .
2017-07-17 14:11:24 -04:00
Jesse Shapiro
d940bbfd09
Create EnterpriseCourseEnrollment when enrolling via Track Selection page
2017-06-30 12:39:14 -04: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
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Matt Drayer
5f5a44e062
Hide the audit option from track selection for certain enterprise use cases
2017-05-22 17:14:27 -04:00
asadiqbal
47cdf39266
ENT-342
2017-05-03 15:03:34 +05:00
Jesse Shapiro
3f6e690827
When visiting track selection page with a TPA hint, logout the existing session
2017-04-17 23:09:01 -04:00
Andy Armstrong
0325425c8c
Add data sharing consent redirect for more course tabs
...
LEARNER-394
2017-03-31 19:12:13 -04:00
asadiqbal
ed33d3b09f
ENT-287 Track Selection: Enterprise messaging only for catalog courses
2017-03-31 16:54:16 +05:00
Matt Drayer
e2610a31fb
Enroll learner in Audit track on postback
2017-03-30 14:29:31 -04:00
asadiqbal
bfde6d63c5
ENT-251 Updated track selection UI for Enterprise context
2017-03-22 17:32:58 +05:00
asadiqbal
8f5ba0115c
WL-606
2017-01-25 15:05:57 +05:00
John Eskew
e3cb462d18
Move embargo from common to openedx/core/djangoapps.
2016-11-07 08:47:36 -05:00
Matt Drayer
c2c2a67753
mattdrayer/WL-493: Enable bulk purchase via Otto for unauthenticated users
2016-06-03 13:00:45 -04:00
Matt Drayer
a9b7e4c63d
mattdrayer/course-mode-bulk-sku: Add new CourseMode field
...
* mattdrayer: Add bulk checkout link to course views
* asadiqbal08: MAYN-225 replace the "Verify Now" button by the "Go to Dashboard" button in case of themed sites.
* mattdrayer: Add bulk_sku check in courseware.views
2016-05-11 10:57:24 -04:00