feat(imports): Access Pass products through the importer's signed-in account #20

Merged
dhkatz merged 2 commits from feat/importer-signed-in into main 2026-11-08 16:10:35 +00:00
Owner

Access Pass products, through the importer's signed-in IMVU account (docs/imports.md, new section "Access Pass products").

Why: signed out, IMVU hides Access Pass products from the hub: the product API answers 401 and shop listings leave them out. Signed in with Access Pass, NellLuna's shop lists 763 products instead of 639.

What changes:

  • list jobs: whenever a whole-shop grant's shop is listed, the hub also queues a list job, if the catalog's importer has an account signed in with Access Pass. It's queued for every whole shop once such an account first reports in, too. The importer lists the shop signed in and reports it with POST /api/v1/importer/jobs/:id/listing. The hub then:
    • keeps only the grant's own creator's products, since an importer can't vouch for another creator's
    • queues those not imported yet
    • marks the grant "with Access Pass"
  • POST /api/v1/importer/jobs/:id/info: for a claimed job whose product the hub can't see, the importer reports what its account sees, and the hub answers {rating, covered}. If IMVU shows the product publicly, that wins. "Not found" is kept, so rechecks withdraw a deleted product.
  • Claims: list jobs carry imvuCreator and imvuProduct: 0. The token route refuses them.
  • Schema (migration 0020): the one-open-job-per-product index now leaves out list jobs, which have their own (one open per shop and catalog). Adds import_grant.shop_listed_signed_in.
  • Console:
    • IMVU shows an account's Access Pass publicly only if the member chooses to, so the add dialog says "Access Pass not shown" instead of "No Access Pass", and the account list says "Access Pass not checked" until the importer signs in.
    • Grants say "On IMVU: 763 products (checked … by the importer, with Access Pass)".
    • The queue shows list jobs as the shop.
  • Docs: products.md routes and imports.md, including IMVU's sign-in needing a browser User-Agent.

Checks

  • A new API test covers:
    • no list job without an Access Pass account
    • the account report queuing one
    • the listing (another creator's product left out)
    • /info for a product IMVU hides, then a token for it
    • another creator's product not covered, and public info winning
    • the daily recheck keeping an imported Access Pass product
  • Totals: all 63 API tests pass, and the type checks for the API and website pass.
  • Live, with your Access Pass account, Dilfi (scratch hub and catalog, the importer from t5de-importer's PR, real IMVU):
    • It signed in and reported Access Pass.
    • NellLuna's shop listed 763 products signed in, and the 124 Access Pass ones were queued.
    • Four of them imported, rated adult.
    • The console shows the account with Access Pass and the grant listed with Access Pass.

🤖 Generated with Claude Code

Access Pass products, through the importer's signed-in IMVU account (docs/imports.md, new section "Access Pass products"). **Why:** signed out, IMVU hides Access Pass products from the hub: the product API answers 401 and shop listings leave them out. Signed in with Access Pass, NellLuna's shop lists 763 products instead of 639. **What changes:** - **`list` jobs:** whenever a whole-shop grant's shop is listed, the hub also queues a `list` job, if the catalog's importer has an account signed in with Access Pass. It's queued for every whole shop once such an account first reports in, too. The importer lists the shop signed in and reports it with `POST /api/v1/importer/jobs/:id/listing`. The hub then: - keeps only the grant's own creator's products, since an importer can't vouch for another creator's - queues those not imported yet - marks the grant "with Access Pass" - **`POST /api/v1/importer/jobs/:id/info`:** for a claimed job whose product the hub can't see, the importer reports what its account sees, and the hub answers `{rating, covered}`. If IMVU shows the product publicly, that wins. "Not found" is kept, so rechecks withdraw a deleted product. - **Claims:** `list` jobs carry `imvuCreator` and `imvuProduct: 0`. The token route refuses them. - **Schema (migration 0020):** the one-open-job-per-product index now leaves out `list` jobs, which have their own (one open per shop and catalog). Adds `import_grant.shop_listed_signed_in`. - **Console:** - IMVU shows an account's Access Pass publicly only if the member chooses to, so the add dialog says "Access Pass not shown" instead of "No Access Pass", and the account list says "Access Pass not checked" until the importer signs in. - Grants say "On IMVU: 763 products (checked … by the importer, with Access Pass)". - The queue shows `list` jobs as the shop. - **Docs:** `products.md` routes and `imports.md`, including IMVU's sign-in needing a browser User-Agent. **Checks** - **A new API test covers:** - no `list` job without an Access Pass account - the account report queuing one - the listing (another creator's product left out) - `/info` for a product IMVU hides, then a token for it - another creator's product not covered, and public info winning - the daily recheck keeping an imported Access Pass product - **Totals:** all 63 API tests pass, and the type checks for the API and website pass. - **Live, with your Access Pass account, Dilfi** (scratch hub and catalog, the importer from t5de-importer's PR, real IMVU): - It signed in and reported Access Pass. - NellLuna's shop listed 763 products signed in, and the 124 Access Pass ones were queued. - Four of them imported, rated adult. - The console shows the account with Access Pass and the grant listed with Access Pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dhkatz added 2 commits 2026-11-08 15:40:04 +00:00
IMVU hides Access Pass products from the signed out, so the hub learns about them from the importer: a "list" job
has it list a whole shop signed in (queued with each listing once its importer has an account that signed in with
Access Pass), and a job's product the hub can't see is looked up by the importer first (/info). The console no
longer says an account has no Access Pass when IMVU merely doesn't show it publicly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
docs: IMVU's sign-in and the live run
Pull request / title (pull_request) Successful in 1s
CI / test (pull_request) Successful in 1m35s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped
4f2afe52db
Co-Authored-By: Claude Opus 5.5 <[email protected]>
dhkatz merged commit cc6959082c into main 2026-11-08 16:10:35 +00:00
dhkatz deleted branch feat/importer-signed-in 2026-11-08 16:10:35 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t5de/t5de-hub#20