Commit Graph

66833 Commits

Author SHA1 Message Date
Hamzah Ullah
e7b4db0862 chore: Upgrade edx-enterprise to 4.19.1 (#34822) 2024-05-20 15:34:35 -04:00
Maria Grimaldi
9431e96d3c fix: add in-line docs correct namespace for content_groups_for_teams (#34783) 2024-05-20 14:50:17 -04:00
Maria Grimaldi
33b8137763 refactor: rename minimum partition ID constant to be more generic (#34529)
Rename MINIMUM_STATIC_PARTITION_ID to MINIMUM_UNUSED_PARTITION_ID
so it's not confusing when used to generate IDs for static or dynamic
partitions.
2024-05-20 14:38:58 -04:00
Hamzah Ullah
031df2dbd3 chore: Upgrade edx-enterprise to 4.19.0 (#34821) 2024-05-20 10:11:10 -04:00
Arslan Ashraf
9c485dddd6 fix: make lis_person_contact_email_primary matching case-insensitive 2024-05-17 20:21:32 +02:00
Glenn R. Martin
73231eda86 Merge pull request #34818 from openedx/gmartin/cc-logging
fix: adding additional logging to commerce handle_refund_order
2024-05-17 12:22:08 -04:00
Glenn R. Martin
20c8fc127b fix: logging emission of REFUND_ORDER 2024-05-17 11:55:47 -04:00
Glenn R. Martin
a9b14e8b16 fix: adding additional logging to commerce handle_refund_order 2024-05-17 11:21:59 -04:00
David Ormsbee
4c0623bcbc fix: prevent setting user attributes from JWT in Studio
Open edX implements its a JwtAuthentication class in edx-drf-extensions
(in edx_rest_framework_extensions.auth.jwt.authentication). This class
updates the local User database entry to match certain values in the
token. It's used as a way to automatically provision and update users
with their LMS user information on other Open edX services like
ecommerce.

Since LMS and Studio keep the record of truth in its database tables,
they should *not* update their database user information based on the
JWT. Doing so would allow stale JWTs to incorrectly reset user values
after they had been changed in the LMS. This is done by having the
EDX_DRF_EXTENSIONS['JWT_PAYLOAD_USER_ATTRIBUTE_MAPPING'] setting be an
empty dictionary, and was set correctly for the LMS in its common.py env
settings module. Unfortunately, this was *not* being set for Studio.

This commit adds the same setting to Studio's common settings module.
Prior to this commit, it was possible for a stale JWT to reset user
attributes if the user hit a Studio API endpoint that used JWT for  auth
(e.g. endpoints used by the Course Authoring MFE). This opened up a
potential security issue where a global staff user (is_staff=True) that
had their global staff status removed (is_staff=False) could have up to
a one hour window in which they could use their stale-but-still-valid
global-staff JWT token to regain global staff status by calling a Studio
endpoint with their browser.
2024-05-17 10:01:10 -04:00
qasim.gulzar
48cdbce893 refactor: [DEPR]: Neo4J Support #34342 2024-05-17 18:55:16 +05:00
Alexander J Sheehan
e33e30ca85 Merge pull request #34814 from openedx/asheehan-edx/edx-enterprise-version-bump-4.18.6
chore: bumping enterprise package version to 4.18.6
2024-05-16 15:49:50 -04:00
Alexander J Sheehan
997f28c25b chore: bumping enterprise package version to 4.18.6 2024-05-16 19:18:28 +00:00
Kyle McCormick
51274af916 fix: use the correct environment variable in watch_sass (#34805)
EDX_PLAFORM_THEME_DIRS was the original name,
but it was changed to COMPREHENSIVE_THEME_DIRS
in https://github.com/openedx/edx-platform/pull/34700.
2024-05-16 15:08:05 -04:00
Raymond Zhou
0fd3bde79d fix: remove instructor info serializer validation (#34802) 2024-05-16 13:47:07 -04:00
Justin Hynes
9fbc6e3bf4 feat: purge name from certificate records during user retirement (#34799)
[APER-3241]

This PR updates the retirement pipeline to purge learners' names from certificate records when their account is being retired.

It also introduces a new management command that can be used by Open edX operators to purge the leftover name data (PII data) from the `certificates_generatedcertificate` table. This is designed as a one-time use data fixup, as the retirement functionality should clean this moving forward.
2024-05-16 09:17:40 -04:00
Muhammad Adeel Tajamul
7709f4b2c6 fix: updated email notifications task and ui fixes (#34803) 2024-05-16 05:18:59 +05:00
Kyle D. McCormick
7d7a18d28b build: add system check to warn of pending devstack settings removal
Note: I had originally implemented this as a `warnings.warn()` call
directly in lms/envs/devstack.py and cms/envs/devstack.py, but for
whatever reason, those warnings were getting swallowed. System checks
display more prominently, anyway.

Part of: https://github.com/openedx/public-engineering/issues/247
2024-05-15 12:56:59 -04:00
Kyle D. McCormick
72a15e36e9 docs: remove outdated configuration diagram 2024-05-15 12:56:59 -04:00
github-actions[bot]
73d3995dae feat: Upgrade Python dependency edx-enterprise, and introduce importlib-metadata (#34794)
* 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`

* fix: reintroduce importlib_metadata

* chore: Updating Python Requirements (#34798)

---------

Co-authored-by: brobro10000 <82611798+brobro10000@users.noreply.github.com>
Co-authored-by: Hamzah Ullah <hamzahullah@yahoo.com>
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2024-05-14 15:22:06 -04:00
Feanil Patel
3538c34703 Merge pull request #34792 from openedx/feanil/old_consistency
fix: Check consistency with python 3.8
2024-05-14 13:30:49 -04:00
Feanil Patel
a6614adc0c Merge pull request #34782 from open-craft/yusuf-musleh/update-tagged-openassessment-test
test: Update tagged openassessment test
2024-05-14 11:35:11 -04:00
Feanil Patel
17596bf70e fix: Check consistency with python 3.8
We need to do this until we're ready to compile requirements with python
3.11 some time next week.
2024-05-14 11:04:05 -04:00
Feanil Patel
e54f647929 Merge pull request #34780 from openedx/feanil/drop_old
feanil/drop old
2024-05-14 10:55:25 -04:00
Feanil Patel
4687dae487 build: Drop testing with Mongo 4.4 and Python 3.8 2024-05-14 09:25:18 -04:00
Yusuf Musleh
e8d07cf747 test: Update tagged openassessment test 2024-05-14 10:37:38 +03:00
Katrina Nguyen
62aa7dd06d Merge pull request #34790 from openedx/katrinan029/upgrade-edx-enterprise-20c082c
feat: Upgrade Python dependency edx-enterprise
2024-05-13 15:41:23 -07:00
katrinan029
a28e107c0a feat: Upgrade Python dependency edx-enterprise
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`

fix: updating edx-enterprise

fix: lint error
2024-05-13 21:54:58 +00:00
Tim McCormack
20c082c33b feat: Remove direct New Relic references (use configured telemetry) (#34781)
Now that edx-django-utils can report to other telemetry backends, we need
to remove the direct newrelic references.
2024-05-13 17:10:46 +00:00
Raymond Zhou
74a514518c fix: instructor info in course details api (#34760) 2024-05-13 12:47:22 -04:00
ABBOUD Moncef
3fa77ea44d feat: add a nontranslated status video field (#33939) 2024-05-13 09:58:01 -04:00
Kyle McCormick
15caa9746f refactor: Completely remove Blockstore (#34739)
Blockstore and all of its (experimental) functionality has been replaced with
openedx-learning, aka "Learning Core". This commit uninstalls the now-unused
openedx-blockstore package and removes all dangling references to it.

Note: This also removes the `copy_library_from_v1_to_v2` management command,
which has been broken ever since we switched from Blockstore to Learning Core.

Part of this DEPR: https://github.com/openedx/public-engineering/issues/238
2024-05-13 09:48:18 -04:00
Ahtisham Shahid
d3ffb3e882 fix: get topics for blocks with discussions enabled (#34732) 2024-05-13 16:50:37 +05:00
sundasnoreen12
60e86dd076 Merge pull request #34687 from openedx/sundas/INF-1371
fix: fixed tds width and margins issues
2024-05-13 11:41:29 +05:00
Feanil Patel
70f06867af Merge pull request #34424 from qasimgulzar/qasim/fix/34379
fix: Course blocks API with param return_type=list
2024-05-10 13:25:16 -04:00
Muhammad Adeel Tajamul
0d4adaa5d7 fix: updated ace template for notifications email digest (#34778) 2024-05-10 17:52:19 +05:00
sundasnoreen12
2c4e039313 fix: moved tr outside forloop 2024-05-10 14:50:30 +05:00
sundasnoreen12
7789923d21 refactor: added tr tags 2024-05-10 13:03:01 +05:00
sundasnoreen12
f976266b21 refactor: paragraph tag is not holding children in email template 2024-05-10 13:02:40 +05:00
sundasnoreen12
ab66687a19 fix: added fix based on recent master changes 2024-05-10 13:02:40 +05:00
Alexander J Sheehan
e40495ed06 Merge pull request #34744 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-6308c96
feat: Upgrade Python dependency edx-enterprise
2024-05-09 16:52:56 -04:00
alex-sheehan-edx
75ac5e3f04 feat: Upgrade Python dependency edx-enterprise
enterprise version bump 4.17.6

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-05-09 20:00:01 +00:00
Max Sokolski
f717de33c6 Merge pull request #34752 from raccoongang/max/feat/pip-sandbox-requirements-redwood
feat: freeze edx-sandbox requirements for redwood
2024-05-10 01:43:13 +09:00
Glib Glugovskiy
4599e45b2e feat: emit passing status updated events for badging (#34749)
Introduce emission of the COURSE_PASSING_STATUS_UPDATED as well as CCX_COURSE_PASSING_STATUS_UPDATED events, that are groundwork for the new Credly integration and the future badging initiative.

Product GH ticket for tracking - openedx/platform-roadmap#280
2024-05-09 11:52:36 -04:00
Max Sokolski
8ff52ce197 feat: freeze edx-sandbox requirements for redwood
We ran:

    cp requirements/edx-sandbox/base.txt \
       requirements/edx-sandbox/releases/redwood.txt
2024-05-09 18:31:41 +03:00
Feanil Patel
6e715782b6 Merge pull request #34685 from openedx/feanil/make_upgrade
chore: Run `make upgrade`
2024-05-09 10:02:28 -04:00
Rômulo Penido
b42da7429f feat: Enable taxonomy/tagging feature in MFE by default (#34633)
* feat: make tagging feature enabled by default

* fix: use the correct flag for tagging enabled

* fix: make compatible with other changes from master

* fix: more compatibility fixes

* fix: show tag counts at all levels of the outline, not just units

* chore: typo

* test: fix counts in test suite now that tagging is on by default

---------

Co-authored-by: Braden MacDonald <braden@opencraft.com>
Co-authored-by: Yusuf Musleh <yusuf@opencraft.com>
2024-05-09 18:57:05 +05:30
Chris Chávez
7f6133c940 [FC-0049] feat: Update remove object-tag permission (#34728)
* feat: Update remove object-tag permission

* chore: Bump openedx-learning version
2024-05-09 17:38:25 +05:30
Feanil Patel
0d1346809e Merge pull request #34745 from openedx/feanil/fix_count_tooling
fix: Correct shard count verification.
2024-05-09 08:02:30 -04:00
Chris Chávez
6738faa8f7 feat: Avoid to close tag drawer when click outside (#34740) 2024-05-09 17:29:21 +05:30
Glib Glugovskiy
c5d94d21bf docs: change default value for a toggle to correct doc (#34747) 2024-05-09 08:57:43 -03:00