Commit Graph
9 Commits
Author SHA1 Message Date
Xika e1ddd2a293 fix(webdav): fall back to Depth:1 recursion when PROPFIND infinity returns HTTP 500
ci / verify (pull_request) Successful in 30s
Some WebDAV servers (Nextcloud, ownCloud, Apache mod_dav with infinite
depth disabled) reject Depth:infinity PROPFIND with HTTP 500/403/501.
list_files now retries with a recursive Depth:1 traversal of child
collections, preserving full relative paths for year-folder filtering
and dedup keys.

BIT-33518
Paperclip-Ref: BIT-33518
2026-11-29 01:17:52 +00:00
1sonhador 7e5e4584fc fix: use WebDAV getlastmodified instead of Nextcloud epoch creationdate
Nextcloud returns DAV:creationdate as 1970 for bulk-imported files; the real
upload date is getlastmodified. Also pick the HTTP 200 propstat block.
2026-07-04 18:20:32 +01:00
1sonhador 3d81005588 fix: trust WebDAV folder year over 1970 epoch dates
Files under Faturas/2025/ or /2026/ are eligible even when Nextcloud
reports creationdate 1970. Add --requeue-folder-years to reset wrongly skipped records.
2026-07-04 18:13:41 +01:00
1sonhador a0f90bd8ef fix: skip WebDAV files smaller than 4KB to avoid retry loops
HTML stubs named as PDFs were stuck in the failed forward queue forever.
2026-07-04 13:19:02 +01:00
1sonhador d561de7d02 feat: filter WebDAV files by creation/modified date instead of folders
Use PROPFIND creationdate with getlastmodified fallback so min year 2025 applies by file date, not folder names.
2026-07-02 23:13:31 +01:00
1sonhador 1617be3aee fix: detect WebDAV year folder anywhere in path (Faturas/2025/…) 2026-07-02 23:11:15 +01:00
1sonhador d3c26a453e fix: WebDAV year filter uses min year (2025+) not fixed list
Include all year folders from 2025 onwards (2026, 2027, …) and skip or mark anything older.
2026-07-02 22:51:35 +01:00
1sonhador 28164ad9f4 feat: filter WebDAV sync by year folders (2025/2026)
Add webdav_include_years account setting, skip files outside allowed year folders during sync, and a setup tool to mark older paths as already forwarded.
2026-07-02 22:45:03 +01:00
1sonhador 0f4bb5f522 feat: BizDocs API delivery, WebDAV source, and invoice validation
Add optional API upload alongside SMTP, Nextcloud/WebDAV as a document source with the same dedup/retry flow as IMAP, stricter invoice file checks for images, and admin UI for source and delivery modes.
2026-07-02 19:21:01 +01:00