From 46caa3e722a6e97eaf765ce886159a6fc6775a52 Mon Sep 17 00:00:00 2001 From: argszero Date: Wed, 21 Oct 2026 01:54:52 +0800 Subject: [PATCH] docs(readme): list password reset among the point-system capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The README feature list enumerates the point system's capabilities, and it stops one item short of the canonical list in `docs/user-stories.md:37`: README.md / README.en.md : daily gift / 90-10 split / admin top-up / self-registration with email verification docs/user-stories.md:37 : the same four, plus password reset Two copies of one list, four items identical and in the same order, only the tail differs — the enumeration is short, not selective. The README copy was written in 80c53bf (2026-08-21) and the story copy in 6d87213 (2026-08-22), so the second one never propagated back. It also answers a decision a deployer is actually making: registration is advertised as gated on email verification, and the README then says nothing about what happens when a user forgets the password. The product does have the self-service path — `POST /api/auth/forgot-password` and `POST /api/auth/reset-password` (src/routes/mod.rs), reached from the "找回密码" link under the login form — so the operator plans for manual resets over a capability that exists. Add the item to both languages. No numbers, inline code, links or bare URLs change, so readme_gate's four families are untouched; the two lists stay word-for-word equivalent. Deliberately not included: the sibling "Enterprise controls" bullet also lacks user-stories' "模型管理 CRUD". `db.rs::seed_models` deletes model rows absent from config on every boot, so admin-side model edits do not survive a restart — naming that capability without the caveat would overclaim more than the omission does. --- README.en.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.en.md b/README.en.md index 7dfede7..d9bbb74 100644 --- a/README.en.md +++ b/README.en.md @@ -13,7 +13,7 @@ AITokenPool is an open-source **AI token sharing platform / multi-model gateway* - **Multi-protocol gateway** — bidirectional conversion between OpenAI Chat / OpenAI Responses / Anthropic Messages, for both non-streaming and SSE streaming requests; clients only need one OpenAI-compatible endpoint - **Transparent billing** — every call shows an input / cache-hit / output token breakdown; vendor price lists ship with the release, each recorded in its own currency (CNY / USD), with peak-hour pricing and per-request input-length tiered pricing -- **Point system** — daily gift, 90/10 sharing split, admin top-up, self-registration with email verification +- **Point system** — daily gift, 90/10 sharing split, admin top-up, self-registration with email verification, password reset - **Enterprise controls** — departments, member credits, usage reports, and a dedicated operator view - **Security** — upstream keys encrypted with AES-256-GCM, argon2 password hashing, email verification, admin role isolation - **Lightweight** — a single Rust binary + SQLite + one-command Docker deploy, no external services diff --git a/README.md b/README.md index 3aaec8c..faccf30 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ AITokenPool 是一个开源的 **AI Token 共享平台 / 多模型网关**:把 - **多协议网关互转** — OpenAI Chat / OpenAI Responses / Anthropic Messages 三协议双向转换,非流式 + SSE 流式全支持;客户端只需对接一个 OpenAI 兼容端点 - **透明计费** — 每次调用展示「输入 / 缓存命中 / 输出」三档 token 明细;价目随发行预置,各厂商按原币记价(人民币 / 美元),支持高峰时段计价与按单次请求输入长度分档计价 -- **点数体系** — 每日赠送、共享分成(90/10)、管理员加额、自助注册 + 邮箱验证 +- **点数体系** — 每日赠送、共享分成(90/10)、管理员加额、自助注册 + 邮箱验证、找回密码 - **企业管控** — 部门管理、成员点数、用量报表、运营者视图,成本一目了然 - **安全** — 上游 Key AES-256-GCM 加密存储、argon2 密码哈希、邮箱验证、管理员角色隔离 - **轻量易部署** — 单个 Rust 二进制 + SQLite + Docker 一键启动,无外部服务依赖