- Dec 30, 2019
-
-
Jeremy Bowman authored
-
edX cache uploader bot authored
-
Jeremy Bowman authored
In the script used to create the bok-choy database cache files, we've been passing in the parameters to omit timestamps that change for every run in some of the mysqldump commands but not all of them. Use them consistently so we can stop creating new redundant automated bok-choy DB cache PRs on almost every merge to edx-platform.
-
David Ormsbee authored
Safer CourseOverview.org filed matching
-
Feanil Patel authored
Lower the pylint threshold.
-
Feanil Patel authored
We fixed various deprecation warnings as part of BOM-1024
-
Feanil Patel authored
Fix all E303 pep8 errors.
-
Feanil Patel authored
-
Feanil Patel authored
-
Feanil Patel authored
Run `2to3 -f asserts . -w` on edx-platform.
-
Feanil Patel authored
-
Feanil Patel authored
Run `2to3 -f future . -w`
-
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
-
-
Awais Qureshi authored
BOM-1117
-
edX cache uploader bot authored
-
Feanil Patel authored
Python Requirements Update
-
Jeremy Bowman authored
Fix the issue that was preventing us from upgrading pytest. pytest does some manipulation of test packages that prevents `pkg_resources` from loading resources from them, but used to contain a workaround for the problem. That workaround was [removed](https://github.com/pytest-dev/pytest/issues/5392) in 4.6.0 as a performance enhancement when pytest switched from `pkg_resources` to `importlib-metadata` for its own entrypoint handling. This tripped up one of our test modules which defined classes that loaded templates from inside a test package. Moving these resources to the parent package fixes the problem. More and more, `pkg_resources` is being abandoned in favor of `importlib-metadata` and `importlib_resources` as they have a simpler design with much better performance. However, `importlib_resources` doesn't support loading files from any directory which isn't itself a Python package (and doesn't allow direct use of paths including directories within the package). Jinja2 chose a [different approach](https://github.com/pallets/jinja/pull/1082) that we may want to emulate in our resource handling. Also fixed usage of a removed `pytest.raises()` parameter and a bug in our configuration of the `common/lib` tests that became a problem after the upgrade.
-
Awais Qureshi authored
Specifying a namespace in django.conf.urls.include() without providing an app_name is deprecated. Adding the app_name attribute in the included module.
-
edX requirements bot authored
-
Awais Qureshi authored
BOM-1124
-
Zainab Amir authored
etree.tostring returns bytes instead of string which when converted back to XML, to be rendered as etree element, presents stray characters. PROD-1116
-
Zaman Afzal authored
-
edX Transifex Bot authored
-
Omar Al-Ithawi authored
Regular expressions are harder to read and debug
-
- Dec 27, 2019
-
-
Awais Qureshi authored
Direct assignment to the forward side of a many-to-many set is deprecated Fixing this issue.
-
Feanil Patel authored
Remove unused screenshots.
-
Feanil Patel authored
Don't try to typset mathjax if Hub has not loaded.
-
Jeremy Bowman authored
-
Feanil Patel authored
-
David Ormsbee authored
SE-1071 send user_logged_in signal from my_user_info
-
Feanil Patel authored
BB-1744: Remove flaky test related to MockS3Mixin [FOLLOW-UP]
-
Feanil Patel authored
We don't need this anymore.
-
edX cache uploader bot authored
-
Giovanni Cimolin da Silva authored
The MockS3Mixin prevents the correct setup of the ModuleStoreTestCase and made this test fail. Since the fix for this wasn't trivial, this test was skipped on python 3, and now is removed.
-
- Dec 26, 2019
-
-
Samuel Walladge authored
A user's last logged in value previously wasn't updated when the user logs in through the oauth2 flow from the ios mobile app. Here we must send the user_logged_in signal manually. It's implemented in the my_user_info mobile rest api endpoint because adding it to where the oauth2 flow happens is to complex, and the mobile app hits this endpoint after a successful login anyway.
-
edX cache uploader bot authored
-
Jeremy Bowman authored
-
Feanil Patel authored
In our tests there are times when Mathjax has been initialized but Hub is still undefied. In this case don't queue up typesetting.
-
Feanil Patel authored
Make a change to cause tests to run.
-