2e8d7c960c
feat(artist): post_count on the artist overview response — drives the Posts/Gallery default-tab fallback in the upcoming ArtistView redesign
bvandeusen2026-05-26 15:59:28 -04:00
992f38ec20
fix(test): drop unused Post binding in test_importer_provenance_race (ruff F841)
bvandeusen2026-05-26 14:39:57 -04:00
0bc5767a2b
fix(importer): Source = one per (artist, platform), not one per post — filesystem importer's sidecar paths now reuse the artist's existing subscription Source (or create one synthetic anchor with enabled=False) instead of fabricating a new Source per post URL. Alembic 0022 consolidates existing per-post Sources to canonical (prefers campaign URL; falls back to sidecar:<platform>:<slug>) and re-parents Posts + ImageProvenance, merging Post collisions.
bvandeusen2026-05-26 14:19:29 -04:00
397021dcbd
fix(importer): ImageProvenance (image_record_id, post_id) race-safe via savepoint + alembic 0021 UNIQUE — closes the SELECT-then-INSERT window that planted duplicates and broke .scalar_one_or_none() on every later deep-scan rederive (MultipleResultsFound). Migration dedupes existing rows (min(id) per pair); model gains __table_args__; gallery-filter test that seeded duplicates dropped.
bvandeusen2026-05-26 13:47:55 -04:00
b0bfbc585a
fix(import-admin): retry-failed + clear-stuck — same UPDATE…WHERE pattern as the maintenance sweep, so neither endpoint can hit psycopg's 65535-parameter ceiling once accumulated row counts exceed ~65k
bvandeusen2026-05-26 11:47:40 -04:00
110c1c0e51
fix(maintenance): recover_interrupted_tasks — fold SELECT into UPDATE…WHERE…RETURNING so the IN-list no longer blows past psycopg's 65535-parameter ceiling (operator-hit 2026-05-26 after deep scan orphan pile)
bvandeusen2026-05-26 11:46:06 -04:00
4e1f208a9f
fix(ui-copy): copyText utility with execCommand fallback — navigator.clipboard is gated by Secure Context (HTTPS-only) and is undefined on plain-HTTP self-hosted deployments. Apply to ExtensionKeyBar + BrowserExtensionCard.
bvandeusen2026-05-26 11:16:32 -04:00
06913eba8e
feat(thumb-backfill): MaintenancePanel — wire ThumbnailBackfillCard into grid, broaden intro to cover non-ML backfills
bvandeusen2026-05-26 10:37:09 -04:00
a06ada4c9b
fix(ext-ui): direct :href install button (Firefox needs anchor click, not programmatic navigation) + manifest version detection ignores -latest.xpi alias — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 08:07:22 -04:00
ebd985990c
feat(ui): ErrorDetailModal — click error → flat-text modal with copy button (replaces unusable :title tooltip for multi-line SQLAlchemy tracebacks) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 07:53:14 -04:00
4da8d1d774
fix(importer): race-safe savepoint-based find-or-create for Source + Post (uq_source_artist_platform_url UniqueViolation operator-flagged 2026-05-26) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 07:51:12 -04:00
05090c6e85
Merge pull request 'Release v26.05.25.7 — animated-WebP worker fix + FC-Cleanup backend' (#21) from dev into main
bvandeusen2026-05-26 01:48:13 -04:00
2d4bfa4375
fix(fc-cleanup): test sha256 fixtures stay within varchar(64) + isort the registration import — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:32:50 -04:00
6ed2021ad6
feat(fc-cleanup): scan_library_for_rule Celery task + maintenance-queue registration — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:21:37 -04:00
4f2ceaaf31
feat(fc-cleanup): audit lifecycle service functions (start/apply/cancel) + tests — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:20:41 -04:00
8a5b337a53
feat(fc-cleanup): min-dimension service functions + tests — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:20:04 -04:00
900d878d27
feat(fc-cleanup): audits/single_color.py + tests — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:18:38 -04:00
fd80d40a34
feat(fc-cleanup): audits/transparency.py + tests — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:18:07 -04:00
929d3fc092
feat(fc-cleanup): migration 0020 + LibraryAuditRun model — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 01:17:42 -04:00
c0c9e56fb9
fix(importer): skip transparency check on animated images (operator-flagged 2026-05-26: animated WebP triggered 5+ min PIL multi-frame decode → Celery hard-timeout SIGKILL); compute_phash seeks frame 0 defensively — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 00:45:08 -04:00
3a577d5ade
Merge pull request 'fix(ext-ci): use browser_download_url + curl -f + ZIP magic check (XPI silently corrupt)' (#20) from dev into main
v26.05.25.6
bvandeusen2026-05-26 00:43:02 -04:00
06a2f60c08
fix(ext-ci): use browser_download_url not /releases/assets/<id> + add -f to curl + magic-byte sanity check (operator-flagged 2026-05-26: prior build silently wrote '404 page not found' into the XPI file, Firefox rejected as corrupt) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 00:42:35 -04:00
0978fbac66
fix(sidecar): strip gallery-dl 'NN_' numbering prefix when locating sidecars — fixes 'deep scan refresh count high but 0 Posts created' (operator-flagged 2026-05-26) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-26 00:27:43 -04:00
f4fe02e346
Merge pull request 'fix(ext-ci): drop actions/upload-artifact (Forgejo doesn't support v4+ GHES)' (#19) from dev into main
bvandeusen2026-05-25 23:33:40 -04:00
efb142239d
fix(ext-ci): drop actions/upload-artifact (Forgejo Actions doesn't support v4+ GHES) — build-web reads XPI directly from the ext-<version> Forgejo release asset — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 23:32:58 -04:00
e766197d99
Merge pull request 'fix(ext-ci): jq→python + bump ext to 1.0.3 + rollback-on-upload-failure' (#18) from dev into main
ext-1.0.3
bvandeusen2026-05-25 23:14:51 -04:00
5587a76606
fix(ext-ci): replace jq with python3 (jq not in ci-python image) + bump ext 1.0.2→1.0.3 (escape AMO 'version already exists' from prior partial-failure run) + add rollback to prevent empty cache-release tombstones — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 23:14:11 -04:00
3872e1dda9
Merge pull request 'fix(ext-ci): web-ext v8 .cjs config workaround' (#17) from dev into main
v26.05.25.5
bvandeusen2026-05-25 22:49:14 -04:00
17e19081a2
fix(ext-ci): drop web-ext-config.cjs (v8 mis-parses .cjs configs as if module.exports were a config option) — inline ignore-files on CLI + --no-config-discovery — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 22:46:58 -04:00
9814f3dbaf
Merge pull request 'Release v26.05.25.5 — Extension publish refactor, deep-scan IR-parity, archive-import perf, artist Settings tab' (#16) from dev into main
bvandeusen2026-05-25 22:44:59 -04:00
770bcf3aa6
feat(artist): tab split (Overview/Settings) so DangerZone is reachable without exhausting the infinite-scroll image grid — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 22:32:07 -04:00
52d7905c43
perf(importer): cache phash candidates on Importer to fix archive-import soft-timeout (was O(M×N) per-member SELECTs) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 22:25:32 -04:00
e6ededbe8e
feat(deep-scan): IR-parity port — refreshed status + counter, re-queue completed paths in deep mode, honest UX — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 22:16:26 -04:00
c06cbc0abe
feat(ci): inline extension sign into build.yml + Forgejo Release Assets as XPI cache (v26.05.25.5) — bump ext to 1.0.2 — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 21:30:11 -04:00
b214460fdb
Merge pull request 'Release v26.05.25.4 — importer ext sanitize fix, CI shard split, BrowserExtensionCard on Overview' (#15) from dev into main
v26.05.25.4
bvandeusen2026-05-25 21:11:50 -04:00
ac39509a74
fix(ci): rename shard jobs to no-separator names (intapi/intimp/intcore) + add diagnostic docker ps dump so next bounce surfaces the real act_runner naming convention — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 20:59:17 -04:00
3531f373ee
feat(settings): move BrowserExtensionCard from Maintenance to Overview tab — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 20:33:44 -04:00
36cc0622cb
fix(importer): sanitize PostAttachment.ext to skip mangled gallery-dl URL-encoded basenames (varchar(32) overrun) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 20:33:44 -04:00
e50f92d900
perf(ci): shard integration suite into 3 parallel jobs (int_api, int_imp, int_core) — newly feasible after act_runner capacity 2→6 — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 20:05:15 -04:00
ba8d9b112d
fix(ext-ci): add diagnostic tracing to commit step to surface why run #309 reported success without producing the XPI side-commit — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 20:05:15 -04:00
c451061ca5
fix(ext-ci): self-retrigger workflow on its own edits (path filter includes workflow file) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 18:24:31 -04:00
ac55d0e8d8
Merge pull request 'fix(ext-ci): match AMO-renamed signed XPI' (#14) from dev into main
v26.05.25.3
bvandeusen2026-05-25 18:22:50 -04:00
47d760550d
fix(ext-ci): glob AMO-renamed signed XPI + canonicalize to fabledcurator-<version>.xpi — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 18:22:01 -04:00
89a89e0ded
Merge pull request 'Release v26.05.25.3 — ML embedder SigLIP fix, import-UX, extension publish' (#13) from dev into main
bvandeusen2026-05-25 17:56:50 -04:00
dc3bce7fc1
chore(ext): bump to 1.0.1 to trigger initial sign-and-publish — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 17:37:10 -04:00
f657582f30
feat(import-ui): deep scan button, sticky settings tabs, tasks-above-filters, fix Scanning-undefined source_path — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 17:37:10 -04:00
111b952535
fix(ml): load SigLIP image-only processor to avoid SentencePiece dep — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
bvandeusen2026-05-25 17:31:06 -04:00
4e9aac2c05
Merge pull request 'v26.05.25.2: supersede + sidecar enrichment, scan toast feedback, CI uv + pip cache + durations' (#12) from dev into main
v26.05.25.2
bvandeusen2026-05-25 14:30:25 -04:00
a0470b5f60
feat(importer): _supersede() now applies the new (larger) file's sidecar — operator wanted to scan GS download dir to supersede smaller IR-migrated images AND wire up gallery-dl Post metadata, but supersede was file-only and silently dropped the sidecar.
bvandeusen2026-05-25 13:51:51 -04:00
b0bb7ae6cc
ci: pip wheel cache (actions/cache on requirements.txt hash) + uv-when-available — ~2 min saved on warm runs, no risk
bvandeusen2026-05-25 13:47:27 -04:00
1bbe478fd0
ci: report slowest 25 integration tests via pytest --durations=25 — instrumentation pass before deciding parallelization vs targeted slow-test fixes
bvandeusen2026-05-25 13:09:25 -04:00
5666fd5ca5
fix(ui): scan trigger immediate-feedback toast + delayed status re-poll — operator-flagged 'click does nothing' was actually scan_directory's skip-set finalizing the batch in <100ms when every file already had an ImportTask row, before refreshStatus could ever see the active state. Now the click always produces visible feedback (immediate 'Scan triggered' + 2s 'no new files' if it quick-finalizes).
bvandeusen2026-05-25 13:06:11 -04:00
2879ac6f2b
Merge pull request 'v26.05.25.1: maintenance sweep + Camie v2 + corrupt-file handling + post-date gallery + clear-stuck escape hatch' (#11) from dev into main
v26.05.25.1
bvandeusen2026-05-25 12:57:46 -04:00
3a359f6c5e
fix(ui): Quick scan button always visible (disabled when active batch present) + inline Clear stuck action — operator was clicking a spinner area thinking it was the button because activeBatch hid the Quick scan button entirely
bvandeusen2026-05-25 12:43:37 -04:00
b6a917ac81
feat(import): /api/import/clear-stuck endpoint + Clear stuck UI button — escape hatch for the autoretry-loop case the automatic sweep can't break
bvandeusen2026-05-25 12:37:07 -04:00
c361032554
feat(gallery): sort/group/jump by COALESCE(post.post_date, image_record.created_at) — surface migrated content at its original publish date, not FC scan date
bvandeusen2026-05-25 12:30:18 -04:00
9f54efdedf
fix(migrators): tag_apply phase 4 now covers deviantart + pixiv (was silently dropping IR PostMetadata from those platforms)
bvandeusen2026-05-25 11:25:45 -04:00
6b1bb87647
fix(tests): update test_ensure_camie_skips_when_present to v2 filenames (camie-tagger-v2.onnx + camie-tagger-v2-metadata.json) — pinned-test bounce from 3b3e756bvandeusen2026-05-25 11:12:55 -04:00
68cffce322
fix(importer): catch PIL OSError during transparency + phash blocks, skip as invalid_image instead of letting Celery autoretry loop forever
bvandeusen2026-05-25 02:34:36 -04:00
52445eb501
fix(ui): double directory card width (220px -> 440px) + bound preview slot height (min 150 / max 220 / overflow hidden / explicit display+object-position) so tall source images can't escape on browsers that don't compute aspect-ratio
bvandeusen2026-05-25 02:32:05 -04:00
3b3e7565fb
fix(ml): align tagger + downloader with Camie v2 actual layout (model.onnx -> camie-tagger-v2.onnx + JSON metadata + ImageNet preprocessing + sigmoid on refined output)
bvandeusen2026-05-25 02:25:30 -04:00
9d5abb09f6
fix(maintenance): recover_interrupted_tasks also sweeps pending/queued orphans (>30 min) to failed
bvandeusen2026-05-25 02:00:29 -04:00
b8dce6c483
Merge pull request 'FC-3h + FC-3k: backup first-class + admin destructive actions' (#10) from dev into main
v26.05.25.0
bvandeusen2026-05-25 01:41:53 -04:00
832345a245
fix(fc3k): add origin=imported_filesystem to test ImageRecord ctors (second NOT NULL column after mime)
bvandeusen2026-05-25 01:28:54 -04:00
a0136fa30d
fix(fc3k): add mime=image/jpeg to test ImageRecord ctors (NOT NULL) + reorder admin import after stdlib/3rd-party (ruff I001)
bvandeusen2026-05-25 01:12:52 -04:00