Skip to content

OpenCare 1.2.1

Choose a tag to compare

@github-actions github-actions released this 08 Oct 07:44
· 21 commits to main since this release

A security release. Upgrade soon if your instance has no SMTP configured, or if more than one family shares it.

Security

Four issues from a private report by mpking828, all fixed here. Thank you for a careful report and a patch. Published advisories: GHSA-9mc9-f5rq-9hmh (high) and GHSA-c6jg-3572-rm27 (medium).

Account takeover through a shared circle (high, instances without SMTP). Without SMTP, a forgotten password is reset through a link that a circle admin passes on. That link was shown to the admin of any circle the person belonged to, and it opens the whole account, so that admin could take over the person's other circles. Now only an admin of every circle of the person receives the link or can cancel the request, and the owner is notified after any reset. If several families share your instance, configure SMTP.

Health data visible to neighbors (medium). The weekly summary, the journal and the dashboard let a member with the neighbor role read readings, doses and incidents. Neighbors now see none of them. They still see that someone asked for help, without the details.

Data import trusted file contents and authors (low to medium). Imported documents, photos and attachments now pass the same checks as uploads, and imported content can only be attributed to members of the circle. The Docker client now sends a Content-Security-Policy.

Live emergency sheet token (low, dormant). It is now returned only to admins and family. Live mode is off by default and no screen turns it on.

Dependency updates clear advisories on proxy-addr (critical, though OpenCare's proxy setting did not take the affected path), ip-address and source-map-js.

New

  • Week starts on Monday or Sunday, chosen per circle in a new Language and region card. Thanks to mpking828.
  • Emergency numbers on the poster, set per circle. French circles keep SAMU 15, Pompiers 18; in other languages the poster prints no number until one is set, rather than a number from the wrong country. Thanks to mpking828.
  • The server speaks Spanish: notifications, reminders, the password reset email and the kiosk "Ask me" companion. Until now a Spanish account could not even save its language, so everything arrived in French.

Fixes

  • Imperial units now apply everywhere a measurement is shown: out of range alerts, the dashboard, the kiosk weather and the weekly summary. Thanks to mpking828.
  • The weekly summary was always written in French. It now uses the language of the circle's members.
  • The iCal feed link pointed at the app instead of the API, so calendar subscriptions stayed empty on every standard Docker install. Thanks to mpking828. A relative VITE_API_URL is handled too.
  • On native Windows installs, the kiosk weather card was blocked by the server's own Content-Security-Policy.

Upgrading

git pull
docker compose up -d --build

Migrations run at startup, so there is nothing to apply by hand. Prebuilt images are published as ghcr.io/nexaflowfrance/opencare-server:1.2.1 and ghcr.io/nexaflowfrance/opencare-client:1.2.1. On Windows, run the installer below over your existing install. Take a backup first: ./scripts/backup.sh.