Split server into modules (4c6bdcf9) (part 2)
Browse filesFiles changed (5)
17 unmodified lines1819202122232417 unmodified lines&& npm cache clean --force# Only what runs: no tests, no tooling.COPY server/index.js server/events.js server/fed.js server/store.js server/state-res.js server/padding.js server/socks.js server/webauthn.js server/admin.js server/dms.js server/dms-order.js server/COPY client/index.html client/style.css client/wasm-check.js client/app.js client/crypto.js client/media.js client/pow.js client/opaque.js client/account.js client/device.js client/webauthn.js client/# Data and keys live on two separate volumes: they must never be backed up17 unmodified lines1819202122232417 unmodified lines&& npm cache clean --force# Only what runs: no tests, no tooling.COPY server/index.js server/config.js server/util.js server/sessions.js server/rooms.js server/keys.js server/media.js server/quota.js server/auth.js server/account.js server/federation.js server/gateway.js server/operator.js server/events.js server/fed.js server/store.js server/state-res.js server/padding.js server/socks.js server/webauthn.js server/admin.js server/dms.js server/dms-order.js server/COPY client/index.html client/style.css client/wasm-check.js client/app.js client/crypto.js client/media.js client/pow.js client/opaque.js client/account.js client/device.js client/webauthn.js client/# Data and keys live on two separate volumes: they must never be backed up
51 unmodified lines5253545556575851 unmodified linesgit clone <this repository> /opt/taper-srccd /opt/taper-srcinstall -d /opt/taper/server /opt/taper/clientcp server/index.js server/events.js server/fed.js server/store.js server/state-res.js server/padding.js server/socks.js server/webauthn.js server/admin.js server/dms.js server/dms-order.js server/package.json server/package-lock.json /opt/taper/server/cp client/index.html client/style.css client/*.js client/package.json client/package-lock.json /opt/taper/client/(cd /opt/taper/server && npm ci --omit=dev --ignore-scripts)(cd /opt/taper/client && npm ci --omit=dev --ignore-scripts)51 unmodified lines5253545556575851 unmodified linesgit clone <this repository> /opt/taper-srccd /opt/taper-srcinstall -d /opt/taper/server /opt/taper/clientcp server/index.js server/config.js server/util.js server/sessions.js server/rooms.js server/keys.js server/media.js server/quota.js server/auth.js server/account.js server/federation.js server/gateway.js server/operator.js server/events.js server/fed.js server/store.js server/state-res.js server/padding.js server/socks.js server/webauthn.js server/admin.js server/dms.js server/dms-order.js server/package.json server/package-lock.json /opt/taper/server/cp client/index.html client/style.css client/*.js client/package.json client/package-lock.json /opt/taper/client/(cd /opt/taper/server && npm ci --omit=dev --ignore-scripts)(cd /opt/taper/client && npm ci --omit=dev --ignore-scripts)
37 unmodified lines3839404142434437 unmodified linesA release is the exact set of files the server serves under the gatewaypath: the client's own files, and the files it loads from its twolibraries. That is the list in `CLIENT_FILES` in `server/index.js`. Buildsmust be reproducible, so anyone can rebuild a release from the source andget the same bytes.37 unmodified lines3839404142434437 unmodified linesA release is the exact set of files the server serves under the gatewaypath: the client's own files, and the files it loads from its twolibraries. That is the list in `CLIENT_FILES` in `server/gateway.js`. Buildsmust be reproducible, so anyone can rebuild a release from the source andget the same bytes.
135 unmodified lines136137138139140141142135 unmodified lines- `@matrix-org/matrix-sdk-crypto-wasm` is an npm package name that can't berenamed: `client/package.json`, `client/app.js:8`, `client/crypto.js`,`desktop/taper_desktop/bundle.py:20-22`, `server/index.js:1968-1970`,`server/test*.js`, `DEPENDENCIES.md`, `sbom/` files.- Prose naming the "Matrix Rust SDK" and vodozemac, and the "Matrix encrypted-fileformat" or "Matrix key APIs": `docs/platforms.md:17,95`,135 unmodified lines136137138139140141142135 unmodified lines- `@matrix-org/matrix-sdk-crypto-wasm` is an npm package name that can't berenamed: `client/package.json`, `client/app.js:8`, `client/crypto.js`,`desktop/taper_desktop/bundle.py:20-22`, `server/gateway.js:42-44`,`server/test*.js`, `DEPENDENCIES.md`, `sbom/` files.- Prose naming the "Matrix Rust SDK" and vodozemac, and the "Matrix encrypted-fileformat" or "Matrix key APIs": `docs/platforms.md:17,95`,
631 unmodified lines632633634635636637638631 unmodified linesexpired tokens and the device keys only they kept alive are purged everyminute, followed by a SQLite WAL truncation checkpoint. At start-up, rowsfor tokens that expired while it was stopped are deleted and so are thekeys of devices left with no live token (`restore` in `server/index.js`).Until the next start or minute, an expired row is still on disk.5. **Plain labels on sealed rows.** Events, media and queues are sealed, butthe room ID, event ID, depth, day, queue owner and media ID sit beside631 unmodified lines632633634635636637638631 unmodified linesexpired tokens and the device keys only they kept alive are purged everyminute, followed by a SQLite WAL truncation checkpoint. At start-up, rowsfor tokens that expired while it was stopped are deleted and so are thekeys of devices left with no live token (each module's `restore`, called from `server/index.js`).Until the next start or minute, an expired row is still on disk.5. **Plain labels on sealed rows.** Events, media and queues are sealed, butthe room ID, event ID, depth, day, queue owner and media ID sit beside
deploy/Containerfile+1-1
deploy/README.md+1-1
docs/design/signed-releases.md+1-1
docs/legal.md+1-1
docs/operator-handover.md+1-1