bmedx
23503f5226
Fix test issues with new httpretty
2017-12-22 15:36:45 -05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
bmedx
f3f8d8ec96
Changes necessary for Django 1.11 tests to start
...
- Certificates management commands updates
- Moving reverse calls in tests into setUp from class definition
- Import shuffling
- Consolidating cryptograhpy version to 1.9
2017-11-13 15:45:32 -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
bmedx
11a4030767
LMS urls cleanup for Django 1.11
...
- Remove usage of django.urls.patterns
- Change urls tuples to lists
- Make all string view names callables
- This is the second of several urls updates for LMS; a work in progress
2017-11-06 16:06:00 -05:00
Jeremy Bowman
fd6af6b05e
ddt usage cleanup
2017-09-05 17:25: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
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
Simon Chen
893b7a0060
Stop audit and honor mode creating basket and order
...
LEARNER-2222
2017-08-15 16:08:08 -04:00
Stuart Young
806bbc13ab
remove all occurrences of flaky decorator
2017-08-08 16:23:51 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Clinton Blackburn
0b07b53e71
Updated Commerce API v1 views to use JWT authentication
...
LEARNER-1375
2017-06-11 19:30:20 -04:00
Matt Drayer
a7f6e6a56b
Consider waffle switch when selecting ecommerce workflow
2017-05-22 12:25:05 -04:00
Clinton Blackburn
1189867dd2
Removed references to ECOMMERCE_API_SIGNING_KEY
...
We should not be using custom signing keys for each service at this time. We may want to return to this strategy in the future; but, this is not the direction any of our other services are going in.
ECOM-6541
2017-02-01 01:51:21 -05:00
Mike Dikan
8f4cf6829a
Adding support for UTM Tracking to apply to free purhases
...
ECOM-6450
Updating commerce api endpoint to capture user UTM cookies and resend them in the server request to the ecommerce IDA.
Currently, the non-free purchases are tracked because the user makes the request directly on ecommerce and user cookie
contains UTM data, but for free purchases, the UTM cookie isn't sent in the background server request to the ecommerce
IDA.
2016-12-21 19:09:56 -05:00
John Eskew
e3cb462d18
Move embargo from common to openedx/core/djangoapps.
2016-11-07 08:47:36 -05:00
Nimisha Asthagiri
6793c8f6ab
Move audit_log utility function to openedx/core
2016-10-07 13:25:08 -04:00
PaulWattenberger
7ec898298e
Pass Sailthru campaign id cookie to ecommerce
2016-09-08 10:50:13 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -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
Ben Patterson
b9558a90f1
Create a 3rd explicit shard for unit tests.
...
More accurately, this creates a 4th shard because the
last shard is always the default.
2016-04-28 10:09:32 -04:00
Peter Fogg
fd2f3b69ef
Prevent ordering closed courses, and give a good user message.
...
When Drupal attempts to enroll a user in a closed course, a 406 will
be returned. This causes the marketing site to redirect to the track
selection page for that course, which will then redirect to the
dashboard with a nice message.
ECOM-2317
2016-03-08 16:45:49 -05:00
Peter Fogg
69432015f3
Allow removing upgrade deadlines through the Commerce API.
2015-12-30 12:22:22 -05:00
Peter Fogg
45bff268ae
Allow removing a verification deadline through the Commerce API.
...
ECOM-3268
2015-12-30 11:25:52 -05:00
Bill DeRusha
522095e112
Auto setting of verification deadlines with manual overrides
2015-12-09 11:59:55 -05:00
Peter Fogg
497622d4b4
Switch default course mode to 'audit'.
...
ECOM-2972
2015-11-25 11:22:29 -05:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Bill DeRusha
1f77810fad
Add configurable refund window
...
Add configuration model for enrollment refunds.
Use order info from otto in refund window calculation
Delete dupe tests. Extend tests to include window tests
Move ecom client from lib to djangoapps in openedx
2015-10-30 09:01:53 -04:00
Clinton Blackburn
9bb3f703d7
Updated receipt page to use order endpoint
...
The receipt page now retrieves data for orders instead of baskets. Going forward baskets will be deleted after an order has been placed, so there should be no permanent references to baskets. Orders will continue to be persisted permanently.
ECOM-2653
2015-10-28 12:12:57 -04:00
Jim Abramson
88bfeafe4c
Merge pull request #10274 from edx/jsa/update-erac
...
Update from ecommerce-api-client 1.1 to edx-rest-api-client 1.2
2015-10-21 14:20:53 -04:00
Ned Batchelder
322ca34b20
Remove pylint pragmas from "class Meta"
...
Also remove useless docstrings where they were added to keep pylint
quiet.
2015-10-21 07:37:00 -04:00
jsa
56b7b7007e
Update from ecommerce-api-client 1.1 to edx-rest-api-client 1.2
2015-10-20 17:44:19 -04:00
Ben Patterson
82b199b64f
Merge pull request #9908 from edx/benp/flaky-pythontest-sep2015
...
Flag test as flaky.
2015-10-01 11:23:16 -04:00
Ned Batchelder
8ec2de9359
DRF 3.1 now uses request.data instead of request.DATA
2015-09-29 15:25:55 -04:00
Will Daly
8555630df7
Upgrade djangorestframework to v3.1
...
* Upgrade edx-submissions
* Upgrade edx-ora2
* Upgrade edx-val
* Upgrade edx-proctoring
* Update all edx-platform code that depends on DRF, including:
- auth_exchange
- cors_csrf
- embargo
- enrollment
- util
- commerce
- course_structure
- discussion_api
- mobile_api
- notifier_api
- teams
- credit
- profile_images
- user_api
- lib/api (OAuth2 and pagination)
2015-09-25 12:40:57 -04:00
Ben Patterson
a57802ebc7
Flag test as flaky.
2015-09-24 11:36:41 -04:00
Awais
cdfc9da4d9
adding validator to make sure course exists in db before creating in otto.
2015-08-26 20:50:18 +05:00
Renzo Lucioni
3a735591d1
Emit INFO-level messages when a mode does not have a SKU
2015-08-07 14:11:42 -04:00
Clinton Blackburn
b2b40e2770
Exposing course verification deadline via Commerce API
...
The course now supports reading and writing the verification deadline attribute.
XCOM-536
2015-08-04 14:04:04 -04:00
Clinton Blackburn
880da5a09d
Exposing course name via Commerce API
...
The course now includes a read-only name attribute.
XCOM-536
2015-08-03 15:16:45 -04:00
Jim Abramson
3a1f9bd816
Merge pull request #9084 from edx/jsa/xcom-497
...
commerce/api: Don’t allow setting expiration of prof modes.
2015-07-27 17:13:03 -04:00
jsa
03717f3940
commerce/api: Don’t allow setting expiration of prof modes.
...
XCOM-497
2015-07-27 15:56:53 -04:00
jsa
6c83bff5be
commerce/api: pass expiration_datetime when updating modes
2015-07-27 15:56:27 -04:00
Clinton Blackburn
56e9625a8f
Corrected CourseMode Display Name
...
The Commerce API now sets the correct display name for known course modes, but continues to default to the mode slug for unknown course modes.
2015-07-27 11:26:08 -04:00
jsa
afa77f86bf
Support setting email opt-in in calls to the Otto shim
...
XCOM-499
2015-07-14 11:28:59 -04:00
Renzo Lucioni
609e6ca277
Mark basket creation and order retrieval endpoints as v0
...
These endpoints are currently for internal use only, but should be versioned nonetheless; Drupal will begin using the basket creation endpoint soon. No functionality has been changed. XCOM-494.
2015-07-13 16:27:58 -04:00
Clinton Blackburn
7d91361f32
Updated Commerce API to return CourseMode expiration date
...
XCOM-477
2015-07-09 15:30:48 -04:00
Clinton Blackburn
cd60dd5606
Merge pull request #8771 from edx/clintonb/currency-comparison-fix
...
Comparing currencies with same case
2015-07-09 01:45:39 -04:00