mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-25 23:33:49 +03:00
Add public-repo API parity to `affine-server` and run the core cloud Playwright suite against the Rust all-in-one server. - Add HS256 Bearer access tokens, native session exchange, refresh, revoke, and list REST endpoints, login preflight, profile updates, WebP avatar transcoding and safe removal, and a distributed-locked expired-session cleanup worker with background lease renewal. - Unify workspace and per-document ACL evaluation (`acl.rs`), split REST and GraphQL modules, and add workspace member management, ownership transfer with readonly and quota invalidation guards, atomic invite links, `createWorkspace(init)` transactional root snapshots, `DocType`, `DocPermissions`, `createBlobUpload`, `calendarProviders`, and SocketIO realtime workspace access and config rooms. - Extract reachable blob keys with `y-octo` bounded BFS under `REPEATABLE READ` snapshots with pre-merge budgets and bounded caching, check per-doc ACL and reserved doc isolation on source-scoped blob routes, paginate `readable-blob-manifest/v1` with SQL cursor pushdown, and reject legacy blob reads with `403 UNSUPPORTED_CLIENT_VERSION`. - Keep fresh DB bootstrap on the default v1 sync protocol until activated, and accept both absent (v1) and active (v2) lifecycle checkpoints on existing databases. - Add `AFFINE_E2E_RUST_SERVER=1` Playwright support and a `cloud-e2e-rust-server` CI job, extend the live parity scenario to 23 steps, and lower `waitForTimeout` usage from 336 to 312 (ratchet from 324 to 316).