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
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05: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
Diana Huang
99863aebff
Remove course_id field from CourseMode.
...
Handle this change appropriately in CourseModeFactory.
2020-04-06 11:21:28 -04:00
Calen Pennington
be5ca3dedd
Add a test that shows that CourseModes aren't deleted when CourseOverview versions are updated
2020-01-16 12:07:27 -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
Ayub khan
8a95a8e520
BOM-95
...
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05: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
Waheed Ahmed
2c80a76f8e
Add feature flag to disable honor mode certificates.
...
Added a feature flag to disable honor mode certificates for
edx.org, by default set to false to allow honor mode certificates
for open community.
PROD-269
2019-05-20 12:53:22 +05:00
Waheed Ahmed
98c286a009
Revert "Making honor code not eligible for Certificate"
...
This reverts commit 25130ae3c8 .
2019-05-13 15:39:35 +05:00
Kyle Mulka
b2e6ed0488
incr-205 ran modernize on common/djangoapps/course_modes ( #20465 )
2019-05-08 13:35:40 -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
Dave St.Germain
a5e5591262
Automatically add master's to the group access of verified content
2019-04-23 14:14:32 -04:00
Michael Roytman
f7d0753210
remove enroll CTA on course homepage for logged out users visiting a Master's only course
2019-04-16 16:05:56 -04:00
Michael Roytman
c8b4f7e779
allow configurability of the minimum price for a course mode
2019-03-06 14:26:00 -05: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
Ahsan Ulhaq
25130ae3c8
Making honor code not eligible for Certificate
...
LEARNER-4117
2018-02-09 13:53:50 +05:00
Jeremy Bowman
9682e00f4c
PLAT-1943 Fix more naive datetime warnings
2018-02-05 17:58:35 -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
Jeremy Bowman
fd6af6b05e
ddt usage cleanup
2017-09-05 17:25:51 -04:00
Calen Pennington
84075efc81
Convert CourseKeyField to ForeignKey(CourseOverview) on enrollments and course modes
2017-08-23 15:24:43 -04:00
Calen Pennington
6c9b38dcfd
Merge pull request #15877 from edx/ret/course-mode-factory
...
Use a consistent CourseModeFactory from the course_modes module, rath…
2017-08-23 14:16:54 -04:00
Calen Pennington
63244b514d
Use a consistent CourseModeFactory from the course_modes module, rather than using one from student
2017-08-23 12:15:46 -04:00