0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/spec/fixtures
Alan Guo Xiang Tan 9e2a10b427
DEV: Add image-processing regression coverage (#42117)
Previously, important image-processing behavior lacked precise
regression coverage, making image-library upgrades difficult to assess
safely.

This change adds coverage without changing production behavior:

- Exercises public upload and image-model outcomes for SVG sanitization,
format detection and conversion, transparency, animation metadata, EXIF
orientation normalization, malformed input rejection, crop positioning,
tiny-image resizing, dominant-color caching, and image-quality
selection.
- Keeps normal LetterAvatar RSpec coverage portable by generating one
representative PNG and checking its format and requested dimensions.
- Adds a separate Linux-only `script/letter_avatar_pixel_diff` workflow
that compares A–Z renders with committed baselines and generates an HTML
expected/actual/highlighted-diff report. Use `--update-baselines` when
intentionally accepting rendering changes.
- Uses deterministic fixtures with regeneration guidance beside the
relevant specs.
2026-07-30 15:28:07 +08:00
..
backups
csv FIX: Allowlist CSV columns in bulk invite upload (#38231) 2026-03-09 16:06:09 +08:00
db FIX: Strip SET transaction_timeout when restoring backups 2026-07-16 00:02:53 +00:00
emails FIX: Don't elide numbered lists from Word emails (#42103) 2026-07-28 21:29:10 +02:00
encodings
feed
i18n
images DEV: Add image-processing regression coverage (#42117) 2026-07-30 15:28:07 +08:00
json DEV: Drop .dcstyle.json theme import support (#38857) 2026-03-25 11:36:18 +00:00
md DEV: Update markdown-it from 14.0.0 to 14.1.1 (#38869) 2026-03-25 15:19:15 +01:00
media DEV: uses local playwright chromium for now (#32613) 2025-05-07 10:17:25 +02:00
mmdb
multisite
onebox FIX: Better handling of github_folder onebox w/o opengraph tags (#39142) 2026-04-08 11:49:57 +02:00
pdf
plugins DEV: Allow plugins to register admin-panel-specific CSS (#40345) 2026-05-28 11:03:38 +01:00
scss
site_settings DEV: Remove deprecated trust level access settings (#36414) 2025-12-11 11:09:29 +10:00
svg
theme_locales/objects_settings FIX: support nested descriptions in object settings (#37538) 2026-02-05 14:01:58 -05:00
theme_settings
themes DEV: Add Block API for declarative, validated UI extension points (#36810) 2026-02-25 17:36:43 -03:00
woff2