Repository navigation
Upgrading
git pull --ff-only
./start.sh upThe database migrations run on start. Installs with the auto-update (Diun) pick 1.17.0 up on their own.
A few things worth knowing:
- Home can now be arranged per wall screen. Nothing changes until you do it: a family without a layout, or with a layout that only arranges the screensaver, keeps today's Home. Settings → Layouts → a layout → Home.
- The auto-update now restarts only what changed. The first update after this one still runs the old update script once, so it may restart a little more than needed; from the update after that on, only the services that actually changed are touched.
- Immich on version 3: the screensaver shows the album you pick again, and the Photos card and page show photos again when no album is picked.
Thanks to @leigao84 for the Simplified Chinese translation, the font picker and a round of screensaver fixes, and to @jorgecastillodp for the creatures reacting to the weather and the shop prices and growth stages families can set themselves.
Added
-
A link to the source code in Settings. The version line at the foot of Settings now ends in Source code, which opens Kinboard's repository on GitHub in a new tab. In English, German, French and Chinese.
-
Arrange Home on each wall screen yourself. A layout under Settings → Layouts now arranges both faces of a wall screen: a Home | Screensaver switch at the top of the editor, and Home is placed and sized on the same grid with the same tools as the screensaver. The block at the top of Home comes apart into the clock, the date and week, the greeting, the family members and the today strip, each placed on its own; the schedule and pocket money appear once per child, so each child's card can sit where that child looks. A designed Home fits on one screen and never scrolls: a list shows as many entries as its box holds and ends in "+3 more", which opens the full page, and buttons stay large enough to tap whatever the box. Notices such as "Server unreachable" slide in over the top and leave again without moving anything; the navigation bar and the lights button stay where they are. Wall screens use their layout on their own; laptops and phones keep today's Home unless a layout is given to them directly, and screens under 600px wide always keep it. Settings → Widgets says which screens use a layout instead. Every Home card can be placed, ticking off a task or a shopping item stays one tap in any box, and adding a note, a message or a countdown opens over the layout. Nothing changes for a family without a layout, and a layout that has only its screensaver arranged keeps today's Home (#282).
-
A font style for the board, and one for Chinese. Settings → Design → Font style: four typeface pairings for headings and text — Classic, Rounded, Clean and Serif — applied to every screen for the whole family. When the interface language is Chinese, a second choice appears for the Chinese characters: the system default, Noto Sans SC, Noto Serif SC or ZCOOL KuaiLe, so Chinese text no longer falls back to whatever face the device happens to have. Every typeface is bundled with Kinboard under the SIL Open Font License; nothing is fetched from Google.
-
The Weather card knows more from the same free OpenWeatherMap key. The high and low beside the temperature are today's, from the forecast and the reading now; they were the provider's spread across the city at this moment, usually within a degree of the temperature. The wind's direction sits beside its speed, as an arrow pointing downwind and a compass point (N, NE, E and so on) in the household's language. The detail view shows the air quality (Good to Very poor, from OpenWeatherMap's Air Pollution API), and the card shows it too on a poor-air day. The forecast no longer ends with a day it only reaches for its first hours, whose "high" was a morning temperature; the assistant's forecast leaves it out the same way. Air quality is one more request to OpenWeatherMap per weather refresh, cached for ten minutes like the rest, and simply missing when a key cannot get it.
-
Snow you can see on the creatures. With snow showing on Home or the screensaver, snow settles into a small cap on each creature's head while it stands or walks, and a creature that stops now and then hops on the spot with its head back, catching flakes. A jump, a game or a tap shakes the snow off; once the snow stops it melts. Before, snow only made them hop a little more often, which was hard to notice.
-
Add to the shopping list by barcode. A barcode button on the shopping list and on the phone shopping page: hold the barcode in front of the camera, take a photo of it, or type its digits, and the product goes on the list with its name, picture, brand and size, in the right category. The camera needs https or localhost (a browser rule); the photo and typing work everywhere, and a device without a camera is told so rather than that the camera isn't allowed. Products come from the family's own catalog, then Open Food Facts, a worldwide open database, and its sister databases for cosmetics, pet food and other products, named in the family's language where they have it. One nobody knows is named once and remembered for the family. The phone's own barcode reader is used where it has one; iPhone, iPad and Firefox read it with ZXing, loaded only then. The lookup now sends a proper User-Agent to Open Food Facts and checks the barcode's check digit first (#502).
-
The creatures on Home react to the weather effects. With the weather effects showing on Home (or their Preview): an umbrella in each child's colour in rain, shaking in a storm; a striped towel to lie on now and then in the heat, getting up first when tapped there; leaning into the wind, slower against it and quicker with it, pushed back a step standing still before bracing, and walking back into it from the downwind half, so they don't gather at one end; shivering in the frost; more hops in the snow; slower walking in fog. Nothing they wear changes. The same on the screensaver, when its weather effects are on (Settings → Screensaver), following what the screensaver shows. Each overlay shares what it shows through
stores/home-weather.ts, one entry per floor, so the two always agree, and with Animations off it shares nothing. -
Simplified Chinese. Settings → Language → 简体中文: the whole interface, push notifications and voice input on the shopping list in Simplified Chinese, contributed by @leigao84. It is a community translation (machine-drafted, not yet reviewed by a native speaker), and a text it doesn't have yet shows in English. Emoji search, the weather's condition names and the error page stay in English for now. The language setting's description no longer says the choice is between English and German.
-
Icons only in the wall bar. Settings → Navigation → Icons only: on the bar at the bottom of a wall screen, every entry right of Home shows as a larger icon without its name, and the entries share one row instead of scrolling, so the whole bar is in view at once. Home keeps its name; each icon keeps its name as a tooltip and for screen readers. Per device, like the other navigation settings; phones keep their bar (#282).
-
Preview in the layout editor. Settings → Layouts → a layout → Preview: the screensaver comes up on this screen right away with the arrangement as it is in the editor, saved or not, with the family's photo, data and options, fitted to this screen the way an assigned layout is. A touch or a key ends it and the editor is back as it was, unsaved changes included, so a change can be checked on the wall before it is saved (#282).
-
Screensaver panels you can make more solid. Settings → Screensaver -> Panel opacity: a slider from 30 to 95 percent for how solid the screensaver's dark panels appear over your photos -- the weather strip and its chips, the event, news and lesson rows, the energy card and a designed layout's boxes all share the one fill now instead of each hardcoding its own. The standard is 70, more solid than the fixed fill they had before, so the panels read as cards even over bright photos.
-
Screensaver panels in your own colour. Settings → Screensaver -> Panel colour and Panel text colour: the panels can be graphite, grey, silver or white instead of always black, and the writing on them black instead of always white. Until a text colour is chosen it follows the panel -- white on the dark colours, black on the light ones -- and the accents on a panel (its amber figures, its dividers and hairlines) adjust with the choice, so nothing on a panel keeps a colour that was meant for black.
Changed
- The header of a settings page stays in view. On the longer settings pages the back button and the page's name scrolled away with the page, so going back meant scrolling up first. They now stay at the top of the screen while the page scrolls, on an opaque bar that appears only once the page has moved; at the top of the page everything looks as before (#282).
- More varied Unsplash photos on the screensaver. The photos for a month looked much alike: the month's search terms were long and nearly all asked for the same mood (in November fog, mist, grey and dark), and Unsplash's random photos for a long search come from a small set, so the same pictures came back hour after hour. Each month now has 28 short terms that mix the season with subjects that have nothing in common (animals, food, places, close-ups), photos shown in the last few hours are skipped while there are enough new ones, and Unsplash is asked for its strictest content filter.
Fixed
-
Immich photos show up again when no album is picked. With Immich as the photo source and no album chosen, the Photos card on Home, the Photos page and the Photos entry in the bar all came up empty — the Photos page even said "No photos yet" and offered to connect a source that was already connected. Kinboard asked Immich for random photos at an address Immich has never had, so every version answered "not found". It now asks the way Immich does it (from Immich 1.116 on, including Immich 3; older servers through their older random-photo address), for photos only, no videos. If Immich still cannot give any, the page stays empty and Kinboard says why in its log, instead of failing. Found while fixing #536 (#537).
-
The screensaver shows the Immich album you picked, and only that album. With an album chosen under Settings → Photos → Album for screensaver, the screensaver showed no photos at all: it only ever looked for this month's "Wallpaper" album and ignored the choice. And on Immich 3, reading any album went through the whole photo library instead — 76 pages and 75,000 photos for an album of 12 — because Immich 3 no longer lists an album's photos with the album, and the search Kinboard fell back to asked for the album in a way Immich has never understood. The screensaver now uses the album you picked (Automatic still means this month's Wallpaper album), an album is read with Immich's own album search, and if a server will not filter by album, Kinboard shows no photos from it and says so in its log instead of showing the whole library. Immich 1 and 2 work as before (#536).
-
The screensaver's events no longer lie on top of the weather forecast. On a 10-inch tablet in landscape, with five events, three birthdays, today's lessons and the forecast switched on, the list of events, birthdays and lessons grew upwards from the bottom of the screen for as long as it had entries and ran into the forecast at the top; on smaller tablets (960×600, 1024×600) it ran off the top of the screen. The list now stops below the forecast, or at the screen's edge, and shows as many whole entries as fit there, with "+2 more" for the rest, as a designed layout's lists do. When room is short the events give way first, down to two, then the birthdays, down to one, then the last event and the lessons; the clock and the forecast keep their size. Screens with room for everything, like a 1920×1080 landscape screen or a portrait wall screen, look exactly as before (#282).
-
The automatic update no longer restarts the database when nothing changed. The update Diun triggers runs Docker Compose inside the webhook container, which ships Compose 2.27, while
./start.sh upand anydocker composetyped on the server run the host's own. Compose decides whether a container is current by comparing a hash of its definition with the one it stored when it created the container, and that hash differs between Compose versions: 2.29 stopped countingdepends_on, 5.0 writes bind mounts differently, and 5.4 records a different image digest. So every time the other side had last touched the stack, an update with nothing to do recreated the database, PostgREST, go2rtc, the webapp and the scheduler, and the next./start.sh uprecreated them all again. The update now works out for itself what to recreate: a service whose definition the update's owngit pullorsetup.shchanged, whose container was made from another image reference than the compose files name now (a tag moved by agit pullby hand, or by aKINBOARD_TAGedit, before the update ran), or whose container runs another image than the one just pulled. Everything else stays running, throughup --no-recreate, and only those services are recreated, with--no-deps. A new database or PostgREST image still rolls out either way. Anything it cannot read counts as unknown rather than changed: if Compose gives no hashes, it warns and recreates only for images, never the whole stack. Two updates at once no longer run side by side: the second one says so and stops. The pre-upgrade backup is now also taken whenever something is about to be recreated, not only when this run's pull brought a new image, so a run that resumes an interrupted one no longer recreates without one. The first update after this release still runs the previous script, whichgit pullreplaces only for the next run; that one recreates as before, once. -
setup.shno longer stops without a word when a key is missing from.env. An.envwritten before a key existed, or by hand withoutANON_KEY,SERVICE_ROLE_KEYorVAPID_PUBLIC_KEY, made it exit with status 1 halfway through and print nothing about why: the lookup of the missing line failed and the script's strict mode ended it there. It now treats a missing key like an empty one and mints it. -
The St Nicholas setting says when the boot is filled. Its description said the boot by the Tasks card is "empty in the evening, filled in the morning"; it is empty all day on 5 December and filled on the morning of the 6th, and now says so, in English, German, French and Chinese. The wiki names the settings page Design, as the app has for a while, instead of Theme, and the Layouts page no longer says a festival's card dressing appears on a designed Home: its colour wash and visitors do, the snow on the card edges, the bunting and the boot belong to today's card grid.
-
The weather map is built on Leaflet alone. The map in the weather detail view used react-leaflet, a thin layer over Leaflet whose licence (Hippocratic-2.1) adds conditions on use that the usual open-source licences don't, and it shipped with every install. The map now talks to Leaflet directly and react-leaflet is gone; it looks and behaves as before, including keeping your zoom when you switch layers. A new check fails when a package that ships with Kinboard is under a licence outside a short list of standard ones.
-
Frost shows in the light theme too. The weather effects drew frost in near-white, which shows on the dark theme and all but vanished on a light one, so a freezing morning looked the same as any other. On a light theme the frost is now a cool blue-grey with a white sheen. Rain, wind streaks, distant snowflakes and fog had the same problem and get the same treatment; snowflakes keep their white with a clearer outline. Switching between light and dark redraws them straight away. The dark theme, and the screensaver over a photo, look exactly as before.
-
Screens left open pick up every update, not only a new version. A wall screen, or Kinboard left open on a phone, only notices an update when the app's background helper (the service worker) changes, and it only changed with the version number. When the same version was rebuilt and deployed again, as happens several times while a release candidate is tested, open screens kept running the old app until someone reloaded them by hand. Every build now gives the helper its own name, so an open screen sees each update and, on a wall screen, applies it on its own after a quiet moment, as it already did for new versions. Old cached files are still cleared when the update takes over.
-
Every card on a designed Home has the same title row. Two cards side by side could look as if they came from different apps: on a kitchen screen the schedule's title sat lower than the events' next to it (its child buttons made its title row taller), the birthday, bin and holiday cards had smaller titles and icons because their text was set to small, and the car had no title at all, just its picture and the numbers. A card's text size now changes only what is in the card; the title, its icon, the arrow and the child buttons are the same size on every card of a screen, so titles in a row line up. The car's card is headed with its name, as on the old Home, and the stocks, pocket money and media player cards got a title row too. "School is out!", "Nothing to pass on", "Loading weather" and the other lines a card shows when it has nothing to list now all look the same: plain text at the top left, under the title.
-
A designed Home looks like today's Home, on every screen shape. Its box sizes were counted in grid steps, which are a 48th of the screen's width, while text follows the screen's short side, so on a portrait panel every box had about half the room it has on a 16:9 screen: the date and greeting were crushed into an 18px strip, the family's names shrank to a few pixels, and a 4:3 tablet lost a row of cards. Sizes now follow what each widget needs at its text size, on any screen; a layout saved too small is drawn at the size it needs (the editor marks such boxes and fits them in one click). All widgets share one card frame and one type scale, the same as today's Home, and a line that doesn't fit is left out rather than shrunk. The install prompt and the getting-started checklist no longer slide over a designed Home.
-
The week overview on Home counts events that end just after midnight on its last day. Its seven days were cut from dates in UTC, so in Germany an event ending between 00:00 and 01:00 after the week's last day was left out, and west of UTC events late on that day were missed. It now uses the same days as the rest of Home.
-
The Weather card shows the night sky at night, and keeps its reading through a network blip. A clear night showed a sun (the screensaver already showed a moon); a few clouds now show the sun or moon behind them, and fog and drizzle have their own icons. A refresh that failed replaced the weather with an error card until the next good one; the card now keeps the last reading and says from when. It no longer flashes "Weather not set up" while Home loads, its loading and error states keep the card's title like the other cards, and the error is in the household's language. A long place name no longer pushes the high and low onto three lines. In the detail view, the five map layers fit on a phone (Pressure was off the edge), the map keeps your zoom when you switch layers, the bars of the day list are visible in the light theme, and the map's setup is only fetched when the view is opened.
-
Pictures from the web are kept on your server. A recipe picture chosen through the web search, or one that came with an imported recipe, was only saved as the address of the original. Every screen then loaded the full-size original from that site on every visit, and sites such as Wikimedia throttle or refuse that: pictures were missing each morning, took minutes to come back, and some never did. Kinboard now fetches such a picture once, scales it down and stores it with your uploaded photos. This happens by itself for existing recipes the first time the recipes page is opened after the update, and the same goes for pictures on the shopping list, savings goals and older device catalogue entries. A JSON backup still carries the original web addresses, so it restores as before.
-
The "+N more" line under a screensaver list is readable. Under the events, birthdays, holidays, lessons and news of a designed screensaver, it had no colour of its own and took the page's text colour, a muted grey in the month themes, hard to read on the photo. It now has its own light colour like the rows above it.
-
Connecting Google Calendar no longer fails with
redirect_uri_mismatch(#503). Docker installs never passedGOOGLE_REDIRECT_URIinto the container, so Kinboard always asked Google forhttp://localhost:3000/api/google/callback, whatever was registered in Cloud Console. Existing connections kept syncing, but every new Connect or Reconnect failed. The redirect URI now follows the address Kinboard is opened on (orGOOGLE_REDIRECT_URI, which the container now receives, when set), and Settings → Google Calendar shows the exact address to register, with a copy button and a warning when Google won't accept it (a LAN address: Google takes only https with a domain name, or localhost). -
./start.sh upnow fetches the new version. It started whatever webapp image was already on the machine, so an install that runsgit pulland./start.sh upat boot, as the Windows autostart does, stayed on the version it was installed with: the scripts updated, the app did not, and Settings still showed the old version while the changelog showed the new one.upnow pulls the published image first (the tag inKINBOARD_TAG,latestby default) and recreates the webapp when it changed; without a network it says so and starts with the image it has. A source build (docker-compose.build.yml) is not affected. -
Better Unsplash terms now reach installs that connected Unsplash in the app. Connecting Unsplash under Settings → Photos saved a copy of every month's search terms with the key, and from then on that copy was used, so a later release's terms never arrived. Only months someone actually edited are stored now, and a stored month that is just a copy of an earlier release's terms follows the current ones; edited months stay as they are.
-
The screensaver's weather strip no longer loses its edge on a black photo. Beside a portrait photo the screensaver fills the rest of the screen with black, and the weather strip's own dark fill is invisible against it, so the card seemed to end halfway across and its last columns floated on the black. The strip, the forecast in a designed layout and the temperature chip that stands in without a forecast now each carry a hairline light edge, so the card holds together whatever the photo behind it.