- Apr 02, 2021
-
-
Awais Jibran authored
-
- Apr 01, 2021
-
-
Awais Jibran authored
-
- Mar 31, 2021
-
-
Awais Jibran authored
* Integrating olxcleaner in course import * Adding toggle removal date and addressing pylint issues.
-
- Mar 30, 2021
-
-
alangsto authored
-
- Mar 25, 2021
-
-
Zainab Amir authored
Currently the registration endpoint has no rate limit. Added a new ratelimit variable to support the change, it's value is set to 60/7d. VAN-302
-
AsadAzam authored
-
- Mar 24, 2021
-
-
Jansen Kantor authored
* Revert "Revert "fix: Stop rendering Visibility and Move buttons on libraries (#26885)" (#27113)" This reverts commit 23443c43. * fix: change method of accessing course id
-
Awais Jibran authored
-
- Mar 23, 2021
-
-
sarina authored
Fixes an issue where the button that linked to edX documentation for course teams in Studio that displayed beside the logged-in user's username/ drop-down menu is gone. Regression from PR #26106 Ref: TNL-8138
-
Raul Gallegos authored
Fixes bug introduced by #25965 (commit dd96a2) pointed out in: https://github.com/edx/edx-platform/commit/dd96a2#r48570091 The next button redirect at the top of the sequence in Studio's Unit editing view was not going to the correct location.
-
Jansen Kantor authored
This reverts commit 777bb633.
-
- Mar 22, 2021
-
-
Daniel Francis authored
We're fixing an error that appears when you click the "edit access" button on an XBlock in the library page. Libraries in the "Add library" page shouldn't have the accessibility config icon. Access settings for libraries are changed at the top, on Settings > User Access. When clicking the access-button (the cog) on a Library, an error appears. This is known to happen on koa.master and open-release/juniper.3. This happens due to the way XBlocks are rendered; as they get rendered initially, the previews are unaware of whether they're part of a library. We can confirm this by refreshing the page, this makes the button disappear. This fix removes the cogwheel when the XBlock is part of a library. This doesn't affect the XBlocks imported to courses because those are rendered on a Randomized Content XBlock, which does have its access options. Authored by: Daniel Francis <daniel.francis@opencraft.com>
-
Awais Jibran authored
-
- Mar 19, 2021
-
-
Usama Sadiq authored
-
Shimul Chowdhury authored
site configuration to email context.
-
- Mar 18, 2021
-
-
Awais Jibran authored
-
AsadAzam authored
* Improved logging for import * Refactored code * Refactored code * Refactored code * Refactored code * Refactored code * refactored code * Refactored code * Updating log Co-authored-by:
Awais Jibran <awaisdar001@gmail.com>
-
- Mar 17, 2021
-
-
Matthew Piatetsky authored
-
- Mar 16, 2021
-
-
Matthew Piatetsky authored
AA-461
-
- Mar 15, 2021
-
-
Awais Qureshi authored
tests are failings and complaining related objects doest not exists in User table. Create object in test setup to fix it. In another fix article id was giving integrity error. Fixing task test.
-
Awais Qureshi authored
tests are failings and complaining related objects doest not exists in User table. Create object in test setup to fix it. In another fix article id was giving integrity error. Fixing task test.
-
Arslan Ashraf authored
-
David Ormsbee authored
* Introduces the idea of content errors into the learning_sequences public API, accessible using get_content_errors(). * Makes course outline generation much more resilient to unusual structures (e.g. Section -> Unit with no Sequence in between), with the understanding that anything that doesn't conform to the standard structure will simply be skipped. * Improves the Django Admin for learning_sequences to display content errors and improve sequence data browsing within a course. * Switches the main table viewed in the Django admin from LearningContext to CourseContext, which is appropriate since only course runs generate outlines. This was done as part of TNL-8057, with the end goal of making course outline generation resilient enough to switch over apps to using the learning_sequences outline API. The types of course structure errors that this PR addresses cause display issues even in the current Outline Page experience, but would break the outline generation for learning_sequences altogether. The approach for error messages here is very generic, to keep modulestore concepts from seeping into learning_sequences (which is not aware of the modulestore/contentstore). We may need to address this later, with a more normalized content error data model. While the Django admin page is backwards compatible with the old versions of the models, we should run the backfill_course_outlines management command after deploying this change, to get the full benefits.
-
David Ormsbee authored
Adding new functionality is going to require running this command on all courses, not just ones that have it missing.
-
- Mar 12, 2021
-
-
Matthew Piatetsky authored
-
- Mar 11, 2021
-
-
Usman Khalid authored
In https://github.com/edx/edx-platform/pull/25955 `HiddenDescriptor` (which was a subclass of `RawDescriptor` with a custom `student_view()`) was converted to an XBlock. It is used as the `default_class` by the `CachingDescriptorSystem` classes. However `RawDescriptor` is still being used by `XMLModuleStore`. This has been replaced by `HiddenDescriptor` as well.
-
David Ormsbee authored
The Studio UI prevents you from creating a Section or Subsection with no title (display_name). But OLX import allows you to bypass these checks and create Sections ("chapter" tag) and Subsections ("sequential" tag) without display_name information specified in the XML. When this happens, Studio and the LMS fall back to using the url_name (the last part of the UsageKey) as a title, using the display_name_with_default method. This usually works, because url_names are derived from the import file name, and if you're hand-editing a course in XML, your file names are probably more intelligible than Mongo object IDs. In any case, this commit updates get_outline_from_modulestore to match the behavior of Studio and the LMS with respect to this situation. This is part of the course outlines backfill rollout. TNL-8056
-
- Mar 09, 2021
-
-
Dillon Dumesnil authored
If we are seeing an anonymous user, but the segment user id is still set, we believe the segment user id is coming from a different user on the same machine. This will make sure we clear out that storage and then the indentify call will make a new anonymous id
-
David Ormsbee authored
* Adds the backfill_course_outlines management command to contentstore * Adds a read-only Django admin interface to learning_sequences for the support team and debugging. * Adds two new functions to the learning_sequences public API: key_supports_outlines and get_course_keys_with_outlines The learning_sequences app isn't supposed to know about contentstore or modulestore, as it's intended to be extracted out of edx-platform in the long term. Therefore, the backfill_course_outlines command is in contentstore, and not learning_sequences. This work was tracked in TNL-7983, but it also fixes a bug where we were trying to generate course outlines for libraries (TNL-7981). All Open edX instances upgrading to Lilac should run the backfill_course_outlines command as part of their upgrade process.
-
- Mar 08, 2021
-
-
Matthew Piatetsky authored
The terraform policy for the export is already attached to the worker role AA-461
-
Kyle McCormick authored
The setting overrides should've been cleaned up in a previous commit, but I missed them. This change is a no-op.
-
Kyle McCormick authored
Previously, deprecated [lms|cms|common]/djangoapps import paths would only raise errors if the ERROR_ON_DEPRECATED_EDX_PLATFORM_IMPORTS flag, which defaulted to False (but is overriden to True for Devstack and *.edx.org), was enabled. This change removes that setting and always raises on use those deprecated import paths.
-
Kyle McCormick authored
S3 URLs served by Blockstore have a max TTL of 1hr, since the temporary credentials the Blockstore uses to sign the URLs themselves have a TTL of 1hr. Thus, we must cache Blockstore bundles for less than 1hr. TNL-7771
-
- Mar 05, 2021
-
-
Matthew Piatetsky authored
-
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.
-
M. Zulqarnain authored
* pyupgrade on contentstore/views * Apply suggestions from code review Co-authored-by:
Usama Sadiq <usama.sadiq@arbisoft.com> Co-authored-by:
Usama Sadiq <usama.sadiq@arbisoft.com>
-
Sid Verma authored
-
- Mar 04, 2021
-
-
Matthew Piatetsky authored
Things other than highlights may be exported in the future. The storage class is flexible so backends other than s3 may be used in the future. AA-461
-
M. Zulqarnain authored
* pyupgrade on cms api,contentstore and cms_user_tasks apps
-
M. Zulqarnain authored
* pyupgrade on contentstore/tests
-