Commit Graph

776 Commits

Author SHA1 Message Date
edX requirements bot
c09d226b24 chore: Updating Python Requirements (#28375) 2021-08-03 12:34:51 +05:00
edX requirements bot
5d64b6bf3d chore: Updating Python Requirements (#28227) 2021-07-20 11:03:37 +05:00
edX requirements bot
2bf176d523 chore: Updating Python Requirements (#28055) 2021-06-29 12:22:47 +05:00
Kshitij Sobti
b083ad13d6 refactor: Move CourseEditLTIFieldsEnabledFlag to xblock-lti-consumer (#27529) 2021-06-24 14:31:50 +05:00
Julia Eskew
47b37ed191 Revert "fix: Disable column-statistics during mysqldump command."
This reverts commit b84e8937ff.
2021-06-10 16:30:08 -04:00
Julia Eskew
b84e8937ff fix: Disable column-statistics during mysqldump command. This option
was recently enabled by default in mysqldump, but the generation of
histogram statistics fails in devstack during this script's mysqldump
commands. The SQL statement and output of the failure:

mysql> SELECT \
COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') \
FROM information_schema.COLUMN_STATISTICS \
WHERE \
SCHEMA_NAME = 'edxtest' AND \
TABLE_NAME = 'agreements_integritysignature';
ERROR 1109 (42S02): Unknown table 'COLUMN_STATISTICS' in information_schema
2021-06-10 12:21:24 -04:00
Aarif
58a54f8d0b BOM-2543: Remove the diff-quality step from quality checks (#27619)
* build: Removed the diff-quality step
Applied lint-amnesty on all the warnings
Removed pylint thresholds comparison code and related tests

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2021-06-07 18:37:06 +05:00
edX requirements bot
01408d986e Updating Python Requirements (#27778) 2021-05-31 11:44:46 +05:00
edX requirements bot
5d69d858e2 Updating Python Requirements (#27740) 2021-05-27 12:27:37 +05:00
stvn
2f2355b705 build: add script to list installed XBlocks
Story
=====
As an XBlock developer,
I want to know which XBlocks are installed
so I can debug (and know which to add to Advanced Settings in Studio).

Testing
=======
- `make studio-shell`
- `python scripts/xblock/list-installed.py`

Integration
===========
I plan to invoke this from `devstack` (after installing XBlocks).

Tickets
=======
Fixes CENG-95
Fixes stvstnfrd/openedx-meta#153
2021-05-26 15:02:22 -07:00
edX requirements bot
acb106c913 chore: Updating Python Requirements 2021-05-17 03:15:59 -04:00
Usama Sadiq
4f4be6538a BOM-2477: pylint warnings lint-amnesty (#27585) 2021-05-11 17:22:40 +05:00
Usama Sadiq
a597f1c783 refactor: ran pyupgrade second iteration (#27463) 2021-05-11 15:19:48 +05:00
Ali-D-Akbar
3da5198a5f chore: updating thresholds after security fixes #27391 2021-04-22 13:43:03 +05:00
Kyle McCormick
4531e15519 refactor!: stop using import_shims
Attempting to import packages from
lms/djangoapps, cms/djangoapps, or common/djangoapps
as if they are import roots will now
simply raise ImportErrors (like any other invalid
import) instead of DeprecatedEdxPlatformImportError.

See docs/decisions/0007-sys-path-modification-removal.rst
for more details.
2021-04-12 09:43:59 -04:00
Jawayria
96e1bffc97 Refactor: Removed unused imports
Removed unused imports from docs, scripts, pavelib
2021-04-09 16:03:53 +05:00
Azan Bin Zahid
705253e20a chore: update thresholds after IM security fixes 10 2021-04-06 15:40:04 +05:00
edX requirements bot
3decc70c47 Updating Python Requirements (#27019) 2021-03-16 14:11:32 +05:00
M. Zulqarnain
2c44315ce0 refactor: pyupgrade on pavelib & scripts (#26769) 2021-03-12 14:14:53 +05:00
Ali-D-Akbar
bea2b12095 update thresholds after IM security fixes 9 2021-02-17 14:58:33 +05:00
usamasadiq
eb0f44a135 Lower the pylint threshold to 200 2021-02-10 18:15:10 +05:00
usamasadiq
1e2aa1dec5 Apply manesty to convention warnings 2021-02-09 17:09:19 +05:00
Ali Akbar
280829705a Merge pull request #26433 from edx/IM/security-fixes-8-thresholds
Update Thresholds
2021-02-09 10:53:42 +05:00
usamasadiq
ab678daaa5 Lower down pylint error thresholds 2021-02-09 00:15:33 +05:00
Ali-D-Akbar
da1330de9e update thresholds after IM security fixes 8 2021-02-08 22:27:21 +05:00
Ali Akbar
966d7ec785 Merge pull request #26361 from edx/IM/security-fixes-7-thresholds
update thresolds after IM security fixes 7
2021-02-04 10:38:45 +05:00
Aarif
6af99e64bf replaced unittest assertions pytest assertions (#26270) 2021-02-04 10:08:39 +05:00
Ali-D-Akbar
05bc0b9273 update thresolds after IM security fixes 7 2021-02-04 09:50:20 +05:00
usamasadiq
144a16f424 Lower the pylint_error_threshold to 4000 2021-02-03 19:38:29 +05:00
usamasadiq
96bb6657a5 Lower the UPPER_PYLINT_THRESHOLD to 5900 2021-02-02 17:23:16 +05:00
Ali-D-Akbar
5daea1401e update threshold after IM security fixes 6 2021-02-01 12:50:26 +05:00
edX requirements bot
761e470b30 Updating Python Requirements (#26184) 2021-01-27 12:32:20 +05:00
Ali-D-Akbar
4f2db21363 update thresholds after IM security fixes 5 2021-01-20 00:36:37 +05:00
Ali-D-Akbar
aa6da77c4e update thresholds after IM security fixes 4 2021-01-11 15:02:29 +05:00
Ali Akbar
40fdf46f81 update after IM security fixes 3 (#25983) 2021-01-05 16:12:05 +05:00
Diana Huang
f6085e5139 Bump threshold limits due to previously broken pylint. 2020-12-22 11:12:27 -05:00
edX requirements bot
73a819a40b Updating Python Requirements 2020-12-17 02:54:05 -05:00
Tim McCormack
edeabc3faf Add --summary-format=json option to XSS linter (#25851)
This will simplify updating of the linter thresholds file after XSS linter
violations are addressed.
2020-12-11 12:34:04 +00:00
Ali-D-Akbar
bd13b59254 match the defined thresholds with the current violations on master 2020-12-11 02:06:09 +05:00
David Joy
a9f1a03787 Pin requirements to temporarily fix instructor task registration (#25787)
* Pin requirements to temporarily fix instructor task registration

We ran into an issue where instructor tasks were not being registered with celery correctly, resulting in: https://openedx.atlassian.net/browse/CR-2982

The cause wasn’t clear, so we started reverting some recent, suspect PRs.  When we reverted #25746, the issue went away.

The revert PR was this one: https://github.com/edx/edx-platform/pull/25766

So that we can unpause our deployment pipelines, we’re temporarily pinning the versions of the four packages upgraded in #25746 so we can continue to investigate.

* Result of make upgrade, propagating constraints out to other requirements files
2020-12-07 12:48:23 -05:00
edX requirements bot
10b92eed17 Updating Python Requirements 2020-11-12 23:46:29 -05:00
edX requirements bot
9c22e31d0d Updating Python Requirements (#25578) 2020-11-12 11:28:14 +05:00
Kyle McCormick
151bd13666 Use full names for common.djangoapps imports; warn when using old style (#25477)
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
edX requirements bot
5f69024bed Updating Python Requirements 2020-11-10 02:29:56 -05:00
Dillon Dumesnil
6b16fcd9b3 AA-393: Update Next Section Logic
Inside content_highlights.py, we had code to calculate due dates
for when there isn't graded content, but we could only reach that
code path if the user had an assignment with a due date at the
target date. Now we will check for all learners who could be in
range of having an update and let the code in content_highlights.py
decide if a highlight should be sent
2020-10-30 15:02:03 -04:00
Tim McCormack
644963255c Move toggle annotation invocation to a Jenkins job (#25484)
There wasn't any reason for this to be in edx-platform in particular.

See https://github.com/edx/jenkins-job-dsl-internal/pull/444 -- we can
run `make requirements; pip install -e .` in a code-annotations
virtualenv and point it at each IDA in turn to generate reports for all of them.

ARCHBOM-1583
2020-10-30 13:35:45 +00:00
Aarif
1a31236404 updated config to use mysql 5.7 container (#25362) 2020-10-29 21:51:39 +05:00
Michael Terry
a4bd5a7ec9 AA-197: Provide cert upgrade info to learning MFE
Specifically, pass the MFE the audit access expiration date and
let it know when the upgrade deadline has passed, by not passing
any verified mode information along.
2020-10-27 09:05:12 -04:00
Jeff Chaves
d25d4038fd ENT-3460: updating usage of EnterpriseCustomerBrandingConfiguration, edx-enterprise 3.8.42 (#25376)
* bumping enterprise version

* adding pillow constraint

* updating usage of EnterpriseCustomerBrandingConfiguration
2020-10-19 16:42:16 -04:00
Jeremy Bowman
d19368525b DEPR-43 Remove most of the shoppingcart app (#24692)
Removed most of the deprecated shoppingcart app, leaving just enough to allow us to cleanly remove the related database tables later. Also removed the relevant Django settings that weren't in use elsewhere.
2020-10-14 14:24:52 -04:00