Skip to content
Snippets Groups Projects
  1. Sep 08, 2021
  2. Aug 25, 2021
  3. Aug 19, 2021
  4. Aug 17, 2021
    • oliviaruizknott's avatar
      feat: Send date override to credentials · e9902965
      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.
      e9902965
  5. Aug 11, 2021
  6. Aug 02, 2021
    • Matt Tuchfarber's avatar
      Certificate Display Settings revamp (round 2) (#28286) · 622d5602
      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
  7. Jul 26, 2021
    • Thomas Tracy's avatar
      [fix] Fix certificate available date sync (#28275) · 666f1dad
      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.
  8. Jul 21, 2021
    • Matt Tuchfarber's avatar
      refactor: Move cert code to cert app · d16c9a80
      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
      d16c9a80
  9. Jul 07, 2021
  10. Jul 06, 2021
    • Matt Tuchfarber's avatar
      feat: reimagine certificate display settings · 2a7106ac
      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"
      2a7106ac
  11. Jun 28, 2021
    • Albert (AJ) St. Aubin's avatar
      fix: Corrects issue with refund logic and certificates. · b2316956
      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.
      b2316956
  12. Jun 09, 2021
    • Matt Hughes's avatar
      fix: deleted courses do not break program details page · 8023a091
      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
      8023a091
  13. May 27, 2021
  14. May 24, 2021
  15. May 12, 2021
    • Thomas Tracy's avatar
      MB-1167: calling course certificates api from LMS (#27552) · 84c95394
      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.
  16. May 11, 2021
  17. May 05, 2021
  18. Apr 21, 2021
  19. Apr 20, 2021
  20. Mar 22, 2021
  21. Mar 19, 2021
  22. Mar 16, 2021
  23. Mar 12, 2021
    • Matt Tuchfarber's avatar
      fix tests · a82489db
      Matt Tuchfarber authored
      a82489db
    • Matt Tuchfarber's avatar
      fix: Pass date in cert date update signal · 7dd4a2b6
      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.
      7dd4a2b6
  24. Mar 10, 2021
  25. Mar 05, 2021
  26. Mar 04, 2021
    • Matt Tuchfarber's avatar
      Move cert date signals to avoid race conditions · 6c97dfe1
      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.
      6c97dfe1
  27. Feb 25, 2021
  28. Feb 22, 2021
  29. Feb 12, 2021
  30. Feb 10, 2021
  31. Feb 08, 2021
  32. Feb 04, 2021
  33. Jan 26, 2021
  34. Dec 17, 2020
    • Régis Behmo's avatar
      Add default value for learner records feature toggle in settings · bd038bab
      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.
      bd038bab
  35. Dec 16, 2020
  36. Dec 03, 2020
    • Régis Behmo's avatar
      Start waffle namespace deprecation · a16cd710
      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.
      a16cd710
  37. Nov 17, 2020
Loading