Commit Graph

57761 Commits

Author SHA1 Message Date
Jawayria
e4cff58bed BOM-2351: Removed unused imports from common/djangoapps/{track, util} 2021-02-23 19:31:57 +05:00
M. Zulqarnain
42fc6aef03 Upgrade django-ipware (#24827) 2021-02-23 18:14:17 +05:00
Adeel Ehsan
40ece9ea9b Merge pull request #26631 from edx/aehsan/van-319/added_authn_mfe_url_in_recover_account_command
authn mfe url added in recover account command
2021-02-23 17:51:39 +05:00
Jawayria
4303e5c77a Merge pull request #26559 from edx/jawayria/bom-2352-5
BOM-2352: Removed unused imports from lms/djangoapps/{email_marketing…
2021-02-23 16:09:40 +05:00
Jawayria
0e621d3289 Merge pull request #26538 from edx/jawayria/bom-2352-3
BOM-2352: Removed unused imports from lms/djangoapps/{course_blocks, …
2021-02-23 16:09:22 +05:00
Jawayria
98edaf887a Merge pull request #26500 from edx/jawayria/bom-2351-3
BOM-2351: Removed unused imports from common/djangoapps/third_party_auth
2021-02-23 16:08:57 +05:00
M. Zulqarnain
0fdb3fce9a pyupgrade on survey, teams and tests apps (#26647) 2021-02-23 15:50:22 +05:00
Awais Qureshi
57684f9938 Merge pull request #26656 from edx/BOM-2375-static-replace
Run Pyupgrade on static replace folder.
2021-02-23 15:12:31 +05:00
Muhammad Ammar
da0e3d0853 Merge pull request #26650 from edx/ammar/upgrade-edx-enterprise-version
upgrade edx-enterprise version to 3.17.40
2021-02-23 14:12:26 +05:00
Awais Qureshi
b97c2b61a9 Merge pull request #26655 from edx/BOM-2375-status
Run Pyupgrade on status folder.
2021-02-23 13:57:59 +05:00
M. Zulqarnain
fc06846cb0 BOM-2368: pyupgrade in LMS Directory (#26649)
* pyupgrade in lms dir

* replace wildcard

* pep8 fix

* fix quality
2021-02-23 12:36:00 +05:00
M. Zulqarnain
a235425ac3 pyupgrade on static_templates, staticbook and support apps (#26646) 2021-02-23 12:35:53 +05:00
Usama Sadiq
c0167d0e88 Merge pull request #26654 from edx/testeng/bokchoy_auto_cache_update_521f88f382acecc86fb7c9b5128d858a14313b07
Bokchoy Testing DB Cache update
2021-02-23 12:34:09 +05:00
adeelehsan
809c57f089 authn mfe url added in recover account command
VAN-319
2021-02-23 11:32:02 +05:00
Aarif
c828beb5d1 replaced unittest assertions pytest assertions (#26549) 2021-02-23 10:24:42 +05:00
Sarina Canelake
b41cb6a2ae Merge pull request #26638 from edx/sarina/DEPR-142-TNL-7522
Remove the "role of users being enrolled" field from Instructor Dashboard
2021-02-22 16:41:28 -05:00
sarina
406176b9e6 feat!: Remove the "role of users being enrolled" field from Instructor Dashboard
See DEPR-142
2021-02-22 16:18:12 -05:00
Kyle McCormick
6d78f6aab2 fix: staff debug actions depended on legacy courseware URL (#26658)
The Staff Debug Actions didn't work in the Learning MFE
because the underlying JS depended on the URL being
formatted as /courses/<course_key>/... in order to
parse out the course key. This worked in the legacy
experience, but breaks in the chromeless xblock view,
which is rendered under the URL /xblock/<usage_key>/...

The fix is to explicitly pass the course key into the
templated courseware HTML as a data attribute.

TNL-7955
2021-02-22 15:14:31 -05:00
Aarif
f8eb7bfd52 fix: updated the upgrade job to install appropriate pip version (#26659)
pip version 21 doesn't seem to work well with pip-tools <5.4
2021-02-23 01:04:29 +05:00
Michael Roytman
0b624bdb71 Merge pull request #26637 from edx/mroytman/MST-617-bump-version-edx-proctoring-3.6.0
[MST-614] bump version of edx-proctoring to 3.6.0
2021-02-22 13:26:37 -05:00
Awais Qureshi
4db9cdfc66 BOM-2375
Run Pyupgrade on static replace folder.
2021-02-22 21:55:26 +05:00
Jawayria
bd08f0d755 BOM-2352: Removed unused imports from lms/djangoapps/{email_marketing, experiments} 2021-02-22 21:47:23 +05:00
Jawayria
a383845b01 BOM-2352: Removed unused imports from lms/djangoapps/{course_blocks, course_goals, course_home_api, courseware} 2021-02-22 21:44:42 +05:00
Awais Qureshi
4f6a6b5776 BOM-2375
Run Pyupgrade on static replace folder.
2021-02-22 21:41:54 +05:00
Awais Qureshi
6c22e84faa BOM-2375
Run Pyupgrade on status folder.
2021-02-22 21:26:56 +05:00
edX cache uploader bot
3dca7279f0 Updating Bokchoy testing database cache 2021-02-22 11:24:06 -05:00
Matthew Piatetsky
789af8d4ac Merge pull request #26409 from edx/AA-304
[AA-304] Create backend for three day streak celebration
2021-02-22 11:19:39 -05:00
Matt Tuchfarber
5345466e31 Merge pull request #26622 from edx/tuchfarber/remove_pii_from_mgmt_cmd_cfg
Update mgmt cmds to use user_ids instead of PII
2021-02-22 11:04:49 -05:00
Matthew Piatetsky
3b45a72b8e Create backend for three day streak celebration
This feature uses the first_day_of_streak, last_day_of_streak and last_streak_celebration fields to determine whether the user should see a celebration.
AA-304
2021-02-22 10:50:33 -05:00
Matt Tuchfarber
55d9e18495 Update mgmt cmds to use user_ids instead of PII 2021-02-22 10:30:35 -05:00
Michael Roytman
71456cb2a4 feat: Install version 3.6.0 of the edx_proctoring library into edx-platform.
This release adds a new permission check when rendering the practice proctored exam view. If a learner is not in a paid enrollment track, the learner will no longer be able to use proctoring software in a practice proctored exam. As with other proctored exams, learners not in a paid enrollment track will see the exam content. This uses the 'can_take_proctored_exam' permission.
2021-02-22 10:23:36 -05:00
Aarif
a98f45ddba added the workflow to setup requirements upgrade job (#26630) 2021-02-22 20:07:33 +05:00
Aarif
813064ad49 replaced unittest assertions pytest assertions (#26574) 2021-02-22 20:04:51 +05:00
Aarif
c21ac0c3df replaced unittest assertions pytest assertions (#26573) 2021-02-22 20:04:27 +05:00
Aarif
cbf78fbdf3 replaced unittest assertions pytest assertions (#26572) 2021-02-22 20:04:00 +05:00
Aarif
4ef7d63211 replaced unittest assertions pytest assertions (#26571) 2021-02-22 20:03:33 +05:00
muhammad-ammar
18d82dff1c upgrade edx-enterprise version to 3.17.40 2021-02-22 18:11:04 +05:00
Usama Sadiq
c63b838f71 Merge pull request #26643 from edx/jenkins/upgrade-python-requirements-5906bde
Python Requirements Update
2021-02-22 17:04:07 +05:00
usamasadiq
96f0915b0f Fixed new pylint warnings.
use generator in any/all()
disable not-callable warnings
disable no-member warnings
Suppressed smaller pylint warnings
Pin edx-proctoring==3.5.0
2021-02-22 16:36:53 +05:00
edX requirements bot
23d87e253f Updating Python Requirements 2021-02-22 16:34:49 +05:00
Usama Sadiq
dd4ee68f2d Merge pull request #26555 from edx/usamasadiq/bom-2361-pyupgrade
Ran pyupgrade on lms/djangoapps
2021-02-22 16:22:55 +05:00
Usama Sadiq
9109f3227e Merge pull request #26565 from edx/usamasadiq/bom-2362-pyupgrade
Ran pyupgrade on lms/djangoapps
2021-02-22 16:22:43 +05:00
Aarif
93a4f96e30 replaced unittest assertions pytest assertions (#26575) 2021-02-22 16:19:37 +05:00
Aarif
b58ea1f03c replaced unittest assertions pytest assertions (#26576) 2021-02-22 16:18:51 +05:00
Usama Sadiq
39171cbdc6 Merge pull request #26567 from edx/usamasadiq/bom-2363-pyupgrade
Ran pyupgrade on lms/djangoapps
2021-02-22 15:55:05 +05:00
Usama Sadiq
32946933db Merge pull request #26522 from edx/usamasadiq/bom-2356-pyupgrade
Ran pyupgrade on lms/djangoapps
2021-02-22 15:44:59 +05:00
M. Zulqarnain
16f600910b pyupgrade on lms edxnotes,email_marketing,experiments apps (#26531) 2021-02-22 15:42:32 +05:00
edX requirements bot
f33f12bbea BOM-2358 : Pyupgrade in dashboard, debug, discussion apps (#26529)
* Python code cleanup by the cleanup-python-code Jenkins job.

This pull request was generated by the cleanup-python-code Jenkins job, which ran
```
cd lms/djangoapps/dashboard; find . -type f -name '*.py' | while read fname; do sed -i 's/  # lint-amnesty, pylint: disable=super-with-arguments//; s/  # lint-amnesty, pylint: disable=import-error, wrong-import-order//; s/  # lint-amnesty, pylint: disable=wrong-import-order//' "$fname"; done; find . -type f -name '*.py' | while read fname; do pyupgrade --exit-zero-even-if-changed --py3-plus --py36-plus --py38-plus "$fname"; done; isort --recursive .
```

The following packages were installed:
`pyupgrade,isort`

* feedback done

Co-authored-by: Zulqarnain <muhammad.zulqarnain@arbisoft.com>
2021-02-22 15:42:21 +05:00
Jawayria
310da0d6a7 BOM-2351: Removed unused imports from common/djangoapps/third_party_auth 2021-02-22 14:05:40 +05:00
M. Zulqarnain
e505d99237 pyupgrade on lms gating and grades apps (#26532) 2021-02-22 12:58:41 +05:00