Usama Sadiq
3e6b3e41f8
refactor: remove unused imports ( #27084 )
2021-03-24 17:55:04 +05:00
Awais Qureshi
4a11c86533
Pyupgrade in common/djangoapps/coursemodes.
2021-03-18 12:23:52 +05:00
Awais Qureshi
356f169a47
Pyupgrade in common/djangoapps/coursemodes.
2021-03-18 11:19:46 +05:00
Aarif
7dfd6edd23
replaced unittest assertions pytest assertions ( #26524 )
2021-02-18 18:08:23 +05:00
usamasadiq
515458b9dc
Applied pylint-amnesty
2021-02-02 17:59:20 +05:00
Simon Chen
00ad36839d
MST-542 Roll out Accounts MFE IDV workflow ( #25613 )
...
* MST-542 remove the IDV redirect to Account MFE waffle flag to permanently redirect learners to new IDV workflow. This completes the rollout process on edx-platform
2020-12-01 09:08:12 -05:00
Kyle McCormick
151bd13666
Use full names for common.djangoapps imports; warn when using old style ( #25477 )
...
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Jeremy Bowman
d19368525b
DEPR-43 Remove most of the shoppingcart app ( #24692 )
...
Removed most of the deprecated shoppingcart app, leaving just enough to allow us to cleanly remove the related database tables later. Also removed the relevant Django settings that weren't in use elsewhere.
2020-10-14 14:24:52 -04:00
hasnain.naveed
dcace9cb4d
ENT-2735 | Added more logging for e-commerce calculate endpoint.
2020-04-17 09:20:01 +05:00
hasnain.naveed
0d85a4ef14
Feedback.
2020-04-13 13:51:59 +05:00
hasnain.naveed
4cff92b0ad
ENT-2735 | Added the payment message on track selection for learners in subsidy offer.
2020-04-10 16:07:49 +05:00
Zulqarnain
cf58da6ee0
Update assertRedirects usage
2020-01-08 14:35:40 +05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -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
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -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
julianajlk
afae1f1d2a
a11y: add role to FPD banner ( #22225 )
...
REV-705
2019-11-04 10:46:53 -05: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
Matthew Piatetsky
f6d0bf77df
check if discount expired
2019-10-16 11:32:27 -04:00
Emma Green
c4ae093e75
remove discount banner display flag
2019-06-28 14:46:21 -04:00
Matthew Piatetsky
ce5b976f5e
update local currency code
2019-06-05 15:46:16 -04:00
Matthew Piatetsky
ad77392f8d
add discount banner to track selection
2019-06-03 14:18:17 -04:00
Dave St.Germain
27437bc03f
Ran python-modernize
2019-04-23 15:29:27 -04:00
cclauss
c0c935b685
Old style exceptions --> new style for Python 3
2019-02-19 13:09:23 +01:00
Michael Youngstrom
4bbd1dee0b
Remove shards from commonlib-unit tests
2019-02-12 14:28:35 -05:00
Jeremy Bowman
4241249119
TE-2524 Stop using nose.plugins
2018-07-30 21:11:05 -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
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Tasawer Nawaz
4912888168
stop using deprecated single item basket view
...
LEARNER-4428
2018-03-14 20:29:51 +05:00
bmedx
6ece1708a6
Make sure httpretty usage cleans up after itself
2017-12-22 15:36:46 -05:00
Jeremy Bowman
103c723c6d
PLAT-1801 Preserve new user login behavior under Django 1.10+
2017-12-05 10:20:25 -05:00
bmedx
ace88e7d5a
Tag LMS Unit 3 tests that fail in Django 1.11
...
Fixed some url reverse errors instead of marking since they were trivial
2017-11-22 15:48:00 -05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05: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
Jesse Shapiro
7a31441ebc
Move to new consent API
2017-08-16 22:58:09 -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
Brittney Exline
6c761ce8aa
Revert "Specify catalog URL to configure"
...
This reverts commit add01fdfab .
2017-07-17 14:11:24 -04:00
Jesse Shapiro
add01fdfab
Specify catalog URL to configure
2017-07-03 10:48:11 -04:00
Jesse Shapiro
e408feffb8
Merge pull request #15400 from open-craft/haikuginger/enterprise_audit_enrollment
...
[ENT-457] Create EnterpriseCourseEnrollment when enrolling via Track Selection page
2017-06-30 13:22:17 -04:00
Jesse Shapiro
d940bbfd09
Create EnterpriseCourseEnrollment when enrolling via Track Selection page
2017-06-30 12:39:14 -04:00
Marko Jevtic
75531b2fef
[LEARNER-437] Reflect discount on the Program About Page (WL)
2017-06-23 17:34:06 +02:00
Afzal Wali
8173182c86
Taking the url change behind the waffle switch. Required for the Learner-1146
...
Learner-1111
2017-06-21 14:02:14 +05: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
Diana Huang
e12a704cea
Add new course dates fragment.
...
Also add it to the course home page.
2017-05-04 20:53:42 -04:00