McKenzie Welter
435c3c6338
mark support (re)issued entitlements as unrefundable
2018-04-12 12:16:37 -04:00
McKenzie Welter
361af7ef5a
add test coverage for entitlement course run retrieval
2018-04-05 14:49:33 -04:00
Albert (AJ) St. Aubin
13e7ec6aa5
Merge pull request #17804 from edx/aj/LEARNER-4493
...
Aj/learner 4493
2018-03-30 12:24:31 -04:00
McKenzie Welter
2762a6114b
allow site and mode to be nullable in admin form
2018-03-30 10:24:31 -04:00
Albert St. Aubin
1d9b3842ef
Corrects issue with Entitlement Auto upgrade and Soft Upgrade deadline
...
issues
[LEARNER-4493]
2018-03-29 12:27:28 -04:00
Albert St. Aubin
35324a7314
Moved to a try catch block
2018-03-29 10:35:43 -04:00
Albert St. Aubin
e8a3077bfa
Protection for when there is no CourseOverview data available.
2018-03-29 07:10:58 -04:00
McKenzie Welter
cc19e50590
add mode field to entitlement policy model and set custom policy on entitlement create
2018-03-28 12:53:20 -04:00
McKenzie Welter
a6ac6781c3
include created datetime in entitlement support detail serializer
2018-03-23 11:19:38 -04:00
McKenzie Welter
e5d1f04a89
move support actions to existing entitlement api
2018-03-22 16:11:46 -04:00
Albert St. Aubin
7010eff423
Adding migration to update the expiration_period default
2018-03-21 17:09:03 -04:00
Albert St. Aubin
eeb97318b6
Updated tests to use new 24 months
2018-03-21 15:57:15 -04:00
Albert St. Aubin
7a02324bf1
Updating the default long term expiration to be 730 days for entitlements
...
[LEARNER-4494]
2018-03-21 15:45:38 -04:00
Waheed Ahmed
7128370666
Fix None type entitlement passing.
...
LEARNER-4513
2018-03-16 16:41:49 +05:00
Albert St. Aubin
bd9fedb27b
corrected another enrollment edge case
2018-03-09 09:48:33 -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
Michael LoTurco
d6f910d5da
Remove reference to reason field, add action field
...
As work progressed on entitlement support tool,
additional clarity around the entitlement support
detail fields was needed, this adds the action field
at a later point the reason field will be removed
Learner-3925
2018-03-06 13:35:17 -05:00
George Babey
3e840ff268
Merge pull request #17497 from edx/gbabey/move_paginators
...
Moved pagination to edx_rest_framework_extensions package
2018-02-23 15:24:40 -05:00
George Babey
1c7720a561
Bump drf-extensions for pagination move
2018-02-23 14:20:00 -05:00
Albert St. Aubin
8c5e37ba20
Added entitlement redeemability method to the check for fulfillable
...
entitlements
[LEARNER-3898]
2018-02-22 15:00:19 -05:00
Albert St. Aubin
b56fdcc652
Changes to auto enroll users using their entitlement if they have one
...
available.
[LEARNER-3898]
2018-02-21 11:17:02 -05:00
Michael LoTurco
449c6903a6
Add Support endpoint for Course Entitlements
2018-02-20 13:20:47 -05:00
George Babey
26bac9f611
Moved paginators to edx_rest_framework_extensions package
...
Pagination should be standard and easy to adopt so moved the paginators
into the edx_rest_framework_extensions package so they can be easily
installed into other app/projects
2018-02-16 09:46:01 -05:00
Michael LoTurco
82f4ce4252
Add CourseEntitlementSupportDetail model and related admin model
...
Learner-3919
2018-02-12 11:43:44 -05:00
Albert St. Aubin
ddab8123c1
Updates to the Course Entitlement API to block Learners from enrolling
...
in runs that are not available.
[LEARNER-3800]
2018-01-30 09:52:06 -05:00
Albert (AJ) St. Aubin
01553ff1bc
Revert "Aj/learner 3800"
2018-01-30 09:45:05 -05:00
Albert St. Aubin
90d29550bb
test fix
2018-01-29 13:06:17 -05:00
Albert St. Aubin
12e77b27e4
PR updates
2018-01-29 12:22:56 -05:00
Albert St. Aubin
3876a823f8
pr
2018-01-29 11:15:33 -05:00
Albert St. Aubin
1bd4bde9a4
PR and quality updates
2018-01-29 09:07:29 -05:00
Albert St. Aubin
cac22680e2
Updates to the Course Entitlement API to block Learners from enrolling
...
in runs that are not available.
[LEARNER-3800]
2018-01-25 14:53:03 -05:00
Albert St. Aubin
f0436aa832
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-24 14:46:58 -05:00
Nimisha Asthagiri
2e9efe6472
Fix Certificates import and signals code
2018-01-19 15:12:28 -05:00
Albert St. Aubin
e23def673b
Increased the page size for the entitlements API
2018-01-18 10:19:55 -05:00
Albert St. Aubin
2e99ee0d7f
Changes the Program Details page to show the most recently purchased
...
entitlement data
[LEARNER-3708]
2018-01-12 15:03:25 -05:00
Jeremy Bowman
1a7753d775
PLAT-1881 Fix datetimes lacking timezone information
2018-01-10 14:33:01 -05:00
Harry Rein
b404173046
Show more sessions coming soon on course dashboard.
...
LEARNER-3808
Ensures that users can see their entitlement purchase whether there
are available sessions or not. Notifies them with a message stating that
more sessions are coming soon, as is currently implemented on the programs
dashboard.
2018-01-09 13:04:36 -05:00
Michael Terry
b7fbfc938d
Fix expire_old_entitlements celery task
...
Celery was not able to find the task implementation, because we were
putting it in a nonstandard place.
2018-01-05 14:34:10 -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 (AJ) St. Aubin
14ddb59f90
Merge pull request #16934 from edx/aj/LEARNER-3629_refund_api_refactor
...
Refactor of the CourseEntitlement Refund API to handle refund failures
2018-01-04 12:16:35 -05:00
Michael Terry
64b7fb88b8
Pass serializable data to celery
...
The expire_old_entitlements management command was passing a
Paginator object to celery, which it can't serialize when it is
running async. Instead, we'll do the pagination manually inside the
task code and simply pass it integers.
2018-01-04 12:01:41 -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
Michael LoTurco
2807d9915e
Add enrollment_course_run to entitlementserializer
...
The marketing site currently cannot use the entitlement
api to determine whether a user has an unfilled entitlement.
Including the entitlement enrollment_course_run makes this
information accessible to consumers of the entitlement API.
Learner-3731
2018-01-03 11:28:53 -05:00
Michael LoTurco
f5bc89f1b5
Only upgrade active enrollments for entitlements
2017-12-22 10:25:07 -05:00
Jeff LaJoie
0183913fa4
Merge pull request #16996 from edx/jlajoie/LEARNER-3638
...
LEARNER-3638: Fixes expiration issues for learners who upgrade late
2017-12-21 11:18:59 -05:00
Michael Terry
f303fd3f5c
Merge pull request #16817 from mikix/mikix/entitlement-expiration
...
Add expire_old_entitlements command
2017-12-21 11:04:10 -05:00
Jeff LaJoie
14986264d9
LEARNER-3638: Fixes expiration issues for learners who upgrade late into a course
2017-12-21 10:44:02 -05:00
Michael Terry
1650813d17
Avoid a dropdown for course runs
...
Entitlement detail pages in django admin normally show a dropdown
button for the enrollment_course_run field. But on stage, that can
cause a timeout because the enrollment database is so large.
So instead, just show it as a raw id field.
2017-12-20 10:26:46 -05:00
Michael LoTurco
f0ab07a154
Upgrade audit enrollments on entitlement purchase
...
Adds check for existing upgradeable enrollment on user entitlement
creation, if single upgradeable enrollment is present, upgrades enrollment
to entitlement mode and links the entitlement to the upgraded enrollment
LEARNER-3579
2017-12-19 14:54:10 -05:00
Harry Rein
75aa736dcf
Do not show expired, unfulfilled entitlements on course/programs dashboard.
...
LEARNER-3636
2017-12-18 15:16:35 -05:00