- Sep 23, 2020
-
-
Troy Sankey authored
-
- Sep 18, 2020
-
-
Troy Sankey authored
-
- Sep 16, 2020
-
-
Régis Behmo authored
-
Régis Behmo authored
This is part of the changes brought by code-annotations==0.7.0
-
Régis Behmo authored
This annotation is deprecated since code-annotations==0.7.0
-
Régis Behmo authored
Since code-annotations==0.7.0, this annotation is not used anymore.
-
Régis Behmo authored
This takes advantage of the new multiline annotation format with single-line comment prefix, from code-annotations.
-
Régis Behmo authored
-
- Sep 14, 2020
-
-
Régis Behmo authored
Instead of going up the stacktrace to find the module names of waffle flags and switches, we manually pass the module __name__ whenever the flag is created. This is similar to `logging.getLogger(__name__)` standard behaviour. As the waffle classes are used outside of edx-platform, we make the new module_name argument an optional keyword argument. This will change once we pull waffle_utils outside of edx-platform. Note that the module name is normally only required to view the list of existing waffle flags and switches. The module name should not be necessary to verify if a flag is enabled. Thus, maybe it would make sense to create a `add` class methor similar to: class WaffleFlag: @classmethod def add(cls, namespace, flag, module): instance = cls(namespace, flag) cls._class_instances.add((instance, module))
-
- Aug 14, 2020
-
-
Michael Terry authored
This is how the rest of our code seems to treat it, let's be consistent. This is an attempt to fix AA-292.
-
- Aug 06, 2020
-
-
Nizar Mahmoud authored
-
- Jul 22, 2020
-
-
David Ormsbee authored
These are expensive, read-only web requests. Unfortunately, middleware adds writes, and we currently run with view-level transactions enabled by default. Holding those long transactions open has caused extra load on the database and been our largest sources of django.db.utils:OperationError exceptions. This has been particularly noticeable as we start deploying the new Courseware MFE, which uses the BlocksInCourseView more frequently.
-
- Jul 09, 2020
-
-
Robert Raposa authored
This is the final step in removing the deprecated flag_undefined_default as explained by the following ADR: https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst Notes: * All uses of flag_undefined_default=False were always supposed to have been no-ops. * All uses of flag_undefined_default=True that are removed in this PR have been replaced by migrations in past PRs. * The temporary metric temp_flag_default_used id no longer reporting any data. ARCHBOM-1305
-
- Jul 01, 2020
-
-
Dillon Dumesnil authored
This change will prevent Library Content from being marked as complete on view and the corresponding version bump to edx-completion contains code that will start looking at the children of the library content for completeness.
-
- Jun 29, 2020
-
-
Michael Terry authored
- Looks at masquerading config for dates, outline, metadata, and celebration APIs in course_home_api / courseware_api. - Consolidates and cleans up places we check whether masquerading gives us full access to a course.
-
- Jun 23, 2020
-
-
Robert Raposa authored
-
Robert Raposa authored
The temporary waffle flag ENABLE_VIDEO_URL_REWRITE is no longer needed, becaues the rollout is complete. See https://openedx.atlassian.net/browse/PROD-62 ARCHBOM-1304
-
- May 14, 2020
-
-
Dillon Dumesnil authored
It is only referenced inside of the serializers so we can just define it there
-
Dillon Dumesnil authored
We saw an increase in response time with recent changes to the logic behind get_course_assignments. This effort works to better access the information we need in order to improve performance. Namely, this is done by using the course_blocks_api
-
- May 04, 2020
-
-
Dillon Dumesnil authored
-
- May 01, 2020
-
-
Aarif authored
-
- Apr 03, 2020
-
-
Dillon Dumesnil authored
-
- Apr 01, 2020
-
-
Dillon Dumesnil authored
We want to allow staff to see all courses in the LMS. This changes the behavior from staff being treated like an AnonymousUser (unless an username query parameter is provided) to being treated like staff. I also added in some tests for the other paths in this function that did not seem to be tested.
-
- Mar 11, 2020
-
-
adeelehsan authored
Before getting data validate the page number on the current number of pages
-
- Mar 03, 2020
-
-
Michael Terry authored
This is a helpful class when running an experiment, to help bucket users and keep track of which enrollments to consider as part of the experiment. AA-53
-
- Feb 27, 2020
-
-
Robert Raposa authored
-
- Feb 21, 2020
-
-
Calen Pennington authored
-
- Jan 31, 2020
-
-
Robert Raposa authored
Adds a course_ids api that can filter by user role, since the courses api could not perform well enough for this, and returned much more data than we need. Additionally, adds a LazyPageNumberPagination to provide more accurate counts in the pagination response when using LazySequence with the queryset. BOM-897
-
- Jan 29, 2020
-
-
Feanil Patel authored
BOM-1228 The api is already not very performant and trying to limit it to only show courses where you are staff causes the code to iterate over almost all the courses and times out before it returns any results to the user. The plan is to build a different api for the thing we need that will just provide the course IDs for courses where you are staff and sholud be much faster.
-
- Jan 28, 2020
-
-
Dave St.Germain authored
-
Robert Raposa authored
Add newrelic metrics and trace details to determine performance issue in CourseListView. BOM-897
-
- Jan 08, 2020
-
-
aarif authored
made changes to test with previous version of django-waffle updated the query count to test testing with version 0.13 testing with version 0.14 testing with version 0.15 added version 0.14 updated the django-waffle version to use 0.18 updated the django-waffle version to use 0.16 updated the query counts to pass tests ran make upgrade updated the django-waffle to support django 2.2 made changes to test with previous version of django-waffle updated the query count to test testing with version 0.13 testing with version 0.14 testing with version 0.15 added version 0.14 updated the django-waffle version to use 0.18 updated the django-waffle version to use 0.16 updated the query counts to pass tests removed the pdb statements ran make upgrade
-
Alex Dusenbery authored
-
- Dec 30, 2019
-
-
Feanil Patel authored
-
Feanil Patel authored
This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
-
-
- Dec 12, 2019
-
-
Diana Huang authored
iterating over.
-
- Dec 10, 2019
-
-
Diana Huang authored
iterating over.
-
- Nov 07, 2019
-
-
Matthew Piatetsky authored
-
- Nov 06, 2019
-
-
DawoudSheraz authored
-