Commit Graph

62549 Commits

Author SHA1 Message Date
Feanil Patel
2dfeac7c14 refactor: Pull in django-pyfs via XBlock extra requiremnts.
We don't depend on it directly we just get it as a side-effect of
XBlock so make that more clear while we're updating the package to the
new name on PyPI
2023-01-30 11:21:16 -05:00
Sagirov Evgeniy
7a21c22587 test: updated test_import.py and test_course_index.py for split modulestore
This is part of Old Mongo removal. Also in this commit:

* fixed 400 error for cms old_style assets
* fix TEST_DATA_SPLIT_MODULESTORE import for test_course_index
2023-01-30 10:22:28 -05:00
Feanil Patel
d846ea8558 Merge pull request #31633 from openedx/feanil/depr_bs_raise_error
feat!: Remove block_structure.raise_error_when_not_found waffle flag.
2023-01-30 10:17:00 -05:00
Piotr Surowiec
426c23b5f6 chore: add version constraint for LTI Consumer XBlock (#31669) 2023-01-30 09:18:29 -05:00
Jenkins
8b9ede9548 chore(i18n): update translations 2023-01-29 15:58:51 -05:00
0x29a
528b96fef9 docs: expand override_export_fs's docstring 2023-01-26 15:28:43 +01:00
0x29a
d6241143ef docs: update VS[compat] comments 2023-01-26 15:28:14 +01:00
Awais Qureshi
67b9425f8a build: Adding new constraint to avoid bleach. (#31661) 2023-01-26 16:38:07 +05:00
Muhammad Adeel Tajamul
7fdd0fd6d4 feat: add banner to show if new discussion provider is active (#31645) 2023-01-26 11:52:25 +05:00
Nathan Sprenkle
f783dce52d feat: Learner Home experimental rollout (#31642)
* feat: add experimental redirect for Learner Home

As a request by Data, this system repeatably groups users into
experiment groups. Based on end of user ID, users that fall beneath a
threshold (LEARNER_HOME_MFE_REDIRECT_PERCENTAGE) will be redirected to
the Learner Home experience, if enabled. Otherwise, learners will see
the legacy dashboard.

* feat: add learner home redirect percentage setting

Adds LEARNER_HOME_MFE_REDIRECT_PERCENTAGE to common settings to avoid a
failed lookup. Can be overridden through config.

* refactor: change test to not leak implementation
2023-01-25 10:59:39 -05:00
Alejandro Cardenas
045ae44184 feat: add generate report button in admin (#31429)
* feat: add generate report button in admin
2023-01-25 10:19:59 -05:00
Michael Roytman
10e06e792d Merge pull request #31652 from openedx/MST-1769-pii-sharing-consent-dialog-button-bugs
Fix bug in rending buttons and message in PII sharing consent dialog.
2023-01-25 08:31:10 -05:00
Muhammad Adeel Tajamul
f3c598f772 fix: discussion enabled will not be visible is sub-section is timed in studio (#31654)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-01-25 17:08:44 +05:00
Zainab Amir
53815f1d89 feat: refactor recommendations util methods (#31639) 2023-01-25 15:18:17 +05:00
Usama Sadiq
73917a9b46 fix: remove local setuptools override (#31649) 2023-01-25 11:42:26 +05:00
michaelroytman
1cbd5e65d9 fix: upgrade lti-consumer-xblock library to install PII sharing dialog fixes
This commit upgrades the version of the lti-consumer-xblock library from version 7.2.2 to version 7.2.3. This new version contains a fix to the LTI PII sharing consent dialog.

Please see the CHANGELOG entry for this version for a full description of the fixes: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#723---2023-01-24. The commit message is included below for convenience.

This commit fixes a bug in the PII sharing consent dialog.

The bug resulted in bizarre behavior when there were more than one LTI component in a unit. For example, if there were two LTI inline launches in a unit, two "OK" button would appear in a single component, instead of in their respective components. Another example is that clicking the "View resource in a [modal|new] window" buttons under two LTI components resulted in the "OK" and "Cancel" buttons as well as the PII sharing prompt appearing in a single component, instead of in their respective components.

This is because the dialog-container div that is dynamically created in the Javascript was not scoped to the LTI component, so there was a div with a id of "dialog-container" for each component configured to share PII. When dynamically inserting and removing buttons and the PII sharing prompt, the Javascript would simply find the first div with the dialog-container ID and operate on it, instead of the div appropriate to the component the user is interacting with.
2023-01-24 16:14:58 -05:00
Zachary Hancock
0139610e11 feat: lti-consumer library security update (#31651) 2023-01-24 12:22:11 -05:00
Usama Sadiq
13d4b892f5 fix: remove setuptools constraint (#31647)
* fix: skip global setuptools constraint
2023-01-24 15:43:54 +05:00
Muhammad Adeel Tajamul
a8535ffaea fix: updated discussion enabled label (#31572)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2023-01-24 14:42:22 +05:00
Ahtisham Shahid
536fe66362 fix: remove chapters if thre are no sequentials in Topics v3 (#31625) 2023-01-24 13:18:27 +05:00
edx-transifex-bot
3a3d47f0ef chore(i18n): update translations (#31640)
Co-authored-by: Jenkins <sre+jenkins@edx.org>
2023-01-23 19:30:05 +00:00
Alexander J Sheehan
c2a892806b Merge pull request #31641 from openedx/asheehan-edx/bumping-enterprise-version-3-60-15
chore: bumping enterprise package to 3.60.15
2023-01-23 14:26:08 -05:00
Alex Sheehan
a804f07052 chore: bumping enterprise package to 3.60.15 2023-01-23 19:06:59 +00:00
Alexander J Sheehan
5e8c609110 Merge pull request #31634 from openedx/asheehan-edx/bumping-enterprise-3.60.14
chore: bumping enterprise version to 3.60.14
2023-01-23 09:46:13 -05:00
Piotr Surowiec
600219b047 Merge pull request #31384 from open-craft/tecoholic/unify-xblock-naming-item
refactor: unify XBlock naming: item [BD-13]
2023-01-23 15:04:56 +01:00
Arunmozhi
41e2f25d8f refactor: rename display_blocks to children in seq_block 2023-01-23 14:47:48 +01:00
Arunmozhi
7c621e6ad2 refactor: remove get_displayable_items and displayable_items from XModule 2023-01-23 14:47:48 +01:00
Arunmozhi
59d8b5d286 refactor: replace displayable_blocks with child
This removes the "displayable_blocks" property and replaces all the
usages with the "child" property.
2023-01-23 14:47:47 +01:00
Arunmozhi
b6634a811a refactor: replace get_display_blocks with get_children 2023-01-23 14:47:47 +01:00
Arunmozhi
1a20033180 refactor: rename system with runtime on conditional_block 2023-01-23 14:47:47 +01:00
Arunmozhi
59757ee52d refactor: replace xmodule.load_item calls with get_block 2023-01-23 14:47:47 +01:00
Arunmozhi
851eb65d53 refactor: rename get_displayable_items and displayable_items 2023-01-23 14:47:47 +01:00
Arunmozhi
d417a7561f refactor: rename ItemFactory to BlockFactory 2023-01-23 14:47:47 +01:00
Shafqat Farhan
4a41208cf9 Merge pull request #31484 from openedx/shafqat/VAN-1221
feat: VAN-1221 - POC: Course skills based recommendations from Algolia
2023-01-23 12:47:51 +05:00
Shafqat Farhan
5e44e483b2 Merge branch 'master' into shafqat/VAN-1221 2023-01-23 12:29:20 +05:00
Shafqat Farhan
68acdca9d7 feat: VAN-1221 - POC: Course skills based recommendations from Algolia 2023-01-23 12:10:28 +05:00
Feanil Patel
40eedc6889 test: Update query counts now that we've removed a waffle flag.
Various tests with query counts need to be updated now that we have
removed a waffle check that was in their codepath.
2023-01-22 18:39:51 -05:00
Alex Sheehan
a0fadf46c5 chore: bumping enterprise version to 3.60.14 2023-01-20 20:10:42 +00:00
Feanil Patel
e46bfcd252 feat!: Remove block_structure.raise_error_when_not_found waffle flag.
Per this DEPR: https://github.com/openedx/public-engineering/issues/34

This was a temporary waffle and is no longer needed.

BREAKING_CHANGE: Setting the
`block_structure.raise_error_when_not_found` waffle switch via
django-waffle will be ignored.

Note for Operators: If you have this waffle swicth in your systems, it
should be removed.
2023-01-20 13:09:24 -05:00
John Nagro
b68ea9194d fix: tweak namespace for SSO username generation (#31631) 2023-01-20 11:47:15 -05:00
Awais Qureshi
3d2d02bffe fix: upgrade pytz. (#31599)
* fix: upgrade pytz
2023-01-20 14:27:41 +05:00
John Nagro
0c4efc6ef2 fix: increase namespace for SSO username generation (#31619) 2023-01-19 16:22:10 -05:00
NiedielnitsevIvan
f5484ea448 feat!: [FC-0004] Support for legacy assets with deprecated keys is removed from uploads only (#31487) 2023-01-19 14:19:08 -05:00
Mohammad Ahtasham ul Hassan
b01cf355a7 Unpin django-ratelimit (#31416)
* fix: fix ratelimit upgrade changes

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2023-01-19 16:39:23 +05:00
edX requirements bot
11e07f06b4 chore: Updating Python Requirements (#31598) 2023-01-19 16:17:46 +05:00
Awais Qureshi
8abcdd2552 fix: Unpin icalendar constraint. (#31590)
* fix: Unpin icalendar constraint.
* chore: Updating Python Requirements (#31591)
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-01-19 12:39:01 +05:00
Hamza442
7e93be158b Merge pull request #31584 from openedx/hamza442/DENG-1261-add-testcases
chore: add new tests for retire_user management command
2023-01-18 23:58:59 +05:00
Zainab Amir
83437a9702 fix: redirect after the event has been fired (#31592) 2023-01-18 22:35:15 +05:00
Nathan Sprenkle
670477e7d5 fix: add fallthrough exception for course overview (#31582)
An issue trying to get a course overview for a deleted course and trying
to write back into the DB had been raising unhandled errors. Catching
other classes of errors to keep this function from breaking. Should just
return None in these cases and log the exception.
2023-01-18 11:40:38 -05:00
Maria Fernanda Magallanes Zubillaga
dcc795042b perf: change queryset to get_queryset in CourseEnrollmentAdmin 2023-01-18 11:29:13 -05:00