Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2fb4cba
feat: update certificate icon
Cup0fCoffee Apr 25, 2025
c0bea2b
fix: unit xblock adaptivity and small visual enhancements
ihor-romaniuk Apr 29, 2025
e92e406
fix: improve calculation for xblock action dropdown menu on unit page
ihor-romaniuk Apr 30, 2025
75b4b84
refactor: update sync model helper function docs and minor cleanup (#…
navinkarkera May 1, 2025
45ed39d
feat: store content.child_usage_keys in Container search document [FC…
pomegranited May 2, 2025
d6df4d1
fix: unwanted section of code causing cross-origin error (#36643) (#3…
navinkarkera May 2, 2025
0e2caaf
chore: upgrade openedx-learning to 0.26.0 (#36654)
rpenido May 6, 2025
e1375ae
fix: Bugs with "Publish All Changes" in Library [FC-0083] (#36640) (#…
pomegranited May 9, 2025
95a036a
feat: add last_published_at to upstream summary endpoint [FC-0083] (#…
rpenido May 12, 2025
62d8ad4
fix: Issues with get container children [FC-0083] (#36686) (#36703)
ChrisChV May 13, 2025
9d5417a
feat: Fix character range for codejail darklaunch tmpdir normalizatio…
timmc-edx Apr 28, 2025
6ae8fe0
fix: Use correct default for unsafely param (#36638)
timmc-edx Apr 30, 2025
1c29fb7
feat: Improve codejail darklaunch logging (#36671)
timmc-edx May 6, 2025
a135afe
feat!: Expand codejail darklaunch normalizers; append by default (#36…
timmc-edx May 8, 2025
100dd88
fix: Pass limit overrides context to codejail execution in all places…
timmc-edx May 8, 2025
995cc17
Merge pull request #36718 from openedx/timmc/backport-cjdl-teak
timmc-edx May 14, 2025
930d0bc
fix: support legacy studio_view in v2 library (#36748)
navinkarkera May 20, 2025
9a4509a
Merge commit from fork
timmc-edx May 21, 2025
481acb3
fix: open mfe modal editor of new duplicated xblock (#36641) (#36766)
DanielVZ96 May 22, 2025
4146b3c
fix: TinyMCE editor in advanced block editors [FC-0076] (#36754) (#3…
ChrisChV May 22, 2025
6f05f70
fix: clear buttons in advanced components editors in Libraries (#3675…
ChrisChV May 22, 2025
8bcdfbf
fix: recurse through pasted block data to replace static paths (#3672…
pomegranited May 22, 2025
1a38252
fix: remove double edit buttons on unit outline (#36770) (#36780)
rpenido May 23, 2025
781a7b1
fix: add _top target to view link to open separate route outside of i…
tonybusa Jun 3, 2025
c318e47
fix: Certificates display signer information regardless of whether th…
efortish May 29, 2025
4637463
feat!: enable authoring MFE markdown editor waffle for everyone by de…
kdmccormick Jun 9, 2025
f3aa7bf
fix: strip end slash if any when using a subpath
holaontiveros Jun 9, 2025
95eea1c
build: Restore .dockerignore to improve image build and caching (#36878)
kdmccormick Jun 9, 2025
4101615
fix: Include metadata for blocked sequence units to enable proper nav…
efortish Jun 11, 2025
37fd461
fix: correct course catalog visibility for "about" setting (#36776)
arsentur Jun 11, 2025
b07add0
fix: generate IDV URL only if ACCOUNT_MICROFRONTEND_URL is available …
arslanashraf7 Jun 17, 2025
413e58f
fix: Edit components in unit that comes from libraries (#36915)
ChrisChV Jun 17, 2025
4a0d77a
fix: redirect to account MFE when using any legacy account URL (#36894)
mariajgrimaldi Jun 18, 2025
3955c5c
fix: use MFE-aware URL instead of legacy when generating block URL (#…
efortish Jun 23, 2025
eed5821
chore: update openedx-forum to fix issues
farhaanbukhsh Aug 21, 2025
8d67a63
Program Code Changes
Manoj12309 Nov 25, 2025
c8683cf
Program Code Changes
Manoj12309 Nov 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 153 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# .dockerignore for edx-platform.
# There's a lot here, please try to keep it organized.

### Files that are not needed in the docker file

/test_root/
.git

### Files private to developers

# Files that should be git-ignored, but are hand-edited or otherwise valued,
# and so should not be destroyed by "make clean".
# start-noclean
requirements/private.txt
requirements/edx/private.in
requirements/edx/private.txt
lms/envs/private.py
cms/envs/private.py
# end-noclean

### Python artifacts
**/*.pyc
**/__pycache__
.venv
venv

### Editor and IDE artifacts
**/*~
**/*.swp
**/*.orig
**/nbproject
**/.idea/
**/.redcar/
**/codekit-config.json
**/.pycharm_helpers/
**/_mac/*
**/IntelliLang.xml
**/conda_packages.xml
**/databaseSettings.xml
**/diff.xml
**/debugger.xml
**/editor.xml
**/ide.general.xml
**/inspection/Default.xml
**/other.xml
**/packages.xml
**/web-browsers.xml

### NFS artifacts
**/.nfs*

### OS X artifacts
**/*.DS_Store
**/.AppleDouble
**/:2e_*
**/:2e#

### Internationalization artifacts
**/*.mo
**/*.po
**/*.prob
**/*.dup
!**/django.po
!**/django.mo
!**/djangojs.po
!**/djangojs.mo
conf/locale/en/LC_MESSAGES/*.mo
conf/locale/fake*/LC_MESSAGES/*.po
conf/locale/fake*/LC_MESSAGES/*.mo

### Testing artifacts
**/.testids/
**/.noseids
**/nosetests.xml
**/.cache/
**/.coverage
**/.coverage.*
**/coverage.xml
**/cover/
**/cover_html/
**/reports/
**/jscover.log
**/jscover.log.*
**/.pytest_cache/
**/pytest_task*.txt
**/.tddium*
common/test/data/test_unicode/static/
test_root/courses/
test_root/data/test_bare.git/
test_root/export_course_repos/
test_root/paver_logs/
test_root/uploads/
**/django-pyfs
**/.tox/
common/test/data/badges/*.png

### Installation artifacts
**/*.egg-info
**/.pip_download_cache/
**/.prereqs_cache
**/.vagrant/
**/node_modules
**/bin/

### Static assets pipeline artifacts
**/*.scssc
lms/static/css/
lms/static/certificates/css/
cms/static/css/
common/static/common/js/vendor/
common/static/common/css/vendor/
common/static/bundles
**/webpack-stats.json

### Styling generated from templates
lms/static/sass/*.css
lms/static/sass/*.css.map
lms/static/certificates/sass/*.css
lms/static/themed_sass/
cms/static/css/
cms/static/sass/*.css
cms/static/sass/*.css.map
cms/static/themed_sass/
themes/**/css

### Logging artifacts
**/log/
**/logs
**/chromedriver.log
**/ghostdriver.log

### Celery artifacts ###
**/celerybeat-schedule

### Unknown artifacts
**/database.sqlite
**/courseware/static/js/mathjax/*
**/flushdb.sh
**/build
/src/
\#*\#
**/.env/
openedx/core/djangoapps/django_comment_common/comment_client/python
**/autodeploy.properties
**/.ws_migrations_complete
**/dist
**/*.bak

# Visual Studio Code
**/.vscode

# Locally generated PII reports
**/pii_report
1 change: 0 additions & 1 deletion .github/workflows/check_python_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
find_python_dependencies \
--req-file requirements/edx/base.txt \
--req-file requirements/edx/testing.txt \
--ignore https://github.com/edx/codejail-includes \
--ignore https://github.com/edx/edx-name-affirmation \
--ignore https://github.com/mitodl/edx-sga \
--ignore https://github.com/open-craft/xblock-poll
23 changes: 22 additions & 1 deletion cms/djangoapps/contentstore/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,8 @@ def _insert_static_files_into_downstream_xblock(
if hasattr(downstream_xblock, "data") and substitutions:
data_with_substitutions = downstream_xblock.data
for old_static_ref, new_static_ref in substitutions.items():
data_with_substitutions = data_with_substitutions.replace(
data_with_substitutions = _replace_strings(
data_with_substitutions,
old_static_ref,
new_static_ref,
)
Expand All @@ -325,6 +326,26 @@ def _insert_static_files_into_downstream_xblock(
return notices


def _replace_strings(obj: dict | list | str, old_str: str, new_str: str):
"""
Replacing any instances of the given `old_str` string with `new_str` in any strings found in the the given object.

Returns the updated object.
"""
if isinstance(obj, dict):
for key, value in obj.items():
obj[key] = _replace_strings(value, old_str, new_str)

elif isinstance(obj, list):
for index, item in enumerate(obj):
obj[index] = _replace_strings(item, old_str, new_str)

elif isinstance(obj, str):
return obj.replace(old_str, new_str)

return obj


def import_staged_content_from_user_clipboard(parent_key: UsageKey, request) -> tuple[XBlock | None, StaticFileNotices]:
"""
Import a block (along with its children and any required static assets) from
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from django.db import migrations

from cms.djangoapps.contentstore.toggles import (
ENABLE_REACT_MARKDOWN_EDITOR
)


def create_flag(apps, schema_editor):
Flag = apps.get_model('waffle', 'Flag')
Flag.objects.get_or_create(
name=ENABLE_REACT_MARKDOWN_EDITOR.name, defaults={'everyone': True}
)


class Migration(migrations.Migration):
dependencies = [
('contentstore', '0010_container_link_models'),
('waffle', '0001_initial'),
]

operations = [
# Do not remove the flags for rollback. We don't want to lose originals if
# they already existed, and it won't hurt if they are created.
migrations.RunPython(create_flag, reverse_code=migrations.RunPython.noop),
]
Loading