Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
d7209f6
Codespace opensearch service fix (#1582)
shanbady Sep 19, 2024
590bddd
Release 0.19.2
odlbot Sep 19, 2024
1a1f5a8
Fix extract_openedx_data and backpopulate_mit_edx_data commands to wo…
mbertrand Sep 20, 2024
c849ff9
follow/unfollow popover (#1589)
shanbady Sep 23, 2024
9e9fc07
Make search mode defaults settable env variables (#1590)
abeglova Sep 23, 2024
ac06a68
Release date for 0.19.2
odlbot Sep 23, 2024
c8e3d10
Merge branch 'release' into main
odlbot Sep 23, 2024
dcb1a9a
Release 0.19.3
odlbot Sep 23, 2024
9d67642
Release date for 0.19.3
odlbot Sep 23, 2024
4bde7f1
Pace and format fields for learning resources (#1588)
mbertrand Sep 24, 2024
58b8503
new -> recently added (#1594)
abeglova Sep 24, 2024
6bfd894
Release 0.19.4
odlbot Sep 24, 2024
28dccfe
Add separate field for ocw topics, use best field to assign related t…
mbertrand Sep 24, 2024
1875d8f
Release date for 0.19.4
odlbot Sep 25, 2024
94d9235
Merge branch 'release' into main
odlbot Sep 25, 2024
cc4c24a
Release 0.19.5
odlbot Sep 25, 2024
f6295ed
Add task_reject_on_worker_lost=True to finish_recreate_index, use ret…
mbertrand Sep 26, 2024
f83cffe
Release date for 0.19.5
odlbot Sep 26, 2024
aa528f0
Merge branch 'release' into main
odlbot Sep 26, 2024
2c84383
Release 0.19.6
odlbot Sep 26, 2024
16bd64b
Release date for 0.19.6
odlbot Sep 27, 2024
a73f670
[pre-commit.ci] pre-commit autoupdate (#1601)
pre-commit-ci[bot] Sep 27, 2024
378326f
Update Python to v3.12.6 (#1593)
renovate[bot] Sep 27, 2024
83f502d
Add custom label for percolate query subscriptions (#1610)
shanbady Sep 27, 2024
3a906b8
changes for formatting search subscription emails
shanbady Sep 27, 2024
e93a23a
Revert "changes for formatting search subscription emails"
shanbady Sep 27, 2024
8045dcb
Add additional event capturing for some interactions (#1596)
jkachel Sep 30, 2024
4863e2d
Remove health checks against opensearch (#1620)
rhysyngsun Sep 30, 2024
763024e
Update dependency lxml to v5 (#1554)
renovate[bot] Sep 30, 2024
ebb63e3
Switch to using full name (#1621)
rhysyngsun Sep 30, 2024
1ede734
updated header (#1622)
gumaerc Oct 1, 2024
e1e1e2a
Release 0.20.0
odlbot Oct 1, 2024
c20662a
Email for saved searches (#1619)
shanbady Oct 1, 2024
3ca3f7a
Release date for 0.20.0
odlbot Oct 1, 2024
6cbb156
Merge branch 'release' into main
odlbot Oct 1, 2024
44221ac
Retry recreate_index subtasks on worker exit (#1615)
mbertrand Oct 1, 2024
8d5d211
fix Safari MIT logo bug (#1631)
gumaerc Oct 1, 2024
3665b80
Release 0.20.1
odlbot Oct 1, 2024
fa8094e
set card root to auto height (#1633)
gumaerc Oct 1, 2024
4638f21
remove border and shadow (#1636)
gumaerc Oct 1, 2024
3c63525
Release date for 0.20.1
odlbot Oct 1, 2024
1125e05
Merge branch 'release' into main
odlbot Oct 1, 2024
2004dfa
Release 0.20.2
odlbot Oct 1, 2024
9b2b04e
Release date for 0.20.2
odlbot Oct 1, 2024
c7d10e8
raise SystemExit as a RetryError (#1635)
mbertrand Oct 2, 2024
7b2217d
"unfollow" confirmation modal and "Unfollow All" button (#1628)
shanbady Oct 2, 2024
6825dcf
add is_incomplete_or_stale (#1627)
abeglova Oct 2, 2024
0464a54
Release 0.20.3
odlbot Oct 2, 2024
ed44232
updating email template with new logo (#1638)
shanbady Oct 2, 2024
90918d6
Release date for 0.20.3
odlbot Oct 3, 2024
c8a8d9e
Merge branch 'release' into main
odlbot Oct 3, 2024
3d4b4e9
reset search page in SearchField (#1647)
ChristopherChudzicki Oct 3, 2024
598fac2
Adds base infra for the Unified Ecommerce frontend (#1634)
jkachel Oct 3, 2024
c8696de
resolve merge conflicts
ChristopherChudzicki Oct 3, 2024
9deded5
Various post-merge bug fixes:
ChristopherChudzicki Oct 7, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: "3.12.5"
python-version: "3.12.6"
cache: "poetry"

- name: Validate lockfile
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repos:
- ".*/generated/"
additional_dependencies: ["gibberish-detector"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.6.6"
rev: "v0.6.7"
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.5
FROM python:3.12.6
LABEL maintainer "ODL DevOps <mitx-devops@mit.edu>"

# Add package files, install updated node and pip
Expand Down
50 changes: 50 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
Release Notes
=============

Version 0.20.3 (Released October 03, 2024)
--------------

- add is_incomplete_or_stale (#1627)
- "unfollow" confirmation modal and "Unfollow All" button (#1628)
- raise SystemExit as a RetryError (#1635)

Version 0.20.2 (Released October 01, 2024)
--------------

- remove border and shadow (#1636)
- set card root to auto height (#1633)

Version 0.20.1 (Released October 01, 2024)
--------------

- fix Safari MIT logo bug (#1631)
- Retry recreate_index subtasks on worker exit (#1615)
- Email for saved searches (#1619)

Version 0.20.0 (Released October 01, 2024)
--------------

- updated header (#1622)
- Switch to using full name (#1621)
- Update dependency lxml to v5 (#1554)
- Remove health checks against opensearch (#1620)
- Add additional event capturing for some interactions (#1596)
- Revert "changes for formatting search subscription emails"
- changes for formatting search subscription emails
- Add custom label for percolate query subscriptions (#1610)
- Update Python to v3.12.6 (#1593)
- [pre-commit.ci] pre-commit autoupdate (#1601)

Version 0.19.6 (Released September 27, 2024)
--------------

- Add task_reject_on_worker_lost=True to finish_recreate_index, use return instead of raise for replaced tasks (#1608)

Version 0.19.5 (Released September 26, 2024)
--------------

- Add separate field for ocw topics, use best field to assign related topics (#1600)

Version 0.19.4 (Released September 25, 2024)
--------------

- new -> recently added (#1594)
- Pace and format fields for learning resources (#1588)

Version 0.19.3 (Released September 23, 2024)
--------------

Expand Down
61 changes: 61 additions & 0 deletions data_fixtures/migrations/0015_unit_page_copy_updates.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Generated by Django 4.2.14 on 2024-07-16 17:30

from django.db import migrations

fixtures = [
{
"name": "mitpe",
"offeror_configuration": {
"value_prop": (
"MIT Professional Education is a leader in technology and "
"engineering education for working professionals pursuing "
"career advancement, and organizations seeking to meet modern-day "
"challenges by expanding the knowledge and skills of their employees. "
"Courses are delivered in a range of formats—in-person (on-campus "
"and live online), online, and through hybrid approaches—to "
"meet the needs of today's learners."
),
},
"channel_configuration": {
"sub_heading": (
"MIT Professional Education is a leader in technology and "
"engineering education for working professionals pursuing "
"career advancement, and organizations seeking to meet modern-day "
"challenges by expanding the knowledge and skills of their employees. "
"Courses are delivered in a range of formats—in-person (on-campus "
"and live online), online, and through hybrid approaches—to "
"meet the needs of today's learners."
),
},
},
]


def update_copy(apps, schema_editor):
Channel = apps.get_model("channels", "Channel")
LearningResourceOfferor = apps.get_model(
"learning_resources", "LearningResourceOfferor"
)
for fixture in fixtures:
channel_configuration_updates = fixture["channel_configuration"]
offeror_configuration_updates = fixture["offeror_configuration"]
channel = Channel.objects.get(name=fixture["name"])
if Channel.objects.filter(name=fixture["name"]).exists():
for key, val in channel_configuration_updates.items():
channel.configuration[key] = val
channel.save()
if LearningResourceOfferor.objects.filter(code=fixture["name"]).exists():
offeror = LearningResourceOfferor.objects.get(code=fixture["name"])
for key, val in offeror_configuration_updates.items():
setattr(offeror, key, val)
offeror.save()


class Migration(migrations.Migration):
dependencies = [
("data_fixtures", "0014_add_department_SP"),
]

operations = [
migrations.RunPython(update_copy, migrations.RunPython.noop),
]
9 changes: 1 addition & 8 deletions docker-compose.apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ services:
build:
context: .
dockerfile: Dockerfile
extends:
file: docker-compose.opensearch.${OPENSEARCH_CLUSTER_TYPE:-single-node}.apps.yml
service: web
mem_limit: 1gb
cpus: 2
command: ./scripts/run-django-dev.sh
Expand Down Expand Up @@ -54,14 +51,10 @@ services:
build:
context: .
dockerfile: Dockerfile
extends:
file: docker-compose.opensearch.${OPENSEARCH_CLUSTER_TYPE:-single-node}.apps.yml
service: web
command: >
/bin/bash -c '
sleep 3;
celery -A main.celery:app worker -Q default -B -l ${MITOL_LOG_LEVEL:-INFO} &
celery -A main.celery:app worker -Q edx_content,default -l ${MITOL_LOG_LEVEL:-INFO}'
celery -A main.celery:app worker -E -Q default,edx_content -B -l ${MITOL_LOG_LEVEL:-INFO}'
depends_on:
db:
condition: service_healthy
Expand Down
17 changes: 0 additions & 17 deletions docker-compose.opensearch.cluster.apps.yml

This file was deleted.

9 changes: 0 additions & 9 deletions docker-compose.opensearch.single-node.apps.yml

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def warnings_as_errors(): # noqa: PT004
# Ignore deprecation warnings in third party libraries
warnings.filterwarnings(
"ignore",
module=".*(api_jwt|api_jws|rest_framework_jwt|astroid|celery|factory|botocore|posthog).*",
module=".*(api_jwt|api_jws|rest_framework_jwt|astroid|bs4|celery|factory|botocore|posthog).*",
category=DeprecationWarning,
)
yield
Expand Down
16 changes: 2 additions & 14 deletions frontends/api/src/generated/v0/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1597,12 +1597,6 @@ export interface PatchedChannelWriteRequest {
* @interface PatchedProfileRequest
*/
export interface PatchedProfileRequest {
/**
*
* @type {string}
* @memberof PatchedProfileRequest
*/
name?: string | null
/**
*
* @type {string}
Expand Down Expand Up @@ -1928,11 +1922,11 @@ export interface PreferencesSearch {
*/
export interface Profile {
/**
*
* Get the user\'s name
* @type {string}
* @memberof Profile
*/
name?: string | null
name: string
/**
*
* @type {string}
Expand Down Expand Up @@ -2054,12 +2048,6 @@ export interface Profile {
* @interface ProfileRequest
*/
export interface ProfileRequest {
/**
*
* @type {string}
* @memberof ProfileRequest
*/
name?: string | null
/**
*
* @type {string}
Expand Down
Loading
Loading