- Apr 28, 2021
-
-
Justin Hynes authored
fix: fix issue where we were not generating a certificate `verify_uuid` when needed
-
David Ormsbee authored
NOTE: This will require a forced backfill of course outlines to update the course content data in learning_sequences: python manage.py cms backfill_course_outlines --force Without this backfill, the learning_sequences API will continue to serve stale content data that has no user partition group data. It won't cause errors, but it won't do the exclusions properly. Commit summary: * Created EnrollmentTrackPartitionGroupsOutlineProcessor to process the enrollment_track User Partition Group, allowing Sequences and Sections to be removed based on their group_access settings. * Added user_partition_groups attribute to CourseLearningSequenceData and CourseSectionData in learning_sequences/data.py, along with backing model data. * get_outline_from_modulestore now extracts group_access settings from Sections and Sequences. It also bubbles up group_access settings from Units, meaning that if a Sequence with no group_access setting has Units that are all set to show only to the Verified enrollment track, then the Sequence will only show to the Verified enrollment track. This commit adds model-level support for all user partition groups by capturing all the content group associations (group_access), but it only implements the code checks for the enrollment track partition. It's not clear that we want to generalize, since there's only one other partition type (A/B testing) that is applicable at the outline level. It's important to note that there is no way to set the group_access for a Section or Sequence in Studio today. It's only possible by direct editing of the OLX for import. That being said, the block structures framework supports applying course groups at this level, and this commit moves learning_sequences closer to feature parity. The bubbling up from Units to the parent Sequence was done to mitigate confusion when a Sequence is entirely composed of Units that are not visible to the user because of content group restrictions. It's not clear whether this is something we want to do in the long term, since it would simplify the code to always specify group_access at the Sequence level. This first pass is done partially to collect better data about places in our courses where this kind of usage is already happening. Most of the EnrollmentTrackPartitionGroupsOutlineProcessor code and its tests were written by @schenedx.
-
Justin Hynes authored
[MICROBA-1181] - change how we determine if we need to generate a verify_uuid for a learner's certificate record
-
Nathan Sprenkle authored
* docs: fix formatting inconsistencies in grade data model docs * docs: add subsection grade override model * docs: add gradebbook info to grades / background * docs: fix formatting issues in grades / background
-
Kyle McCormick authored
Since the ENABLE_COURSEWARE_MICROFRONTEND Django setting was removed, the "View in New Experience" button began to always appear in Legacy courseware for global staff members in *all* environments. This was OK for edx.org's purposes, since the Learning MFE is deployed in all of our production environments. However, many (perhaps most) Lilac Open edX instances will *not* deploy the Learning MFE. So, we need to make sure that this button is not shown by default. Since we cannot programmatically tell from LMS whether or not the Learning MFE is deployed, we will depend on the value of the `courseware.microfrontend_course_team_preview` flag, which is already being used to decide whether course staff can see the "View in New Experience" button. Whether or not the button is shown, global staff will still be permitted to browse courses in the Learning MFE if it is deployed. https://github.com/openedx/build-test-release-wg/issues/49
-
Zachary Hancock authored
-
Christie Rice authored
DEPR-140 MICROBA-985
-
edX cache uploader bot authored
-
Justin Hynes authored
fix: Clean up old errors from certificate records now in `downloadable` status
-
Matthew Piatetsky authored
[AA-721] Add necessary data for new progress page
-
edX requirements bot authored
-
- Apr 27, 2021
-
-
stvn authored
* Commits: feat: Add support for legacy discussions settings to API test: Add CourseFactory to discussions API tests
-
Justin Hynes authored
* Change order of object Manager declarations in the GeneratedCertificate model. Declaration order matters and It appears that having the "base" `objects` declaration after the other Custom Managers creates an issue where I cannot access `objects` in a migration without this change. * As part of the manager migration there is a cleanup function that resets the `error_reason` field to an empty string for all certificates in the `downloadable` state that currently have an error listed in the record.
-
stvn authored
-
stvn authored
-
Olivia Ruiz-Knott authored
perf: move notify_credentials to a celery task
-
Binod Pant authored
* fix:
Correctly check that saml provider is available using tpa_hint in next param This fixes the issue of 404 when an enterprise customer sends a tpa_hint in next, but that param is not correctly checked to disable auth MFE. The hinted login page now works with this change. ENT-4383 * feat: comment update comment update ENT-4383 -
stvn authored
* Commits: feat: Hide lti_configuration from non-LTI discussions providers fix: Update discussions lti_configuration during provider_type change feat: Add helper for discussions configuration to indicate feature support refactor: Remove superfluous dict comprehension
-
Zachary Hancock authored
-
Christie Rice authored
MICROBA-1106
-
Matt Hughes authored
By "useless" due dates I'm specifically talking about due dates which are erroneously set in the course strucutre, but which don't matter because the entire course is self-paced, rather than instructor-paced. JIRA:EDUCATOR-5713
-
Christie Rice authored
MICROBA-1106
-
Hammad Ahmad Waqas authored
Updated account view to accept application/json for the post request.
-
Awais Qureshi authored
refactor: removing Sphinx constraint.
-
HammadAhmadWaqas authored
-
Awais Qureshi authored
Python Requirements Update
-
edX requirements bot authored
-
Awais Qureshi authored
BOM-2191
-
Usama Sadiq authored
-
Usama Sadiq authored
pin pyjwt<2.0.0 version pin social-auth-core<4.1.0
-
- Apr 26, 2021
-
-
Bianca Severino authored
[MST-740] Toggle verification approved emails from ACE
-
Bianca Severino authored
-
oliviaruizknott authored
Before this change, the notify_credentials management command ran for about 10-15 minutes and occasionally overlapped with an edxapp deployment which would cause the machine the command was running on to die. The command ran through a bunch of certs and grades, and then spun off celery tasks to send the relevant data to credentials. Now, most of the logic of the notify_credentials management command has been moved into a new celery task, so that combing through longs lists of certs and grades is done asynchronously. This task then spins off the original data-sending tasks as before. Note that this requires a change in alerting: where the jenkins job would previously notify us about failures, we need to know when this new celery task fails for any reason. We’ve made this a LoggedTask so that failures will be logged to Splunk and alerting can be built off of the error messages. This commit also moves the relevant tests. MICROBA-963
-
Dillon Dumesnil authored
fix: AA-646: Fix is_staff_user check to check for course staff
-
Dillon Dumesnil authored
feat: AA-741: Enables the dates tab for all enrolled learners
-
Justin Hynes authored
docs: Add doc for recent cert revocation changes
-
alangsto authored
Synchronously registering proctored exams while saving content to studio is causing a significant slow down. The function that registers the exams has been moved to an async task. In addition, a signal handler on_course_publish has also been moved to the async task, as it relies on exam registration being complete before being executed.
-
Adam Stankiewicz authored
-
Julia Eskew authored
This PR might be causing e2e tests to fail. Reverting and merging without waiting on tests.
-
Matthew Piatetsky authored
feat: Add new data to course home and progress endpoints to support the progress page certificate status component AA-719
-