Commit Graph

  • a36f72b383 feat(artist-view): ArtistHeader — sticky frosted bar (top:64px) matching TopNav recipe, hosts name + image/post stats + tab strip bvandeusen 2026-05-26 15:59:46 -04:00
  • 2e8d7c960c feat(artist): post_count on the artist overview response — drives the Posts/Gallery default-tab fallback in the upcoming ArtistView redesign bvandeusen 2026-05-26 15:59:28 -04:00
  • 992f38ec20 fix(test): drop unused Post binding in test_importer_provenance_race (ruff F841) bvandeusen 2026-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. bvandeusen 2026-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. bvandeusen 2026-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 bvandeusen 2026-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) bvandeusen 2026-05-26 11:46:06 -04:00
  • 6de84d0d60 feat(ui): ErrorDetailModal — context panel (task/queue/target/duration/started/retries/worker/celery-id/args) + contrast fix (background-token bg vs surface-variant pale-on-pale) + copyText helper for Copy button bvandeusen 2026-05-26 11:16:37 -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. bvandeusen 2026-05-26 11:16:32 -04:00
  • 06913eba8e feat(thumb-backfill): MaintenancePanel — wire ThumbnailBackfillCard into grid, broaden intro to cover non-ML backfills bvandeusen 2026-05-26 10:37:09 -04:00
  • b7f693b15e feat(thumb-backfill): ThumbnailBackfillCard — 'Run backfill now' button, mirrors MLBackfillCard pattern bvandeusen 2026-05-26 10:36:55 -04:00
  • ecd0199799 feat(thumb-backfill): Pinia store — triggerBackfill() POSTs /api/thumbnails/backfill bvandeusen 2026-05-26 10:36:45 -04:00
  • 983da9e5b1 feat(thumb-backfill): /api/thumbnails/backfill endpoint — POST → 202 + celery_task_id bvandeusen 2026-05-26 10:36:38 -04:00
  • a41eddae3f feat(thumb-backfill): backfill_thumbnails planner task — keyset-paginates ImageRecord, NULLs bad thumb paths, enqueues generate_thumbnail for NULL/missing/corrupt bvandeusen 2026-05-26 10:36:21 -04:00
  • 7aa7f5a3d6 feat(thumb-backfill): _thumb_is_valid helper — JPEG/PNG magic-byte check on the on-disk thumbnail file bvandeusen 2026-05-26 10:35:06 -04:00
  • 5d4f223b71 Merge pull request 'Release v26.05.25.7 — FC-Cleanup tab + UniqueViolation fix + error modal + extension install fix' (#22) from dev into main v26.05.26.0 bvandeusen 2026-05-26 08:26:46 -04:00
  • 2505b197ae feat(fc-cleanup): Pinia store + 3 cards + CleanupView + SettingsView tab + TagMaintenanceCard moved from Maintenance + ruff lint fixes — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> bvandeusen 2026-05-26 08:16:46 -04:00
  • 0d0b236ac3 feat(fc-cleanup): api/cleanup.py blueprint (9 endpoints) + register + delete-audit-<id> token (matches modal convention) — Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> bvandeusen 2026-05-26 08:13:53 -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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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> bvandeusen 2026-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 bvandeusen 2026-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. bvandeusen 2026-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 bvandeusen 2026-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 bvandeusen 2026-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). bvandeusen 2026-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 bvandeusen 2026-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 bvandeusen 2026-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 bvandeusen 2026-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 bvandeusen 2026-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) bvandeusen 2026-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 3b3e756 bvandeusen 2026-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 bvandeusen 2026-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 bvandeusen 2026-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) bvandeusen 2026-05-25 02:25:30 -04:00
  • 9d5abb09f6 fix(maintenance): recover_interrupted_tasks also sweeps pending/queued orphans (>30 min) to failed bvandeusen 2026-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 bvandeusen 2026-05-25 01:41:53 -04:00
  • 832345a245 fix(fc3k): add origin=imported_filesystem to test ImageRecord ctors (second NOT NULL column after mime) bvandeusen 2026-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) bvandeusen 2026-05-25 01:12:52 -04:00
  • de1a4b64b7 fc3k(ui): TagMaintenanceCard — preview-then-commit prune-unused under Settings → Maintenance bvandeusen 2026-05-25 00:52:30 -04:00
  • 3f500e592e fc3k(ui): per-tag dots-menu with Merge + Delete actions; Tier-B count-surfacing modal bvandeusen 2026-05-25 00:51:51 -04:00
  • d97e3f9b59 fc3k(ui): bulk-delete action in BulkEditorPanel with sha8 confirm token + projected counts modal bvandeusen 2026-05-25 00:49:45 -04:00
  • 035c49f675 fc3k(ui): ArtistDangerZone card + slot at bottom of ArtistView with cascade-delete flow bvandeusen 2026-05-25 00:48:17 -04:00
  • e41ab1cca5 fc3k(ui): Pinia admin store — six endpoints + task_run polling for Tier-C dispatched ops bvandeusen 2026-05-25 00:47:09 -04:00
  • 42c6b642c2 fc3k(ui): rename + relocate BackupConfirmModal → modal/DestructiveConfirmModal; add tier + projectedCounts props bvandeusen 2026-05-25 00:46:37 -04:00
  • ad3d34a1fc fc3k: /api/admin endpoint integration tests — dry-run, confirm-mismatch, dispatch, Tier-A/B/C paths bvandeusen 2026-05-25 00:45:31 -04:00
  • b5289ed372 fc3k: admin Celery task tests — registration, success, failure, missing-id idempotency bvandeusen 2026-05-25 00:44:33 -04:00
  • f6aa805725 fc3k: cleanup_service unit tests — projections + mutations + file unlinks against real Postgres bvandeusen 2026-05-25 00:43:51 -04:00
  • f096c9a5fb fc3k: register admin_bp in api/__init__ all_blueprints bvandeusen 2026-05-25 00:42:40 -04:00
  • 676a86b514 fc3k: /api/admin tags prune-unused endpoint — Tier-A preview-then-commit flow bvandeusen 2026-05-25 00:42:20 -04:00
  • 44cc625d4a fc3k: /api/admin tag endpoints — Tier-B delete + merge + usage-count helper bvandeusen 2026-05-25 00:42:03 -04:00
  • f7ee122243 fc3k: /api/admin blueprint — Tier-C artist cascade + bulk image delete with sha8-keyed confirm tokens bvandeusen 2026-05-25 00:40:53 -04:00
  • 7c6f11964a fc3k: celery_app — register admin tasks on maintenance queue bvandeusen 2026-05-25 00:40:23 -04:00
  • 94c60c0af2 fc3k: admin Celery tasks — delete_artist_cascade_task + bulk_delete_images_task on maintenance queue bvandeusen 2026-05-25 00:40:03 -04:00
  • 6df102b83d fc3k: cleanup_service mutations — unlink primitive, artist cascade, bulk image delete, tag delete, prune unused bvandeusen 2026-05-25 00:39:45 -04:00
  • 2ae01d27e3 fc3k: cleanup_service projections — artist cascade, bulk delete, tag usage, unused tags bvandeusen 2026-05-25 00:38:57 -04:00
  • 718cc79905 fix(fc3h): split semicolon-stacked statements (E702) and bridge v-dialog v-model to avoid prop write bvandeusen 2026-05-24 23:37:06 -04:00
  • e78a35d333 fc3h: collapse multi-line sqlalchemy import in backup_run.py — fits under line-length=100, ruff I001 would bounce bvandeusen 2026-05-24 23:12:06 -04:00
  • 83bd3b4b2d fc3h(ui): slot BackupCard into Maintenance panel above migration card bvandeusen 2026-05-24 23:06:22 -04:00
  • aecedd9fe4 fc3h(ui): BackupCard.vue + BackupRunsTable.vue — combined card with DB + Images sub-sections bvandeusen 2026-05-24 23:06:00 -04:00
  • 1e34b1b428 fc3h(ui): BackupConfirmModal.vue — typed-token confirmation for restore + delete bvandeusen 2026-05-24 23:05:04 -04:00
  • 102c21feaa fc3h(ui): Pinia backup store — runs, triggers, restore, delete, tag, settings bvandeusen 2026-05-24 23:04:37 -04:00
  • 57a338f7e6 fc3h(tests): drop pinned migration-backup tests (retired surface; coverage moved to test_backup_service.py + test_api_system_backup.py) bvandeusen 2026-05-24 23:03:57 -04:00
  • d04983138a fc3h: /api/system/backup endpoint integration tests bvandeusen 2026-05-24 23:02:32 -04:00