diff --git a/docs/peer-review.md b/docs/peer-review.md index 41a2606..0b0ae5c 100644 --- a/docs/peer-review.md +++ b/docs/peer-review.md @@ -28,9 +28,9 @@ IMVU Classic still carries its peer review mode (client 554.8, `imvu/client/Peer - **What's reviewed**: products whose rating nobody checked: uploads rated general (an upload rated adult needs no review: raising is always fine), imports with no rating the hub could read, and products reported as wrongly rated. Each new revision with changed files counts again. -- **The page**: the hub website's Review page (or a T5DE page in the client) hands out one product at random (people - can't pick, so creators can't steer their friends to theirs), with **Open in the client** - (`imvu:PeerReview?pid=`; the client's local ID, so the page goes through the proxy, which knows them). Then the +- **The page** (**Decided**: on the website): the hub website's Review page hands out one product at random (people + can't pick, so creators can't steer their friends to theirs), with **Open in T5DE**, a `t5de:review?product=` link (below). Then the reviewer picks the rating: **General**, **Adult** (IMVU's AP), maybe **Adult+** (IMVU's AP+; the hub would need a third rating), or **Not allowed** (hate, gore, sexual content involving minors, ...: with a reason). **Skip** is always there, and passes it to someone else. @@ -47,9 +47,24 @@ IMVU Classic still carries its peer review mode (client 554.8, `imvu/client/Peer - **Console**: moderators manage the gold set, see reviewers' accuracy and counts, and end anyone's reviewing (`review:manage`, a new permission). Audited. +## Opening it from the website + +A browser can't use `imvu:PeerReview?pid=` directly: + +- **The pid is a local ID.** The client knows T5 products by numbers the proxy hands out on each machine (from + 2,000,000,000, per product revision, in `%APPDATA%\T5DE\proxy\products.json`); the hub knows only its own + product IDs. The same product has different numbers on different machines. +- **`imvu:` links open IMVU's own client.** IMVU's installer registers `imvu:` (`HKCU\Software\Classes\imvu`, its + `IMVUQualityAgent.exe`); T5DE's setup doesn't take it over, and shouldn't. + +So T5DE gets its own link: the setup registers `t5de:` (HKCU, the install's `t5de-setup.exe`), which hands the link +to the running T5DE client (as `drive.py url` does, WM_COPYDATA) or starts it. A patch handles +`t5de:review?product=`: it asks the proxy for that hub product's local ID (the proxy assigns one, as for library +products, and answers its authorization with `usablePeerReview` for that person while the hub has it out to them) +and opens the review window. The same link scheme can serve "Open in T5DE" elsewhere on the website (a product's +page, a hosted room). + ## Questions - AP+ on the hub: a third rating (`adult-plus`) for catalogs and people, or keep two and treat AP+ as adult? -- The review page: on the website (an external browser can't know the client's local IDs; it would link through - the proxy) or a page inside the client (like Settings > T5DE, talking to the proxy)? - How many reviewers per product, and how many gold ones, for few early reviewers?