Skip to content

Conversation

odlbot
Copy link
Contributor

@odlbot odlbot commented Oct 20, 2025

Shankar Ambady

renovate[bot]

pre-commit-ci[bot]

Jon Kafton

renovate bot and others added 12 commits October 16, 2025 14:46
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* adding initial settings

* adding article model

* migration

* adding etl source

* adding climate platform

* adding functional loader and missing migrations

* update specs

* adding article serializer

* adding article indexes

* schema update

* regenerate schema

* adding serializer name change

* fixing tests

* fixing test

* fixing factory

* fix tests

* fixing type definitions

* adding test file

* fix import

* adding cta for article type

* fix import

* adding missing type

* fixing types

* fixing test

* adding mapped topics to climate articles

* adding climate base url to settings

* adding celery task and backpopulate command for articles

* fixed decoding for title

* adding task to fetch mit climate data

* updated spec

* adding offeror type and fix image loading

* add data migration and fix test

* adding climate logo

* adding article type

* fixing test

* fixing test

* spec update

* spec update

* ignoring one of added checks for ci

* Revert "ignoring one of added checks for ci"

This reverts commit a429813.

* testing change

* testing change

* revering diff changes

* adding article type for embeddings

* remove unpublished articles
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Organization landing route

* Return to last visited

* Mock localStorage

* Separate component to handle organization redirect

* Set local storage in effect. Remove redundant mock
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0)
- [github.com/scop/pre-commit-shfmt: v3.11.0-1 → v3.12.0-2](scop/pre-commit-shfmt@v3.11.0-1...v3.12.0-2)
- [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.14.0](astral-sh/ruff-pre-commit@v0.11.13...v0.14.0)
- [github.com/shellcheck-py/shellcheck-py: v0.10.0.1 → v0.11.0.1](shellcheck-py/shellcheck-py@v0.10.0.1...v0.11.0.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shankar Ambady <shanbady@gmail.com>
* fix(deps): update dependency @faker-js/faker to v10

* updating lockfle

* getting tests to pass post-update

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: shankar ambady <ambady@mit.edu>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update yarn to v4.10.3

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

OpenAPI Changes

Show/hide 65 changes: 24 error, 1 warning, 40 info
65 changes: 24 error, 1 warning, 40 info
error	[response-property-one-of-added] at head/openapi/specs/v0.yaml	
	in API GET /api/v0/vector_learning_resources_search/
		added '#/components/schemas/ArticleResource' to the 'results/items/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/featured/
		added '#/components/schemas/ArticleResource' to the 'results/items/' response property 'oneOf' list for the response status '200'

error	[response-body-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/featured/{id}/
		added '#/components/schemas/ArticleResource' to the response body 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/
		added '#/components/schemas/ArticleResource' to the 'results/items/' response property 'oneOf' list for the response status '200'

error	[response-body-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{id}/
		added '#/components/schemas/ArticleResource' to the response body 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/learning_resources/{id}/learning_paths/
		added '#/components/schemas/ArticleResource' to the '/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{id}/similar/
		added '#/components/schemas/ArticleResource' to the '/items/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/learning_resources/{id}/userlists/
		added '#/components/schemas/ArticleResource' to the '/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{id}/vector_similar/
		added '#/components/schemas/ArticleResource' to the '/items/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{learning_resource_id}/items/
		added '#/components/schemas/ArticleResource' to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{learning_resource_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources_search/
		added '#/components/schemas/ArticleResource' to the 'results/items/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learningpaths/{learning_resource_id}/items/
		added '#/components/schemas/ArticleResource' to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learningpaths/{learning_resource_id}/items/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '201'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learningpaths/{learning_resource_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/learningpaths/{learning_resource_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/podcasts/{learning_resource_id}/items/
		added '#/components/schemas/ArticleResource' to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/podcasts/{learning_resource_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/userlists/{userlist_id}/items/
		added '#/components/schemas/ArticleResource' to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/userlists/{userlist_id}/items/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '201'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/userlists/{userlist_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/userlists/{userlist_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/video_playlists/{learning_resource_id}/items/
		added '#/components/schemas/ArticleResource' to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

error	[response-property-one-of-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/video_playlists/{learning_resource_id}/items/{id}/
		added '#/components/schemas/ArticleResource' to the 'resource/allOf[#/components/schemas/LearningResource]/' response property 'oneOf' list for the response status '200'

warning	[response-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/delete/
		added the new 'mit_climate' enum value to the 'source' response property for the response status '200'
		Adding new enum values to response could be unexpected for clients, use x-extensible-enum instead.

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v0.yaml	
	in API GET /api/v0/vector_learning_resources_search/
		added 'article' discriminator mapping keys to the 'results/items/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/featured/
		added 'article' discriminator mapping keys to the 'results/items/' response property for the response status '200'

info	[response-body-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/featured/{id}/
		added 'article' mapping keys to the response discriminator for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/
		added 'article' discriminator mapping keys to the 'results/items/' response property for the response status '200'

info	[response-body-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{id}/
		added 'article' mapping keys to the response discriminator for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/learning_resources/{id}/learning_paths/
		added 'article' discriminator mapping keys to the '/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{id}/similar/
		added 'article' discriminator mapping keys to the '/items/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/learning_resources/{id}/userlists/
		added 'article' discriminator mapping keys to the '/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{id}/vector_similar/
		added 'article' discriminator mapping keys to the '/items/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{learning_resource_id}/items/
		added 'article' discriminator mapping keys to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources/{learning_resource_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learning_resources_search/
		added 'article' discriminator mapping keys to the 'results/items/' response property for the response status '200'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'article' enum value to the request property 'resource_type/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'article' enum value to the request property 'resource_type/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'article' enum value to the request property 'resource_type/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'climate' enum value to the request property 'offered_by/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'climate' enum value to the request property 'offered_by/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'climate' enum value to the request property 'offered_by/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'climate' enum value to the request property 'platform/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'climate' enum value to the request property 'platform/items/'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learning_resources_user_subscription/subscribe/
		added the new 'climate' enum value to the request property 'platform/items/'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learningpaths/{learning_resource_id}/items/
		added 'article' discriminator mapping keys to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/learningpaths/{learning_resource_id}/items/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '201'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/learningpaths/{learning_resource_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/learningpaths/{learning_resource_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/podcasts/{learning_resource_id}/items/
		added 'article' discriminator mapping keys to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/podcasts/{learning_resource_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/userlists/{userlist_id}/items/
		added 'article' discriminator mapping keys to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/userlists/{userlist_id}/items/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '201'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/userlists/{userlist_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API PATCH /api/v1/userlists/{userlist_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/video_playlists/{learning_resource_id}/items/
		added 'article' discriminator mapping keys to the 'results/items/resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[response-property-discriminator-mapping-added] at head/openapi/specs/v1.yaml	
	in API GET /api/v1/video_playlists/{learning_resource_id}/items/{id}/
		added 'article' discriminator mapping keys to the 'resource/allOf[#/components/schemas/LearningResource]/' response property for the response status '200'

info	[request-parameter-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/
		added the new enum value 'mit_climate' to the 'query' request parameter 'source'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/
		added the new 'mit_climate' enum value to the request property 'source'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/
		added the new 'mit_climate' enum value to the request property 'source'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/
		added the new 'mit_climate' enum value to the request property 'source'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/delete/
		added the new 'mit_climate' enum value to the request property 'source'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/delete/
		added the new 'mit_climate' enum value to the request property 'source'

info	[request-property-enum-value-added] at head/openapi/specs/v1.yaml	
	in API POST /api/v1/webhooks/content_files/delete/
		added the new 'mit_climate' enum value to the request property 'source'


Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants