Skip to content

Commit e27e48d

Browse files
jonfroehlichclaude
andcommitted
Bump version to 2.27.3 (news image crop fix #1424)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 70c5e2b commit e27e48d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

makeabilitylab/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
8787

8888
# Makeability Lab Global Variables, including Makeability Lab version
89-
ML_WEBSITE_VERSION = "2.27.2" # Keep this updated with each release and also change the short description below
90-
ML_WEBSITE_VERSION_DESCRIPTION = "Backfills Project Sidewalk contributors from the four NSF Crowd+AI annual project reports (award #2125087, Oct 2021 - Sep 2025), so that /api/v1/projects/sidewalk/people/ is complete now that Project Sidewalk treats it as the single source of truth for who worked on PS. Diffing those spreadsheets against the live API found 74 unique participants, 29 of whom were missing or unlinked: 10 had a member page but no Sidewalk project role (making them invisible to the API), and 17 -- every one from the UIC subaward -- had no person record at all. A new idempotent seed_sidewalk_participants management command, run at container start, creates only what is absent: it never modifies an existing person, never adds a position to someone who already has one, and never touches an existing project role, so editor corrections in /admin survive every redeploy. Also adds a 'Project Coordinator' title for non-student staff who run a project's operations rather than its research, and bumps Pillow to 12.3.0."
89+
ML_WEBSITE_VERSION = "2.27.3" # Keep this updated with each release and also change the short description below
90+
ML_WEBSITE_VERSION_DESCRIPTION = "Fixes a news-image crop bug where the public news detail page cropped differently than the admin crop preview -- clipping people's heads (#1424). NewsItem.cropping is locked to a 5:3 aspect ratio (500x300), but the detail page rendered at 750x350 (15:7), so easy_thumbnails silently applied a SECOND center-crop on top of the editor's chosen box, trimming the top and bottom. The detail render is now 750x450 (5:3), so the published image exactly matches what editors see in the admin crop preview (WYSIWYG); there is no model change and no re-cropping, so all existing crops become correct immediately. A new regression test (test_news_crop_aspect.py) scans the templates and fails if any crop-enabled on-page news render uses a size whose aspect ratio doesn't match the crop editor's, so this class of bug can't silently return; the Open Graph social card (1200x630) and the round 50x50 sidebar chip remain documented, intentional exceptions."
9191
DATE_MAKEABILITYLAB_FORMED = datetime.date(2012, 1, 1) # Date Makeability Lab was formed
9292
MAX_BANNERS = 7 # Maximum number of banners on a page
9393

0 commit comments

Comments
 (0)