Awais Qureshi
0fac7e7743
Merge pull request #26808 from open-craft/symbolist/fix-common-tests
...
Fix running tests in common/lib.
2021-03-03 23:50:01 +05:00
Aarif
059d683441
Constrained diff-cover to fix upgrade job ( #26830 )
2021-03-03 23:04:41 +05:00
Matt Tuchfarber
30203c9e45
Merge pull request #26833 from edx/tuchfarber/add_credentials_username_to_cms
...
Add credentials service username to common cms
2021-03-03 12:26:46 -05:00
Matt Tuchfarber
0feeaaf817
Add credentials service username to common cms
...
We're now calling programs-related code from CMS so we need to have the
username for the credentials service available in CMS
2021-03-03 11:46:32 -05:00
Christie Rice
1b1781247c
MICROBA-1032 Remove command in favor of querying the db for more detailed info ( #26787 )
2021-03-03 09:33:21 -05:00
Sarina Canelake
e15e372233
Merge pull request #26772 from edx/sarina/DEPR-142-TNL-7522
...
Remove the "role of users being enrolled" field from Instructor Dashboard
2021-03-03 08:57:16 -05:00
Usman Khalid
0e7664fbce
test: Fix failing pytest asserts in GradesheetTest.test_weighted_grading.
2021-03-03 18:49:01 +05:00
Usman Khalid
8a8dbee340
test: Fix assertstore and modulestore tests failing because of missing equality functions.
...
https://github.com/edx/edx-platform/pull/26530 updated the tests to use pytest
assertions instead of unittest assertionss. However, some tests depended on custom
equality functions being set up in the test classes. These tests have been updated
to explicitly do the needed comparisons.
2021-03-03 18:49:01 +05:00
jawad khan
948d6351b6
LEARNER-8251 - Added BearerAuthenticationAllowInactiveUser in courseware view ( #26829 )
...
Added BearerAuthenticationAllowInactiveUser in courseware view
2021-03-03 18:39:42 +05:00
Justin Hynes
251a9e74d6
Merge pull request #26799 from edx/jhynes/mb-908_move_checks_to_cert_djangoapp
...
MICROBA-1024 | Move checks to certificates app
2021-03-03 07:31:58 -05:00
Usman Khalid
f35eed4e4c
test: Fix test_capa_module.py::ProblemBlockTest::test_demand_hint_logging.
2021-03-03 16:39:34 +05:00
Azan Bin Zahid
936f19fa12
Merge pull request #26797 from edx/azan/PROD-2281
...
add user id (staff only) field in user_api
2021-03-03 15:22:27 +05:00
azanbinzahid
0ef2ba7e7c
add lms user id in accounts endpoint
2021-03-03 14:27:44 +05:00
jawad khan
787649ba81
LEARNER-8158 - Fixed descendants typo and added tests
...
LEARNER-8158
Fixed descendants typo and added tests
2021-03-03 11:38:34 +05:00
Awais Jibran
589716144c
refactor: use q objects when fetching user using an identifier ( #26726 )
...
* refactor: use q objects when fetching user using an identifier #26683
* Nit
2021-03-03 10:45:48 +05:00
Michael Roytman
eb98d7fac5
MST-675: QuerySet Performance for StudentOnboardingStatusByCourse Endpoint ( #26789 )
...
* The original use of user.has_perm('can_take_proctored_exam') in the get_active_enrollments_for_course method had very poor performance when used for multiple learners. The permission is not designed for use in bulk operations. It was being called for each user in a loop by edx-proctoring, resulting in many queries to the database. This lead to timeouts on the client. This change exposes a new service endpoint that performs this permission checking in the database, resulting in one single query to the necessary LMS SQL tables and many fewer queries to the modulestore.
* bump version of edx-proctoring to 3.7.3
2021-03-02 19:46:58 -05:00
Michael Terry
877e8f1e83
Merge pull request #26803 from edx/mikix/nudge2
...
feat: add 'external course updates' experiment flag
2021-03-02 15:46:54 -05:00
Usman Khalid
7441702ade
test: The exception on the pytest ExceptionInfo object can be accessed on the value attribute.
2021-03-03 01:03:36 +05:00
Justin Hynes
07837cf54e
MICROBA-1024 | Move the allowlist and blocklist checks to certificates app
...
[MICROBA-1024]
- Move some of the recently added logic from the instructor app to the certificates app
- Attempt to not use other certificate models directly in the code I am touching, moving this logic to certificates as well.
2021-03-02 14:58:20 -05:00
Michael Terry
9570c1c72b
feat: add 'external course updates' experiment flag
...
When this flag is enabled, users will be 50/50 bucketed into an
experiment where users get course highlights and nudges from an
external service (like sailthru or braze) rather than from
edx-platform via ACE.
AA-661
2021-03-02 14:51:45 -05:00
Christie Rice
f1ff795271
MICROBA-1032 Remove command in favor of using the allowlist ( #26786 )
2021-03-02 14:40:19 -05:00
Carla Duarte
15912fb129
Merge pull request #26806 from edx/ciduarte/AA-510
...
AA-510: a11y fix for learner dashboard enterprise link
2021-03-02 14:17:50 -05:00
Christie Rice
e5872cf8f2
MICROBA-1032 Add allowlist check and move tests ( #26785 )
2021-03-02 14:04:03 -05:00
Usman Khalid
6af0eb5c28
test: Ignore running tests from /common/lib/pytest_cache.
2021-03-02 23:55:48 +05:00
Usman Khalid
1beb4f38a1
test: Remove the invalid pylint message from common/lib/pytest.ini
...
This auto-added pylint message is preventing tests in common/lib from running.
2021-03-02 23:55:48 +05:00
alangsto
0846e04f45
update exam attempt table css ( #26802 )
...
Add hover for accordion
update edx-proctoring version
2021-03-02 12:33:49 -05:00
Carla Duarte
7ecb393deb
AA-510: a11y fix for learner dashboard enterprise link
2021-03-02 11:37:10 -05:00
Kyle McCormick
e792242b5f
refactor!: remove redundant ENABLE_COURSEWARE_MICROFRONTEND toggle ( #26792 )
...
The Django setting
FEATURES['ENABLE_COURSEWARE_MICROFRONTEND']
has been an additional gate to activating
usage of the Learning MFE for an Open edX
instance.
The toggle is redundant with the
`courseware.courseware_mfe`
Waffle flag. By removing it, we simplify our config
and simplify our path towards making the Learning MFE
the default courseware experience.
TNL-7796
2021-03-02 11:36:43 -05:00
Usman Khalid
dd96a2aa72
Convert Course, Section and Sequence XModules to XBlocks. ( #25965 )
2021-03-02 10:29:33 -05:00
Bianca Severino
2dc4f35ce4
Merge pull request #26804 from edx/bseverino/proctoring-3.7.0
...
[MST-666] Update edx-proctoring to 3.7.0
2021-03-02 10:21:59 -05:00
Feanil Patel
7789ee8d6c
Merge pull request #26788 from edx/feanil/fix_warning
...
fix: Text comparison should be done with `==` not via is.
2021-03-02 10:19:20 -05:00
Feanil Patel
6e4e7648a5
Merge pull request #26790 from edx/feanil/fix-annotations
...
doc: Correctly annotate the setting name.
2021-03-02 10:19:01 -05:00
Dillon Dumesnil
49b67d5a99
Merge pull request #26801 from edx/ddumesnil/aa-513-user-id-fix
...
AA-513: Ensure user id exists before trying to send event
2021-03-02 06:55:52 -08:00
Bianca Severino
5509e6dd42
Update edx-proctoring to 3.7.0
2021-03-02 09:43:11 -05:00
Dillon Dumesnil
aeb71250e9
AA-513: Ensure user id exists before trying to send event
...
request.user.id could be None which ends up raising an error in
the analytics package we use.
2021-03-02 09:22:12 -05:00
Awais Qureshi
53d9f66217
Merge pull request #26672 from edx/BOM-2374-entitlements
...
Run Pyupgrade on entitlement.
2021-03-02 18:08:03 +05:00
M. Zulqarnain
88471575ab
refactor: pyupgrade in CMS ( #26723 )
2021-03-02 16:45:46 +05:00
M. Zulqarnain
e19ba34f5a
pyupgrade on xblock_config app in CMS ( #26710 )
2021-03-02 16:45:33 +05:00
M. Zulqarnain
3a5be3b074
pyupgrade on course_creators, maintenance and models apps under CMS ( #26709 )
2021-03-02 16:45:20 +05:00
M. Zulqarnain
ba86198519
pyupgrade on verify_students app ( #26648 )
2021-03-02 16:45:01 +05:00
Awais Qureshi
378b5eb4b5
Merge branch 'master' into BOM-2374-entitlements
2021-03-02 16:35:30 +05:00
Awais Qureshi
29180d4b66
Merge pull request #26670 from edx/BOM-2375-student-pa2
...
Run Pyupgrade on student folder.
2021-03-02 16:30:36 +05:00
Zainab Amir
11791e25d4
VAN-367: Track optional and goals field usage ( #26779 )
2021-03-02 14:26:44 +05:00
Jawayria
9e31096ec5
Merge pull request #26505 from edx/jawayria/bom-2351-5
...
BOM-2351: Removed unused imports from common/lib/{capa, safe_lxml, sy…
2021-03-02 13:29:10 +05:00
edX requirements bot
a203a14a51
Updating Python Requirements ( #26793 )
2021-03-02 11:38:22 +05:00
Feanil Patel
d2343b1f07
doc: Correctly annotate the setting name.
...
The `setting_name` annotation needed a space before it so that it's
picked up properly by the toggle annotations tooling.
2021-03-01 16:35:41 -05:00
Feanil Patel
8fa34d7974
fix: Text comparison should be done with == not via is.
...
`is` will check if two objects are the same whereas `==` will check if
their values are the same which is what we want here.
2021-03-01 15:38:24 -05:00
Matthew Piatetsky
fe8e959559
Merge pull request #26765 from edx/AA-304
...
Check course outline and course date toggles in addition to courseware toggle for streak
2021-03-01 11:02:50 -05:00
Dillon Dumesnil
7b1d4bcfc0
Merge pull request #26784 from edx/ddumesnil/update-entitlement-session-aa-682
...
AA-682: Update the pseudo session fallback session
2021-03-01 07:40:52 -08:00
Matthew Piatetsky
69ec9a2599
Check course home toggle in addition to courseware toggle
2021-03-01 09:40:02 -05:00