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

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]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-11-08 07:21:49 -08:00
1 parent 56d25f7507
commit e2308aa0aa
12 files changed
+4865 -51

No files matched your search

@@ -157,7 +157,7 @@ export function ImporterAccountForm({
<p className="truncate font-medium">{found.username}</p>
<p className="text-xs text-muted-foreground">IMVU ID {found.imvuId}</p>
<div className="flex flex-wrap gap-1">
{found.accessPass ? <Tag tone="adult">Access Pass</Tag> : <Tag>No Access Pass</Tag>}
{found.accessPass ? <Tag tone="adult">Access Pass</Tag> : <Tag>Access Pass not shown</Tag>}
{found.ageVerified ? <Tag tone="adult">Age verified</Tag> : <Tag>Not age verified</Tag>}
</div>
</div>
@@ -165,8 +165,8 @@ export function ImporterAccountForm({
)}
{found && !found.accessPass && (
<p className="text-sm text-amber-700 dark:text-amber-400">
Without Access Pass, the importer can&apos;t see AP products, so it can&apos;t import them with this
account.
IMVU shows Access Pass publicly only if the member chooses to; the importer checks when it signs in.
Without Access Pass, it can&apos;t import Access Pass products with this account.
</p>
)}
<p className="text-xs text-muted-foreground">
@@ -45,6 +45,7 @@ const accountState = {
needs_password: { tone: "danger", label: "needs its password" },
} as const;
const imvuPage = (id: number) => `https://www.imvu.com/shop/product.php?products_id=${id}`;
const imvuShop = (creator: number) => `https://www.imvu.com/shop/web_search.php?manufacturers_id=${creator}`;
export default async function CatalogImports({
params,
@@ -178,7 +179,11 @@ export default async function CatalogImports({
<span className="font-medium">{a.username}</span>
<span className="text-muted-foreground">(IMVU {a.imvuId})</span>
<Tag tone={st.tone}>{st.label}</Tag>
{a.accessPass ? <Tag tone="adult">Access Pass</Tag> : <Tag>No Access Pass</Tag>}
{a.accessPass ? (
<Tag tone="adult">Access Pass</Tag>
) : (
<Tag>{a.state === "ok" ? "No Access Pass" : "Access Pass not checked"}</Tag>
)}
{a.stateMessage && <span className="text-xs text-muted-foreground">{a.stateMessage}</span>}
</div>
{can.run && (
@@ -372,17 +377,28 @@ export default async function CatalogImports({
{data.jobs.map((j) => (
<TableRow key={j.id}>
<TableCell>
<a
href={imvuPage(j.imvuProduct)}
target="_blank"
rel="noreferrer"
className="underline-offset-4 hover:underline"
>
{j.name || j.imvuProduct}
</a>
{j.kind === "list" ? (
<a
href={imvuShop(j.imvuProduct)}
target="_blank"
rel="noreferrer"
className="underline-offset-4 hover:underline"
>
IMVU shop {j.imvuProduct}
</a>
) : (
<a
href={imvuPage(j.imvuProduct)}
target="_blank"
rel="noreferrer"
className="underline-offset-4 hover:underline"
>
{j.name || j.imvuProduct}
</a>
)}
</TableCell>
<TableCell className="text-muted-foreground">
{j.kind}
{j.kind === "list" ? "listing, signed in" : j.kind}
{j.imvuRevision ? ` · revision ${j.imvuRevision}` : ""}
</TableCell>
<TableCell className="whitespace-normal">