- Sep 08, 2021
-
-
Albert (AJ) St. Aubin authored
[MICROBA-1466]
-
- Aug 25, 2021
- Aug 19, 2021
-
-
oliviaruizknott authored
Credentials needs the course certificate date override data in a slightly different format than we were passing it before. Fix!
-
- Aug 17, 2021
-
-
oliviaruizknott authored
When sending a GeneratedCertificate to Credentials, send the associated CertificateDateOverride (if there is one), or else None. This will be triggered after any save of a GeneratedCertificate, and after any save or deletion of a single CertificateDateOverride. Credentials will eventually store its own copy of this date override, or edit or remove exiting date overrides.
-
- Aug 11, 2021
-
-
Matt Tuchfarber authored
* refactor: Merge the openedx certs app with lms one Move the certs API from openedx into the lms certificates app. Functionally, this is a no-op. Cleanup will happen in a subsequent commit. This is simply a move.
-
- Aug 02, 2021
-
-
Matt Tuchfarber authored
feat: reimagine certificate display settings The course settings `certificate_available_date` (CAD) and `certificates_display_behavior` (CDB) were previously acting indedependantly of one another. They now work in tandem. This change: - limits CDB to a dropdown - removes "early_with_info" and adds "end_with_date" - only takes CAD into account if "end_with_date" is selected - Moves CDB to the main course schedule settings page - updates CourseOverview model and CourseDetails objects to validate these fields and choose sane defaults if they aren't expected values This work was previously done in bd9e7dd (complete with bugs), so this version is toggleable via the ENABLE_V2_CERT_DISPLAY_SETTINGS setting
-
- Jul 26, 2021
-
-
Thomas Tracy authored
* [fix] Fix certificate available date sync We were syncing the course available date to every course in credentials. Since credentials doesn't understand "self-paced" courses, or course end behaviors, some certificates were time gated incorrectly. This check make sure to check if the course is not self-paced, and has a CDB of 'end' before syncing the CA date.
-
- Jul 21, 2021
-
-
Matt Tuchfarber authored
The `may_certify` function is used to determine whether a learner should be able to see that their certificate is ready. It is therefore entirely in the certificates domain. This remove may_certifiy and may_certify_for_course from the xmodule and course_overview apps and into the certificates app. The xmodule may_certify was not called outside of tests prior to this, and the other's were easily moved. In order to avoid circular imports, this also moved certificate_info_for_user out of the model code and into an API
-
- Jul 07, 2021
-
-
Matt Tuchfarber authored
-
- Jul 06, 2021
-
-
Matt Tuchfarber authored
The course settings `certificate_available_date` (CAD) and `certificates_display_behavior` (CDB) were previously acting indedependantly of one another. They now work in tandem. This change: - limits CDB to a dropdown - removes "early_with_info" and adds "end_with_date" - only takes CAD into account if "end_with_date" is selected - Moves CDB to the main course schedule settings page - updates CourseOverview to validate these fields and choose sane defaults if they aren't expected values Certificates will now show under the following circumstances: "Immediately upon passing" certificate_availability_date = null certificates_display_behavior = "early_no_info" "End date of course" certificate_availability_date = null certificates_display_behavior = "end" "A date after the course end date" certificate_availability_date = <date> certificates_display_behavior = "end_with_date"
-
- Jun 28, 2021
-
-
Albert (AJ) St. Aubin authored
[MICROBA-1307] Before this change a user would not be auto refunded if they had a certificate in a course with any status. This had unintended consequences. This change updates the logic to only block auto refund for statuses that we do not want to refund on such as downloadable.
-
- Jun 09, 2021
-
-
Matt Hughes authored
Sometimes learners have certificates in old course runs which've been deleted. When this happens loading the learner's program progress can result in 500 errors. This corrects those by choosing to count any non-existent course the learner has certificates for as counting towards program completion, effectively assuming that availability dates have passed for all such courses. Also fixes an error with a condition related to how we determine whether an enrolled course is considered "in progress". The previous version of the code had a bug that would result in a lot more courses being marked "in progress" for the purpose of program completion than actually were. JIRA:EDUCATOR-5787
-
- May 27, 2021
-
-
Matt Tuchfarber authored
Program tasks got moved from tasks.v1.tasks.py to just tasks.py, but the mapping was never updated.
-
- May 24, 2021
-
-
Thomas Tracy authored
* [feat] Management command to populate credentials availability date This is a command to populate the new CredentialsCertificate model's available_date for every existing course_run.
-
- May 12, 2021
-
-
Thomas Tracy authored
* [feat] calling course certificates api from LMS Now that CourseCertificates in credentials have a field for the available_date, we need to make sure we are always updating that field when it changes in studio. This PR adds a call to a new Credentials API that will update the field each time the date change signal fires.
-
- May 11, 2021
-
-
Usama Sadiq authored
-
- May 05, 2021
-
-
Albert (AJ) St. Aubin authored
notify_credentials command In this PR we are removing a management command that has performance issues and duplicates logic not available in the notify_credentials management command.
-
- Apr 21, 2021
-
-
Albert (AJ) St. Aubin authored
count [MICROBA-1163] This change will correct an issue in the Program Dashboard where a user would see a course as completed, but not see their Certificate because it was not available to them yet.
-
Justin Hynes authored
[MICROBA-1164] * cast `course_key` as a string when scheduling the `revoke_program_certificates` task * Update existing unit tests * Move test utility method in test_tasks.py out from the middle of the test cases * Fix spelling in test function name
-
- Apr 20, 2021
-
-
Usama Sadiq authored
-
- Mar 22, 2021
-
-
M. Zulqarnain authored
-
- Mar 19, 2021
-
-
Régis Behmo authored
-
- Mar 16, 2021
-
-
Matt Tuchfarber authored
Removes waffle flag restriction for syncing certificate available dates to the credentials service.
-
- Mar 12, 2021
-
-
Matt Tuchfarber authored
-
Matt Tuchfarber authored
Because the available date update to the CourseOverview happens inside a view's signal and we have atomic requests on, the read that was happening inside the task happened *before* the write was commited to the database. To avoid the unknown bugs that would come from disabling atomic transactions for that view (since it's large), this passes the date we want down through the signals and tasks so we can skip the DB read at the end.
-
- Mar 10, 2021
-
-
Matt Tuchfarber authored
I believe there to be a race condition here that only manifests in a non-devstack environment. Adding some logging to better diagnose.
-
- Mar 05, 2021
-
-
Kyle McCormick authored
django-not-configured is an error raised by pylint (with the pylint-django plugin) when it's not correctly configured. We should not be applying lint amnesty for such a violation.
-
- Mar 04, 2021
-
-
Matt Tuchfarber authored
COURSE_CERT_DATE_CHANGE was being called before saving the new data in the course overview. The listeners were expecting to pull the data out of the course overview, and thus were only right about half the time. This moves the signal to trigger after the course publish signals are handled.
-
- Feb 25, 2021
-
-
Justin Hynes authored
-
- Feb 22, 2021
-
-
Aarif authored
-
- Feb 12, 2021
-
-
Matt Tuchfarber authored
The logging text was duplicated from a different function
-
- Feb 10, 2021
-
-
edX requirements bot authored
* Updating Python Requirements * change namespaced_switch_name to name Co-authored-by:
Zulqarnain <muhammad.zulqarnain@arbisoft.com>
-
- Feb 08, 2021
-
-
Matt Tuchfarber authored
In order to better alert off of tasks that failed after maximum retries, this makes the the error for each task consistent with itself.
-
- Feb 04, 2021
-
-
Soban Javed authored
-
M. Zulqarnain authored
-
- Jan 26, 2021
-
-
Christie Rice authored
-
- Dec 17, 2020
-
-
Régis Behmo authored
The learner records feature had to be enabled/disabled via site-specific configuration models, which is inconvenient for platforms that want to disable this feature globally. Here, we introduce a ENABLE_LEARNER_RECORDS feature toggle in the lms/cms settings that makes it possible to disable this feature on all sites. Because this feature toggle is set to True by default, this will not modify the behaviour of existing platforms.
-
- Dec 16, 2020
-
-
Muhammad Soban Javed authored
* Update celery routing - Used routing function instead of class - Move task queues dictionary to Django settings - Removed routing_key parameter - Refactored routing for singleton celery instantiation Co-authored-by:
Awais Qureshi <awais.qureshi@arbisoft.com>
-
- Dec 03, 2020
-
-
Régis Behmo authored
By explicitly importing the legacy namespace classes, we make it clear that we are using soon-to-be-deprecated classes. We will then be able to start removing the legacy classes, one module at a time.
-
- Nov 17, 2020
-
-
Robert Raposa authored
ARCHBOM-1260 Co-authored-by:
Tim McCormack <tmccormack@edx.org>
-