Commit Graph

66953 Commits

Author SHA1 Message Date
sundasnoreen12
8e1f06aa59 feat: added goal reminder new UI 2025-06-19 12:05:17 +05:00
Katrina Nguyen
9d6d8088b8 Merge pull request #36929 from openedx/katrinan029/upgrade-edx-enterprise-31ef780
feat: Upgrade Python dependency edx-enterprise
2025-06-18 10:16:54 -07:00
katrinan029
64b8ae9474 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`
2025-06-18 16:44:28 +00:00
Maria Grimaldi
31ef780365 fix: redirect to account MFE when using any legacy account URL (#36894)
* fix: redirect to account MFE when using any legacy account URL

Redirect to the account MFE URL configured each time a legacy
account URL like http(s)://lms/account/ or http(s)://lms/account/settings
is used to avoid 404 errors while linking SSO accounts or simply
trying to access the account view via URLs.
2025-06-18 15:44:19 +02:00
Tim McCormack
447fd0b6cb feat: Upgrade to codejail 4.0.0 (#36916)
This brings an important security improvement -- codejail won't default to
running in unsafe mode, which can happen if certain configuration errors
are present.

Properly configured installations shouldn't be affected. We just need to
adjust some unit tests to opt into unsafe mode.

Changes:

- Update `edx-codejail` dependency to [version 4.0.0](https://github.com/openedx/codejail/blob/master/CHANGELOG.rst#400---2025-06-13)
- Define a `use_unsafe_codejail` decorator that allows running a unit test (or entire TestCase class) in unsafe mode
- Use that decorator as needed, based on which tests started failing
2025-06-17 09:33:52 -04:00
Pandi Ganesh
0c493b6ec2 feat: add Studio API for bulk enable/disable discussions for a course
Implemented Studio API for bulk enable/disable discussions for a course.
2025-06-17 16:23:47 +05:00
Chris Chávez
854d04dd33 fix: disallow editing components in unit that come from libraries (#36914) 2025-06-16 14:28:59 -07:00
github-actions[bot]
01d0e1d1a7 feat: Upgrade Python dependency edx-enterprise (#36920)
* feat: Upgrade Python dependency edx-enterprise

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

* fix: typo fix to trigger tests

---------

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
Co-authored-by: Kira Miller <kira.miller15@yahoo.com>
2025-06-16 14:28:47 -06:00
sundasnoreen12
5d7f8e4ed0 Merge pull request #36897 from openedx/sundas/INF-1919
feat: implemented self paced email UI
2025-06-16 11:20:56 +05:00
Robert Raposa
f4c3575bb0 Revert "fix(settings): replace DEFAULT_FILE_STORAGE with STORAGES[default]" (#36907)
This reverts commit 39028b9500.
2025-06-13 16:57:47 +00:00
Ram Chandra Bhavirisetty
39028b9500 fix(settings): replace DEFAULT_FILE_STORAGE with STORAGES[default] 2025-06-13 11:40:56 -04:00
sundasnoreen12
2dd3df49c0 fix: fix spacing issue 2025-06-13 14:52:25 +05:00
sundasnoreen12
842e0d41f5 fix: removed hardcoded URLs 2025-06-13 12:45:45 +05:00
sundasnoreen12
3703333d9e test: fix test case 2025-06-13 12:45:36 +05:00
sundasnoreen12
6219c1768f feat: implemented self paced email UI 2025-06-13 12:45:36 +05:00
Katrina Nguyen
0ab677af34 Merge pull request #36900 from openedx/katrinan029/upgrade-edx-enterprise-4cea2ab
feat: Upgrade Python dependency edx-enterprise
2025-06-12 16:43:17 -07:00
katrinan029
4c0035c66f 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`
2025-06-12 23:12:19 +00:00
Talha Rizwan
4cea2ab041 feat: export ora2 summary to DRF (#36555)
* feat: export ora2 summary to DRF.
2025-06-12 12:36:56 -04:00
Arslan Ashraf
d6dbc4075c fix: generate IDV URL only if ACCOUNT_MICROFRONTEND_URL is available (#36898)
The api/courseware/course fails for all the verified enrollments if you
are not using Account MFE, which means that you probably won't set
ACCOUNT_MICROFRONTEND_URL in your settings/configurations.
So this PR adds a check safely try to do rstrip.

Fixes a bug in https://github.com/openedx/edx-platform/pull/36870
2025-06-12 12:13:37 -04:00
github-actions[bot]
1551cc00ce feat: Upgrade Python dependency edx-enterprise (#36899) 2025-06-12 15:37:09 +00:00
Muhammad Umar Khan
10a4d12b06 feat!: remove pyjwkest (#36707)
Co-authored-by: M Umar Khan <umar.khan@A006-01609.local>
2025-06-12 14:30:32 +05:00
Eemaan Amir
0a7d894981 feat: removed age restriction on profile image upload (#36857)
* feat: removed age restriction on profile image upload

* test: updated test files

* test: updated test files

* fix: fixed lint issues

* test: updated test files

* fix: fixed lint issues
2025-06-12 10:56:46 +05:00
github-actions[bot]
714303dbc8 feat: Upgrade Python dependency edx-enterprise (#36893)
* feat: Upgrade Python dependency edx-enterprise
2025-06-12 09:46:13 +05:00
Feanil Patel
fbaa6ae3c7 Merge pull request #36816 from raccoongang/fix-courses-catalog-visibility-main
fix: correct course catalog visibility for "about" setting
2025-06-11 13:28:31 -04:00
Usama Sadiq
0611c7891a Remove user tasks constraint (#36887)
* fix: remove django-user-tasks package constraint
2025-06-11 11:44:52 +05:00
KEVYN SUAREZ
db8766d4aa fix: Include metadata for blocked sequence units to enable proper navigation (#36485)
The original issue was that when a sequence was locked due to prerequisites, the API returned an empty items array ([]). This prevented the frontend from knowing what units were inside the locked sequence, meaning it couldn't construct the URLs correctly for navigation so the next/previous buttons stop working.
2025-06-10 20:06:46 +02:00
Kyle McCormick
087ab73b32 docs: Update this super old readme (#36865)
This directory was created as part of an
idea [1] to create top-level openedx namespace which
every Open edX package would nest itself under.
The README was written with that in mind.

That never panned out, so openedx is really just
another "common" directory. Non-common code
should not be added to it. This update clarifies that.

[1] https://github.com/openedx/edx-platform/pull/5942#issuecomment-66117744
2025-06-10 16:42:28 +00:00
Turchanikov Arsen
cd57ecef81 fix: correct course catalog visibility for "about" setting
Previously, courses with the "Course Visibility in Catalog" setting set to "about"
still appeared in the course catalog, which contradicts the expected behavior.
2025-06-10 14:26:57 +03:00
Muhammad Soban Javed
bcb3f6b996 Merge pull request #36823 from openedx/iamsobanjaved/fix-csmh-index-migration
[DO NOT MERGE – Needs Staging Verification] fix!: Update the migration to have one Index on student_module_id
2025-06-10 16:00:11 +05:00
Awais Qureshi
be09d1cd18 fix: removing deprecated SHA1PasswordHasher from tests. (#36881) 2025-06-09 16:31:51 -04:00
Chris Chávez
a274db0912 feat: Send events when update containers [FC-0090] (#36866)
* Send `LIBRARY_CONTAINER_UPDATED` for containers that contains the updated unit/section when calling update_container
2025-06-09 11:09:16 -05:00
Kyle McCormick
0b48f2795a build: Restore .dockerignore to improve image build and caching (#36877)
edx-platform's Dockerfile was removed in Jan 2025 because the
community was not maintaining or using it. The PR that removed it [1]
also removed the .dockerfile as an effort to clean up unnecessary
Docker-related files from the repo.

However, the .dockerignore file serves an important purpose for
*any* Docker image based on edx-platform: it identifies which files
and paths aren't relevant for the functioning of the image. For
example, Tutor greatly benefited from this file, because by ignoring
unnecessary files, the build context was shrunk and image cache
layers were less likely to be unnecesarily invalidated.

We restore the .dockerfile as it was previously in Sumac [2], with
the addition of /venv, /.venv, and __pycache__, and with the
removal of /Dockerfile (as it no longer exists).

[1] https://github.com/openedx/edx-platform/pull/35731
[2] https://github.com/openedx/edx-platform/blob/open-release/sumac.master/.dockerignore
2025-06-09 16:08:52 +00:00
Javier Ontiveros
89e3d189ca fix: strip end slash if any when using a subpath (#36870)
While trying to be enrolled on a verified course, the upgrade process
gets to an error screen due to a double slash on the URL that it's added
while doing the redirection to the account microfrontend

Will be backported to Teak.
Part of https://github.com/openedx/wg-build-test-release/issues/468
2025-06-09 15:12:08 +00:00
Kyle McCormick
29c1268d2b feat!: enable authoring MFE markdown editor waffle for everyone by default (#36872)
This adds a migration to turn on the new React-based Markdown editing option
for newly-created ProblemBlocks for all authors. The option is nested
under "Advanced settings", just like the Advanced (OLX) problem editor.

The migration is written such that it will *not* overwrite an existing global
"No" waffle flag. Furthermore, our waffle utilities are designed such that
org-level and course-level overrides will still take preference over the flag
that the migration creates. Therefore, this should only take effect in cases
where no existing waffle flag applies.

BREAKING CHANGE: Operators who do not want the new React-based Markdown editor
to be shown should create a flag contentstore.use_react_markdown_editor with
the value "No".

We plan to backport this to Teak.
Prior art for flipping waffles like this: 9b0024376a
Part of: https://github.com/openedx/platform-roadmap/issues/384

Co-authored-by: Muhammad Anas <muhammad.anas@arbisoft.com>
2025-06-09 10:58:04 -04:00
Talha Rizwan
b6cec3c67e Export ora2 data to drf (#36556)
* feat: export ora2 data to DRF
2025-06-05 10:37:55 -04:00
Awais Qureshi
291c5c3a44 feat!: upgrade code and fix get_storage_class ( compatibility django42 and django52) (#36628)
* feat!: upgrade codebase for compatibility with Django 4.2 and 5.2.
2025-06-05 10:11:07 -04:00
Usama Sadiq
e90bd04937 build: remove outdated dependency path (#36861) 2025-06-05 18:14:05 +05:00
Feanil Patel
a0e170f064 Merge pull request #36855 from openedx/repo-tools/upgrade-python-requirements-c080f96
chore: Upgrade Python requirements
2025-06-04 23:19:03 -04:00
Taylor Payne
3e83efa609 fix: exclude fields from UpstreamSyncMixin in advanced settings api (#36831)
The UpstreamSyncMixin introduced in [1] which is added as a XBlock mixin,
currently contains four fields - `upstream`, `upstream_version`,
`upstream_version_declined`, and `upstream_display_name`. These fields are
coming through in the course advanced settings API endpoint
(`/api/contentstore/v0/advanced_settings/{course_id}`), and subsequently show
up in the Advanced Settings view in the frontend-app-authoring MFE, which they
shouldn't.

This PR resolves this issue by adding the fields from the `UpstreamSyncMixin`
into the FIELDS_EXCLUDE_LIST [2] of the `CourseMetadata` class. Unless the API is
called with `fetch_all=1` (the authoring MFE uses `fetch_all=0`), then these
fields will be filtered out.

[1] https://github.com/openedx/edx-platform/blob/master/cms/lib/xblock/upstream_sync.py#L289
[2] https://github.com/openedx/edx-platform/blob/master/cms/djangoapps/models/settings/course_metadata.py#L41

Fixes: https://github.com/openedx/frontend-app-authoring/issues/2018
2025-06-04 13:38:30 -04:00
Jansen Kantor
f58c6f04fa fix: wrap sequence metadata view in bulk actions contextmanager (#36854)
* fix: wrap sequence metadata view in bulk actions contextmanager

* style: line too long
2025-06-04 16:52:09 +00:00
Feanil Patel
3d664b0ae8 Merge pull request #36609 from musanaeem/musa/admin-revamp-dropdowns
Single Select Autocomplete Added to Student Admin
2025-06-04 11:37:29 -04:00
Feanil Patel
a01f4b110c Merge pull request #36814 from wgu-taylor-payne/update-django-simple-history
chore: remove version constraint on django-simple-history
2025-06-04 11:12:04 -04:00
edX requirements bot
2c856bda46 chore: Upgrade Python requirements 2025-06-04 10:58:13 -04:00
Ahtisham Shahid
c080f96da2 fix: Updates task in topics sync API (#36853)
fix: Updates task in topics sync API
2025-06-04 08:30:48 +00:00
awais qureshi
30feea5bfd feat: implementing autocomplete for django admin pages. 2025-06-03 17:24:24 -04:00
awais qureshi
77f081286f feat: implementing autocomplete for django admin pages. 2025-06-03 17:24:24 -04:00
awais qureshi
89509ecc53 feat: implementing autocomplete for django admin pages. 2025-06-03 17:24:24 -04:00
awais qureshi
ec8c190ab0 feat: implementing autocomplete for django admin pages. 2025-06-03 17:24:24 -04:00
musanaeem
355eb1bc55 feat: added more tests 2025-06-03 17:24:24 -04:00
musanaeem
10e05f306b feat: added tests 2025-06-03 17:24:24 -04:00