Commit Graph

60706 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
Tim McCormack
1e55b4e1b6 feat: Add utility for logging sensitive information using encryption (#29682)
Introduces `common.djangoapps.util.log_sensitive module` for
public-key encryption of sensitive debug information in log
messages, including CLI commands for generating keys and
decrypting log output.

Also:

- Adds `PyNaCl` to base requirements for encryption tools
- Requirements upgrade

ref: ARCHBOM-1940
2022-01-05 21:37:45 +00:00
Binod Pant
33437e7fef feat: choose signing cert explicitly in saml metadata ENT-677 (#29704)
* feat: choose signing cert explicitly in saml metadata

when parsing, we want to explicitly choose the use='signing' cert instead of accidentally choosing the encryption one

ENT-677

* test: test for parse_metadata_xml

* feat: also address case when signing key is absent

in this case we consider the 'use'-less keydescriptior as if it's for both signing and encryption

* test: test case for missing use=signing attribute

* test: fix test failure
2022-01-05 16:18:01 -05:00
Dillon Dumesnil
bbfdb3376e Merge pull request #29713 from edx/ddumesnil/fix-max-width-text-input-aa-1114
fix: AA-1114: Set a max width on Text Input answers
2022-01-05 10:41:08 -08:00
Dillon Dumesnil
027a08ea3d fix: AA-1114: Set a max width on Text Input answers
We saw a bug where on mobile devices or smaller web browser windows
the input text field could stretch beyond the visible screen. By
setting the max width, we will always contain it to the size of its
parent element.
2022-01-05 09:52:18 -08: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
Kyle McCormick
672f4465fc docs: slightly improve ./cms root folder readme 2022-01-04 15:07:04 -05:00
Kyle McCormick
5e30c725a1 fix: check CMS_CFG before STUDIO_CFG; prefer the latter 2022-01-04 15:07:04 -05:00
Kyle McCormick
51fccf06d1 docs: add ADR to declare distinction between 'cms' and 'studio' 2022-01-04 15:07:04 -05:00
Michael Terry
be2b7ba0be Merge pull request #29707 from edx/mikix/sequence-but-not
fix: give proper status code for invalid sequence metadata requests
2022-01-04 15:02:45 -05:00
Adam Stankiewicz
30e57cddde chore: bump edx-enterprise to 3.36.10 (#29706) 2022-01-04 14:32:33 -05:00
Michael Terry
712380713b fix: give proper status code for invalid sequence metadata requests
If the sequence metadata view is asked to give metadata for a block
that is not a sequence (or section), give a proper http code back,
rather than throwing an attribute exception.

This avoids a monitoring error being flagged, and lets the frontend
catch this case specially (which the MFE does do, to notice that it
actually has a unit, not a sequence).
2022-01-04 14:30:48 -05:00
Uzair Rasheed
70e783986a Merge pull request #29700 from edx/van-789/refactor-hibp-range-func
refactor: update hibp range function
2022-01-04 16:56:09 +05:00
uzairr
5a3e67d8f4 refactor: update hibp range function
Refactor range function to check whether the provided password
is properly encrypted or needed to be encrypted.

VAN-789
2022-01-04 15:37:17 +05:00
edX requirements bot
781d248088 chore: Updating Python Requirements (#29702) 2022-01-04 14:33:02 +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
Syed Muhammad Dawoud Sheraz Ali
4f49475b94 Merge pull request #29624 from edx/dsheraz/PROD-2602
feat: add admin-only/self accessible verified name field in accounts api
2021-12-29 15:25:03 +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 requirements bot
3d2fa978bb chore: Updating Python Requirements (#29690) 2021-12-28 14:43:40 +05:00
edx-pipeline-bot
5d84eaf4f9 Merge pull request #29684 from edx/private_to_public_6d0c97d
Mergeback PR from private to public.
2021-12-28 02:06:10 -05:00
Syed Muhammad Dawoud Sheraz Ali
6d0c97deb1 Merge pull request #235 from edx/aakbar/SEC-1345
fix: fix sec staff-lock email
2021-12-27 11:46:12 +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
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
AliAkbar
0141c2b866 fix: fix sec staff-lock email 2021-12-22 16:53:29 +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