Commit Graph

13 Commits

Author SHA1 Message Date
Mayank Jain
ff6b58dfd8 INCR-213 run modernizer on djangoapps migrations & management (#20426)
* INCR-213 run modernizer on djangoapps migrations & management

* fix python 2 to 3 pylint redefined built in `reduce` warning

* regroup imports

* group the `__future__` imports in programs migration files
2019-05-07 16:05:40 -04:00
Jason Myatt
09d51b00b5 Filter out certificates for nonexistent courses
LEARNER-7086. Uses a new model manager for GeneratedCertificate that excludes
certificates whose course_id does not correspond to a valid CourseOverview
2019-03-08 11:28:41 -05:00
Matthew Piatetsky
f294b1a374 fix unicode strings in openedx/ part 1 2019-02-13 10:47:35 -05:00
Jeremy Bowman
380a24f7ef TE-2689 Remove useless pylint suppressions part 6 2018-08-21 13:54:34 -04:00
Nimisha Asthagiri
2e9efe6472 Fix Certificates import and signals code 2018-01-19 15:12:28 -05:00
Clinton Blackburn
9efa7770f8 Resolved multi-tenant program issues
A site must be passed so the system knows which URL to use to contact
the Discovery Service.
2017-07-25 19:37:14 +05:00
Clinton Blackburn
be02fdb4ae Updated program credential back-population command to account for no-id-professional
This command has been updated to treat professional and no-id-professional
enrollments in the same manner.

ECOM-7442
2017-04-19 11:32:19 -04:00
Renzo Lucioni
e7771148b7 Load all programs from the catalog
This commit contains back end changes necessary to load programs from the catalog in all contexts. The existing program munging utility is applied as late as possible to avoid conflating this work with changes to the front end; those will be made separately.

ECOM-4422
2017-02-06 23:16:29 -05:00
Renzo Lucioni
4027dd8444 Use the catalog for program certificate backpopulation
This command is used to backfill missing program certificates. Formerly, it used the programs service. It now uses the catalog service exclusively.

ECOM-4422
2017-01-31 14:20:49 -05:00
Renzo Lucioni
4391a577c2 Fix program credential backpopulation command
This command was updated to request programs from the catalog, but it wasn't changed to deal with the new response structure. I'm updating all code in the LMS to deal with catalog service responses separately.

ECOM-6900.
2017-01-26 20:40:37 -05:00
Matthew Piatetsky
05b461824e Pull programs from catalog when issuing program credentials
Lays the groundwork for pulling all program data from the catalog.

ECOM-6535
2017-01-20 14:48:43 -05:00
Renzo Lucioni
dbe6dfc2ae Tune program credential backpopulation command
Filter certificates by passing status when looking for users who may be eligible for a program certificate. Doing so dramatically accelerates the query and further reduces the set of targeted users. Part of ECOM-3924.
2016-05-11 22:29:48 -04:00
Renzo Lucioni
c931d4d14b Add management command for backpopulating missing program credentials
This command triggers program certification tasks for any users in the system who may qualify for a program credential. ECOM-3924.
2016-05-11 11:36:48 -04:00