mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-06 19:52:24 +03:00
Align server-http, server-domain, server-sync, server-blob, server-spi, and affine-server with Node v0.27.5 behavior across configuration precedence, GraphQL and REST error envelopes, realtime sync, and storage adapters: - Apply config.json precedence for captcha, GraphQL introspection, server.hosts, session/token TTLs, GA4 telemetry, and DB > File > Env private key loading. - Enforce Apollo GraphQL introspection disabling, GET mutation 405 semantics, multipart CSRF origin checks for desktop/capacitor/ionic schemes, and 5xx requestId headers. - Require authentication on readable-blob-manifest/v1, apply default throttling across avatar/blob/doc/history/comment-attachment routes, and align S3/R2 status and ETag handling. - Harden setup/auth endpoints (JSON 400 validation errors, pre-Argon2 setup guard, dynamic email domain verification, transactional change-email token validation, and Redis keyPrefix wiring for throttler, calendar OAuth, and mutexes). - Align Socket.IO error codes/types, canary date-version parsing, doc-lifecycle alias/requireDeleted guards, quota invalidation fanout, subscription eviction, user profile feature filtering, and delegated Copilot SPI hooks.