Skip to content

v0.8.0

Choose a tag to compare

@behringer24 behringer24 released this 28 Nov 19:06
· 5 commits to main since this release
8ca8dfe

Upgrade notes

  • Two database migrations, forward only. 00019 adds the tables of the notification outbox and the choices of the instance admin, 00020 a column that lets a mail list the notices it merges. A server that ran 0.8.0 must not simply go back to 0.7.1: take a backup first (scripts/backup.sh).
  • Nothing changes without the new notifications section in config.yaml. Notifications are off by default.

Added

Notifications. People are told that something waits for them, by mail or by web hook.

  • Events: a draft waits for review (told: the curators and admins of the space), a draft was approved or returned (the author), something was sent to a personal space (its owner), a health check changed (the instance admins).
  • Mail: HTML with a plain-text part, in the colours of Atrium. A badge for the kind of notice, then for each entry the title, type, author, the person who caused it, when it happened and the note of a decision, a suggested question for the assistant and a line saying why you are told. The text of an entry is never in it. A mail about a health change shows a status card with every check.
  • Web hook: Slack or a signed generic form. It names no title and no person, because its readers are a channel.
  • Control: connections are set in config.yaml under notifications. The new tool admin_notifications (instance admins) chooses the events per connection, instant or daily digest, tests a connection and shows what was sent and given up.
  • Delivery: an outbox in the database with retries. Web hooks are HTTPS only, refuse private addresses and follow no redirects.
  • This edition uses one web hook and one SMTP connection. admin_health has a new check notifications.

Design: docs/design/notifications.md. Guide: docs/user/05-instance-admin.md#notifications.

Changed

  • Dependencies: aws-sdk-go-v2/config 1.33.21, bedrockruntime 1.64.0, smithy-go 1.28.10 (Bedrock embedding backend).

Image

ghcr.io/behringer24/atrium-tablinum:0.8.0 (also 0.8 and latest), for linux/amd64 and linux/arm64. Full changes: CHANGELOG.md.