Skip to content

v2.97.0

Latest

Choose a tag to compare

@ulsklyc ulsklyc released this 30 Nov 01:02

Added

  • Sign in with Home Assistant. Home Assistant speaks OAuth but not OpenID Connect, so it could
    not be used as an SSO provider. With HOMEASSISTANT_URL set, the sign-in button reads "Sign in
    with Home Assistant", and everything that applies to SSO applies here too: linking under
    Settings > Account, OIDC_ALLOW_SIGNUP, SSO-only accounts and AUTH_ALLOW_PASSWORD_LOGIN.
    Yuvomi only asks Home Assistant who signed in and revokes the token right away. A configured
    OIDC provider still takes precedence. Home Assistant sends no email address, so an administrator
    can bind a member to a Home Assistant user ID in the member dialog, also for an account without a
    password. New accounts take the Home Assistant display name as username and always start as
    members: a Home Assistant administrator is not automatically a household administrator. The web
    installer asks for both addresses under single sign-on. GET /api/v1/auth/oidc/config also
    reports provider (oidc, homeassistant or null); nothing was removed from the API.
  • Household members can sign in with passkeys without an external identity provider. Add a
    passkey in account settings and sign in with your device. Accounts with two-factor
    authentication enabled still ask for a code, including when confirming passkey changes.
    Changing your password removes your passkeys. Removing a passkey signs out other devices.

Fixed

  • Uploading a document larger than 1 MB behind Nginx works with the example configuration, and a rejected upload says that it was too large. nginx.conf.example set no client_max_body_size, so Nginx accepted only 1 MB and rejected larger documents before they reached Yuvomi, with nothing in the Yuvomi log. The example now allows 140 MB, enough for the highest MAX_UPLOAD_MB, and the installation guide explains the limit. A request rejected as too large, by Yuvomi or by a proxy in front of it, now shows its own message instead of "Unknown error". Thanks to @SourceControlDown for the report (#2973).
  • A database restore that fails on the server no longer answers with the raw error text. An error of the file system or of SQLite went out as 400 with its own text, including absolute paths. It is now a 500 with the fixed sentence of the error handler, and the text goes to the log; refusals with a reason (wrong key, damaged or foreign backup, restore busy) keep their sentence and status (#2692).
  • Switching tasks from List to Kanban in Firefox no longer leaves the details column open. The board kept the empty details column on the right and squeezed its columns into the rest until the page was reloaded. Firefox does not re-evaluate the width rule of the list and details layout when the page leaves it; a rule tied to the view now closes the column in every browser. Thanks @Kyrodan for the report (#2874).
  • Editing a contact shows the birthday of its linked Birthdays entry. A contact without a date of its own, such as a member's contact from setup, showed the date of its Birthdays entry in the detail view but an empty field when edited. The form now shows that date with a link to Birthdays, where it is changed, and saving no longer touches it. Thanks @speci-man for the report (#2773).
  • A Mealie mirror keeps an ingredient's note, the name of a linked recipe and the headings of the steps. An ingredient that points to another Mealie recipe showed only its amount ("500 Gramm") and now carries that recipe's name; a note such as "red, small" follows the name in brackets, in the recipe and on the shopping list; in the notes, a step's section stands on its own line and its heading before the text. Mirrored recipes are fetched again once at the next sync. Thanks @unroasted-byte and @darkr3sq-maker for the reports (#2822, #2823, #2875).
  • Deleting many selected contacts and importing a large vCard file no longer run into the request limit. Both sent one request per contact, so around 300 contacts the server answered "Too many requests", the rest failed, and other pages failed with it for a minute. Deleting now sends the selection in batches of up to 500 and importing in batches of up to 200 (DELETE /api/v1/contacts, POST /api/v1/contacts/import); an entry the import refuses is reported as before and can be retried. Thanks @arosler and @thenebu for the reports (#2981, #2906).
  • An administrator who loses the role or is deactivated while a member's new password is hashed no longer changes that member. Editing a member checked the right when the request arrived and wrote after the hash; it now asks again at the write and answers like a request sent after the change (403, or 401 for a deactivated account). The same check now stops a sign-in from opening a session when the password changes while it is verified, and stops the SSO link from writing back a session that was signed out meanwhile. Thanks @nikitabhagat2307-prog for the report and the first fix (#2639).
  • SSO no longer creates the first account. Before setup, an SSO sign-in that would create an
    account goes to the setup page instead. Before, an SSO member could become the first account,
    which locked setup and left the household without an administrator.