Skip to content

Conversation

@ormsbee
Copy link

@ormsbee ormsbee commented Sep 4, 2025

farhan and others added 30 commits November 17, 2023 17:13
…quirements-2a983c0

Python Requirements Update
…enedx#119)

* fix: Fix bugs in the "get tags" REST API, make it more consistent
* fix: shallow search was not returning parent tags with children that match
* docs: update the ADR that describes the "get tags" endpoint
* fix: don't throw an error when retrieving tags below a leaf tag
* feat: return the number of matching children only with ?search_term=...
* chore: Version bump
…quirements-b98f091

Python Requirements Update
…quirements-06f4f54

Python Requirements Update
This commit normalizes the Media/MIME type in RawContent to be a foreign
key to a new table rather than a text string. This was done for a couple
of reasons:

1. Recent problems with edx-platform's courseware_studentmodule table
   have driven home the point that we should try to reduce index sizes
   where possible, and RawContent is likely to grow into a very large
   table in time.
2. Media type designations can sometimes change, and that's much easier
   to do as a data migration if it's in its own lookup table, rather
   than affecting millions of rows in RawContent.

In order to support these changes, I've also added LRU caching for
MediaType lookup... which in turn required a test helper that will clear
out the values between test calls. That's the rationale behind our new
openedx_learning.lib.test_utils.TestCase.
…quirements-b629e49

Python Requirements Update
This updates our "get tag counts" API so that the tag counts can
include the implicit, ancestor tags.
…quirements-0f90a7f

Python Requirements Update
…quirements-b0563b5

Python Requirements Update
…quirements-3f990b8

Python Requirements Update
…quirements-e94dcf7

Python Requirements Update
)

* feat: adds can_<action>_<model> fields to the tagging REST API results using a custom serializer
* feat: adds can_add_<model> field above the results using a custom paginator
* refactor: replaces ObjectTagsByTaxonomySerializer.editable with "can_tag_object" rule: used by the Content Tag Drawer and Taxonomy UIs
* tests: verified that adding these permissions doesn't affect the query count.
* chore: bumps version to 0.4.4
edx-requirements-bot and others added 27 commits June 30, 2025 10:48
This only dumps placeholder data for the moment, but it's eventually
going to expand to output an entire LearningPackage's worth of data to
support library backup and restore functionality.
Updates the lp_dump management command to export real data
from the LearningPackage model instead of using stub values.
This adds several admin pages which were previously missing or barebones:
Section, Subsection, Unit, Container, and EntityList. The Container and
EntityList pages have inlines tables to display their related ContainerVersions
and EntityListsRows. This enables developers/operators to browse up and down
the content hierarchies that are stored in Learning Core.
…-requirements-5233181

chore: Upgrade Python requirements
…-requirements-8fe2799

chore: Upgrade Python requirements
…penedx#348)

Retrieve data from PublishableEntity and PublishableEntityVersion instances
instead of relying on subclasses like Component. Introduce a get_entities
function to handle entity retrieval.
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…edx#351)

Implements new directory layout for component serialization based on:
- Component namespace
- Component type
- Component identifier

Each component is now stored in its respective folder structure with its TOML file,
and optionally includes a `component_versions/<version>/` subdirectory if version
data is available
In the lp_dump file, only the draft and publishable versions are serialized, rather
than all versions. Static files remain out of scope for this change.
…penedx#367)

This is so that we can dump LearningPackages into an export format that
avoids name collisions while still yielding file names that are
human-readable.
…-requirements-e01237a

chore: Upgrade Python requirements
…p zip (openedx#370)

Ensure each component version includes its corresponding static files,
generated or retrieved, whether they come from database or file-backed
content.
…openedx#260)

This commit includes updates to the StringAgg class in
openedx_tagging/core/tagging/models/utils.py to enhance its
functionality and compatibility with different database backends.
The most important changes include adding support for PostgreSQL,
MySQL, and SQLite, and implementing abstract methods from the
Combinable class.

Enhancements to StringAgg class:

- Added support for PostgreSQL by using STRING_AGG with a specified
  separator and ensuring expressions are cast to TEXT.
- Added support for MySQL and SQLite by using GROUP_CONCAT with a
  specified separator.
- Implemented abstract methods from the Combinable class to allow
  logical operations (AND, OR, XOR).

Additional changes:

- Imported db_connection from django.db to check the database backend.
- Updated the StringAgg class to accept a delimiter parameter and
  handle the distinct option and output type accordingly.
@ormsbee
Copy link
Author

ormsbee commented Sep 4, 2025

Sigh. This was a fail on the gh commandline on my part. Sorry.

@ormsbee ormsbee closed this Sep 4, 2025
@ormsbee ormsbee deleted the version-bump-0.28.0 branch September 4, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.