Skip to content

Commit e2291d2

Browse files
jonfroehlichclaude
andcommitted
Bump version to 2.26.0
Awards badge image handling: instant preview + square cropping (#1408) and auto-pad non-square uploads to a square (#1410); plus standardized Data Health per-row action links (#1405). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a192020 commit e2291d2

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.25.4" # Keep this updated with each release and also change the short description below
90-
ML_WEBSITE_VERSION_DESCRIPTION = "Fixes a filename bug exposed by the #1390 re-standardization and prepares recovery of the 3 affected talks. The rename helper used os.path.splitext to decide whether to add a file's extension, which misfired on standardized names containing dots (e.g. '...Dr.SangMook2009'): the file was renamed extension-less on disk and thumbnail generation then raised before the DB save committed, leaving 3 talks with files moved on disk but stale DB paths. This release (1) appends the extension by checking the actual extension rather than splitext, (2) makes thumbnail generation non-fatal so a thumbnail error can never again leave a rename half-committed, and (3) adds a divergence-gated recovery command (running in --dry-run here) that finds each orphaned file by content type and repoints it. No recovery is performed yet."
89+
ML_WEBSITE_VERSION = "2.26.0" # Keep this updated with each release and also change the short description below
90+
ML_WEBSITE_VERSION_DESCRIPTION = "Improves image handling on the Awards admin badge plus a Data Health polish. The badge field now has an instant client-side preview and square (1:1) cropping via Cropper.js (#1408), and a new 'Pad badge to a square (don't crop)' option (#1410) that pads a non-square upload to a centered square -- white margins for JPEG, transparent for PNG/WebP -- instead of cropping off content, so editors no longer need to pad logos in an external tool before uploading. Padding is done server-side with Pillow: it re-encodes JPEG at quality 92, saves WebP lossless so a lossless source isn't degraded, and leaves already-square uploads untouched; a full-image crop box is stored so the public render isn't cropped. Also standardizes the per-row action links across the Data Health checks (#1405)."
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)