Major changes: - Restructure plugin architecture: moved federation logic into a dedicated `federation` plugin with Better Auth integration, defining schemas for server registry, key rotation, and blacklist management - Extract encryption layer: new `oven` plugin handles end-to-end encryption (E2EE) with OLM client/server implementations - Reorganize social features: consolidated social endpoints (posts, follows, blocks, mutes) and removed legacy plugin patterns in favor of unified plugin structure - Decentralized key management: refactored `keytools` and `keygen` to support federation key rotation with challenge tokens and health checks Infrastructure updates: - Upgrade dependencies: bump Better Auth to 1.6.9, React to 19.2.5, Next.js to 16.2.3, Tailwind to 4.2.4 - Add cryptographic libraries: @scure/bip39, @signalapp/libsignal-client, @matrix-org/matrix-sdk-crypto-wasm for enhanced federation security - Add utilities: base58-js, uuid for federation identifier handling - Update database schema with new federation tables (serverRegistry, rotateChallengeTokens, blacklistedServers) Minor updates: test suite alignment, storage client cleanup, PostFederationSchema refinements Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
No EOL
553 B
Text
29 lines
No EOL
553 B
Text
BETTER_AUTH_SECRET=
|
|
BETTER_AUTH_URL=
|
|
|
|
# Should follow the format: redis://<host>:<port>
|
|
# Could use password and username if needed
|
|
REDIS_URL=
|
|
|
|
# Comma separated list of allowed hostnames for CORS
|
|
# Example: DEV_ALLOWED_HOSTNAMES=localhost,127.0.0.1,::1
|
|
DEV_ALLOWED_HOSTNAMES=
|
|
|
|
DATABASE_URL=postgresql://<username>:<password>@<host>:<port>/<database>
|
|
|
|
EMAIL_HOST=
|
|
EMAIL_PORT=
|
|
EMAIL_SECURE=
|
|
EMAIL_USER=
|
|
EMAIL_PASSWORD=
|
|
|
|
DEBUG=app:*,test:*
|
|
|
|
MINIO_BUCKET=
|
|
MINIO_ENDPOINT=
|
|
MINIO_PORT=
|
|
MINIO_USE_SSL=
|
|
MINIO_ACCESS_KEY=
|
|
MINIO_SECRET_KEY=
|
|
|
|
NEXT_PUBLIC_GIT_URL= |