feat: importer IMVU accounts and settings from the console
Pull request / title (pull_request) Successful in 2s
CI / test (pull_request) Successful in 1m18s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped

The importer sends its RSA public key (POST /importer/hello); the console
looks IMVU accounts up, confirms them in a dialog, and seals each password
in the browser for that key. The hub keeps only the sealed copy, until the
importer confirms it has it. Accounts are tried in order; settings (rate,
jobs at once) come from the console too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
dhkatzandClaude Opus 5.5 committed 2026-11-07 10:01:11 -08:00
1 parent d716aabbd2
commit dcc39d82ab
16 files changed
+5505 -9

No files matched your search

+18 -2
View File
@@ -149,10 +149,15 @@ passwords never reach the hub readable, and are kept only by the importer.
importer confirms it has it (or after 7 days).
- Several accounts, in an order the team sets: the importer uses the first that signs in and moves to the next when
one fails. It reports each account's state (`ok`, `sign_in_failed`, `needs_password`, plus whether IMVU shows it
Access Pass) with `POST /api/v1/importer/accounts/:id`, shown on the console.
Access Pass) with `POST /api/v1/importer/accounts/:id`, shown on the console. Before that an account is `waiting`
(sealed, not yet with the importer) or `received`. At most 10 accounts.
- If the importer's key pair changes (a new install), passwords sealed for the old key can't be read: those
accounts show "needs password" until re-entered.
- Removing an account tells the importer to forget it. Adding and removing are audited (`catalog.importer_account`).
- Removing an account tells the importer to forget it. Adding, new passwords and removing are audited
(`catalog.importer_account`), as are settings (`catalog.importer_settings`) and a new importer key pair
(`catalog.importer_hello`).
- Built (2026-11-07): all of the above on the hub and the console, except the importer's report of AP products' info
(with the importer).
- What the importer sees with an account (creator, name, rating of AP products) it reports to the hub with the job
(`POST /api/v1/importer/jobs/:id {product: {creatorId, name, rating}}`), trusted from that catalog's importer
only, for products IMVU hides from the hub.
@@ -173,6 +178,17 @@ passwords never reach the hub readable, and are kept only by the importer.
| `POST /api/v1/catalogs/:id/importer` | `{enabled?}` (`import:run`; turning on returns the importer `key`, shown once) and `{paused?}` (`import:pause`) |
| `POST /api/v1/catalogs/:id/importer/key` | (`import:run`) → `{key}`: a new importer key |
| `POST /api/v1/catalogs/:id/importer/jobs/:job/retry` | (`import:run`) a failed or done job queued again |
| `GET /api/v1/catalogs/:id/importer/imvu-account?username=` | (`import:run`) `{imvuId, username, picture, accessPass, ageVerified}`: IMVU's public info, for the confirmation dialog |
| `POST /api/v1/catalogs/:id/importer/accounts` | (`import:run`) `{imvuId, sealed, fingerprint}` → 201 `{account}`. `fingerprint` must be the importer's key's (409 `importer_key_changed`; 409 `no_importer` before it has said hello); one per IMVU account (409 `exists`), at most 10. |
| `PUT /api/v1/catalogs/:id/importer/accounts/:account/password` | (`import:run`) `{sealed, fingerprint}`: a new password |
| `POST /api/v1/catalogs/:id/importer/accounts/:account/move` | (`import:run`) `{direction: "up" \| "down"}` |
| `DELETE /api/v1/catalogs/:id/importer/accounts/:account` | (`import:run`) |
| `POST /api/v1/catalogs/:id/importer/settings` | (`import:run`) `{rate (0.2-10 requests a second to IMVU), concurrency (1-8 jobs at once)}` |
`GET /api/v1/catalogs/:id/importer` also has `program: {version, seenAt, fingerprint, publicKey}` (`publicKey` only
with `import:run`), `settings`, and `accounts: [{id, imvuId, username, state, stateMessage, stateAt, accessPass,
ageVerified}]` (state: `waiting` for the importer, `received`, `ok`, `sign_in_failed`, `needs_password`). Never a
password, sealed or not.
For importers (`Authorization: Importer <catalog ID>:<key>`) in products.md.