Commit Graph

23513 Commits

Author SHA1 Message Date
Kshitij Sobti
b5f045dc5f fix: update discussions MFE path [BD-38] [TNL-9347] (#29691)
* fix: update discussiosn MFE path

* squash!: fix tests
2022-01-06 18:34:53 +05:00
Julia Eskew
c3f480902a fix: Remove token which disabled different origin subframe dialog suppression
for Chrome version 92. A permanent solution to presenting a dialog to a user
in an LTI block was done in TNL-9231.
2022-01-05 10:04:01 -05:00
Matthew Piatetsky
f6c8a32213 fix: add some whitespace fixes for goal reminder email on apple mobile mail (#29708) 2022-01-05 09:46:35 -05:00
alangsto
84754b65d1 feat: update cert language if integrity signature is enabled (#29618)
MST-1190. If the integrity signature flag has been enabled for a course, update the verified certificate description. The flag value should also be accessible to cert templates, so it has been added to the context.
2022-01-05 09:31:03 -05:00
ansabgillani
21581748ef feat: Add SAMLProvidersWithOrg for Support View MFEs 2022-01-05 13:27:28 +05:00
Felipe Trzaskowski
c0e19ec165 Add new discussions API endpoints to retrieve comments and threads from an user [BD-38] [TNL-8796] [BB-4969] (#29137)
* feat: add api mapping to get comments by course+user

fix: merge the new user comments API by overloading the thread comments API

fix: handle endorsements and fix broken tests

fix: improve the view documentation

fix: unused imports

fix: restrict flagged filter to privileged users

fix: validate course_id properly

* fix: add docstring to the retrieve_all method
2022-01-04 11:21:47 +05:00
Waheed Ahmed
9aa0cc44a2 chore: handle save-for-later PII (#29696)
Added PII annotations for email fields in save-for-later models and
also added user retirement signal receiver to remove related objects.
2021-12-31 11:31:53 +05:00
DawoudSheraz
f970ab4566 feat: add admin-only/self accessible verified name field in accounts api 2021-12-29 14:51:10 +05:00
edX Transifex Bot
3cbc5b9cdc chore(i18n): update translations 2021-12-26 16:35:34 -05:00
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
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
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
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
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
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
Tim McCormack
bbc2a6d0cb chore: Update organizations repo URL (moved to openedx org) (#29647) 2021-12-20 18:19:43 +00: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
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
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
Jawayria
52a9d7e62a Merge pull request #29378 from edx/jawayria/bom-2606-10
chore: Applied lint-amnesty on lms/djangoapps/{course_api, course_blocks}
2021-12-20 15:36:58 +05:00
Jawayria
9434dc22dd Merge pull request #29379 from edx/jawayria/bom-2606-9
chore: Applied lint-amnesty on lms/djangoapps/{certificates, course_goals}
2021-12-20 15:36:38 +05:00
Jawayria
d465779ba0 Merge pull request #29380 from edx/jawayria/bom-2606-8
chore: Applied lint-amnesty on lms/djangoapps/{ccx, commerce}
2021-12-20 15:36:24 +05:00
Jawayria
4ce693b081 Merge pull request #29382 from edx/jawayria/bom-2606-6
chore: Applied lint-amnesty on lms/djangoapps/{badges, branding}
2021-12-20 15:35:06 +05:00
Waheed Ahmed
a85880ce46 chore: change ratelimit key for POST email param (#29638) 2021-12-20 15:09:59 +05:00
Jawayria
2145358836 chore: Applied lint-amnesty on lms/djangoapps/{badges, branding} 2021-12-17 16:20:30 +05:00
Jawayria
3207710aa3 chore: Applied lint-amnesty on lms/djangoapps/{bulk_email, bulk_enroll} 2021-12-17 16:19:09 +05:00
Jawayria
5c9613bafd chore: Applied lint-amnesty on lms/djangoapps/{ccx, commerce} 2021-12-17 16:17:51 +05:00