Commit Graph

11 Commits

Author SHA1 Message Date
Matthew Piatetsky
f294b1a374 fix unicode strings in openedx/ part 1 2019-02-13 10:47:35 -05:00
cclauss
8fca11b85c Use print() function in both Python 2 and Python 3 2019-01-13 17:16:37 +01:00
Michael Youngstrom
0ec4232cb5 Ensure we are starting at 0 when counting mongo queries 2018-09-25 14:43:50 -04:00
Bill DeRusha
cce8a53ba9 Add logging to signal and flag to mgmt cmd for credential grades 2018-08-28 09:19:19 -04:00
Michael Terry
6f7b19b6bf Let notify_credentials get args from db
To allow the notify_credentials management command to run from a
jenkins job, we want to allow the command to pull its arguments
from the database, rather than the jenkins interface.

So this adds a table that admins can adjust in the DB and a new
argument for notify_credentials to tell it to go look there.

LEARNER-6196
LEARNER-6197
2018-08-20 11:57:34 -04:00
Michael Terry
3222d3fd13 Site config flag for Learner Records
Allow site admins to disable integration for the Learner Records
feature in Credentials.

LEARNER-5987
2018-07-30 16:18:24 -04:00
Michael Terry
33590483e2 Delay less in notify_credentials 2018-07-12 17:09:01 -04:00
Michael Terry
eded3c1322 Only notify credentials of course certs
When notifying credentials of cert/grade changes using
notify_credentials, don't worry about signaling for program cert
awards. (A) We don't need that functionality right now when
backpopulating credentials records, and (B) we have other management
commands for that anyway.
2018-07-10 14:23:49 -04:00
Michael Terry
86e79c59ed Paginate notify_credentials queries
Avoid blowing up on the giant queries that notify_credentials does by
paginating the queries before we resolve them.
2018-07-09 16:06:52 -04:00
Michael Terry
f98415377d Avoid flattening a queryset
notify_credentials was flattening a queryset when it shouldn't have,
which was exploding a large query all into memory. Hopefully this will
help with that.
2018-07-05 16:36:42 -04:00
Michael Terry
a9c7e55bb8 Add notify_credentials mgmt command
This command will trigger old data about certificates or grades to
be sent to the Credentials service, for initial population or if
something goes wrong and we need to cover a downtime gap.

LEARNER-5378
2018-06-27 14:45:26 -04:00