Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: rename course_authoring subdomain to content_authoring #252

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ Unreleased
----------
* Configuration for automatic filters docs generation.

[2.0.0] - 2025-01-15
---------------------

Changed
~~~~~~~

* **Breaking change**: Correctly name authoring subdomain according to DDD docs: https://openedx.atlassian.net/wiki/spaces/AC/pages/663224968/edX+DDD+Bounded+Contexts

[1.12.0] - 2024-12-12
---------------------
Expand Down
2 changes: 1 addition & 1 deletion openedx_filters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""
from openedx_filters.filters import *

__version__ = "1.12.0"
__version__ = "2.0.0"
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ class LMSPageURLRequested(OpenEdxPublicFilter):
modify the URL of the page requested by the user.

Filter Type:
org.openedx.course_authoring.lms.page.url.requested.v1
org.openedx.content_authoring.lms.page.url.requested.v1

Trigger:
- Repository: openedx/edx-platform
- Path: cms/djangoapps/contentstore/asset_storage_handler.py
- Function or Method: get_asset_json
"""

filter_type = "org.openedx.course_authoring.lms.page.url.requested.v1"
filter_type = "org.openedx.content_authoring.lms.page.url.requested.v1"

@classmethod
def run_filter(cls, url: str, org: str) -> tuple[str, str]:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from django.test import TestCase

from openedx_filters.course_authoring.filters import LMSPageURLRequested
from openedx_filters.content_authoring.filters import LMSPageURLRequested


class TestCourseAuthoringFilters(TestCase):
Expand Down
Loading