Changelogs » Edx-completion

PyUp Safety actively tracks 232,000 Python packages for vulnerabilities and notifies you when to upgrade.

Edx-completion

3.2.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Adding recursive lookup for children of a vertical to the `vertical_is_complete` method in services.py.
  
  * This was added because verticals containing children that had their own children were not being properly marked
  as complete. Since the vertical was only looking one layer deep, it was possible to have children lower in the tree
  incomplete, but the vertical would still be marked as complete. Now it looks at all leaves under the vertical.

3.1.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Remove unnecessary constraint for edx-drf-extensions<3.0.0

3.1.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Upgrades packages, drops support for Python 2.

3.0.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Fix the package long description to be valid rST, check this in CI.

3.0.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Support tracking completion of XBlocks in any "learning context", such as in
  a content library, and not just in courses. To keep the code clean, this has
  been done as a **breaking change** to the python API. (The API has been
  simplified so that it's generally only necessary to pass in a block key /
  usage key rather than block key + course key.) The REST API is unchanged.

2.1.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Updated credentials for PyPI deployment via token.

2.1.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Switch blocks_to_mark_complete_on_view() to return a list of XBlocks instead of a set.  Many XBlocks aren't hashable;
  the old implementation allowed subtle bugs under Python 2.7 but triggers an immediate error under 3.5.

2.0.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Unpin django-rest-framework requirements. This is a potentially **breaking change** if people were
  relying on this package to ensure the correct version of djangorestframework was being installed.
  * Remove the AUTHORS file and references to it.

1.0.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  * Fix the 403 error occurring for completion-batch API for requests coming from the iOS devices

1.0.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Updated edx-drf-extensions imports. Completion will no longer work with
  outdated versions of edx-drf-extensions.

0.1.14

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Added submit_completion and submit_group_completion methods on
  CompletionService.

0.1.7

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Added can_mark_block_complete_on_view() and blocks_to_mark_complete_on_view()
  methods on CompletionService and renamed get_completion_by_viewing_delay_ms()
  to get_complete_on_view_delay_ms().

0.1.6

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Remove usage of deprecated CourseStructure api.

0.1.5

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Delete enable_visual_progress methods and checks. Deprecate ENABLE_VISUAL_PROGRESS,
  ENABLE_COURSE_VISUAL_PROGRESS, and ENABLE_SITE_VISUAL_PROGRESS waffle flags

0.1.4

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Site configurations must now explicitly disable visual progress for the
  enable_visual_progress() feature gating function to return False early.

0.1.3

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Added some documentation.

0.1.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Fix management of dependency versions

0.1.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Fixes wildly inefficient raw query in BlockCompletion.latest_blocks_completed_all_courses()
  * Updates freezegun version, makes tests that use it somewhat faster.

0.1.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Fixes https://openedx.atlassian.net/browse/EDUCATOR-2540

0.0.11

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Added "subsection-completion/{username}/{course_key}/{subsection_id}" API
  endpoint, to be used with the completion milestones experiment.

0.0.9

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Added "utilities.py", which houses methods for working with BlockCompletion
  data.

0.0.8

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Add model method for superlative “last completed block” - for site awareness
  include every last completed block by course, for later sorting in business
  layer.

0.0.7

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Add settings and service method for determining completion-by-viewing delay.

0.0.6

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Add the additional completion logic into the service and models from edx-platform

0.0.2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Fix up edx-lint requirements shenanigans.

0.0.1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  * Initial release