Commit Graph
137 Commits
Author SHA1 Message Date
Dariusz L 2d0576546f refactor: unify SHA256 extraction paths 2026-08-07 03:36:06 +02:00
Dariusz L 431fb89dd2 refactor: centralize CivitAI enum fetching 2026-08-07 01:24:06 +02:00
Dariusz L 16fd31e6c7 refactor: centralize base model token collection 2026-08-07 00:30:41 +02:00
Dariusz L 3f294d38d3 refactor: unify remote size probing 2026-08-06 23:48:34 +02:00
Dariusz L 497e6d0658 refactor: unify LoRA archive query skeleton 2026-08-06 23:09:13 +02:00
Dariusz L 76d0a3aa7c refactor shared remote file size resolution 2026-08-06 22:25:42 +02:00
Dariusz L 83c7943f8a Unify CivitAI version requests 2026-08-06 21:28:17 +02:00
Dariusz L 016138bf07 refactor: share CivArchive result builder 2026-08-06 20:40:14 +02:00
Dariusz L ba379e202d refactor: unify CivitAI credential checks 2026-08-06 20:08:03 +02:00
Dariusz L ac5f22736d refactor: share custom provider result fields 2026-08-06 19:19:13 +02:00
Dariusz L ed1c472421 refactor: unify provider file sha256 extraction 2026-08-06 19:13:02 +02:00
Dariusz L 6309be8efe refactor(core): centralize alphanumeric normalization 2026-08-06 17:12:26 +02:00
Dariusz L 348f7ed8e0 refactor: unify model result builders 2026-08-06 16:20:31 +02:00
Dariusz L 599d78d773 Persist Hugging Face file SHA256 during Xet downloads 2026-08-06 02:37:40 +02:00
Dariusz L ff25791062 fix(huggingface): honor author index ttl during force search 2026-08-05 20:57:46 +02:00
Dariusz L 6b0f806e30 refactor: reuse shared file size extraction 2026-08-05 14:35:32 +02:00
Dariusz L 7a219bd2d2 refactor: unify primary model file selection 2026-08-05 14:29:02 +02:00
Dariusz L 24d0dae0e0 refactor: unify CivitAI result payloads 2026-08-05 14:24:07 +02:00
Dariusz L bb01732b89 Unify provider search result builders 2026-08-05 06:13:18 +02:00
Dariusz L eb86f647c8 refactor: unify model download URL collection 2026-08-05 02:47:37 +02:00
Dariusz L 151c246cde refactor model list result construction 2026-08-05 00:52:08 +02:00
Dariusz L 7f200db72e fix(huggingface): initialize missing cache during force search 2026-08-04 22:24:24 +02:00
Dariusz L 232e3c3e06 fix(huggingface): avoid cache writes during force search 2026-08-04 22:20:01 +02:00
Dariusz L ff16bd869f Add SHA-256 hash matching support for HuggingFace author index
Enable matching files in the HuggingFace author index by SHA-256 in
addition to filename. Enrich the author index with hashes from repo
tree responses, store them in the index metadata, and use them as a
primary lookup path during search_huggingface_for_file before falling
back to filename-based search. Also update the author index cache
version to 2 and add tests for the new behavior.
2026-08-04 06:21:08 +02:00
Dariusz L 5e85fdb8da perf: optimize LoRA Manager archive hash search and guard SHA-256 fallback
- Skip name fallback in search provider runner when request already has sha256
- Add direct SQLite hash lookup in lora_manager_archive with result caching
- Add timing and logging for archive search
- Refresh HuggingFace author index metadata
- Add tests for hash search and provider fallback behavior
2026-08-04 06:01:08 +02:00
Dariusz L 3f0e753edd feat: add SHA-256 search support and refresh HuggingFace author index
- Propagate sha256 through search orchestrator and providers
- Add hash-based lookup for CivitAI, HuggingFace, CivArchive, and LoRA Manager Archive
- Update search UI to accept SHA-256 hashes and refine link/name toggle styling
- Refresh HuggingFace author index metadata
2026-08-04 05:41:51 +02:00
Dariusz L cf08aa97de Unify custom URL result builders 2026-08-03 14:12:25 +02:00
Dariusz L c6070d9531 Remove obsolete CivArchive compatibility shims 2026-08-03 13:28:13 +02:00
Dariusz L 8d9ca189fc Remove obsolete compatibility aliases 2026-08-03 13:11:59 +02:00
Dariusz L 510aa570ce Unify remote dead-link detection 2026-08-03 12:54:55 +02:00
Dariusz L 0531f4e9b2 feat: expose CivArchive provider status 2026-08-02 22:00:51 +02:00
Dariusz L ed571a8ec6 feat: classify CivArchive failures 2026-08-02 21:57:46 +02:00
Dariusz L 57b79ba208 refactor: remove dead compatibility shims 2026-08-02 04:03:09 +02:00
Dariusz L c7a0f2f78c fix: prefer selected-file hash over inherited workflow or source hash 2026-08-01 22:50:13 +02:00
Dariusz L a8ba99800c Expand HuggingFace author fallback to multiple known publishers
Support both Comfy-Org and Kijai author indexes as known HuggingFace fallbacks, aggregate their status in the backend, refresh the cached author index, and update the frontend UI and tests.
2026-07-29 16:18:25 +02:00
Dariusz L f8a6e8b626 feat: add HuggingFace model details, variant table, and download context 2026-07-28 17:20:36 +02:00
Dariusz L a5910e1354 Link parent model resources to Civitai images and preserve additional resources 2026-07-27 16:09:08 +02:00
Dariusz L 23af562721 Separate model description from version description in metadata, responses, and UI 2026-07-27 15:31:59 +02:00
Dariusz L 31ad1cde7c refactor: introduce Model Resolver-owned metadata sidecars and build modes 2026-07-27 15:00:18 +02:00
Dariusz L 63ed2b8ca7 feat: support video previews in model downloads, tooltips, and info dialogs 2026-07-26 23:39:09 +02:00
Dariusz L 58e1aeff29 Preserve full CivitAI metadata in LoRA Manager sidecars 2026-07-26 19:56:29 +02:00
Dariusz L e568f81f2b feat(civarchive): prioritize known mirrors for remote size probes 2026-07-24 21:42:11 +02:00
Dariusz L 390ed097a6 feat(civitai): handle devalue-serialized tRPC payloads in CivitAI search 2026-07-24 19:16:59 +02:00
Dariusz L 097be623f4 feat: preserve CivArchive page URLs separate from HuggingFace mirrors, fix HTML array escaping, and accept provider array payloads
Backend:
- Keep CivArchive source page URL distinct from HuggingFace download mirrors in download metadata
- Handle CivitAI hash lookup HTTP errors and unexpected JSON shapes without caching failures
- Allow network JSON requests to return arrays as well as objects

Frontend:
- Escape each item individually when interpolating arrays into HTML templates
- Prefer the selected provider's page URL over cross-provider mirrors in context menus and download targets
- Reuse source link resolution for model info display

Tests:
- Add coverage for CivArchive metadata URL isolation, HTML array escaping, provider array responses, and CivitAI hash lookup caching behavior
2026-07-20 16:16:09 +02:00
Dariusz L 60ca3a381a fix: isolate manual/HuggingFace metadata from stale CivitAI provenance 2026-07-20 15:34:32 +02:00
Dariusz L 16a69f6c47 refactor: unify provider JSON requests, catalog sync, and normalization across backend; add frontend HTML escaping helpers 2026-07-20 15:13:57 +02:00
Dariusz L 79e7aa3743 refactor: unify provider JSON requests and move settings schema to dynamic loading 2026-07-18 15:10:34 +02:00
Dariusz L 89a721fc62 Normalize CivitAI search queries and simplify tRPC search behavior 2026-07-18 13:43:51 +02:00
Dariusz L c39eea4f51 refactor: remove dead code and unused frontend handlers across backend and web 2026-07-18 13:30:34 +02:00
Dariusz L b302566542 refactor: remove dead code and add clear_completed_downloads endpoint 2026-07-18 12:57:29 +02:00