Skip to content

Commit a29943f

Browse files
committed
Merge branch 'main' into jk/5919-prefetch-mechanism
2 parents 98843c2 + 1a38a09 commit a29943f

33 files changed

+4629
-1223
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- 6379:6379
2929

3030
steps:
31-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
31+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3232

3333
- name: update apt
3434
run: sudo apt-get update -y
@@ -88,8 +88,8 @@ jobs:
8888
javascript-tests:
8989
runs-on: ubuntu-latest
9090
steps:
91-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
92-
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
91+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
92+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
9393
with:
9494
node-version: "^20"
9595
cache: yarn
@@ -147,7 +147,7 @@ jobs:
147147
runs-on: ubuntu-latest
148148
steps:
149149
- name: Checkout
150-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
150+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
151151

152152
- name: Build the Docker image
153153
env:
@@ -192,9 +192,9 @@ jobs:
192192
runs-on: ubuntu-latest
193193
steps:
194194
- name: Checkout
195-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
195+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
196196

197-
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
197+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
198198
with:
199199
node-version: "^20"
200200
cache: yarn
@@ -216,8 +216,8 @@ jobs:
216216
GENERATOR_OUTPUT_DIR_VC: ./frontends/api/src/generated/v0
217217
runs-on: ubuntu-latest
218218
steps:
219-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
220-
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
219+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
220+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
221221
with:
222222
node-version: "^20"
223223
cache: yarn
@@ -255,8 +255,8 @@ jobs:
255255
GENERATOR_OUTPUT_DIR_VC: ./frontends/api/src/generated/v1
256256
runs-on: ubuntu-latest
257257
steps:
258-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
259-
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
258+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
259+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
260260
with:
261261
node-version: "^20"
262262
cache: yarn

.github/workflows/openapi-diff.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout HEAD
8-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
8+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
99
with:
1010
ref: ${{ github.head_ref }}
1111
path: head
1212
- name: Checkout BASE
13-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
13+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414
with:
1515
ref: ${{ github.base_ref }}
1616
path: base

.github/workflows/production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
github.event_name == 'workflow_dispatch' ||
1616
github.event.workflow_run.conclusion == 'success'
1717
steps:
18-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
ref: release
2121

@@ -28,7 +28,7 @@ jobs:
2828
run: heroku container:login
2929

3030
- name: Release Backend on Heroku
31-
uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520
31+
uses: akhileshns/heroku-deploy@e86b991436e126ff9d78399b801a6610a64881c9
3232
with:
3333
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
3434
heroku_app_name: mitopen-production

.github/workflows/publish-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1717

18-
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
18+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
1919
with:
2020
node-version: "^20"
2121
cache: yarn

.github/workflows/release-candidate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
github.event_name == 'workflow_dispatch' ||
1616
github.event.workflow_run.conclusion == 'success'
1717
steps:
18-
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
ref: release-candidate
2121

@@ -28,7 +28,7 @@ jobs:
2828
run: heroku container:login
2929

3030
- name: Release Backend on Heroku
31-
uses: akhileshns/heroku-deploy@581dd286c962b6972d427fcf8980f60755c15520
31+
uses: akhileshns/heroku-deploy@e86b991436e126ff9d78399b801a6610a64881c9
3232
with:
3333
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
3434
heroku_app_name: mitopen-rc

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ repos:
7474
- ".*/generated/"
7575
additional_dependencies: ["gibberish-detector"]
7676
- repo: https://github.com/astral-sh/ruff-pre-commit
77-
rev: "v0.7.1"
77+
rev: "v0.7.2"
7878
hooks:
7979
- id: ruff-format
8080
- id: ruff

RELEASE.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
Release Notes
22
=============
33

4+
Version 0.24.2 (Released November 07, 2024)
5+
--------------
6+
7+
- HTTPS youtube URLs (#1795)
8+
- Card bug fixes (#1793)
9+
- upgrade stories & events grid to grid2 (#1792)
10+
- Fixes to address scim-form-keycloak weirdness (#1789)
11+
- Maintain API instructor order (#1783)
12+
- Fix DST issue (#1788)
13+
- Update Node.js to v22 (#1786)
14+
- Update dependency ruff to v0.7.2 (#1785)
15+
- Image and video optimizations (#1769)
16+
- Upgrade to Next.js v15 (#1776)
17+
- Fix issue with hero image causing horizontal scroll (#1777)
18+
- add new learning resource drawer layout (#1711)
19+
- Change frontend to use resource_prices field instead of prices field (#1737)
20+
- move facets first in tab order (#1751)
21+
- Card Accessibility Improvements (#1778)
22+
423
Version 0.24.1 (Released October 30, 2024)
524
--------------
625

docker-compose.services.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@ services:
3131
retries: 10
3232
ports:
3333
- "6379"
34-
34+
qdrant:
35+
image: qdrant/qdrant:latest
36+
restart: always
37+
ports:
38+
- "6333:6333"
39+
volumes:
40+
- qdrant-data:/qdrant/storage
3541
nginx:
3642
profiles:
3743
- backend
@@ -81,3 +87,4 @@ volumes:
8187
# note: these are here instead of docker-compose.apps.yml because `extends` doesn't pull them in
8288
django_media:
8389
yarn-cache:
90+
qdrant-data:

env/frontend.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ NEXT_PUBLIC_MITOL_API_BASE_URL=${MITOL_API_BASE_URL}
88
NEXT_PUBLIC_CSRF_COOKIE_NAME=${CSRF_COOKIE_NAME}
99
NEXT_PUBLIC_MITOL_SUPPORT_EMAIL=${MITOL_SUPPORT_EMAIL}
1010

11+
NEXT_PUBLIC_POSTHOG_API_KEY=${POSTHOG_PROJECT_API_KEY}
12+
1113
NEXT_PUBLIC_SITE_NAME="MIT Learn"
1214
NEXT_PUBLIC_MITOL_AXIOS_WITH_CREDENTIALS=true
1315

0 commit comments

Comments
 (0)