SurfSense/surfsense_local/backend/modules/documents
DESKTOP-RTLN3BA\$punk 17eecae3eb fix(ingest): make a deck with no slides a ready template source
Docling refuses a .pptx with no slides ("Document has 0 pages"), so an
uploaded PowerPoint template ended failed after two pointless retries and
could not be used as template_source_id. Such a deck now skips Docling and
reads as "PowerPoint template with no slides." with its slide size and its
layout names in order, with an empty figures index. Every other deck still
goes to Docling; blank Word and Excel files already ingested as empty.

A file Docling refuses (ConversionError) is now failed without Huey retries,
since the same bytes are refused the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 22:26:38 -07:00
..
source_figures feat(ingest): keep each source's figures beside its original 2026-10-04 05:25:10 -07:00
__init__.py refactor(community-local): give each feature its own module slice 2026-09-03 21:49:00 +02:00
dependencies.py feat(community-local): add document crud and notes 2026-09-04 08:39:50 +02:00
models.py feat(sources): keep every source in a folder and let a chat or Studio run read only the ticked folders and sources 2026-10-04 17:32:56 -07:00
original_file.py feat(local): keep an upload's own filename on disk 2026-09-30 03:00:41 +05:30
router.py feat(sources): keep every source in a folder and let a chat or Studio run read only the ticked folders and sources 2026-10-04 17:32:56 -07:00
schemas.py feat(sources): keep every source in a folder and let a chat or Studio run read only the ticked folders and sources 2026-10-04 17:32:56 -07:00
sources.py feat(chat): scope RAG to the sources sent with each message 2026-09-16 01:44:36 +02:00
storage.py Merge slice/folders: folders, server-side source scope and the sources tree 2026-10-04 17:59:40 -07:00
tasks.py fix(ingest): make a deck with no slides a ready template source 2026-10-06 22:26:38 -07:00