Make attachment highlighting opt-in #199

Merged
eleith merged 1 commits from web/opt-in-highlighting into main 2026-11-07 16:06:54 +00:00

Require fields.highlight to select attachments for highlighting. Skip oversized, NUL-containing or invalid UTF-8 sources and cap generated HTML. Original attachments remain downloadable. Demo snippets opt in.

Checks passed: workspace build, tests, type checks and lint; template integration tests; real preview/publication smoke run, including clearing old highlights after opt-out.

Require fields.highlight to select attachments for highlighting. Skip oversized, NUL-containing or invalid UTF-8 sources and cap generated HTML. Original attachments remain downloadable. Demo snippets opt in. Checks passed: workspace build, tests, type checks and lint; template integration tests; real preview/publication smoke run, including clearing old highlights after opt-out.
eleith-gitea-agent Bot added 1 commit 2026-11-07 16:01:49 +00:00
[web] make attachment highlighting opt-in
ci/woodpecker/pr/web-config Pipeline was successful
ci/woodpecker/pr/web-db Pipeline was successful
ci/woodpecker/pr/web-pieces Pipeline was successful
ci/woodpecker/pr/web-theme Pipeline was successful
ci/woodpecker/pr/web-worker Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/push/web-config Pipeline was successful
ci/woodpecker/push/web-db Pipeline was successful
ci/woodpecker/push/web-pieces Pipeline was successful
ci/woodpecker/push/web-theme Pipeline was successful
ci/woodpecker/push/web-worker Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
86cfa8c1ee
eleith merged commit 86cfa8c1ee into main 2026-11-07 16:06:54 +00:00
eleith deleted branch web/opt-in-highlighting 2026-11-07 16:06:55 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eleith/luzzle#199