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
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
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
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
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
Dillon Dumesnil
8bbea7f89a
AA-682: Update the pseudo session fallback session
...
There was a bug where the earliest course returned for a pseudo session
(when there were no available sessions) might not exist in modulestore and
would cause a 500 error. The data problem is another issue that will need to
be fixed, but by switching to the most recent session in this scenario, we believe
we will reduce the likelihood of this error occurring. We also believe the most
recent session is a better return value than the first ever session.
2021-03-01 09:33:31 -05:00
Usama Sadiq
7f6cabbf98
Ran pyupgrade on lms/djangoapps ( #26519 )
...
* refactor: ran pyupgrade on lms/djangoapps/bulk_enroll
Co-authored-by: M. Zulqarnain <muhammad.zulqarnain@arbisoft.com >
2021-03-01 17:13:18 +05:00
Jawayria
e5b06ef959
Merge pull request #26503 from edx/jawayria/bom-2351-4
...
BOM-2351: Removed unused imports from common/djangoapps/{track, util}
2021-03-01 17:01:19 +05:00
Usama Sadiq
cfb911966a
Merge pull request #26520 from edx/usamasadiq/bom-2355-pyupgrade
...
Ran pyupgrade on lms/djangoapps-I
2021-03-01 15:54:01 +05:00
Zainab Amir
773810e176
VAN-367: Capture optional fields usage ( #26775 )
2021-03-01 13:03:07 +05:00
edX requirements bot
491e682335
Updating Python Requirements ( #26773 )
2021-03-01 12:05:47 +05:00
sarina
173bbce500
feat!: Remove the "role of users being enrolled" field from Instructor Dashboard
...
See DEPR-142
2021-02-28 18:40:16 -05:00
sarina
3ef0f626a0
feat! Remove JS validation for Role field in batch enroll feature
2021-02-28 18:40:16 -05:00
Ned Batchelder
981ecb675e
build: private.txt files weren't handled properly
...
The requirements/edx/private.txt file is for dev's own private package
needs. There are two installation mechanisms in edx-platform, and
neither handled the file properly:
- `paver install_prereqs` had the wrong file name. The file was moved
almost three years ago, and paver wasn't kept up.
- `make requirements` used `private.*` which included private.in, which
pip-sync balks at.
2021-02-26 22:19:47 -05:00