Commit Graph

60679 Commits

Author SHA1 Message Date
Kyle McCormick
5b580d2198 docs: remove outdated reference to courseware_mfe opt-in (#29678)
Formerly, the 'courseware.courseware_mfe' Waffle flag was
required in order use the new Learning-MFE-based courseware
frontend. However, the Learning-MFE-based frontend has since
become the default, with the 'courseware.use_legacy_frontend'
flag instead serving as an opt-out.

The LEARNING_MICROFRONTEND_URL Django setting annotation
erroneously still referenced the old 'courseware.courseware_mfe'
flag. This commit removes the outdated reference.
2021-12-23 16:35:35 -05:00
Umar Asghar
4f40e44627 feat: add API endpoint for change email settings (#29498) 2021-12-23 18:04:05 +05:00
Ned Batchelder
84b5d8dd28 build: keep Makefile comments from appearing while running make (#29669)
These comments are meant for the Makefile maintainers to read, not the
user running make.  We can prefix them with @ to keep make from echoing
them while running.
2021-12-22 15:52:22 -05:00
Zachary Hancock
0898010807 chore: update edx-proctoring-proctortrack (#29671) 2021-12-22 15:14:28 -05:00
Simon Chen
c85be3fe56 fix: User should not be shown ID Verification prompt on progress page if disabled (#29662)
Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2021-12-22 12:15:09 -05:00
Aarif
96b21625c6 fix: updated the unit tests workflow to use labeled runners (#29667) 2021-12-22 16:32:10 +05:00
Aarif
e71cac0a01 fix: remove bokchoy db cache uploader paver tasks (#28841) 2021-12-22 13:42:47 +05:00
Attiya Ishaque
51b67ad1df fix: Replace hardcoded 'edx' with platform name. (#29657) 2021-12-22 12:51:56 +05:00
John Nagro
1caf29ab14 feat: release edx-enterprise 3.36.9 (#29663)
ENT-5238
2021-12-21 15:13:58 -05:00
Chris Deery
6d08aa23b4 fix: [AA-1076] add override info to progress API (#29585)
* fix: [AA-1076] add override info to progress API

- Indicate if a grade has been overridden in the progress tab.
2021-12-21 14:41:25 -05:00
Adam Stankiewicz
c98c4eb30e chore: add repository field to package.json file (#29661)
This is primarily so that tooling (e.g., Paragon usage insights) can properly link to repositories.
2021-12-21 14:10:55 -05:00
Robert Raposa
0dd1f9b7e4 chore: update edx-drf-extensions repo URL (moved to openedx org) (#29660)
The `edx-drf-extensions` repo was moved from the edx org to
the openedx org, and this change captures that move.
2021-12-21 13:19:01 -05:00
Zachary Hancock
df908e164d chore: update npm version of edx-proctoring (#29659)
* chore: update npm version of edx-proctoring

* chore: fix package lock
2021-12-21 13:08:06 -05:00
connorhaugh
4d834b977f feat: add flags to studio for editors work (#29536)
Description
In order to support ongoing editor work we need to open blocks in the course_authoring MFE from studio. We are gating that rollout behind a flag. This work does that for each of the new blocks, as well as provides urls to do so.

Supporting information
List of flags:
new_core_editors.use_new_text_editor
new_core_editors.use_new_video_editor
new_core_editors.use_new_problem_editor

Documentation of those flags:
Planned Removal Work: https://openedx.atlassian.net/browse/TNL-9370
2021-12-21 10:55:23 -05:00
Ned Batchelder
66eae81add docs: comments about how pytest finds settings (#29623)
It took a while for me to understand why my setup.cfg setting was only
applying to some tests.  Hopefully these comments will save someone else
some confusion.
2021-12-21 10:47:59 -05:00
Waheed Ahmed
d0adfdc079 fix: save for later urls issue (#29658) 2021-12-21 20:02:05 +05:00
Simon Chen
313afd70ae fix: update program enrollments to be case insensitive on external_user_key (#29646)
UTAsutin is an example partner who would use mixed casing on their external_user_key references for program enrollment upload and matriculation. Update the system to be case insensitive on external_user_key

Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
2021-12-21 09:20:16 -05:00
edX requirements bot
a358012cc1 chore: Updating Python Requirements (#29653) 2021-12-21 15:54:44 +05:00
Awais Jibran
371a3ef1c6 fix: add pii sharing allowed flag (#29628) 2021-12-21 15:07:49 +05:00
AsadAzam
7fba083a49 fix: added staff check for discussions iframe (#29617) 2021-12-21 14:46:51 +05:00
Waheed Ahmed
c696469734 fix: save for later API ratelimit issue (#29650) 2021-12-21 14:05:55 +05:00
Jawayria
b33996d24e chore: Applied lint-amnesty on lms/djangoapps/grades (#29400) 2021-12-21 13:37:15 +05:00
Jawayria
309669f974 chore: Applied lint-amnesty on lms/djangoapps/instructor (#29399) 2021-12-21 13:37:04 +05:00
Jawayria
d0fbde8973 chore: Applied lint-amnesty on lms/djangoapps (#29395) 2021-12-21 13:36:50 +05:00
Jawayria
0d63afe840 chore: Applied lint-amnesty on lms/djangoapps (#29394) 2021-12-21 13:36:39 +05:00
Jawayria
f166e4a1c7 chore: Applied lint-amnesty on lms/{envs, lib} (#29392) 2021-12-21 13:36:26 +05:00
Mohammad Ahtasham ul Hassan
139b46e611 fix: fixed RemovedInDjango40 warnings (#29588) 2021-12-21 12:44:50 +05:00
Phillip Shiu
3c17874b9d fix: [REV-2492] remove graded content unfbe bullet (#29645) 2021-12-20 15:57:16 -05:00
John Nagro
21cf1000ff feat: edx-enterprise release 3.36.8 (#29648)
ENT-5238
2021-12-20 14:13:40 -05:00
Tim McCormack
bbc2a6d0cb chore: Update organizations repo URL (moved to openedx org) (#29647) 2021-12-20 18:19:43 +00:00
Michael Terry
1d78a9f943 Merge pull request #29608 from edx/mikix/ls-masquerading
feat: add masquerading support to learning sequences
2021-12-20 11:58:02 -05:00
Michael Terry
4418c66171 feat: add masquerading support to learning sequences
Previously, it had some basic manual masquerading by calling the
endpoint with ?user=mytestuser. But this adds standard session
masquerading support to the endpoint as well.

This support is limited by LS's own partition group support. It
only looks at the enrollment track partition currently. Further
FBE and cohort partition support will come later.

But this commit opens up normal session masquerading for:
- Generic student
- Specific student
- Enrollment track

AA-1151
2021-12-20 11:14:07 -05:00
Jillian Vogel
2ef69d513f refactor: removes xqueue_callback_url_prefix argument
from the lms get_module_for_descriptor and related methods.

This prefix was previously inferred from the request's base URL and
passed through several methods to reach the XQueueService creation.
But the request base URL always matches the LMS_ROOT_URL (or the preview
URL), so this change simply uses that setting instead.
2021-12-20 15:41:42 +01:00
Jillian Vogel
31827bc3b1 refactor: removes deprecated calls to runtime.xqueue from code and tests
* Uses the XQueueService object from the ModuleSystem in the LoncapaSystem
  instead of the dict of xqueue-related values.
* Adds a StubXQueueService for testing.
2021-12-20 15:41:42 +01:00
Jillian Vogel
1974bacadd refactor: deprecates runtime.xqueue in favor of the XQueueService
* Deprecates ModuleSystem.xqueue property
* Adds new XQueueService to provide the deprecated property values to the LMS runtime
  (Studio does not need the XQueueService.)
* Adds tests for new service and updates the ModuleSystemShim tests in LMS and Studio
* Fixes existing tests.
2021-12-20 15:41:42 +01:00
Jillian Vogel
f828d89feb refactor: use UserService to remove deprecation warnings
from code and tests.
2021-12-20 15:41:25 +01:00
Jillian Vogel
e378e42bfa refactor: deprecate user-related ModuleSystem attributes
Deprecates these ModuleSystem attributes in favor of the user service:

* user_location
* get_real_user
* get_user_role

Related changes:

* Stores the user location into DjangoXBlockUserService's optional attribute as request_country_code
* Uses the student model's user_by_anonymous_it to fetch the (cached) real user
* Updates affected tests
2021-12-20 15:41:25 +01:00
Jansen Kantor
9d00f21eb8 chore: bump ora and submissions versions (#29637) 2021-12-20 09:10:12 -05:00
Jawayria
829065128d Merge pull request #29393 from edx/jawayria/bom-2606-20
chore: Applied lint-amnesty on lms/djangoapps
2021-12-20 18:59:39 +05:00
Jawayria
91f80b444e Merge pull request #29401 from edx/jawayria/bom-2606-14
chore: Applied lint-amnesty on lms/djangoapps
2021-12-20 18:59:11 +05:00
Jawayria
75187e6a12 Merge pull request #29417 from edx/jawayria/bom-2606-18
chore: Applied lint-amnesty on lms/djangoapps
2021-12-20 18:58:58 +05:00
Jawayria
6d8a77ad15 Merge pull request #29402 from edx/jawayria/bom-2606-13
chore: Applied lint-amnesty on lms/djangoapps/discussion
2021-12-20 18:58:25 +05:00
Jawayria
949c7d8892 Merge pull request #29383 from edx/jawayria/bom-2606-11
chore: Applied lint-amnesty on lms/djangoapps/{course_home_api, course_wiki}
2021-12-20 18:57:54 +05:00
Awais Jibran
80e12af963 refactor: Adding some debug logs. (#29639) 2021-12-20 18:26:10 +05:00
Jawayria
332f0f1ea7 chore: Applied lint-amnesty on lms/djangoapps/discussion 2021-12-20 16:25:03 +05:00
Jawayria
846c9e95dc chore: Applied lint-amnesty on lms/djangoapps/{course_home_api, course_wiki} 2021-12-20 16:14:49 +05:00
Jawayria
c727359a37 Merge pull request #29381 from edx/jawayria/bom-2606-7
chore: Applied lint-amnesty on lms/djangoapps/{bulk_email, bulk_enroll}
2021-12-20 16:13:38 +05:00
Jawayria
efe22f19ab chore: Applied lint-amnesty on lms/djangoapps 2021-12-20 16:06:29 +05:00
Jawayria
1caae59c1a chore: Applied lint-amnesty on lms/djangoapps/{edxnotes, experiments} 2021-12-20 16:05:02 +05:00
Jawayria
305bd8ff76 chore: Applied lint-amnesty on lms/djangoapps/{teams, verify_student} 2021-12-20 15:45:00 +05:00