Skip to content

Included Fixes & Patches

This directory documents all upstream pull requests, community fixes, and patches that have been integrated into this fork.

📋 Structure

Each subdirectory represents an integrated fix with: - README.md - Description, rationale, and status - *.patch - Git patch file (if applicable) - Test files or related documentation

🔄 Integrated Fixes

Upstream PRs

PR Title Status Integration Date
#772 Fix infinite retry loop ✅ Merged 2025-12-03
#747 History validation tool ✅ Merged 2025-12-03

Performance Optimizations

ID Title Status Integration Date
PERF-001 History table SQL pagination & caching ✅ Applied 2025-12-03
PERF-002 Centralized tag cache with configurable TTL ✅ Applied 2026-02-24

Community Patches

ID Title Status Integration Date
DEP-001 Remove unused sqlite3 dependency ✅ Applied 2025-12-03
DOCKER-001 Docker image optimization ✅ Applied 2025-12-03
DOCKER-002 Upgrade Node.js to 24 LTS ✅ Applied 2025-12-18
UI-001 Hide RAG menu in Lite image ✅ Applied 2025-12-04
UI-002 Add Date/Boolean custom field types to settings UI ✅ Applied 2026-02-27
UI-003 History Info-Modal with live tag diff, token stats & Rescan ✅ Applied 2026-02-27
UI-004 History Modal: Restore Original + Document Type & Language ✅ Applied 2026-02-27
UI-005 Mistral OCR Queue für schlecht gescannte Dokumente ✅ Applied 2026-02-28
UI-006 Ignore Tags for processing exclusion and statistics cleanup ✅ Applied 2026-02-28
CI-001 Automatic version tagging for builds ✅ Applied 2025-12-04
SEC-001 SSRF & Code Injection Fixes ✅ Applied 2025-12-03
SEC-002 Fix urllib3 decompression-bomb (CVE-2026-21441) ✅ Applied 2026-01-09
SEC-003 Global rate-limiting for API and streaming endpoints ✅ Applied 2026-02-25

🚀 How to Use

Each fix directory contains: 1. Background - Why this fix was needed 2. Changes - What was modified 3. Testing - How to verify the fix 4. Upstream Status - Whether it's been merged upstream

📝 Adding New Fixes

When integrating a new fix: 1. Create a new directory: PR-XXX-short-name/ or PATCH-XXX-short-name/ 2. Add README.md with fix details 3. Optionally add .patch file: git format-patch -1 <commit-hash> 4. Update this table