Commit Graph

66212 Commits

Author SHA1 Message Date
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
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
Cristhian Garcia
9cade7a348 Merge pull request #35927 from marslanabdulrauf/marslan/bump-openedx-learning-v
chore: Bump openedx-learning to version 0.18.1
2024-11-27 09:09:45 -05:00
Ahtisham Shahid
0b3d05dda6 chore: removed new comment notification grouping (#35920) 2024-11-27 18:28:07 +05:00
renovate[bot]
e01c53177d chore(deps): update dependency selenium-webdriver to v4.27.0 (#35930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 11:44:52 +00:00
Muhammad Arslan
6e947f61dc chore: Bump openedx-learning to version 0.18.1 2024-11-27 14:56:51 +05:00
Kyle McCormick
9274852f2d fix: Remove pointless Maintenance and Announcement apps (#35852)
The Studio Maintenance app had two features:

* "Force Course Publish", which literally doesn't do anything. All it
  does is tell you what version *would* be seen by users *if* the course
  were to be published--no publishing actually occurs via this feature.

* "Announcements", which writes to the announcements_announcement
  database table, but doesn't actually display anywhere.

Having these pages in the platform is actively misleading and creates a
maintenance burden for edx-platform developers, so we remove them.

Note that this commit does not include a migration for the announcements
Django app. So, announcements_announcement table will not be deleted.
Given the small expected size of any past-authored announcements, we are
not worried about leaving them in the database perpetually.
2024-11-26 15:15:27 +00:00
Awais Qureshi
bfa756b7c9 feat!: upgrading api to DRF. (#35584) 2024-11-26 16:56:03 +05:00
Alison Langston
139b4167b3 feat: update logic for courseware search enabled endpoint (#35922) 2024-11-25 10:44:49 -05:00
Awais Qureshi
8ea2d1030e feat!: upgrade get_issued_certificates to DRF ( 24 ) (#35534)
* feat!: upgrading api to DRF.
2024-11-25 16:04:59 +05:00
Navin Karkera
73ba58ae11 feat: iframe messaging for component picker in problem bank (#35888) 2024-11-22 11:44:13 -05:00
renovate[bot]
e4404051c4 chore(deps): update jest monorepo to v29 (major) (#35897)
* chore(deps): update jest monorepo to v29

* chore: updated failing snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
2024-11-22 15:43:35 +05:00
Muhammad Adeel Tajamul
0682493b6a chore: added anonymous id in user registered event (#35875) 2024-11-22 06:51:31 +05:00
Jesper Hodge
46ee8a9872 Revert "fix(deps): update dependency raw-loader to v4 (#35893)" (#35915)
This reverts commit 1535ff7ebe to see if it might have caused ICM-119 (missing text.replace)
2024-11-21 23:43:23 +00:00
Bilal Qamar
1a8c1e1c5d fix: revert uglify-js update to 3.19.3 and restore version 2.7.0 (#35911)
Co-authored-by: bszabo <bszabo@rcn.com>
2024-11-21 16:28:16 +00:00
Bilal Qamar
85393d46d2 fix: revert hlsjs update to 1.15.17 and restore version 0.14.17 (#35913) 2024-11-21 20:51:21 +05:00
Kristin Aoki
0f03bf686e feat: update twitter brand icon in social share (#35885)
* feat: update twitter brand icon in social share

* fix: icon alignment
2024-11-21 09:30:18 -05:00
renovate[bot]
d218317712 chore(deps): update dependency karma-requirejs to v1 (#35903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 09:16:19 -05:00
renovate[bot]
248d416a46 fix(deps): update dependency react-router-dom to v5.3.4 (#35909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:30:43 +00:00
renovate[bot]
84856d42c5 chore(deps): update dependency sinon to v19 (#35908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:22:11 +00:00
renovate[bot]
f7d7939dfc chore(deps): update dependency karma-junit-reporter to v2 (#35902)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 16:45:41 +05:00
renovate[bot]
c6e0c1b8bc chore(deps): update dependency karma-coverage to v2 (#35901)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 16:45:18 +05:00