Add PDF full-text search and diff denial #73
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
qwc-open/asiakirjat!73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/pdf-search-and-diff-denial"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Follow-up to #72 (PDF upload support). Adds the two deferred features:
pdftotext(poppler-utils) first for best quality, falls back toledongthuc/pdf(pure Go, BSD-3-Clause) whenpdftotextis not installedpoppler-utilsin Docker image: Adds ~5MB to the runtime image for high-quality extraction; pure Go fallback ensures the binary works without itcontentType != "pdf"guard from both upload handlerscontent_typein the versions API and shows "Diff unavailable for PDF versions" instead of failing with "Could not find content area"content_typefieldTest plan
go test ./...passes🤖 Generated with Claude Code