- Aug 11, 2021
-
-
Ken Clary authored
We add 'courserun_key' (aka "course_id" though that's technically a misnomer) as an optional parameter to the /event endpoint url. If it is not present, it will still be parsed out of the url, if the url is of the right format. Additionally, Logger.log() in js adds this parameter to its /event call, pulling it from the $$course_id global. This provides opportunity for MFEs to (separately) provide the key without concern about url parsing. TNL-7752
-
Thomas Tracy authored
* MB-1192: [feat] Add course ended, not passing If a student has not passed a course, the course has ended, and they have a verified seat, we want to show them a message at a glance on the dashboard.
-
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 10, 2021
-
-
Christie Rice authored
Beta testers can’t earn course certificates, so they should not see a “Request Certificate” button or other info describing how they can earn a cert. MICROBA-992
-
- Aug 09, 2021
-
-
Robert Raposa authored
Revert "MB-1192: [feat] Add course ended, not passing certificate status to dashboard messaging (#28405)" (#28426) This reverts commit 35d9330c.
-
Thomas Tracy authored
* [feat] Add course over, not passing status to dash If a student has not passed a course, the course has ended, and they have a verified seat, we want to show them a message at a glance on the dashboard.
-
- Aug 05, 2021
-
-
Manjinder Singh authored
-
Braden MacDonald authored
Does 3 things: (1) Use django for modulestore tests (2) Use normal LMS settings for modulestore tests instead of openedx/tests/settings.py (3) Simplify some TestCase subclasses by converting them to use ModuleStoreTestCase Details and rationale: (1) Currently parts of the modulestore test suite are designed to run "without django", although there is still a lot of django functionality imported at times, and many of the tests do in fact use django. But for the upcoming PR #27565 (moving split's course indexes from MongoDB to MySQL), we will need to always have Django enabled. So this commit paves the way for that change. (2) The previous tests that did use Django used a special settings file, openedx/tests/settings.py which made some debugging confusing because those tests had quite different django settings than other tests. This change deletes that file and runs the tests using the LMS test settings. (3) The test suite also contains many different ways of initializing and testing a modulestore, with significant differences in their configuration, and also a lot of repetition. I find this makes understanding, debugging and writing tests more difficult. So this commit also reduces the number of different "test case using modulestore" base classes: * Simplifies MixedWithOptionsTestCase and MixedSplitTestCase by making them simple subclasses of ModuleStoreTestCase. * Removes PureModulestoreTestCase.
-
Braden MacDonald authored
-
Braden MacDonald authored
Some actions in split modulestore record the user ID who requested the action. Currently, split modulestore doesn't care what data type you use for those user IDs. Most of the codebase uses integers, but some tests used username or email address strings. My upcoming PR #27565 will move split modulestore's "course index" data from MongoDB into MySQL. In doing so, it requires that user IDs are always numeric. So this PR paves the way for that one by using numeric IDs consistently in all test cases. I believe the actual non-test code was already consistently using integer IDs.
-
edX cache uploader bot authored
-
Ken Clary authored
We add 'courserun_key' (aka "course_id" though that's technically a misnomer) as an optional parameter to the /event endpoint url. If it is not present, it will still be parsed out of the url, if the url is of the right format. Additionally, Logger.log() in js adds this parameter to its /event call, pulling it from the $$course_id global. This provides opportunity for MFEs to (separately) provide the key without concern about url parsing. TNL-7752
-
- Aug 04, 2021
-
-
Justin Hynes authored
[MICROBA-1354] * Update Python API function named `cert_generated_enabled` to `has_self_generated_certificates_enabled` to more accurately reflect the purpose of the function
- Aug 03, 2021
-
-
Michael Terry authored
If a content library xblock does not specify a library id, we previously would error out when importing, due to some cleanup code that wasn't accounting for this case.
-
Awais Qureshi authored
* chore: Removed python_2_unicode_compatible decorator.
-
- Aug 02, 2021
-
-
Christie Rice authored
MICROBA-678
-
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
-
Christie Rice authored
MICROBA-1410
-
edX cache uploader bot authored
-
- Jul 30, 2021
-
-
Ken Clary authored
We add 'courserun_key' (aka "course_id" though that's technically a misnomer) as an optional parameter to the /event endpoint url. If it is not present, it will still be parsed out of the url, if the url is of the right format. Additionally, Logger.log() in js adds this parameter to its /event call, pulling it from the $$course_id global. This provides opportunity for MFEs to (separately) provide the key without concern about url parsing. TNL-7752
-
Christie Rice authored
This model has been replaced by the CertificateAllowlist. MICROBA-1304
-
Ken Clary authored
We add 'courserun_key' (aka "course_id" though that's technically a misnomer) as an optional parameter to the /event endpoint url. If it is not present, it will still be parsed out of the url, if the url is of the right format. Additionally, Logger.log() in js adds this parameter to its /event call, pulling it from the $$course_id global. This provides opportunity for MFEs to (separately) provide the key without concern about url parsing. TNL-7752
-
- Jul 29, 2021
-
-
Christie Rice authored
This model has been replaced by the CertificateAllowlist. MICROBA-1304
-
- Jul 28, 2021
-
-
edX cache uploader bot authored
- Jul 27, 2021
-
-
=Awais Jibran authored
-
- Jul 26, 2021
-
-
Sofia Yoon authored
feat: AA-883 basic prototype for custom pacing pls in studio refactor: merge with basic prototype for self paced courses from AA-844 feat: add due date estimate message in self paced courses studio modal refactor: merge with main that has up to date self paced custom pls editor and tests fix: only display projected date if start date exists fix: tests to check grading date in outline fix: only one warning message show at a time fix: do not show projected date when it is before the start date
-
Awais Qureshi authored
Execute the codemodes.
-
Andy Shultz authored
This completes the removal of unused fields in exam attempt, so the migration test skip is no longer necessary.
-
- Jul 24, 2021
-
-
edX cache uploader bot authored
-
- Jul 23, 2021
-
-
Talia authored
feat: add boolean field to third_party_auth to be used to remove providers from enterprise selection
-
Usama Sadiq authored
Disabled pylint warnings in pylint_tweaks
-
- Jul 22, 2021
-
-
connorhaugh authored
Problem blocks offer a setting to make users wait a set time between submissions. If a course is not authored in studio, it might not set a value for this setting. Consequently, the problem block must handle the submission_wait_seconds field to be none, so it doesn't break the submitted responses. These kinds of errors here will prevent learners from submitting any answer, and has for several learners. Adding in this one-line change will prevent future errors without having to change the authoring practices of those ambitious enough to write their courses with import. This also catches the case that some internal process other than studio might be creating problems with "none" as the setting. In response to TNL-8234 Testing: hand-testing by importing the following problem xml file within a course and attempting to answer as learner(answer is 10.4).
-
Piotr Surowiec authored
When a sequence title was unavailable for a user (e.g. before starting a timed exam), the `None` value was displayed in course breadcrumbs. This hides it in such cases and ensures that a trailing breadcrumb separator is not displayed.
-
- 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
-
connorhaugh authored
Instead of having json errors in transcript acquisition and conversion cause errors, have transcription conversion and acquisition simply return an error message in the transcription which can prompt a change from the user. Although not uploading a transcript is handled, transcripts can often cause errors in edit, export, and other activities due to json errors. These errors block the entire use of these features, so to allow for reupload, etc, we add an error message instead of transcript and log the event. In response to [TNL-8539](https://openedx.atlassian.net/secure/RapidBoard.jspa?rapidView=580&projectKey=TNL&modal=detail&selectedIssue=TNL-8539) Testing: Unit tests coverage is included in the PR. Upload, import, and export of courses with transcriptions is also easily hand-testable. Just create a video in studio, add an irrelevant transcript. Then try to import, export, and edit the problem. Expected behavior is success.
-
David Ormsbee authored
This is to help diagnose performance issues around the SequenceMetadata API, as part of TNL-8330.
-
Albert (AJ) St. Aubin authored
that did not generate certs