Skip to content

Releases

v1.52.0-rc.3

v1.52.0-rc.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 05:52

Added

  • ./start.sh adopt turns a git install into a one-file install, on the same data. Run in webapp/docker with the stack up, it checks everything first and changes nothing when a check fails (the stack must be this checkout's and healthy, the data in DATA_DIR's folders, the tiedenwerk-* names free, and no overlay in COMPOSE_FILES, which it refuses rather than guesses at). Then it pulls the new images while the household keeps running, takes a verified database dump and counts every table, stops the old stack, writes a .env (0600) next to the checkout's compose.yml with the folders and every secret under its TIEDENWERK_ name, brings compose.yml up, waits for it to answer healthy and compares every table with the counts from before. The database keeps its password, devices stay signed in and push keeps working. Any failure after the stop puts the old stack back by itself; --rollback does the same later, --dry-run only checks and prints the plan, --status says where things are. Settings compose.yml has no place for are named, never shown. Afterwards ./start.sh up, down and the rest refuse, so the old stack isn't started beside the new one from habit. This is RFC-023's §5.2 done by a script; the wiki's manual steps stay for everything it refuses.
  • A Videos plugin: the family's streaming services, switched off until a family wants them. The plugin adds a Videos button to the navigation opening a page of streaming-service tiles — YouTube (its TV interface), Netflix, Prime Video, Hulu and Disney+ out of the box — and a tap opens the service. The streaming sites refuse to be framed, so a tap leaves the board, in whichever way still leads back: in the desktop app the site opens under its bar with a large ✕, in a browser tab it opens in a new tab, and in an installed web app the system's Done or ✕ returns to the board. A browser in kiosk mode, or the desktop app with Strict links on, has no way back, so there the tiles stay off and the page says why. The list is the family's own: Settings → Videos switches the built-in services on or off and adds its own, each a name and an http(s) address (anything else is dropped, so a tile's link is always a web address). Streaming is an extra rather than part of the board's job, so the plugin ships off (it declares defaultEnabled: false, like Games) and stays out of the navigation and settings until a family switches it on under Settings → Plugins. A family's saved choice always wins over the default, in both directions. In English, German, French and Chinese.
  • The Videos list is fully the family's to shape. Settings → Videos now keeps the whole list in one place: every service — a built-in or one of the family's own — is edited the same way, its name and its address, and can be deleted or added; a reset brings back the five built-ins. Until now a built-in could only be switched on or off, and an added service could not be corrected once saved, only removed and added again. Each service now carries an id of its own, so a rename or a new address is still the same service, and a list saved before this release — which has no ids — gains them by its addresses the first time it is read. In English, German, French and Chinese.
  • Your own photos: add a whole folder at once. Settings → Photos (with Your own photos as the source) gets an Add a folder button beside Add photos, where the browser can pick a folder, and you can drop photos or a whole folder, subfolders included, onto the card. A list shows every photo as it goes: added, already in your library (skipped), not supported (HEIC, larger than 25 MB, or a format the library doesn't take, each said in so many words) or failed. A failed photo doesn't stop the ones after it, and it can be retried on its own or with all the others that failed. Files in the folder that aren't photos (.DS_Store, Google Takeout's .json files, videos) are counted and left out. Photos are recognised by their content: dropping the same folder again, for instance after a run that stopped halfway, uploads only the ones that are new, and the server refuses a second copy of the same file in any case. Works on a plain-http address too. Photos uploaded before this release aren't recognised as duplicates, because what was uploaded then can't be reconstructed from what was stored. In English, German, French and Chinese (RFC-009 M2).
  • Every kind of Home Assistant device opens a detail sheet of its own. Tapping a tile on the home-automation screen opened a full sheet for sixteen kinds of device; the rest showed a raw state and at most an on/off switch. Now the remaining kinds have their own controls and words too (RFC-008, the second half): buttons (Press), numbers (a slider or −/+), choices, counters, timers (with a running countdown), dates and times, texts (behind Edit), updates (with both versions, a backup option and the release notes), sirens, remotes (with their activities), valves, lawn mowers and water heaters, and camera on/off. People, the sun, zones, schedules, calendars, events, images and air quality are shown in words rather than Home Assistant's identifiers (Away, The sun is up, 2 people here, In its station), without controls they don't have; a calendar links to the calendar, a to-do list to the to-dos and a camera to the cameras, and a person's coordinates are not shown. Pressing a button, sounding a siren, installing an update, starting a mower and opening a gas valve ask first, naming the device. A text in password mode is never shown, on the tile or in the sheet. The tiles use the same words as the sheets. In English, German, French and Chinese.
  • A French trivia question bank. Beside the English bank there is now a French one, bank.fr.json: 7,068 questions from OpenQuizzDB, the French community question base, in the same packed shape, with 22 categories of its own. The set is the selection the site published in February 2022; each question's anecdote and Wikipedia link are dropped in the packing (the shape has no room for them), the adults-only and celebrity-gossip categories and a dozen single questions unsuited to a family screen are left out, and questions that are not four distinct answers or that repeat an earlier one are dropped. A builder script, scripts/build-trivia-bank-fr.py, regenerates the bank byte for byte from its two pinned sources, and src/lib/trivia/NOTICE.md credits the source. Nothing reads the French bank yet — the screensaver card and the Trivia game still draw on the English bank whatever the board's language; teaching them to pick the bank by language is the follow-up (#654).

Changed

  • setup.sh no longer needs Node.js for push notifications. A git install's push (VAPID) keys are now made by the Tiedenwerk image it is about to run (docker run --rm --entrypoint node ghcr.io/svenger87/tiedenwerk:<tag>, no network inside the container), so Docker is all a git install needs. npx web-push on the host is still used when Docker can't be reached from the user running setup. Keys already in .env are left alone as before, and the .env lines are the same. When neither works, setup still completes, and its last lines now say why push is off (Docker missing, not reachable, or the image not available) instead of only "Node.js wasn't found".

  • The family's language is its own setting, and the server speaks English, not German, when it knows no better. Settings → Language now has a Family language control beside this screen's language: pushes, assistants and holiday names use it, whatever each screen shows. Switching one screen's language no longer changes everyone's pushes; it fills in the family's language only when the family has none yet. Everything the server says on the family's behalf (pushes, the due-task reminder, the test push, an assistant's request status, weather conditions) now follows one rule: the family's language, else its holiday region's, else English. Until now a family without a saved language got German pushes while its assistant hints were English, a language Tiedenwerk didn't know got German, and the due-task reminder and the test push were German for every family. An update keeps every existing family on the language it has been getting: a migration saves its holiday region's language where that names one (so a French family's pushes, German until now, turn French), German where it has no region, and English for any other region. An assistant asking about a request it made now hears it described in the family's language instead of English, and weather conditions come in Chinese for a Chinese board. Shopping items added from the meal plan say "For 2 recipes" in the screen's language rather than always in German, and the theme button, the album art and the avatar previews have labels in every language.

  • Dates and numbers follow the family's region. The screen's language decides the words; the family's holiday region now decides how dates and numbers are written in that language. A German board in Austria says "Jänner", one in Switzerland writes 1'234.50, a French board in Switzerland or Belgium and an English one in Britain, Ireland or Australia write dates their country's way. A family without a holiday region, or whose region doesn't speak the screen's language (an English screen in Germany), reads exactly what it read before. Several places used the browser's language instead of the board's and now use the board's: pocket-money and stock prices, the school-holiday list in Settings, the month menu of the date picker and the clock of the time-zone picker. Dates that were written in German order in every language now follow the language: an English board read "Fri, 25. Dec" and a Chinese one "周五, 25. 12月" in the calendar, birthdays, tasks, notes and the Home widgets, and now reads "Fri, Dec 25" and "12月25日周五"; German reads as before. The screensaver's birthday dates read "3 décem...

Read more

v1.52.0-rc.2

v1.52.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:10

Added

  • A Videos plugin: the family's streaming services, switched off until a family wants them. The plugin adds a Videos button to the navigation opening a page of streaming-service tiles — YouTube (its TV interface), Netflix, Prime Video, Hulu and Disney+ out of the box — and a tap opens the service. The streaming sites refuse to be framed, so a tap leaves the board, in whichever way still leads back: in the desktop app the site opens under its bar with a large ✕, in a browser tab it opens in a new tab, and in an installed web app the system's Done or ✕ returns to the board. A browser in kiosk mode, or the desktop app with Strict links on, has no way back, so there the tiles stay off and the page says why. The list is the family's own: Settings → Videos switches the built-in services on or off and adds its own, each a name and an http(s) address (anything else is dropped, so a tile's link is always a web address). Streaming is an extra rather than part of the board's job, so the plugin ships off (it declares defaultEnabled: false, like Games) and stays out of the navigation and settings until a family switches it on under Settings → Plugins. A family's saved choice always wins over the default, in both directions. In English, German, French and Chinese.
  • A French trivia question bank. Beside the English bank there is now a French one, bank.fr.json: 7,068 questions from OpenQuizzDB, the French community question base, in the same packed shape, with 22 categories of its own. The set is the selection the site published in February 2022; each question's anecdote and Wikipedia link are dropped in the packing (the shape has no room for them), the adults-only and celebrity-gossip categories and a dozen single questions unsuited to a family screen are left out, and questions that are not four distinct answers or that repeat an earlier one are dropped. A builder script, scripts/build-trivia-bank-fr.py, regenerates the bank byte for byte from its two pinned sources, and src/lib/trivia/NOTICE.md credits the source. Nothing reads the French bank yet — the screensaver card and the Trivia game still draw on the English bank whatever the board's language; teaching them to pick the bank by language is the follow-up (#654).

Changed

  • The desktop app brings the board back from a site left open. A site opened from the board (a streaming service from Videos, a link in a note) shows in the app's sheet under a bar with a large ✕. When nobody has touched it for ten minutes and nothing in it is playing, the sheet now closes by itself, so a wall screen doesn't stay on a streaming service's menu; a film that is playing keeps it open however long. On Windows and Linux; on macOS the sheet stays until its ✕. The app also tells the page whether this screen opens other sites at all, so Videos can say so instead of a tap that does nothing.

Fixed

  • Buttons that did nothing on a plain-http address work again. Reached over http:// on the home network (http://192.168.…, not localhost), the browser leaves out a few features it keeps for secure pages, and six places used them without checking: adding a countdown failed with no message (#668), copying the join code, the calendar feed link, an ICS feed's address or a device's ID copied nothing, and Use current location stayed silent. Copying now falls back to the older way browsers still allow there and says so when even that fails, the countdown gets its id the way the rest of the app does, and the location button says that browsers share a location only over https. A lint rule now refuses crypto.randomUUID and navigator.clipboard in browser code, so it can't come back. In English, German, French and Chinese.

  • News feeds behind some CDNs load again. Checking or reading a feed such as CBC's (served through Akamai) ended in "The site took too long to respond", although the feed answered at once from the same machine: the CDN's bot filter held requests open whose User-Agent carried the app's link. Feeds, reader mode and recipe import now send the app's name and version without it; the services whose usage policies ask for a way to reach us keep it. A failed feed check now also logs its cause, so it shows up in the container's log (#661).

  • Changing photos on the screensaver no longer flickers. A photo joined the crossfade as soon as its bytes had arrived, before the picture was decoded: on a wall panel the fade could run ahead of the picture and show the black background through it. And a photo whose source reports no dimensions — iCloud is one — was first drawn cropped to fill the screen and snapped to its letterboxed fit once it loaded, so a portrait photo flashed full-bleed as it arrived and again as the outgoing layer of the next change. Photos are now decoded before they are shown, and the shape measured at that decode is remembered, so every photo starts the crossfade whole and already in its final fit.

Security

  • Recipe import, feed lookup and the news page need a signed-in device, and outgoing fetches refuse more kinds of local addresses. Importing a recipe from a link, testing a news feed under Settings → News and loading the news now answer only a device that has joined the family; on the board nothing changes. When Tiedenwerk fetches an address someone typed, it now recognises local and private network addresses in every way they can be written, and refuses them as before.
  • A flood of anonymous requests can no longer lock out apps and assistants that are signed in, repeated sign-ins with unknown tokens from one address are slowed down, and family join codes now come from the system's secure random source. Responses no longer name the web framework.
  • Sign-ins from the internet need https. Joining with the code, creating or restoring a family, checking the Settings PIN, the setup steps, and everything that uses an access token (the Integration API, AI assistants, the OAuth endpoints) are now refused with a 403 (insecure_transport) when they arrive over plain http from a public address, because a join code or a token sent that way can be read along the way. The home network (Tailscale's addresses, and IPv6 addresses in the server's own network, included) and anything over https are unaffected, as are pages, pictures and /api/health. The welcome screen says why, and Settings shows a warning when it is opened over plain http from outside. TIEDENWERK_ALLOW_INSECURE_WAN=true turns the refusal off. In English, German, French and Chinese.
  • Forwarded addresses count only from a trusted proxy. The visitor's address (X-Forwarded-For, X-Real-IP, CF-Connecting-IP) and scheme and host (X-Forwarded-Proto, X-Forwarded-Host) are believed only when the connection comes from a trusted reverse proxy, and X-Forwarded-For is read from the right. Before, the first X-Forwarded-For entry was used whoever sent it. This decides the rate limits' client address, whether the session cookie is marked Secure, the address the OAuth metadata and the Google redirect advertise, and the cameras' home-or-away stream choice. Trusted by default: this machine, the Docker network and the home network's private ranges (private); TIEDENWERK_TRUSTED_PROXIES sets your own list of private, cloudflare (Cloudflare's published ranges, whose CF-Connecting-IP then names the visitor, and whose own connection decides whether a request counts as https), addresses and ranges, and none trusts no proxy. Malformed forwarded values (such as unknown) are skipped.
  • One family per server, unless the operator allows more. Once a server has a family, creating another one, or restoring a backup as a new family, is refused, and the welcome screen says "This server already has a family. Ask them for the join code." A fresh install creates its first family as before; joining an existing family is unchanged. TIEDENWERK_ALLOW_NEW_FAMILIES=true allows more families. The wiki's Security and threat model page has a new section, Exposing Tiedenwerk to the internet, on all three settings.

Upgrade notes: If you run a public demo or host several families on one server, set TIEDENWERK_ALLOW_NEW_FAMILIES=true. If your server is reachable from the internet over plain http, put an https reverse proxy in front of it: sign-ins arriving that way are refused from this version on. Behind Cloudflare's orange cloud, Cloudflare's own connection to the server must be https: Flexible mode is refused; use Full (strict) to a reverse proxy with its own certificate, or a Cloudflare Tunnel (which the default already covers). Where Cloudflare connects to Tiedenwerk directly, set TIEDENWERK_TRUSTED_PROXIES=private,cloudflare (the setting replaces the default, so keep private in it), and only if the server accepts connections from Cloudflare's ranges alone; a Tunnel or Authenticated Origin Pulls are the safer choice. Any other reverse proxy that is not on the same machine, Docker network or home network needs its address in the list (with private).

v1.52.0-rc.1

v1.52.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:21

Fixed

  • News feeds behind some CDNs load again. Checking or reading a feed such as CBC's (served through Akamai) ended in "The site took too long to respond", although the feed answered at once from the same machine: the CDN's bot filter held requests open whose User-Agent carried the app's link. Feeds, reader mode and recipe import now send the app's name and version without it; the services whose usage policies ask for a way to reach us keep it. A failed feed check now also logs its cause, so it shows up in the container's log (#661).

Security

  • Recipe import, feed lookup and the news page need a signed-in device, and outgoing fetches refuse more kinds of local addresses. Importing a recipe from a link, testing a news feed under Settings → News and loading the news now answer only a device that has joined the family; on the board nothing changes. When Tiedenwerk fetches an address someone typed, it now recognises local and private network addresses in every way they can be written, and refuses them as before.
  • A flood of anonymous requests can no longer lock out apps and assistants that are signed in, repeated sign-ins with unknown tokens from one address are slowed down, and family join codes now come from the system's secure random source. Responses no longer name the web framework.
  • Sign-ins from the internet need https. Joining with the code, creating or restoring a family, checking the Settings PIN, the setup steps, and everything that uses an access token (the Integration API, AI assistants, the OAuth endpoints) are now refused with a 403 (insecure_transport) when they arrive over plain http from a public address, because a join code or a token sent that way can be read along the way. The home network (Tailscale's addresses, and IPv6 addresses in the server's own network, included) and anything over https are unaffected, as are pages, pictures and /api/health. The welcome screen says why, and Settings shows a warning when it is opened over plain http from outside. TIEDENWERK_ALLOW_INSECURE_WAN=true turns the refusal off. In English, German, French and Chinese.
  • Forwarded addresses count only from a trusted proxy. The visitor's address (X-Forwarded-For, X-Real-IP, CF-Connecting-IP) and scheme and host (X-Forwarded-Proto, X-Forwarded-Host) are believed only when the connection comes from a trusted reverse proxy, and X-Forwarded-For is read from the right. Before, the first X-Forwarded-For entry was used whoever sent it. This decides the rate limits' client address, whether the session cookie is marked Secure, the address the OAuth metadata and the Google redirect advertise, and the cameras' home-or-away stream choice. Trusted by default: this machine, the Docker network and the home network's private ranges (private); TIEDENWERK_TRUSTED_PROXIES sets your own list of private, cloudflare (Cloudflare's published ranges, whose CF-Connecting-IP then names the visitor, and whose own connection decides whether a request counts as https), addresses and ranges, and none trusts no proxy. Malformed forwarded values (such as unknown) are skipped.
  • One family per server, unless the operator allows more. Once a server has a family, creating another one, or restoring a backup as a new family, is refused, and the welcome screen says "This server already has a family. Ask them for the join code." A fresh install creates its first family as before; joining an existing family is unchanged. TIEDENWERK_ALLOW_NEW_FAMILIES=true allows more families. The wiki's Security and threat model page has a new section, Exposing Tiedenwerk to the internet, on all three settings.

Upgrade notes: If you run a public demo or host several families on one server, set TIEDENWERK_ALLOW_NEW_FAMILIES=true. If your server is reachable from the internet over plain http, put an https reverse proxy in front of it: sign-ins arriving that way are refused from this version on. Behind Cloudflare's orange cloud, Cloudflare's own connection to the server must be https: Flexible mode is refused; use Full (strict) to a reverse proxy with its own certificate, or a Cloudflare Tunnel (which the default already covers). Where Cloudflare connects to Tiedenwerk directly, set TIEDENWERK_TRUSTED_PROXIES=private,cloudflare (the setting replaces the default, so keep private in it), and only if the server accepts connections from Cloudflare's ranges alone; a Tunnel or Authenticated Origin Pulls are the safer choice. Any other reverse proxy that is not on the same machine, Docker network or home network needs its address in the list (with private).

Tiedenwerk v1.51.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 10:58

Tiedenwerk 1.51.0

The first update after the rename. It brings birthdays from your contacts, a
place to look up past notifications, a Calendar widget for the wall screen,
desktop-app notifications that now work on every system, games for the family,
and more for apps that build on Tiedenwerk, plus a few fixes you reported.

The games and the Integration API additions come from
@leigao84, our first larger outside contribution.
Thank you!

Birthdays from your contacts

  • Import. The Birthdays page has an Import button. It takes a Google
    Contacts CSV or a vCard file (.vcf) from an iPhone, Android, Apple Contacts
    or Outlook. You see every contact before anything is added: new ones are
    ticked, ones already on the list are marked, and ones without a birthday are
    left out. Photos come along and are kept on your server.
  • Kept in step with Google Contacts. Settings → Google has a new switch,
    Birthdays from Google Contacts. Pick a contact label (say Family), and
    every contact in it with a birthday stays on the list, with its photo,
    updated hourly. It only reads from Google. A birthday you edit or delete in
    Tiedenwerk stays the way you left it. It needs one more permission from
    Google, asked for only when you turn it on. If you run your own Google Cloud
    project, enable the People API there first.
  • Birthdays without a year show no age. A blank year used to be saved as
    the year it was entered, so a grandparent could "turn 1". Now a birthday can
    have no year, and the form has Year unknown to fix older entries with
    one tap.

Notifications

  • Look up past notifications. Every device keeps what was sent to it for
    14 days, including the ones it missed. On a phone or computer, a bell in the
    navigation shows how many are unread and opens the list. A wall screen gets
    a short banner on Home instead, which waits behind the screensaver and stays
    away at night. A new Notifications widget can list them in a designed
    layout.
  • The Mac app now asks for permission, and its notifications arrive. In
    1.50.0 they quietly went nowhere. If macOS says no, Settings now tells you
    instead of showing a switch that does nothing.
  • Windows: a notification clicked after the app has quit opens its page,
    not Home.
  • Linux: closing the window keeps the app in the tray, where the desktop
    has one, so notifications keep coming. Without a tray, Settings says the
    window has to stay open.

For the wall screen

  • A Calendar widget for a designed Home. Settings → Layouts offers the
    Calendar page's week as a widget, beside Tasks and Shopping: seven days from
    today, sized to fit its box. Tap an event or a day to open it.
  • Fullscreen brings back the wall screen. After Leave fullscreen,
    choosing Fullscreen or F11 from the menu only made the window fill the
    screen. The display then stayed on all night. Now it brings back the wall
    screen itself, and a wall screen left alone for 30 minutes goes back on its
    own.

Games (off until you switch them on)

Settings → Plugins → Games adds six games played right on the screen:
a photo jigsaw, minesweeper, sudoku, a word game, trivia and solitaire. The
word game has word lists in English, German and French, and a version with
four-character idioms in Chinese. Trivia can also show a question on the
screensaver. Scores stay on the device, and nothing is loaded from the
internet. The trivia questions are in English only for now.

Desktop app away from home

The desktop app now finds your server over Tailscale or a VPN, too. List the
server's other addresses (for example https://tiedenwerk.your-tailnet.ts.net)
under Settings → This install → Other addresses of this server. When the
usual address stops answering, the app tries those and continues at the one
that proves it is the same server.

For apps that build on Tiedenwerk

  • A read-only pocket-money permission (pocket_money:read) for a client
    that should see the children's balances and nothing else.
  • Pocket-money entries can be read, booked and removed through the
    Integration API, and an outside app can keep its pocket-money ledger or
    shopping list in step with Tiedenwerk. These need the new
    pocket_money:manage permission, which only tokens you create yourself in
    Settings can have, never AI assistants. The sync only touches what it created
    itself, refuses a push that would remove a lot at once unless confirmed, and
    can be tried with dry_run first. Details are on the Pocket Money wiki page.

Fixes

  • Connecting Google on the all-in-one image now ends back in Settings,
    instead of on an address that doesn't open. Settings → Google also says when
    the People API is switched off in your Google project, instead of "No labels
    found".
  • Backups and photos larger than 10 MB can be restored and uploaded.
    Both were always allowed up to 25 MB, but anything over 10 MB was cut
    off on the way in. A restore then failed with "Backup file is not valid
    JSON", although nothing was wrong with the file.

Security

  • Devices in a family can no longer read each other's device
    identifiers.
    A device's hardware identifier and fingerprints, push
    subscription keys, and the family's Google tokens are now for the server
    only. Signing in, notifications and the Google sync work as before.

What you need to do

  • The server: update as usual. For a git install, run
    git pull --ff-only and ./start.sh up; for the one-file install, use Pull
    and Up; or let the updater do it. Five small database updates run on their
    own. They only add things, and nothing is moved or removed. If you ever go
    back to 1.50.0, Settings → Devices won't load there until you update again.
  • The desktop apps update themselves. The Windows click fix and the
    Tailscale/VPN addresses need the app from this release. On a Mac, switch
    notifications on once more if macOS asks.
  • Google Contacts sync: if you use your own Google Cloud project, enable
    the People API and add the read-only contacts permission to its consent
    screen. Then use Connect again for contacts in Settings → Google.

Kurz auf Deutsch:

  • Geburtstage: Geburtstage lassen sich aus Kontakten importieren (Google-CSV
    oder vCard) oder mit einem Google-Kontakte-Label abgleichen. Geburtstage ohne
    Jahr zeigen kein Alter mehr.
  • Benachrichtigungen: Jedes Gerät hat eine Glocke mit den Benachrichtigungen
    der letzten 14 Tage; der Wandbildschirm zeigt sie als kurzes Banner. Auf dem
    Mac, unter Windows und unter Linux kommen sie jetzt zuverlässig an.
  • Wandbildschirm: Für das gestaltete Home gibt es ein Kalender-Widget.
    „Vollbild“ im Menü holt den Wandbildschirm zurück, sodass das Display nachts
    wieder ausgeht.
  • Desktop-App: Sie findet den Server auch über Tailscale oder VPN.
  • Spiele: Sechs Spiele für die Familie, ausgeschaltet bis man sie in den
    Einstellungen → Plugins einschaltet.
  • Für Apps: Neue Möglichkeiten in der Integrations-API rund ums Taschengeld,
    mit Schutz gegen versehentliches Löschen. Danke an @leigao84!
  • Korrekturen: Backups und Fotos über 10 MB lassen sich jetzt einspielen und hochladen.
  • Sicherheit: Geräte können die Kennungen anderer Geräte nicht mehr lesen.

Update: Server wie gewohnt aktualisieren; die Apps aktualisieren sich selbst.

Tiedenwerk v1.50.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 19:11

Tiedenwerk 1.50.0

Kinboard is now called Tiedenwerk. Same app, same people behind it, a new
name. Over the past year about a dozen other projects turned up under the
name Kinboard, several of them family dashboards and two of them commercial,
and people were already mixing us up. I want a family looking for this
project, a contributor linking to it, or someone sending a security report to
land here and nowhere else. The whole story, and your ideas for the name, are
in discussion #501.

Why Tiedenwerk. Tied is Low German for time, Tieden are times. It is
how people talk in the Emsland, where this project comes from. Werk is the
work and the craft, like the Uhrwerk in a clock, the part that keeps time
running. So Tiedenwerk is roughly "the works that keep a family's times
running", which is what the screen on the kitchen wall does all day. It is
also a name nobody else uses, so it can stay ours. Rooted in Emsland, built
for everyone.

Nothing breaks. Your data, devices, photos, calendars and settings stay
exactly as they are, and nobody has to join again. For most families there is
nothing to do at all.

1.50.0 is also the first stable release since 1.17.0, and it brings more than
the name: Tiedenwerk can now be installed from one file, run in one container,
update itself with a way back, and runs as a desktop app on Windows, Linux and
a Mac. The jump in the version number is on purpose, for the new name; there
was no stable 1.18 to 1.49.


What you need to do

Find your kind of install. Most rows say "nothing".

The usual update of a git install, in its folder (tiedenwerk, or kinboard
from before the rename), then in webapp/docker:

git pull --ff-only
./start.sh up

The database migrations run on start. Installs with the Diun auto-update pick
1.50.0 up on their own.

How you run it What to do
Our compose files, with git pull and ./start.sh up (the installer, Windows autostart) Nothing. The pull brings the new image name along.
The Diun auto-update Nothing. The next update switches over by itself.
Watchtower, or a fixed tag (latest, next, 1.17, a version) Nothing for now. Every release is published under both names with the same tags until 2.0. Switching is one line.
The one-file install (compose.yml), set up with a release candidate Take this release's file, then Pull and Up (with COMPOSE_PROFILES=autoupdate the updater does it for you). Its containers and volumes are called tiedenwerk-* now, and the first start moves your data into the new volumes by itself.
The all-in-one container (tiedenwerk-aio, the Unraid template) Nothing. It is published under both names until 2.0, like the main image. It has no latest yet and follows the release candidates (:next); to run exactly this release, set the template's Repository to ghcr.io/svenger87/tiedenwerk-aio:1.50.0 (a pinned version is never updated automatically).
The desktop app New in this release: download it from this page (below). It works with this server version and newer.
Your own compose file Change the image: line from ghcr.io/svenger87/kinboard:<tag> to ghcr.io/svenger87/tiedenwerk:<tag>, keep your tag, then docker compose pull && docker compose up -d. Settings shows a note about the new name until you also add TIEDENWERK_IMAGE: tiedenwerk to the webapp's environment:, or hide it.
Home Assistant integration (HACS) Update it to 2.0.0 in HACS (out today) and restart Home Assistant; until the next step the old integration keeps running. Then add the Tiedenwerk integration and choose Take over the Kinboard setup: one click takes over every family, and your entities keep their history, names, areas and settings. Entity ids, actions and events now start with tiedenwerk instead of kinboard; Settings → Repairs lists every entity id that changed and each automation, script and dashboard that still uses an old name (template sensors and Node-RED are not checked). The kinboard.* actions are gone, so change those calls to tiedenwerk.*. Your own scripts that read Tiedenwerk's events API directly keep getting kinboard_* events until 2.0; they get the new names when they ask with ?names=tiedenwerk, as the integration does.
The app on phones and tablets Keeps working. Android picks up the new name and icon by itself; on iPhone and iPad, remove the icon from the home screen and add it again from Safari.
Calendar subscriptions (Google, Apple, Outlook) Nothing. The links stay the same and no event shows up twice.
AI assistants (ChatGPT, Claude) On your own server: nothing. On the public demo: remove it there and add it again.
Push notifications, backups Nothing. Backups from before the rename restore as before.
Colours Everyone on Sand, the old default, gets Tiedenwerk's own palette. Prefer Sand? One click in Settings → Design → Neutral tone, and it stays. Sage, Warm grey and Graphite are kept.
KINBOARD_* settings in .env or on a kiosk Nothing. They keep working until 2.0; ./start.sh migrate-env renames them if you want.
Folder and container names (kinboard-db, kinboard-webapp, …) Nothing. Your install keeps its folder and its kinboard-* containers. Only new installs are called tiedenwerk.

One more thing: from this release on, Docker Compose 2.3 or newer is needed
(it came out in March 2022; docker compose version shows yours).

Every case step by step is in
UPGRADING.md,
and what the one-file install means for an existing install in
its 1.50.0 section.

A new licence

From this release on, Tiedenwerk is licensed under the GNU Affero General
Public License 3.0
(AGPL-3.0-only).

In plain words:

  • Running it for your family stays free and unchanged. At home or on a
    server you rent, you may use it, change it and share it.
  • If you pass it on, or run a changed version for others, you share the
    source.
    Whoever hands out copies, modified or not, or sells devices with it
    installed passes them on under the AGPL with the complete source code.
    Whoever runs a modified version as a service other people use over a network
    has to offer those users the complete source code of that version. The
    licence text is what counts; this is a summary.
  • Releases before this one keep their licence: the MIT License up to and
    including v1.12.1-rc.3, the PolyForm Noncommercial License 1.0.0 after that.
  • A commercial licence is available on request, for anyone who wants to
    build Tiedenwerk into a product or service without publishing their changes.

The name and the logos are a separate matter from the code; TRADEMARK.md
says what is fine and what needs asking.

What stays the same

These are promises:

  • The old image name ghcr.io/svenger87/kinboard keeps receiving every
    release until 2.0
    , with the same tags and the very same image as the new
    name.
  • Settings named KINBOARD_* keep working until 2.0. Where both the old
    and the new name are set, the new one wins.
  • Calendar event IDs don't change, so subscribed calendars don't fill up
    with duplicates.

Also in this release

  • Tiedenwerk is one file now. compose.yml, attached to every release:
    paste it into the Compose UI you already use (OpenMediaVault, Portainer,
    Unraid's Compose Manager, Dockge) or run docker compose up -d next to it.
    There is no git checkout, no setup.sh and no .env: the passwords and
    keys create themselves on the first start, and updating is Pull, then Up.
    The one-line installer now sets up this file; --git still gives you the
    git install. Compose UIs
  • Automatic updates with a way back. Set COMPOSE_PROFILES=autoupdate
    and a small updater joins the stack. When there is a new version it takes a
    checked backup of the database, the files and the secrets, recreates only
    Tiedenwerk's own containers, waits for the new version to come up healthy,
    and goes back to the previous one by itself if it doesn't. The git
    install's Diun update does the same now.
    Compose UIs → Automatic updates
  • All of Tiedenwerk in one container. ghcr.io/svenger87/tiedenwerk-aio
    runs the app, its PostgreSQL 17, PostgREST and the scheduled jobs with one
    data folder, as the user you choose (PUID/PGID), with an Unraid
    template, the same updater, scheduled backups you switch on in Settings,
    and safe PostgreSQL upgrades. tiedenwerk export and tiedenwerk import move
    an install there and back, and ./start.sh move-to-aio guides a git
    install through it, with a dry run first. It still follows the release
    candidates (:next) for now; your git or one-file install stays fully
    supported, and nothing moves on its own.
    All-in-one
  • A desktop app for Windows, Linux and a Mac. On Windows it turns a PC
    into a wall screen: fullscreen on the dashboard, awake, and locked with the
    family's Settings PIN, without an Edge kiosk, scheduled tasks or scripts.
    On Linux it comes as an AppImage (and a .deb), and on a Mac as a window
    app, for now a beta. It updates itself from signed releases, and a wall
    screen does it at night. Download it below.
    Desktop app
  • Notifications in the desktop app, as the computer's own, with the same
    choices and quiet hours as on a phone and none of web push's requirements:
    no https, no install, no browser permission.
    [Not...
Read more

v1.50.0-rc.2

v1.50.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:33

Added

  • Notifications in the desktop app. On Windows, Linux and a Mac, the desktop app now shows the same notifications a phone gets through web push, as the computer's own notifications: switch them on in Settings → Notifications inside the app, with the same event choices and quiet hours, and Send test. None of web push's requirements apply there (no https, no install, no browser permission). Each computer switches on for itself and gets each notification once, also when the same device once had web push; a wall screen gets none unless you switch them on for it. A click brings the window to the front and opens the page the notification is about. With notifications on, closing the window keeps Tiedenwerk running in the notification area on Windows (quit from its icon) and in the Dock on a Mac; on Linux, notifications arrive while the window is open or minimised. The server keeps what a device is due for an hour, so a computer that was off isn't greeted with yesterday's reminders. Needs the desktop app from this release and the server from this release; one additive migration (101_desktop_notifications.sql). In English, German, French and Chinese (RFC-025 §14).

  • A link to the source code in Settings. The version line at the foot of Settings now ends in Source code, which opens Tiedenwerk's repository on GitHub in a new tab. In English, German, French and Chinese.

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & safety → Automatic backups (the install's own family, with the settings PIN) or with TIEDENWERK_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Tiedenwerk's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • A guided move to the all-in-one image for git installs: ./start.sh move-to-aio. On a plain Docker host, it checks first and changes nothing: both sides on the same build (from 1.18.0-rc.2 on), enough disk, an empty folder for the new install, no other container on the ports it takes over, Docker reachable, a Traefik in front (from the webapp's labels) and go2rtc for cameras. It prints the plan and asks. Its first run is a dry run: your data is exported and imported into a throwaway container with no network, checked, and removed again, with no downtime; the move itself refuses without a dry run of the same build in the last 24 hours. The move then takes a checked backup, fences the old install (off Traefik's network, scheduler and auto-update stopped), exports, stops the old stack without removing anything, starts go2rtc on its own, imports into the new container while it has no network and no port, checks the families and every table against the archive, and only then gives it the old port, Traefik's labels and network. Measured on a test machine: about a minute without Tiedenwerk. Anything that fails after the old stack stopped puts it back by itself, Traefik's network included. Afterwards --status shows where things are, --rollback goes back to the old stack (what was saved since stays in the new install's folder), an interrupted move is found and can be resumed or rolled back, and ./start.sh up won't start the old stack while the new container runs. Settings that don't travel in the archive (the time zone, the site address, Google's client, the weather key, the push contact, PUID/PGID) are carried over by name; no value is ever printed. Unraid, Synology's Container Manager and proxies other than Traefik keep the manual guide in the wiki.

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & backup → Automatic backups (the install's own family, with the settings PIN) or with TIEDENWERK_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Tiedenwerk's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • HTTPS, made easy and explained. Tiedenwerk still doesn't build HTTPS in; a household that wants it picks a way, and the wiki has a new page, HTTPS, that says in plain words what needs it (push notifications, the barcode scanner's live camera, installing the app, some copy buttons, and AI assistants in the cloud, which need a public address) and that everything else works over plain http at home. It gives the ways shortest first: Unraid 7's Use Tailscale switch, Tailscale on other hosts, SWAG or Nginx Proxy Manager, Synology's reverse proxy, a Cloudflare Tunnel, Caddy and the Traefik overlay, each with what to set and what moving the screens to the new address means. Only the Unraid one is to be tested by us; the page says which are not. The Unraid template now carries Unraid 7's Tailscale settings, preset for Tailscale Serve on the app's port with its sign-in kept in the data folder, and switched off until you turn it on; its description says what needs HTTPS and which switch gives it. Serve is reachable only from your own devices in Tailscale, so ChatGPT and Claude.ai can't connect through it; the page explains Funnel and why it puts all of Tiedenwerk on the internet.

  • The app points at the HTTPS guide. On a plain http address, the barcode scanner says the live camera needs an https address and links the guide, next to the photo and the typed numbers, which work as before; a device that really has no camera still hears that. The push notifications settings link the same guide instead of naming Traefik and Cloudflare. In English, German, French and Chinese.

  • A rehearsal of moving to the all-in-one image, end to end. scripts/rigs/test-migration-aio.sh (developers only, weekly in CI) moves a household the way one would: a new all-in-one install set up in the browser; a v1.17.0 git install filled through the app and the demo data, updated, exported and imported; a one-file install there and back; and everything an import must refuse or undo (a killed container, a full disk, another version, a damaged archive, a compose install's data folder). It compares every table and every file on both sides, opens every page in Chromium and WebKit, and follows the wiki's commands as written. Optionally it does the same with a copy of a real household's backup, with no connection out of its containers.

  • The image checks its own health, and runs as your NAS user if you ask. The Tiedenwerk image now has a built-in health check on /api/health, so docker ps, Portainer and any other Docker tool show it as healthy or unhealthy even without our compose file; the compose file's own check still applies where it is set. Two new optional settings in .env, PUID and PGID, choose the user and group the app runs as and its uploaded files belong to: 99 and 100 on Unraid, usually 1000 and 1000 elsewhere. Left empty, nothing changes. After a change, the next start hands the uploaded files over once.

  • The image says what it is. Its labels and annotations now name the licence (AGPL-3.0-only, where it said "NOASSERTION"), the website, the documentation and the publisher, on each image and on the multi-architecture list a registry shows. Each release also carries a software bill of materials (SBOM) beside its build provenance, so a scanner can list every package inside.

  • Release notes come from the changelog. Release candidates on GitHub now carry their section of this changelog as their notes, written by the release workflow, instead of GitHub's list of merged pull requests. A stable release is published with its hand-written release note when one is in the repository, and otherwise created as a draft with its changelog section, to be finished by hand before it goes out.

  • The image can now set up its own secrets and its database. Two new one-off commands in the Tiedenwerk image prepare an install that has no .env. kinboard-init creates any secret that is missing (the database password, the JWT secret, the cr...

Read more

v1.50.0-rc.1

v1.50.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 14:50

Added

  • A link to the source code in Settings. The version line at the foot of Settings now ends in Source code, which opens Tiedenwerk's repository on GitHub in a new tab. In English, German, French and Chinese.

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & safety → Automatic backups (the install's own family, with the settings PIN) or with TIEDENWERK_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Tiedenwerk's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • A guided move to the all-in-one image for git installs: ./start.sh move-to-aio. On a plain Docker host, it checks first and changes nothing: both sides on the same build (from 1.18.0-rc.2 on), enough disk, an empty folder for the new install, no other container on the ports it takes over, Docker reachable, a Traefik in front (from the webapp's labels) and go2rtc for cameras. It prints the plan and asks. Its first run is a dry run: your data is exported and imported into a throwaway container with no network, checked, and removed again, with no downtime; the move itself refuses without a dry run of the same build in the last 24 hours. The move then takes a checked backup, fences the old install (off Traefik's network, scheduler and auto-update stopped), exports, stops the old stack without removing anything, starts go2rtc on its own, imports into the new container while it has no network and no port, checks the families and every table against the archive, and only then gives it the old port, Traefik's labels and network. Measured on a test machine: about a minute without Tiedenwerk. Anything that fails after the old stack stopped puts it back by itself, Traefik's network included. Afterwards --status shows where things are, --rollback goes back to the old stack (what was saved since stays in the new install's folder), an interrupted move is found and can be resumed or rolled back, and ./start.sh up won't start the old stack while the new container runs. Settings that don't travel in the archive (the time zone, the site address, Google's client, the weather key, the push contact, PUID/PGID) are carried over by name; no value is ever printed. Unraid, Synology's Container Manager and proxies other than Traefik keep the manual guide in the wiki.

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & backup → Automatic backups (the install's own family, with the settings PIN) or with TIEDENWERK_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Tiedenwerk's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • HTTPS, made easy and explained. Tiedenwerk still doesn't build HTTPS in; a household that wants it picks a way, and the wiki has a new page, HTTPS, that says in plain words what needs it (push notifications, the barcode scanner's live camera, installing the app, some copy buttons, and AI assistants in the cloud, which need a public address) and that everything else works over plain http at home. It gives the ways shortest first: Unraid 7's Use Tailscale switch, Tailscale on other hosts, SWAG or Nginx Proxy Manager, Synology's reverse proxy, a Cloudflare Tunnel, Caddy and the Traefik overlay, each with what to set and what moving the screens to the new address means. Only the Unraid one is to be tested by us; the page says which are not. The Unraid template now carries Unraid 7's Tailscale settings, preset for Tailscale Serve on the app's port with its sign-in kept in the data folder, and switched off until you turn it on; its description says what needs HTTPS and which switch gives it. Serve is reachable only from your own devices in Tailscale, so ChatGPT and Claude.ai can't connect through it; the page explains Funnel and why it puts all of Tiedenwerk on the internet.

  • The app points at the HTTPS guide. On a plain http address, the barcode scanner says the live camera needs an https address and links the guide, next to the photo and the typed numbers, which work as before; a device that really has no camera still hears that. The push notifications settings link the same guide instead of naming Traefik and Cloudflare. In English, German, French and Chinese.

  • A rehearsal of moving to the all-in-one image, end to end. scripts/rigs/test-migration-aio.sh (developers only, weekly in CI) moves a household the way one would: a new all-in-one install set up in the browser; a v1.17.0 git install filled through the app and the demo data, updated, exported and imported; a one-file install there and back; and everything an import must refuse or undo (a killed container, a full disk, another version, a damaged archive, a compose install's data folder). It compares every table and every file on both sides, opens every page in Chromium and WebKit, and follows the wiki's commands as written. Optionally it does the same with a copy of a real household's backup, with no connection out of its containers.

  • The image checks its own health, and runs as your NAS user if you ask. The Tiedenwerk image now has a built-in health check on /api/health, so docker ps, Portainer and any other Docker tool show it as healthy or unhealthy even without our compose file; the compose file's own check still applies where it is set. Two new optional settings in .env, PUID and PGID, choose the user and group the app runs as and its uploaded files belong to: 99 and 100 on Unraid, usually 1000 and 1000 elsewhere. Left empty, nothing changes. After a change, the next start hands the uploaded files over once.

  • The image says what it is. Its labels and annotations now name the licence (AGPL-3.0-only, where it said "NOASSERTION"), the website, the documentation and the publisher, on each image and on the multi-architecture list a registry shows. Each release also carries a software bill of materials (SBOM) beside its build provenance, so a scanner can list every package inside.

  • Release notes come from the changelog. Release candidates on GitHub now carry their section of this changelog as their notes, written by the release workflow, instead of GitHub's list of merged pull requests. A stable release is published with its hand-written release note when one is in the repository, and otherwise created as a draft with its changelog section, to be finished by hand before it goes out.

  • The image can now set up its own secrets and its database. Two new one-off commands in the Tiedenwerk image prepare an install that has no .env. kinboard-init creates any secret that is missing (the database password, the JWT secret, the cron secret, the presence token and the push keys) as one file each in a config folder, readable only by root and its group. A value already in .env is copied into its file instead. It refuses to go on, and says why, when the database password in .env differs from the stored one, when the stored one is gone while a database already exists, or when the data would sit somewhere PostgreSQL can't use or that is gone after a reboot (a USB stick, a Windows share or drive, a RAM disk). A secret file saved by Windows Notepad is quietly rewritten without the marks Notepad adds. kinboard-db-init sets PostgREST's database password from that file and creates the base tables in an empty database, all in one go: if that fails, nothing is left half-done and the next start tries again. Nothing uses either command yet; the compose file that will comes later (RFC-023). Existing installs are unchanged: their compose file doesn't run them.

  • What Tiedenwerk needs, written down. Self-hosting in the wiki now lists the disk and memory the images take, measured.

  • API keys in Settings. The OpenWeatherMap key (Settings → Weather), the Google Calendar client ID and secret (Settings ...

Read more

v1.18.0-rc.3

v1.18.0-rc.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 21:09

Added

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & safety → Automatic backups (the install's own family, with the settings PIN) or with KINBOARD_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Kinboard's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • A guided move to the all-in-one image for git installs: ./start.sh move-to-aio. On a plain Docker host, it checks first and changes nothing: both sides on the same build (from 1.18.0-rc.2 on), enough disk, an empty folder for the new install, no other container on the ports it takes over, Docker reachable, a Traefik in front (from the webapp's labels) and go2rtc for cameras. It prints the plan and asks. Its first run is a dry run: your data is exported and imported into a throwaway container with no network, checked, and removed again, with no downtime; the move itself refuses without a dry run of the same build in the last 24 hours. The move then takes a checked backup, fences the old install (off Traefik's network, scheduler and auto-update stopped), exports, stops the old stack without removing anything, starts go2rtc on its own, imports into the new container while it has no network and no port, checks the families and every table against the archive, and only then gives it the old port, Traefik's labels and network. Measured on a test machine: about a minute without Kinboard. Anything that fails after the old stack stopped puts it back by itself, Traefik's network included. Afterwards --status shows where things are, --rollback goes back to the old stack (what was saved since stays in the new install's folder), an interrupted move is found and can be resumed or rolled back, and ./start.sh up won't start the old stack while the new container runs. Settings that don't travel in the archive (the time zone, the site address, Google's client, the weather key, the push contact, PUID/PGID) are carried over by name; no value is ever printed. Unraid, Synology's Container Manager and proxies other than Traefik keep the manual guide in the wiki.

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & backup → Automatic backups (the install's own family, with the settings PIN) or with KINBOARD_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Kinboard's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • HTTPS, made easy and explained. Kinboard still doesn't build HTTPS in; a household that wants it picks a way, and the wiki has a new page, HTTPS, that says in plain words what needs it (push notifications, the barcode scanner's live camera, installing the app, some copy buttons, and AI assistants in the cloud, which need a public address) and that everything else works over plain http at home. It gives the ways shortest first: Unraid 7's Use Tailscale switch, Tailscale on other hosts, SWAG or Nginx Proxy Manager, Synology's reverse proxy, a Cloudflare Tunnel, Caddy and the Traefik overlay, each with what to set and what moving the screens to the new address means. Only the Unraid one is to be tested by us; the page says which are not. The Unraid template now carries Unraid 7's Tailscale settings, preset for Tailscale Serve on the app's port with its sign-in kept in the data folder, and switched off until you turn it on; its description says what needs HTTPS and which switch gives it. Serve is reachable only from your own devices in Tailscale, so ChatGPT and Claude.ai can't connect through it; the page explains Funnel and why it puts all of Kinboard on the internet.

  • The app points at the HTTPS guide. On a plain http address, the barcode scanner says the live camera needs an https address and links the guide, next to the photo and the typed numbers, which work as before; a device that really has no camera still hears that. The push notifications settings link the same guide instead of naming Traefik and Cloudflare. In English, German, French and Chinese.

  • A rehearsal of moving to the all-in-one image, end to end. scripts/rigs/test-migration-aio.sh (developers only, weekly in CI) moves a household the way one would: a new all-in-one install set up in the browser; a v1.17.0 git install filled through the app and the demo data, updated, exported and imported; a one-file install there and back; and everything an import must refuse or undo (a killed container, a full disk, another version, a damaged archive, a compose install's data folder). It compares every table and every file on both sides, opens every page in Chromium and WebKit, and follows the wiki's commands as written. Optionally it does the same with a copy of a real household's backup, with no connection out of its containers.

  • The image checks its own health, and runs as your NAS user if you ask. The Kinboard image now has a built-in health check on /api/health, so docker ps, Portainer and any other Docker tool show it as healthy or unhealthy even without our compose file; the compose file's own check still applies where it is set. Two new optional settings in .env, PUID and PGID, choose the user and group the app runs as and its uploaded files belong to: 99 and 100 on Unraid, usually 1000 and 1000 elsewhere. Left empty, nothing changes. After a change, the next start hands the uploaded files over once.

  • The image says what it is. Its labels and annotations now name the licence (PolyForm Noncommercial 1.0.0, where it said "NOASSERTION"), the website, the documentation and the publisher, on each image and on the multi-architecture list a registry shows. Each release also carries a software bill of materials (SBOM) beside its build provenance, so a scanner can list every package inside.

  • Release notes come from the changelog. Release candidates on GitHub now carry their section of this changelog as their notes, written by the release workflow, instead of GitHub's list of merged pull requests. A stable release is published with its hand-written release note when one is in the repository, and otherwise created as a draft with its changelog section, to be finished by hand before it goes out.

  • The image can now set up its own secrets and its database. Two new one-off commands in the Kinboard image prepare an install that has no .env. kinboard-init creates any secret that is missing (the database password, the JWT secret, the cron secret, the presence token and the push keys) as one file each in a config folder, readable only by root and its group. A value already in .env is copied into its file instead. It refuses to go on, and says why, when the database password in .env differs from the stored one, when the stored one is gone while a database already exists, or when the data would sit somewhere PostgreSQL can't use or that is gone after a reboot (a USB stick, a Windows share or drive, a RAM disk). A secret file saved by Windows Notepad is quietly rewritten without the marks Notepad adds. kinboard-db-init sets PostgREST's database password from that file and creates the base tables in an empty database, all in one go: if that fails, nothing is left half-done and the next start tries again. Nothing uses either command yet; the compose file that will comes later (RFC-023). Existing installs are unchanged: their compose file doesn't run them.

  • What Kinboard needs, written down. Self-hosting in the wiki now lists the disk and memory the images take, measured.

  • API keys in Settings. The OpenWeatherMap key (Settings → Weather), the Google Calendar client ID and secret (Settings → Google Calendar) and the presence sensor's token (Settings → Devices, once a screen has a sensor) can now be set by each family in Settings, behind the settings PIN, instead of only in the server's .env. A key set ...

Read more

v1.18.0-rc.2

v1.18.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 16:01

Added

  • The all-in-one image can back itself up on a schedule. Off until you switch it on, in Settings → Data & backup → Automatic backups (the install's own family, with the settings PIN) or with KINBOARD_BACKUP_SCHEDULE=daily or weekly in the container's settings, which then wins. Each backup is one file with every family's data, the uploaded photos and the keys that must travel, the same archive kinboard export writes, so a fresh install of the same version restores it with kinboard import. It is read back and checked before it counts, kept private (readable by Kinboard's user only), and the oldest beyond the number to keep (7 unless you change it) are removed only after a new one checked out: a failed backup, a full disk or a restart halfway never costs you the last good one. They go into /data/backups/scheduled/ unless you give them a folder on another disk, which is what protects you when the disk itself fails: the Unraid template has a new, optional Backups folder for that. Settings shows the last backup, the next one and the last error, has Back up now and Download, and says at the top when a backup failed. A missed time (the server was off) is caught up at the next start, a failure is retried, and an update waits for a running backup to finish. The wiki's All-in-one page has a new Backups section with the restore steps. Compose installs are unchanged.

  • HTTPS, made easy and explained. Kinboard still doesn't build HTTPS in; a household that wants it picks a way, and the wiki has a new page, HTTPS, that says in plain words what needs it (push notifications, the barcode scanner's live camera, installing the app, some copy buttons, and AI assistants in the cloud, which need a public address) and that everything else works over plain http at home. It gives the ways shortest first: Unraid 7's Use Tailscale switch, Tailscale on other hosts, SWAG or Nginx Proxy Manager, Synology's reverse proxy, a Cloudflare Tunnel, Caddy and the Traefik overlay, each with what to set and what moving the screens to the new address means. Only the Unraid one is to be tested by us; the page says which are not. The Unraid template now carries Unraid 7's Tailscale settings, preset for Tailscale Serve on the app's port with its sign-in kept in the data folder, and switched off until you turn it on; its description says what needs HTTPS and which switch gives it. Serve is reachable only from your own devices in Tailscale, so ChatGPT and Claude.ai can't connect through it; the page explains Funnel and why it puts all of Kinboard on the internet.

  • The app points at the HTTPS guide. On a plain http address, the barcode scanner says the live camera needs an https address and links the guide, next to the photo and the typed numbers, which work as before; a device that really has no camera still hears that. The push notifications settings link the same guide instead of naming Traefik and Cloudflare. In English, German, French and Chinese.

  • A rehearsal of moving to the all-in-one image, end to end. scripts/rigs/test-migration-aio.sh (developers only, weekly in CI) moves a household the way one would: a new all-in-one install set up in the browser; a v1.17.0 git install filled through the app and the demo data, updated, exported and imported; a one-file install there and back; and everything an import must refuse or undo (a killed container, a full disk, another version, a damaged archive, a compose install's data folder). It compares every table and every file on both sides, opens every page in Chromium and WebKit, and follows the wiki's commands as written. Optionally it does the same with a copy of a real household's backup, with no connection out of its containers.

  • The image checks its own health, and runs as your NAS user if you ask. The Kinboard image now has a built-in health check on /api/health, so docker ps, Portainer and any other Docker tool show it as healthy or unhealthy even without our compose file; the compose file's own check still applies where it is set. Two new optional settings in .env, PUID and PGID, choose the user and group the app runs as and its uploaded files belong to: 99 and 100 on Unraid, usually 1000 and 1000 elsewhere. Left empty, nothing changes. After a change, the next start hands the uploaded files over once.

  • The image says what it is. Its labels and annotations now name the licence (PolyForm Noncommercial 1.0.0, where it said "NOASSERTION"), the website, the documentation and the publisher, on each image and on the multi-architecture list a registry shows. Each release also carries a software bill of materials (SBOM) beside its build provenance, so a scanner can list every package inside.

  • Release notes come from the changelog. Release candidates on GitHub now carry their section of this changelog as their notes, written by the release workflow, instead of GitHub's list of merged pull requests. A stable release is published with its hand-written release note when one is in the repository, and otherwise created as a draft with its changelog section, to be finished by hand before it goes out.

  • The image can now set up its own secrets and its database. Two new one-off commands in the Kinboard image prepare an install that has no .env. kinboard-init creates any secret that is missing (the database password, the JWT secret, the cron secret, the presence token and the push keys) as one file each in a config folder, readable only by root and its group. A value already in .env is copied into its file instead. It refuses to go on, and says why, when the database password in .env differs from the stored one, when the stored one is gone while a database already exists, or when the data would sit somewhere PostgreSQL can't use or that is gone after a reboot (a USB stick, a Windows share or drive, a RAM disk). A secret file saved by Windows Notepad is quietly rewritten without the marks Notepad adds. kinboard-db-init sets PostgREST's database password from that file and creates the base tables in an empty database, all in one go: if that fails, nothing is left half-done and the next start tries again. Nothing uses either command yet; the compose file that will comes later (RFC-023). Existing installs are unchanged: their compose file doesn't run them.

  • What Kinboard needs, written down. Self-hosting in the wiki now lists the disk and memory the images take, measured.

  • API keys in Settings. The OpenWeatherMap key (Settings → Weather), the Google Calendar client ID and secret (Settings → Google Calendar) and the presence sensor's token (Settings → Devices, once a screen has a sensor) can now be set by each family in Settings, behind the settings PIN, instead of only in the server's .env. A key set in Settings wins; without one, the key from .env is used exactly as before, so existing installs see no change. Settings shows whether a key is set for the family, comes from the server or is missing, and shows a stored key only by its last four characters. New token makes a presence token and shows it once; from then on the server's token no longer works for that family's screens. Changing the Google client means connecting Google Calendar again. In English, German, French and Chinese (RFC-023 §4.4).

  • Kinboard can run its own scheduled jobs. The jobs that sync calendars, send reminders and notifications, add pocket-money interest and empty the recycle bin are run by a separate cron container (ofelia) today, which needs access to Docker itself. With KINBOARD_SCHEDULER=internal set on the webapp, the app runs the same 18 jobs itself, at the same times (the fixed-time ones in UTC, as before), one run of a job at a time, with one line per run in the webapp's log. A job that fails is logged and runs again at its next time; after the server was down, it does not try to make up the runs it missed. This is for the one-file install to come (RFC-023 §4.5). Nothing changes for existing installs: the setting is off unless you set it, and the cron container keeps running the jobs as before. Don't set it while the cron container runs, or every job runs twice.

  • One file to install Kinboard: compose.yml. A new compose.yml at the top of the repository runs the whole of Kinboard from published images, with nothing else next to it: no git checkout, no .env, no setup.sh. Paste it into a Compose UI (Portainer, Dockge, OpenMediaVault, Unraid's Compose Manager) or run docker compose up -d beside it; the secrets create themselves on the first start, the data lives in three Docker volumes (or in folders you name), the scheduled jobs run inside the webapp, and no container gets the Docker socket. Updating is Pull, then Up. Every release from now on carries the file as a download, so releases/latest/download/compose.yml always gets the current one. It needs that release: until it is out, the file says so in its first lines and the README's install is the one to use, and an image older than 1.18 stops at init with a message saying to set KINBOARD_TAG to 1.18 or newer. Installs that run webapp/docker/docker-compose.yml are not affected, and nothing about them changes. The how-to pages follow in a later change.

  • Settings says when your compose file is too old. The new file names its own revision. When a later version of Kinboard needs a newer one, Settings shows it under the version, with the lines to change, a link to what changed and to the current file. Kinboard keeps running meanwhile. Only the install's operator sees it, the same family that sees the auto-updater's status, and installs on the old compose file never do.

  • An automatic update that doesn't start is undone on its own. With the Diun auto-update overlay, the self-update now waits for every container it recreated to come up healthy, for up to 10 minutes, and then checks that the tables and columns the new version needs are there and that...

Read more

v1.18.0-rc.1

v1.18.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 28 Nov 12:18

Added

  • HTTPS, made easy and explained. Kinboard still doesn't build HTTPS in; a household that wants it picks a way, and the wiki has a new page, HTTPS, that says in plain words what needs it (push notifications, the barcode scanner's live camera, installing the app, some copy buttons, and AI assistants in the cloud, which need a public address) and that everything else works over plain http at home. It gives the ways shortest first: Unraid 7's Use Tailscale switch, Tailscale on other hosts, SWAG or Nginx Proxy Manager, Synology's reverse proxy, a Cloudflare Tunnel, Caddy and the Traefik overlay, each with what to set and what moving the screens to the new address means. Only the Unraid one is to be tested by us; the page says which are not. The Unraid template now carries Unraid 7's Tailscale settings, preset for Tailscale Serve on the app's port with its sign-in kept in the data folder, and switched off until you turn it on; its description says what needs HTTPS and which switch gives it. Serve is reachable only from your own devices in Tailscale, so ChatGPT and Claude.ai can't connect through it; the page explains Funnel and why it puts all of Kinboard on the internet.

  • The app points at the HTTPS guide. On a plain http address, the barcode scanner says the live camera needs an https address and links the guide, next to the photo and the typed numbers, which work as before; a device that really has no camera still hears that. The push notifications settings link the same guide instead of naming Traefik and Cloudflare. In English, German, French and Chinese.

  • A rehearsal of moving to the all-in-one image, end to end. scripts/rigs/test-migration-aio.sh (developers only, weekly in CI) moves a household the way one would: a new all-in-one install set up in the browser; a v1.17.0 git install filled through the app and the demo data, updated, exported and imported; a one-file install there and back; and everything an import must refuse or undo (a killed container, a full disk, another version, a damaged archive, a compose install's data folder). It compares every table and every file on both sides, opens every page in Chromium and WebKit, and follows the wiki's commands as written. Optionally it does the same with a copy of a real household's backup, with no connection out of its containers.

  • The image checks its own health, and runs as your NAS user if you ask. The Kinboard image now has a built-in health check on /api/health, so docker ps, Portainer and any other Docker tool show it as healthy or unhealthy even without our compose file; the compose file's own check still applies where it is set. Two new optional settings in .env, PUID and PGID, choose the user and group the app runs as and its uploaded files belong to: 99 and 100 on Unraid, usually 1000 and 1000 elsewhere. Left empty, nothing changes. After a change, the next start hands the uploaded files over once.

  • The image says what it is. Its labels and annotations now name the licence (PolyForm Noncommercial 1.0.0, where it said "NOASSERTION"), the website, the documentation and the publisher, on each image and on the multi-architecture list a registry shows. Each release also carries a software bill of materials (SBOM) beside its build provenance, so a scanner can list every package inside.

  • Release notes come from the changelog. Release candidates on GitHub now carry their section of this changelog as their notes, written by the release workflow, instead of GitHub's list of merged pull requests. A stable release is published with its hand-written release note when one is in the repository, and otherwise created as a draft with its changelog section, to be finished by hand before it goes out.

  • The image can now set up its own secrets and its database. Two new one-off commands in the Kinboard image prepare an install that has no .env. kinboard-init creates any secret that is missing (the database password, the JWT secret, the cron secret, the presence token and the push keys) as one file each in a config folder, readable only by root and its group. A value already in .env is copied into its file instead. It refuses to go on, and says why, when the database password in .env differs from the stored one, when the stored one is gone while a database already exists, or when the data would sit somewhere PostgreSQL can't use or that is gone after a reboot (a USB stick, a Windows share or drive, a RAM disk). A secret file saved by Windows Notepad is quietly rewritten without the marks Notepad adds. kinboard-db-init sets PostgREST's database password from that file and creates the base tables in an empty database, all in one go: if that fails, nothing is left half-done and the next start tries again. Nothing uses either command yet; the compose file that will comes later (RFC-023). Existing installs are unchanged: their compose file doesn't run them.

  • What Kinboard needs, written down. Self-hosting in the wiki now lists the disk and memory the images take, measured.

  • API keys in Settings. The OpenWeatherMap key (Settings → Weather), the Google Calendar client ID and secret (Settings → Google Calendar) and the presence sensor's token (Settings → Devices, once a screen has a sensor) can now be set by each family in Settings, behind the settings PIN, instead of only in the server's .env. A key set in Settings wins; without one, the key from .env is used exactly as before, so existing installs see no change. Settings shows whether a key is set for the family, comes from the server or is missing, and shows a stored key only by its last four characters. New token makes a presence token and shows it once; from then on the server's token no longer works for that family's screens. Changing the Google client means connecting Google Calendar again. In English, German, French and Chinese (RFC-023 §4.4).

  • Kinboard can run its own scheduled jobs. The jobs that sync calendars, send reminders and notifications, add pocket-money interest and empty the recycle bin are run by a separate cron container (ofelia) today, which needs access to Docker itself. With KINBOARD_SCHEDULER=internal set on the webapp, the app runs the same 18 jobs itself, at the same times (the fixed-time ones in UTC, as before), one run of a job at a time, with one line per run in the webapp's log. A job that fails is logged and runs again at its next time; after the server was down, it does not try to make up the runs it missed. This is for the one-file install to come (RFC-023 §4.5). Nothing changes for existing installs: the setting is off unless you set it, and the cron container keeps running the jobs as before. Don't set it while the cron container runs, or every job runs twice.

  • One file to install Kinboard: compose.yml. A new compose.yml at the top of the repository runs the whole of Kinboard from published images, with nothing else next to it: no git checkout, no .env, no setup.sh. Paste it into a Compose UI (Portainer, Dockge, OpenMediaVault, Unraid's Compose Manager) or run docker compose up -d beside it; the secrets create themselves on the first start, the data lives in three Docker volumes (or in folders you name), the scheduled jobs run inside the webapp, and no container gets the Docker socket. Updating is Pull, then Up. Every release from now on carries the file as a download, so releases/latest/download/compose.yml always gets the current one. It needs that release: until it is out, the file says so in its first lines and the README's install is the one to use, and an image older than 1.18 stops at init with a message saying to set KINBOARD_TAG to 1.18 or newer. Installs that run webapp/docker/docker-compose.yml are not affected, and nothing about them changes. The how-to pages follow in a later change.

  • Settings says when your compose file is too old. The new file names its own revision. When a later version of Kinboard needs a newer one, Settings shows it under the version, with the lines to change, a link to what changed and to the current file. Kinboard keeps running meanwhile. Only the install's operator sees it, the same family that sees the auto-updater's status, and installs on the old compose file never do.

  • An automatic update that doesn't start is undone on its own. With the Diun auto-update overlay, the self-update now waits for every container it recreated to come up healthy, for up to 10 minutes, and then checks that the tables and columns the new version needs are there and that a write goes through. If not, it puts back the exact images that ran before, skips that version until a newer one is published, and Settings says at the top: "The update to 1.18.0 didn't start, so Kinboard went back to 1.17.0", with the backup it took, the log, and Try again now. Before, a release that didn't start stayed down until someone noticed. A successful update shows as "Updated automatically to … " under the version for a week. The notice is for the install's own household: on an install with several families only the one named in INSTANCE_ADMIN_FAMILY_ID sees it, the log and folders only with the settings unlocked, secrets are taken out of the log before it is stored, and Try again works at most once every 10 minutes. In English, German, French and Chinese (RFC-023 §4.11.4).

  • The auto-updater notices a tag you changed in .env. Diun watches the image the running container was made from, so after a deploy pinned to a sha-… tag, setting KINBOARD_TAG=next again did nothing until someone ran docker compose up -d by hand. The webhook container now checks every 30 minutes whether each running container uses the image tag that .env names, and applies a difference, with the same backup and health wait. Its first check only records what runs; a pinned tag never moves; a service you stopped stays stopped; a newer image under the same tag is still lef...

Read more