Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
38eb61c
Updates to ChoiceBox; Checkbox, Radio components (#1174)
jonkafton Jun 28, 2024
9c014ab
Merge branch 'release' into main
odlbot Jun 28, 2024
990fd76
Drawer CSS fixes (#1190)
ChristopherChudzicki Jun 28, 2024
a12d52a
Scroll results into view when paginating (#1189)
jonkafton Jun 28, 2024
635a79d
Add resource category to apis (#1188)
abeglova Jun 28, 2024
00895b9
Square aspect ratio for media resource images (#1183)
jonkafton Jun 28, 2024
859c808
Filled vs Unfilled Bookmarks (#1180)
ChristopherChudzicki Jun 28, 2024
ebe1dfe
Don't display carousel tabs if there's no data to display (#1169)
jkachel Jun 28, 2024
939eb55
setting 100px as default width for buttons (#1185)
shanbady Jun 28, 2024
4b4bcb8
stop publishing github pages every pr (#1197)
ChristopherChudzicki Jun 28, 2024
294b598
adding post logout redirect to keycloak (#1192)
shanbady Jun 28, 2024
bddc422
update sloan executive education offerings (#1193)
gumaerc Jun 28, 2024
197f341
update mitpe unit data (#1194)
gumaerc Jun 28, 2024
c6ba23b
Shanbady/log out flow (#1199)
shanbady Jun 28, 2024
6271efc
Update Node.js to v20.15.0 (#1201)
renovate[bot] Jun 29, 2024
ea8d32c
Update dependency ruff to v0.5.0 (#1202)
renovate[bot] Jun 29, 2024
42376c4
Update mcr.microsoft.com/playwright Docker tag to v1.45.0 (#1203)
renovate[bot] Jun 29, 2024
5ed1f60
Update opensearchproject/opensearch Docker tag to v2.15.0 (#1205)
renovate[bot] Jun 29, 2024
21c02c2
update unit names (#1198)
gumaerc Jul 1, 2024
c812c79
Fix default image height in resource cards (#1212)
jonkafton Jul 1, 2024
ea46bbb
Release 0.13.17
odlbot Jul 1, 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
33 changes: 0 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,36 +319,3 @@ jobs:
with:
name: playwright-report
path: e2e_testing/playwright-report

publish-pages:
runs-on: ubuntu-latest

environment:
name: github-pages

permissions:
pages: write
id-token: write
actions: read

needs:
- build-storybook
# - e2e-tests

steps:
- name: Download artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4
with:
path: pages-site

# - name: Move E2E test report
# run: mv playwright-report pages-site/

- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
path: pages-site

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
23 changes: 23 additions & 0 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
Release Notes
=============

Version 0.13.17
---------------

- Fix default image height in resource cards (#1212)
- update unit names (#1198)
- Update opensearchproject/opensearch Docker tag to v2.15.0 (#1205)
- Update mcr.microsoft.com/playwright Docker tag to v1.45.0 (#1203)
- Update dependency ruff to v0.5.0 (#1202)
- Update Node.js to v20.15.0 (#1201)
- Shanbady/log out flow (#1199)
- update mitpe unit data (#1194)
- update sloan executive education offerings (#1193)
- adding post logout redirect to keycloak (#1192)
- stop publishing github pages every pr (#1197)
- setting 100px as default width for buttons (#1185)
- Don't display carousel tabs if there's no data to display (#1169)
- Filled vs Unfilled Bookmarks (#1180)
- Square aspect ratio for media resource images (#1183)
- Add resource category to apis (#1188)
- Scroll results into view when paginating (#1189)
- Drawer CSS fixes (#1190)
- Updates to ChoiceBox; Checkbox, Radio components (#1174)

Version 0.13.16 (Released June 28, 2024)
---------------

Expand Down
10 changes: 9 additions & 1 deletion authentication/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Authentication views"""

from urllib.parse import urlencode

from django.conf import settings
from django.contrib.auth import views
from django.http import Http404
Expand Down Expand Up @@ -32,7 +34,13 @@ def _keycloak_logout_url(self, user):
user, provider=OlOpenIdConnectAuth.name
).first()
id_token = user_social_auth_record.extra_data.get("id_token")
return f"{settings.KEYCLOAK_BASE_URL}/realms/{settings.KEYCLOAK_REALM_NAME}/protocol/openid-connect/logout?id_token_hint={id_token}" # noqa: E501
qs = urlencode(
{
"id_token_hint": id_token,
"post_logout_redirect_uri": settings.LOGOUT_REDIRECT_URL,
}
)
return f"{settings.KEYCLOAK_BASE_URL}/realms/{settings.KEYCLOAK_REALM_NAME}/protocol/openid-connect/logout?{qs}" # noqa: E501

def get(
self,
Expand Down
29 changes: 29 additions & 0 deletions channels/migrations/0010_alter_channel_name_regex.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Generated by Django 4.2.13 on 2024-06-27 14:50

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("channels", "0009_rename_field_to_channel"),
]

operations = [
migrations.AlterField(
model_name="channel",
name="name",
field=models.CharField(
max_length=100,
validators=[
django.core.validators.RegexValidator(
message=(
"Channel name can only contain the characters: A-Z,"
" a-z, 0-9, _"
),
regex="^[A-Za-z0-9_-]+$",
)
],
),
),
]
2 changes: 1 addition & 1 deletion channels/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Channel(TimestampedModel):
max_length=100,
validators=[
RegexValidator(
regex=r"^[A-Za-z0-9_]+$",
regex=r"^[A-Za-z0-9_-]+$",
message=(
"Channel name can only contain the characters: A-Z, a-z, 0-9, _"
),
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
opensearch-node-mitopen:
profiles:
- backend
image: opensearchproject/opensearch:2.14.0
image: opensearchproject/opensearch:2.15.0
container_name: opensearch-node-mitopen
environment:
- cluster.name=opensearch-cluster
Expand Down Expand Up @@ -96,7 +96,7 @@ services:
profiles:
- frontend
working_dir: /src
image: node:20.14
image: node:20.15
entrypoint: ["/bin/sh", "-c"]
command:
- |
Expand Down
2 changes: 1 addition & 1 deletion e2e_testing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.44.1-jammy
FROM mcr.microsoft.com/playwright:v1.45.0-jammy

COPY . /tests

Expand Down
Loading