Muhammad Noyan Aziz
ca463f918d
SONIC-917: Added pluggable_override on `get_program_price_info` util ( #36382 )
...
* feat: add override for one click purchase eligibility
* refactor: remove extra line
* chore: move service worker inside util
* refactor: pylint issue
* fix: pylint errors
* fix: pycodestyle
---------
Co-authored-by: Muhammad Noyan Aziz <noyan.aziz@A006-01474.local >
2025-03-20 15:37:17 +05:00
Syed Sajjad Hussain Shah
c05a3f394a
feat: override refund_entitlement ( #36248 )
2025-02-17 10:55:06 +05:00
Attiya Ishaque
319dd7f38c
feat: remove all the commerce coordinator ( #35527 )
2024-10-14 13:12:38 +05:00
Muhammad Noyan Aziz
3d12640d15
fix: _auto_enroll is private
2024-10-01 19:42:34 +05:00
Muhammad Noyan Aziz
1a99f634d8
feat: override refund
2024-10-01 19:42:34 +05:00
Mohammad Ahtasham ul Hassan
6a63cfcaa4
feat: add override option to upgrade CTA utils and add course_run_key identifier ( #35441 )
...
* feat: add override option to upgrade CTAs and send course_run_key identifier
2024-09-16 13:15:51 +05:00
Glenn R. Martin
294c6a7768
fix: feedback from Shafqat
2024-04-09 11:12:57 -04:00
Glenn R. Martin
fc3a8f7ebb
chore: exception handling
2024-04-08 10:32:22 -04:00
Phillip Shiu
ed5270469a
chore: bypass invalid-django-waffle-import
...
This edx-lint check is to prevent:
import waffle
However, we are doing:
import .waffle
Where .waffle is importing correctly from edx_toggles instead of
directly from the Django waffle library.
See also:
be07c3739d/edx_lint/pylint/annotations_check.py (L379)
2024-04-02 04:53:22 -04:00
Phillip Shiu
5989d3e736
chore: remove unused import
2024-04-02 04:53:22 -04:00
Phillip Shiu
87a1469232
feat: waffle refunds for commerce-coordinator
2024-04-02 04:53:21 -04:00
Mohammad Ahtasham ul Hassan
a57dd7325b
feat: add course key param to track selection url ( #33716 )
2023-11-24 15:23:36 +05:00
Mohammad Ahtasham ul Hassan
e973266b2f
feat: fetch program subscription details ( #32023 )
...
* feat: fetch program subscription details
2023-04-14 16:33:12 +05:00
Eugene Dyudyunov
289e682b8f
FC-0001: Remove old EdxRestAPIClient usage across the platform ( #30301 )
...
* refactor: remove EdxRestAPIClient
* test: update tests according to EdxRestAPIClient removal
* fix: remove unused import
2022-05-09 12:48:26 -04:00
M. Zulqarnain
1003f262ad
feat: Django codemods on LMS (1) ( #28851 )
2021-11-02 17:00:46 +05:00
Usama Sadiq
ab41a7daee
refactor: Apply lint-amnesty on pylint violations
2021-04-20 21:43:59 +05:00
Usama Sadiq
2adf8b759e
refactor: ran pyupgrade on lms/djangoapps/commerce ( #26734 )
2021-03-09 14:21:08 +05:00
Jawayria
b3b0b083d2
BOM-2352: Removed unused imports from lms/djangoapps/{certificates, commerce, course_api}
2021-02-23 19:38:25 +05:00
Jawayria
4b4fc89693
Applied pylint-amnesty to commerce
2021-02-01 18:56:15 +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
Simon Chen
a900cec9e7
MST-338 Update other outstanding links to old IDV into new IDV flow ( #25526 )
2020-11-05 20:43:24 -05:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Calen Pennington
4901dde748
Clean up pylint errors to get diff-quality to pass
2020-02-06 09:18:30 -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
Ayub khan
99060623ac
INCR-442 python3 compatibility
2019-07-19 09:53:01 -04:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Cali Stenson
7cbe1312a9
Refactor verified_upgrade_link_is_valid to directly call Ecommerce service.
...
Additionally update code documentation to clarify expected behavior around
dynamic pacing deadlines.
REVO-69
2019-01-04 15:07:39 -05:00
Jeremy Bowman
1a5bf35357
TE-2689 Remove useless pylint suppressions part 2
2018-08-14 17:39:02 -04:00
ayub-khan
d0d3e3427e
Updated intructor unenroll
...
If student is in refund window, refund student,
update mode to audit, and set is_active false. if
student is not in refund window, do not refund student
do not change mode, and set is_active to false.
If professional do not change mode after refund just
change is_active to false.
-
2018-07-12 16:01:12 +05:00
zubair-arbi
66937b2cdf
ENT-1052 Rename enterprise customer catalog uuid in queryparam to catalog
2018-07-03 17:09:56 +05:00
zubair-arbi
bbdcf6de7a
ENT-1052 discount by enterprise catalog
2018-06-29 16:04:06 +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
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
Tasawer Nawaz
4912888168
stop using deprecated single item basket view
...
LEARNER-4428
2018-03-14 20:29:51 +05:00
Matt Tuchfarber
4c7dc0b250
Add bundle key to program purchase button
...
In order for a program to be tracked as a bundle in ecommerce and GA
a bundle key must be added to the basket URL. This adds that key to
the purchase button on the program marketing page.
2018-03-07 15:40:51 -05:00
Michael LoTurco
a4f294b441
Add convenience functions for Entitlement Support Tool
...
Adds getter for ecommerce order dashboard url and for getting
the entitlement support details reasons.
Learner-3925
2018-03-06 17:49:08 -05:00
Albert St. Aubin
06c5d0c1a9
Corrected incorrect refund data in refund logic
...
[LEARNER-3629]
This is the refactor logic for refunds. With the addition of
Course Entitlement Refunds shared refund logic was merged and tests were added.
2018-01-04 15:31:33 -05:00
Albert (AJ) St. Aubin
e53013ec70
Revert "Refactor of the CourseEntitlement Refund API to handle refund failures"
2018-01-04 14:28:12 -05:00
Albert St. Aubin
417ef0583b
Refactor of the CourseEntitlement Refund API to handle refund failures
...
[LEARNER-3629]
The CourseEntitlement Refund API will not respond with ERROR codes when
the attempted refund call to Ecommerce fails.
2018-01-04 11:02:13 -05:00
John Eskew
80d70f6ecb
Run all touched files through isort.
2017-11-09 09:25:19 -05:00
John Eskew
6672f64188
Add commerce AppConfig and use to register signals. Move imports.
...
Add explicit 'lms.djangoapps' prefix to all commerce imports, as another
commerce Django app exists at openedx.core.djangoapps.commerce
2017-11-09 09:24:37 -05:00
Andy Armstrong
7dfe12a1f3
Show course home messages for important course dates
...
LEARNER-2073
2017-10-02 17:27:51 -04:00
ayub-khan
32679b0423
Removed waffle flag on commerce api for default_enrollment_mode
...
Removed ecommerce calls for default_enrollment_mode order creation
Removed tests related to those
LEARNER-2294
2017-08-30 18:13:02 +05:00
Simon Chen
893b7a0060
Stop audit and honor mode creating basket and order
...
LEARNER-2222
2017-08-15 16:08:08 -04:00
Marko Jevtic
75531b2fef
[LEARNER-437] Reflect discount on the Program About Page (WL)
2017-06-23 17:34:06 +02:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -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
Matt Drayer
a7f6e6a56b
Consider waffle switch when selecting ecommerce workflow
2017-05-22 12:25:05 -04:00
Michael Frey
c8b5dc06da
Only use ecommerce hosted receipt page
...
LEANER-616
2017-04-24 19:25:21 -04:00
Michael Frey
b2dcc9c49b
Revert "Only use ecommerce hosted receipt page"
2017-04-24 14:39:07 -04:00