Commit Graph

61737 Commits

Author SHA1 Message Date
Raymond Zhou
6cdc481db8 feat: fix for course_keys nonetype error (#30797) 2022-07-28 10:39:05 +05:00
SaadYousaf
257a7f38d3 feat: enable moderators to unreport content for discussion api 2022-07-27 19:30:52 +05:00
Muhammad Ammar
24dbf9653c Merge pull request #30792 from openedx/bilaltahir21/ENT-5938-fix
fix: revert api client for UNENROLL_DONE signal
2022-07-27 17:31:32 +05:00
Muhammad Soban Javed
3d96700189 Merge pull request #30791 from openedx/revert-30762-revert-30403-iamsobanjaved/BOM-2582-move-common-lib-capa
refactor: move common/lib/capa/capa to xmodule/capa
2022-07-27 16:41:50 +05:00
Muhammad Bilal Tahir
a35176e09b fix: revert api client for UNENROLL_DONE signal 2022-07-27 16:35:59 +05:00
Sameen Fatima
282d639e32 refactor: simplify code logic for consent_needed_for_course utility (#30775) 2022-07-27 16:34:06 +05:00
Muhammad Soban Javed
d053bba952 Revert "Revert "refactor: move common/lib/capa/capa to xmodule/capa" (#30762)"
This reverts commit 4463ee751d.
2022-07-27 15:36:08 +05:00
Brian Beggs
6d80bddb95 Merge pull request #30693 from open-craft/pooja/fix-page-banner-message-not-seen
[BB-6438] Check if feature is enabled before calling enterprise api
2022-07-26 14:42:47 -04:00
John Nagro
ca13defc90 feat: release edx-enterprise 3.54.2 (#30788) 2022-07-26 14:14:28 -04:00
Kyle McCormick
423acd32f9 docs: retroactively add ADR for dissolution of sub-projects (#30779) 2022-07-26 11:33:01 -04:00
John Nagro
a69171204d feat: release edx-enterprise 3.54.1 (#30787) 2022-07-26 10:22:09 -04:00
Muneeb Ur Rehman
6d8201b603 build(deps): upgrade edx-enterprise to latest version (#30785) 2022-07-26 18:40:42 +05:00
edX requirements bot
fee05710f4 Python Requirements Update (#30780)
* chore: Updating Python Requirements
2022-07-26 17:59:39 +05:00
Jansen Kantor
33e8d26502 Jkantor/learner course regrade queue (#30778)
* temp: move recalculate_course_and_subsection_grades_for_user to new queue
2022-07-25 15:14:05 -04:00
Keith Grootboom
7021b0e977 chore: bump django-wiki version to 1.1.1 (#30709) 2022-07-25 12:35:31 -04:00
Braden MacDonald
82ec7159a8 fix: disable Mongo collision detection when MySQL stores course indexes (#30746)
We have found that for many courses on edx.org, the "current version"
of the course that's stored in MongoDB doesn't match what's stored in
MySQL. Although this doesn't directly cause any problems as the
"current version" (course index) is not normally read from MongoDB,
it's not supposed to happen - and it can cause problems if some other
extra-platform components (like a pruner script) read the course
indexes out of MongoDB.

We still aren't sure what can cause MongoDB and MySQL to get out of
sync in the first place; this won't necessarily fix that issue. What
this does fix is a bug that seems to be: once they get out of sync,
they stay out of sync and mongo will stop receiving writes.

The Mongo code in most cases will only write a new record if the
"current" record's last_update matches the last_update value before
the change was made. e.g. last_update is "10am", user makes a change,
Mongo gets updated only if the current row's last_update is still
"10am". Otherwise it's considered a "collision" and silently ignored.

Once Mongo and MySQL somehow become out of sync, they may stay out of
sync because any new writes will have a last_update value read from
MySQL, which is newer than the value in MongoDB, so the MongoDB writes
will all be rejected as "collisions".

This should fix the issue by making mongo writes always match the MySQL
writes, instead of letting the Mongo code "decide on its own" when to
write course index updates or not.
2022-07-25 11:26:01 -04:00
Muhammad Ammar
9a13121d95 Merge pull request #30776 from openedx/ammar/enable-outcome-surveys-segment-events
feat: enable outcome surveys segment events
2022-07-25 19:32:45 +05:00
muhammad-ammar
f56b39a0c9 feat: enable outcome surveys segment events 2022-07-25 18:54:14 +05:00
Michael Roytman
4c6db8c869 Merge pull request #30772 from openedx/mroytman/bump-xblock-lti-consumer-4.3.2
test: add debugging log statements for user_id LtiError
2022-07-25 08:56:03 -04:00
Hammad Ahmad Waqas
500e16237f Merge pull request #30741 from openedx/hammad/ENT-5992
feat: added support to check for DSC in course-home:course-metadata view.
2022-07-25 14:08:59 +05:00
Mehak Nasir
f79e35dfcb style: icon design fixed by adding svg (#30763)
fix: style fix added for legacy button
2022-07-25 13:50:09 +05:00
edx-semantic-release
e678ac14fa chore(i18n): update translations 2022-07-24 16:54:41 -04:00
michaelroytman
efc59de056 test: add debugging log statements for user_id LtiError
This commit updates the version of the lti-consumer-xblock from 4.3.1 to 4.3.2. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

This commit adds supplemental logging to diagnose the bug reported in MST-1540: https://2u-internal.atlassian.net/browse/MST-1540. The bug is that learners are encountering the LtiError when trying to do an LTI launch. The learners appear to be authenticated, so this error should not occur. The bug is not easily reproducible in production or development, so this supplemental logging is added to help understand the user's state when the error is raised.

The current hypothesis is that user is temporarily represented by the AnonymousUser in the request that is made when doing the LTI launch, despite the user otherwise being authenticated. Logging in Splunk suggests that this is the case, because logs are of the following form, "2022-07-22 15:10:14,214 ERROR 5067 [django.request] [user None] [ip <ip>] log.py:224 - Internal Server Error: /courses/<course_key>/xblock/<usage_key>/handler/lti_launch_handler", where the "user" is "None". This logging should prove or disprove this hypothesis and provide direction about where else to look.

This logging should be removed once MST-1540 is resolved.
2022-07-22 12:41:23 -04:00
Michael Roytman
65a5bdbe0d Merge pull request #30771 from openedx/mroytman/bump-xblock-lti-consumer-4.3.1
fix: hidden lti_version and 1.3 fields in edit view and incorrect menu behavior in Javascript
2022-07-22 11:00:41 -04:00
michaelroytman
85207225fc fix: hidden lti_version and 1.3 fields in edit view and incorrect menu behavior in Javascript
This commit updates the version of the lti-consumer-xblock from 4.3.0 to 4.3.1. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

This commit fixes three bugs.

1. The first bug is that the lti_version field is inappropriately hidden in the Studio author view edit menu when the selected config_type is database.

2. The second bug is that the editable_fields property of the LtiConsumerXBlock is inappropriately excluding LTI 1.3 fields when the config_type is database. The editable_fields property should include LTI 1.3 fields even when the config_type is database, because the Javascript defined in xblock_studio_view.js may want to show these fields if the user selects a different config_type in the menu. We want to support a dynamic edit menu, so these fields must be considered editable by the XBlock in order for the Javascript to be able to manipulate them.

3. The third bug is in inconsistent rendering of the Studio author view edit menu. Depending on the order in which a user selects lti_version, config_type, or lti_1p3_tool_key_mode, different sets of fields are displayed, due to the overlapping sets of rules that govern what fields should be hidden or shown for a given field selection. This commit corrects this inconsistent rendering by first showing all fields and then gradually hiding fields depending on the sets of rules, for each change to the fields.
2022-07-22 10:19:27 -04:00
Muhammad Ammar
350a677ce2 Merge pull request #30770 from openedx/ammar/disable-outcome-surveys-events
temp: disable outcome surveys events
2022-07-22 17:29:18 +05:00
muhammad-ammar
a5aeb7034f temp: disable outcome surveys events 2022-07-22 16:48:09 +05:00
Ahtisham Shahid
43de567018 fix: resolved issue when user profile does not exist (#30760)
fix: resolved issue when user profile does not exist
2022-07-22 14:38:25 +05:00
Jansen Kantor
b4d25f1dd8 temp: increase grading task rate limit (#30766)
* temp: increase grading task rate limit

* fixup! temp: increase grading task rate limit
2022-07-21 17:20:23 -04:00
Alexander J Sheehan
7884ba8b69 Merge pull request #30765 from openedx/asheehan-edx/revert-unique-entity-id
chore: rolling back unique entity ID validation on saml provider configs
2022-07-21 14:11:15 -04:00
Alexander Sheehan
9b1e8dc515 chore: rolling back unique entity ID validation on saml provider configs 2022-07-21 13:55:27 -04:00
Brian Citro
90a5e18b27 Merge pull request #30764 from openedx/bcitro/ENT-6061
fix: release edx-enterprise 3.53.4
2022-07-21 11:18:27 -04:00
Brian Citro
0b195db04e fix: release edx-enterprise 3.53.4 2022-07-21 10:56:59 -04:00
Muhammad Soban Javed
4463ee751d Revert "refactor: move common/lib/capa/capa to xmodule/capa" (#30762) 2022-07-21 18:22:15 +05:00
Muhammad Soban Javed
06064b237b Merge pull request #30403 from openedx/iamsobanjaved/BOM-2582-move-common-lib-capa
refactor: move common/lib/capa/capa to xmodule/capa
2022-07-21 16:27:47 +05:00
Robert Raposa
49dcb68a5e docs: fix restricted app adr status (#30677)
The decision to provide Restricted Applications expired
JWTs was superseded by another ADR. This commit simply
adds clarity around that change.

Co-authored-by: Phillip Shiu <pshiu@users.noreply.github.com>
2022-07-20 17:02:33 -04:00
John Nagro
ebf257813b feat: release edx-enterprise 3.53.3 (#30756) 2022-07-20 15:27:22 -04:00
Long Lin
42723fb056 chore: bump edx-enterprise version 2022-07-20 11:29:38 -04:00
Muhammad Umar Khan
4883503b00 Merge pull request #30740 from openedx/umar/add-workflow-for-doc-build
build: add doc build check
2022-07-20 20:10:14 +05:00
SaadYousaf
18deaf145f fix: add missing roles to Staff and Community TA lists to address missing Icons on FE 2022-07-20 19:57:43 +05:00
SaadYousaf
1ad3fb4992 fix: add staff permission to privileges check for learner tab 2022-07-20 19:56:39 +05:00
Mubbshar Anwar
a9e348cb43 fix: List index out of range (#30751)
- Current course run list index out of range.

VAN-1019
2022-07-20 17:12:54 +05:00
M Umar Khan
91f4585166 build: add doc build check 2022-07-20 15:39:05 +05:00
Ahtisham Shahid
a6e35897a1 feat: added logs to assess root cause of error in threads api (#30748)
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local>
2022-07-20 15:17:28 +05:00
Usama Sadiq
455521d686 fix: pin charset normalizer version (#30749)
* fix: pin charset-normalizer<2.1.0
* fix: pin markdown<3.4.0 version

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-07-20 14:03:40 +05:00
Pooja Kulkarni
145a30a998 Merge pull request #30108 from open-craft/keith/bb_5583_themed_html_templates
feat: add custom html templates for components
2022-07-20 12:41:41 +05:30
Keith Grootboom
ed81774569 feat: added new setting CUSTOM_RESOURCE_TEMPLATES_DIRECTORY
This setting allows loading of Resource Templates from outside the
edx-platform codebase.

Operators will be able to add their own custom resource templates
without needing to fork the codebase.
2022-07-20 08:44:34 +02:00
John Nagro
22b38deb27 feat: release edx-enterprise 3.53.1 (#30745) 2022-07-19 14:41:51 -04:00
connorhaugh
45c2858d61 Revert "feat: FC-0001 Remove Persistent Course Grades Flags (#30540)" (#30744)
This reverts commit 4a9243ef9f.
2022-07-19 13:45:31 -04:00
Michael Roytman
8de910b970 Merge pull request #30743 from openedx/mroytman/bump-xblock-lti-consumer-4.3.0
feat: Add core LTI 1.3 and LTI Advantage configuration to LTIConfiguration model and support XBlock using the database
2022-07-19 13:12:03 -04:00