Commit Graph

66833 Commits

Author SHA1 Message Date
Tim McCormack
b6774f59f3 docs: Remove mention of storage_backing_for_cache flag
The Waffle switch `block_structure.storage_backing_for_cache` was removed in https://github.com/openedx/edx-platform/pull/35185 -- this is just a lingering reference in a setting comment.
2024-12-09 17:20:34 -05:00
Adolfo R. Brandes
394a459dec feat: remove the broken Zooming Image Tool
The Zooming Image Tool does not load properly, currently, and even if it
did, relying on an external Javascript to function across releases is
not something we can support.  Thus, we remove it from the list of HTML
block templates until such time as a more robust solution is found.
2024-12-09 13:05:40 -03:00
Daniel Valenzuela
eadf5e2d79 fix: render library assets named xblock-
The previous pattern for matching was too broad and would break
the rendering of assets that were prefixed with "xblock".
2024-12-09 10:05:01 -05:00
renovate[bot]
9d9a68528f fix(deps): update dependency webpack to v5.97.1 (#35990)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 13:01:01 +00:00
renovate[bot]
7dc4c66365 fix(deps): update dependency @babel/preset-react to v7.26.3 (#35989)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 12:55:35 +00:00
renovate[bot]
96b3bdad19 fix(deps): update dependency sass to v1.82.0 (#35988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 12:51:28 +00:00
renovate[bot]
dedd278944 fix(deps): update dependency sass-loader to v16.0.4 (#35987)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 12:42:29 +00:00
Muhammad Ammar
4bda0aba7c Merge pull request #35986 from openedx/muhammad-ammar/upgrade-edx-enterprise-b07464b
feat: Upgrade Python dependency edx-enterprise
2024-12-09 14:59:26 +05:00
muhammad-ammar
044ab68aac feat: Upgrade Python dependency edx-enterprise
upgrade edx-enterprise to 5.4.0

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-09 06:55:41 +00:00
Daniel Valenzuela
b07464ba2d feat: incremental reindex_studio management command (#35864)
This allows large instances to run an (interruptable, resumable) reindex task that can cover thousands of courses.
2024-12-06 12:30:38 -08:00
edX requirements bot
3196ceb4a0 chore: Upgrade Python requirements 2024-12-06 11:19:06 -05:00
Diana Huang
818aa343a2 Revert "feat: Integrate Forum V2 into edx-platform"
This reverts commit 70b60ff256.
2024-12-06 11:19:06 -05:00
Rômulo Penido
8d4909a999 fix: content libraries permissions
This PR changes the permissions for content libraries so that only
people who can create courses should be allowed to create new content
libraries.
2024-12-06 09:18:04 -05:00
Irtaza Akram
0dd9f8f996 fix: disabling autoapi (#35939) 2024-12-06 18:58:50 +05:00
Chris Chávez
0bd0e6f4ca refactor: Update get block OLX view to support versions [FC-0062] (#35932)
* Deprecate `get_block_draft_olx`
* Deprecate get olx view in content libraries
* Create `get_block_olx` in xblock API with support of versions
* Create get olx view in xblock
2024-12-05 18:49:23 +00:00
Feanil Patel
60aa299c61 Merge pull request #35342 from openedx/bilalqamar95/upgrade-node-v20
build: Upgrade to Node 20
2024-12-05 12:59:01 -05:00
Bilal Qamar
85a891a607 chore: updated package-lock 2024-12-05 11:21:00 -05:00
Bilal Qamar
cbc55da4a0 refactor: updated lockfile version check workflow 2024-12-05 11:21:00 -05:00
Bilal Qamar
9f718613dd feat: updated node to v20 2024-12-05 11:20:57 -05:00
edX requirements bot
dda76a97af chore: Upgrade Python requirements 2024-12-05 10:48:15 -05:00
Maria Grimaldi
1c835eb643 fix: return empty list when no courses are found for request (#35942)
This change addresses an issue reported while testing Sumac, where the API V2 is on by default in the authoring MFE: openedx/wg-build-test-release#428. It fails when retrieving an empty list of courses with the queryparams api/contentstore/v2/home/courses?page=1&order=display_name. When this was implemented, the course authoring MFE rendered the empty lists only with page=1 query param (didn't do any filtering/ordering by default), which was later changed to page=1&order=display_name which now ordered by default.

This issue occurs because all the filtering and ordering are done under the assumption that course_overviews is always a query set. However, that's only true when there are courses available and CourseOverview.get_all_courses is used. When not, an empty list is returned instead, raising a 500 error in Studio.
2024-12-05 15:52:57 +01:00
github-actions[bot]
202d31b17e feat: Upgrade Python dependency edx-enterprise (#35964)
Bump version of edx-enterprise to v5.3.1.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: adamstankiewicz <2828721+adamstankiewicz@users.noreply.github.com>
2024-12-04 19:51:55 +00:00
Kyle D. McCormick
4839b75467 temp: disable broken test suites for Webpack-built JS
Should be re-enabled in: https://github.com/openedx/edx-platform/issues/35956
2024-12-04 11:28:30 -05:00
Kyle D. McCormick
50298f9dcb build: ensure JS tests fail when the Karma Webpack build fails
Adds a "DieHardPlugin" to the Webpack build. See enclosed code comment
for more details.
2024-12-04 11:28:30 -05:00
Ahtisham Shahid
9e470550ee chore: updated openedx-forum version to 0.1.3 (#35961) 2024-12-04 20:33:58 +05:00
Saleem Latif
1adf83ce4b Merge pull request #35960 from openedx/saleem-latif/ENT-9612
refactor: Removed unused django setting.
2024-12-04 15:25:26 +05:00
Saleem Latif
9d859a8247 refactor: Removed unused django setting. 2024-12-04 14:57:07 +05:00
Kyle McCormick
25536bbc36 fix: downgrade karma-spec-reporter to fix JS test logging (#35954)
The karma-spec-reporter npm package is a Karma plugin which tells Karma to
print the name of each spec (e.g. test case). This is extremely useful
as a maintainer to be able to visually inspect the CI logs and confirm
that we are actually running JS tests and not just giving
false-positives.

We are stuck on an ancient Karma version (0.13.22, lastest is 6.x),
which seems to be incompatible with the latest karma-spec-reporter version
(0.0.36). Since upgrading karma-spec-reporter, spec name printing has
failed with:

    02 12 2024 20:59:28.164:WARN [plugin]: Error during loading "karma-spec-reporter" plugin:
      Cannot read properties of undefined (reading 'LOG_PRIORITIES')

Downgrading to karma-spec-reporter@0.0.20 eliminates this error and
restoring spec name printing to our JS CI logs.
2024-12-03 19:05:14 +00:00
Muhammad Faraz Maqsood
70b60ff256 feat: Integrate Forum V2 into edx-platform
This commit introduces the new Forum V2 application, allowing users to choose between the legacy Forum V1 and the new Forum V2 at the course level.

Key Changes:
- Added waffle flag `discussions.enable_forum_v2` to enable Forum V2 for selected courses, allowing coexistence with Forum V1.
- Default data storage for Forum V2 is set to MongoDB, with an option to switch to MySQL using the waffle flag `forum_v2.enable_mysql_backend`.
- Introduced management command `forum_migrate_course_from_mongodb_to_mysql` for per-course data migration from MongoDB to MySQL.

Note: This PR does not include all unit tests for the Forum V2 native API due to ongoing migration efforts. Further updates will follow to ensure full test coverage before final release.

Co-authored-by: [Muhammad Faraz Maqsood] <faraz.maqsood@arbisoft.com>
Co-authored-by: [Ali Salman] <ali.salman@arbisoft.com>
2024-12-03 11:00:51 -05:00
Feanil Patel
0baf71ce01 Merge pull request #34479 from DmytroAlipov/fix-transcript-replacement
fix: an issue where changing the transcript language code
2024-12-03 10:43:25 -05:00
renovate[bot]
7ac03a2c8a fix(deps): update dependency node-gyp to v10.3.1 (#35949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 11:08:34 +00:00
renovate[bot]
2ff0dc013b fix(deps): update dependency sass to v1.81.1 (#35948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-03 11:02:37 +00:00
renovate[bot]
71ff45c5c1 fix(deps): update dependency uglify-js to v2.8.29 2024-12-03 10:22:06 +00:00
Ejaz Ahmad
18de5ccc68 Merge pull request #35946 from openedx/jajjibhai008/upgrade-edx-enterprise-1397673
feat: Upgrade Python dependency edx-enterprise
2024-12-03 15:17:51 +05:00
jajjibhai008
d351faa88c feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-03 09:01:01 +00:00
Katrina Nguyen
1397673652 Merge pull request #35944 from openedx/katrinan029/upgrade-edx-enterprise-a220e58
feat: Upgrade Python dependency edx-enterprise
2024-12-02 14:54:16 -08:00
katrinan029
4d301665a9 feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-12-02 22:31:05 +00:00
Jorg Are
a220e58c3b Merge pull request #35940 from openedx/hajorg/au-2271-bump-ora
chore: bump ORA to 6.14.1
2024-12-02 20:21:44 +01:00
Jorg Are
e23ec3843d Merge branch 'master' into hajorg/au-2271-bump-ora 2024-12-02 16:54:52 +01:00
Muhammad Farhan Khan
f9126bfdd9 Add Django settings flags to roll out the extracted XBlocks (#35549)
chore: Add Django settings flags to roll out the extracted XBlocks
2024-12-02 20:38:40 +05:00
hajorg
69dcb636df chore: bump ORA to 6.14.1 2024-12-02 15:56:17 +01:00
ayesha waris
3a11680dc1 fix: add infinity to code owners (#35937) 2024-12-02 18:46:38 +05:00
Awais Qureshi
81d4239117 feat!: upgrade start_certificate_regeneration to drf ( 29 ) (#35599)
* feat!: upgrading api to DRF.
2024-12-02 17:08:01 +05:00
Muhammad Adeel Tajamul
3d5f4983c5 feat: added anonymous id in edx.bi.user.account.authenticated event (#35934) 2024-12-02 13:22:27 +05:00
0x29a
69216e5560 test: has_course_author_access correctness 2024-11-29 00:39:58 +05:30
0x29a
dd814c3910 docs: explain why specifying 'cms' service 2024-11-29 00:39:58 +05:30
0x29a
ac9861fd73 feat: add has_course_author_access to CourseHomeMetadataView response 2024-11-29 00:39:58 +05:30
Braden MacDonald
919cc78be1 fix: Don't add 'x-is-pointer-node' to capa problems on paste 2024-11-29 00:27:43 +05:30
Dima Alipov
911bf73c04 fix: fix transcript replacement
Fixed an issue where changing the transcript language code would
cause both the old and new transcript to be displayed.
But in this case, you won’t be able to download the transcript
from the old code, since the link is invalid.
2024-11-28 14:19:29 +01:00
Awais Qureshi
a4d3bf91db feat!: upgrade certificate_exception_view to DRF ( 28 ) (#35594)
* feat!: upgrading api to DRF.
2024-11-28 14:58:54 +05:00