Repository navigation
1.8
Fixed
- Pictures no longer make the chat jump or flicker. A picture used to start as a grey box, collapse while it decoded and then grow to its real size, pushing every message around it, and it did that again each time its row was drawn (scrolling back, reopening a room). Its space is now reserved from the size the message announces, and a picture that is already loaded shows in the first frame. Encrypted pictures keep one local copy instead of being reloaded every time they are drawn.
- The image viewer opens without a black flash. It starts from the thumbnail the chat already shows (or the full picture, if you opened it before), always says it is loading while the full picture comes, and closing it no longer scrolls the chat.
- The Docker image can be built from a working checkout. With no
.dockerignore, a localnode_moduleswas copied into the image over the Alpine dependencies and the build failed. The build context now leaves outnode_modules,dist,.git,.envfiles and logs. - A browser test of the room list on a phone was flaky (the app reopens the last room just after the list appears).
Security
- A picture's announced width and height come from whoever sent it: they are bounded, and the shape is kept between 1:8 and 8:1, so a false size cannot shrink a picture to a line too thin to see or click. The picture is fitted inside its box, never cropped.
- No open Dependabot or code-scanning alerts;
npm auditof the production dependencies finds nothing.
Known and not done
- A picture whose message does not say its size (rare; most clients send it) still changes height once when it arrives.
- The independent review round could not run this time; the change was reviewed by its author only.
- Still not checked on real hardware: voice recording with a real microphone, single sign-on against a real identity provider, QR scanning with a live camera, desktop notification pop-ups.
Verified
- Type check, 396 unit tests and the whole browser suite (294 tests, against a real Synapse) pass locally and in CI. The new picture test fails on 1.7 (a picture went 160 → 360 px while loading) and passes now. The Docker image was built locally and served the app with its security headers.