Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Required
APP_KEY= # make one: echo "base64:$(openssl rand -base64 32)"
APP_URL=https://photos.example.com # the address the phones use
APP_URL=https://photos.example.com # replace: the public address the phones and invitees use; invite links are built from it
DB_PASSWORD= # a long random password
SEAWEEDFS_KEY= # S3 storage keys; make each one: openssl rand -hex 32
SEAWEEDFS_SECRET=
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ The version numbers are explained in "Project status" in the [README](README.md)

## [Unreleased]

### Fixed

- Invitation links, the invite page and the setup address no longer use a placeholder `APP_URL`. When `APP_URL` is empty, `localhost`, `127.0.0.1`, `::1`, `0.0.0.0` or a host under `example.com`, `example.org` or `example.net`, the server uses the address of the request. A real `APP_URL` is still used as before.
- `POST /v1/invitations` returns `public_url_configured` (bool), so the app can tell the admin to set `APP_URL`. `GET /health/detailed` has a `public_url` check, and `php artisan kinlore:setup-token` prints a warning.

## [1.5.1] - 2026-11-26

Use this release with version 1.2.0 or newer of the mobile app. The update needs no manual step.
Expand Down
2 changes: 1 addition & 1 deletion deploy/bare-metal/env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APP_NAME=Kinlore
APP_ENV=production
APP_DEBUG=false
APP_KEY= # filled by: php artisan key:generate
APP_URL=https://photos.example.com # the address the phones use; invite and video links are built from it
APP_URL=https://photos.example.com # replace: the public address the phones and invitees use; invite and setup links are built from it

# Optional: the setup token that the web setup page asks for. Empty: run 'php artisan kinlore:setup-token' to get one.
SETUP_TOKEN=
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default defineConfig({
{ text: 'Timeline and look-back', link: '/app/timeline-and-look-back' },
{ text: 'Family and permissions', link: '/app/family-and-permissions' },
{ text: 'Offline use and uploads', link: '/app/offline-and-uploads' },
{ text: 'Several servers', link: '/app/multiple-servers' },
{ text: 'Several families', link: '/app/multiple-servers' },
{ text: 'Settings', link: '/app/settings' },
{ text: 'Export', link: '/app/export' },
{ text: 'Troubleshooting', link: '/app/troubleshooting' },
Expand Down
54 changes: 28 additions & 26 deletions docs/app/children.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,35 @@

This page tells you how to add, edit and delete a child, how to add a baby that is not born yet, and how to choose the child that the timeline shows.

A **child** has a profile with a name, a birth date or a due date, and an avatar color. Each moment belongs to one child.
A **child** has a profile with a name, a birth date or a due date, and a color. Each moment belongs to one child. Each child belongs to one family: the family that you add it to.

## Who may do what

- The admin and partners may add a child, and edit or delete any child.
- A family member may not add a child. A family member may edit or delete only a child that they created.
- The family always keeps at least one child. The app does not delete the last child.

For roles, see [Family and permissions](family-and-permissions.md).

## Add the first child

After the first sign-in, a family with no child shows "Create Kid Profile".
After the first sign-in, a family with no child shows "Add your first child".

1. Type the **Name** of the child.
2. If the baby is not born yet, turn on **Expecting a baby?**.
3. Tap the date field and pick the **Birth Date** or the **Due Date**. Tap **Done**.
4. Under **Avatar Color**, tap a color.
5. Tap **Create Profile**.
3. Tap the date field and pick the **Birth date** or the **Due date**. Tap **Done**.
4. Under **Color**, tap a color.
5. Tap **Create profile**.

For a born child, the app also adds a "First Meeting" milestone on the birth date.

## Add another child

1. Open the **Settings** tab.
2. Under **Family**, tap **Children**.
2. In the family section, tap **Children**. The header shows the family name.
3. Tap the **+** button at the top right ("Add child").
4. The app shows "Add Child". Type the **Name**.
5. If the baby is not born yet, turn on **Expecting a baby?** and pick the **Due Date**. Else pick the **Date of Birth**.
6. Under **Avatar Color**, tap a color.
4. The app shows "Add child", with "Adds to" and the family name. Type the **Name**.
5. If the baby is not born yet, turn on **Expecting a baby?** and pick the **Due date**. Else pick the **Birth date**.
6. Under **Color**, tap a color.
7. Tap the check mark at the top right ("Save").

### Check that it worked
Expand All @@ -42,15 +41,15 @@ The **Children** screen shows the new child with its age. Open the child switche

You can add a baby before the birth.

- Turn on **Expecting a baby?** and pick the **Due Date**. The due date must be today or later.
- Turn on **Expecting a baby?** and pick the **Due date**. The due date must be today or later.
- You can leave the name empty. The app then uses the name "Baby". You can change it later.
- Before the birth, the app shows the age as weeks of pregnancy, for example "28 weeks pregnant".

### When the baby is born

1. Open **Settings** > **Children** and tap the child.
2. Turn off **Expecting a baby?**.
3. Pick the **Date of Birth**.
3. Pick the **Birth date**.
4. Change the **Name** if necessary.
5. Tap the check mark ("Save").

Expand All @@ -59,21 +58,22 @@ The app keeps the due date.
## Edit a child

1. Open **Settings** > **Children**.
2. Tap the child. The app shows "Edit Child".
3. Change the **Name**, the dates or the **Avatar Color**.
2. Tap the child. The app shows "Edit child".
3. Change the **Name**, the dates or the **Color**.
4. Tap the check mark at the top right ("Save").

The "Edit Child" screen also shows the **Growth** records of the child, newest first. To add a growth record, see [Moments](moments.md#add-a-growth-record).
The "Edit child" screen also shows the **Growth** records of the child, newest first. To add a growth record, see [Moments](moments.md#add-a-growth-record).

If you may not edit the child, the screen has no check mark.
If you may not edit the child, the fields are not active and the screen has no check mark.

## Delete a child

When you delete a child, the app also deletes all the moments of that child, for all members.
You can also delete the last child of the family. The app then shows "Add your first child".

1. Open **Settings** > **Children**.
2. Swipe the child to the left and tap the trash button. Or tap the child and tap **Delete child**.
3. The app asks "Delete Child". Tap **Delete**.
3. The app asks "Delete" with the name of the child and the family. Tap **Delete**.

### Check that it worked

Expand All @@ -84,24 +84,26 @@ The child is not in the **Children** list.
The **active child** is the child that the timeline shows. The other members of the family choose their own active child on their own phones.

1. Open the **Timeline** tab.
2. Tap the name of the child at the top of the screen. The app shows "Children".
2. Tap the name of the child at the top of the screen. The app shows "Choose a child".
3. Tap a child.

The **Children** screen in **Settings** marks the active child with **Active**.
Each server keeps its own active child.
Each family keeps its own active child.

### Show several children together

1. Tap the name of the child at the top of the timeline.
2. Turn on **Select Multiple**. This switch shows only when the family has two or more children.
3. Tap the children that you want to see. You can also tap **Select All** or **Clear**.
4. Tap **Done**.
2. Tap **Select several**. This button shows only when the family has two or more children.
3. Tap the children that you want to see. You can also tap **Select all** or **Clear**.
4. Tap **Done**. The button shows the number of selected children.

The top of the timeline then shows the number of children, for example "2 Children".
The top of the timeline then shows the names of the children, for example "Emma & Leo", or the number of children, for example "3 children".
To see one child again, open the switcher and tap **Select one**.

## Problems

- **"Cannot Delete"** with "You must have at least one child profile.": you tried to delete the last child. Add another child first.
- **"Birth date cannot be in the future"**: pick a date that is today or earlier. For a baby that is not born yet, turn on **Expecting a baby?**.
- **"Enter a name. Only an expected baby can be saved without one."**: type a name, or turn on **Expecting a baby?**.
- **"The birth date must be today or earlier."**: pick a date that is today or earlier. For a baby that is not born yet, turn on **Expecting a baby?**.
- **"No child yet"** after the sign-in: you are a family member and the family has no child. Ask the admin to add a child, then tap **Check again**.
- **"Profile Created Offline"**: the phone was offline. The app saved the child on the phone and sends it to the server at the next sync. See [Offline use and uploads](offline-and-uploads.md).
- **"Profile saved on this phone. It syncs when you are back online."**: the phone was offline. The app saved the child on the phone and sends it to the server at the next sync. See [Offline use and uploads](offline-and-uploads.md).
- **"Could not save the child. Try again."**: try again. If the message comes back, you may not edit this child.
34 changes: 17 additions & 17 deletions docs/app/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This page tells you how to connect the app to your family's server, sign in, and join a family with an invitation link.
It also explains the family name, and what to do when the server is not set up yet.

A **server** is the computer that keeps your family's photos and moments. Each family has its own server. Each server has one **admin**: the person who manages the family.
A **server** is the computer that keeps your family's photos and moments. In Kinlore, one server is one family. Each family has one **admin**: the person who manages the family.

## Before you start

Expand All @@ -13,27 +13,27 @@ A **server** is the computer that keeps your family's photos and moments. Each f
## Add the server and sign in

1. Open the app. The app shows "Welcome to Kinlore".
2. In **Server URL**, type the address of the server. You can add a port, for example `photos.example.com:8443`.
2. In **Server address**, type the address of the server. You can add a port, for example `photos.example.com:8443`.
3. Tap **Continue**.
4. The app shows "Welcome Back" and the address of the server.
4. The app shows "Welcome back" and the address of the server.
5. Type your **Email** and your **Password**.
6. Tap **Sign In**.
6. Tap **Sign in**.

If you type no `https://` or `http://`, the app tries `https://` first. It tries `http://` only for an address on a home network.

To use a different server, tap **Change server** on the sign-in screen.
To use a different server, tap **Change server** on the sign-in screen. When the phone has more than one family, the button is **Use another family**. It opens "Choose a family". See [Several families](multiple-servers.md#switch-to-another-family).

### What you see after the sign-in

- The app shows "Loading your family..." while it gets the family's data from the server.
- When the family has children, the app shows the **Timeline** tab.
- When the family has no child yet and you are the admin or a partner, the app shows "Create Kid Profile". See [Children](children.md).
- When the family has no child yet and you are the admin or a partner, the app shows "Add your first child". See [Children](children.md).
- When the family has no child yet and you are a family member, the app shows "No child yet". Ask the admin to add a child, then tap **Check again**.

### Check that it worked

- The **Timeline** tab shows the moments of a child.
- Open the **Settings** tab. The row under **Server** shows the family name. The row under **Account** shows your name, your email and your role.
- Open the **Settings** tab. The card at the top shows the family name, the server address, and your name and role.

## Join with an invitation link

Expand All @@ -48,20 +48,20 @@ The admin can send two links:

1. On your phone, tap the app link. Or open the web page and tap its button to open the app.
2. If the phone does not know this server yet, the app asks "Join photos.example.com?" (with the address of the server). Tap **Join** only if you know and trust this server.
3. The app shows "Create Account". It tells you who invited you and with which role.
4. Type **Your Name**, **Email**, **Password** and **Confirm Password**. The password must have at least 8 characters. If the invitation is for one email address, the app fills in that address.
5. Tap **Create Account & Join**.
3. The app shows "Create your account". It tells you who invited you and with which role.
4. Type **Your name**, **Email**, **Password** and **Repeat the password**. The password must have at least 8 characters. If the invitation is for one email address, the app fills in that address.
5. Tap **Create account and join**.

### Join with a pasted link or code

Use these steps when the link does not open the app.

1. Open the app.
2. Type the server address in **Server URL** and tap **Continue**.
2. Type the server address in **Server address** and tap **Continue**.
3. On the sign-in screen, tap **I have an invitation**.
4. In **Invitation link or token**, paste the invitation link. You can also paste only the invitation code (the token).
5. Tap **Use Invitation**.
6. Fill in the form and tap **Create Account & Join**.
5. Tap **Use invitation**.
6. Fill in the form and tap **Create account and join**.

### Check that it worked

Expand All @@ -74,8 +74,8 @@ The **family name** is the name of the server for all its members, for example "
- The server owner can set the family name when they set up the server.
- The admin can change the family name in the app. See [Family and permissions](family-and-permissions.md#change-the-family-name).
- The app gets the family name from the server with each sync. A **sync** is the exchange of changes between the phone and the server.
- The app shows the family name in place of the server address: in the server list, in **Settings**, on the **Children** screen and in the child switcher.
- A member who is not the admin can give the server a different name on their own phone only. See [Multiple servers](multiple-servers.md#rename-a-server-on-this-phone).
- The app shows the family name in place of the server address: in **Settings**, in "Choose a family", on the **Families** screen, and in the header of the family screens, for example **Children** and **Members**.
- A member who is not the admin can give the family a different name on their own phone only. See [Several families](multiple-servers.md#rename-a-family-on-this-phone).

## When the server is not set up yet

Expand All @@ -90,8 +90,8 @@ If the server has no admin, the app shows a message like this: "This server is n

## Problems

- **"Connection Failed"**: the app could not reach the server. Check the address, the port and the network of the phone. See [Troubleshooting](troubleshooting.md).
- **"Invalid server address"**: the address has a wrong form. Type only the host name or the IP address, with an optional port.
- **"Could not connect to the server. Check the address and your internet connection, then try again."**: the app could not reach the server. Check the address, the port and the network of the phone. See [Troubleshooting](troubleshooting.md).
- **"Enter a domain or IP, with an optional port, ..."**: the address has a wrong form. Type only the host name or the IP address, with an optional port.
- **"This invitation is not valid. It is used, expired or unknown. Ask for a new invitation."**: ask the admin for a new invitation.
- **"This invitation has no server address. Paste the full invitation link."**: you pasted only the code, and the phone does not know the server yet. Type the server address first, or paste the full link.
- For more messages, see [Troubleshooting](troubleshooting.md).
4 changes: 2 additions & 2 deletions docs/app/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ An **export** is one ZIP file with all original photos and videos and all moment
## Start an export

1. Open the **Settings** tab.
2. Under **Family**, tap **Export**.
3. Tap **Start Export**.
2. In the family section, tap **Export**. The header shows the family name.
3. Tap **Start export**.
4. The new export shows in the list with the status **Waiting**, then **Building**.
5. Pull the list down to see the newest status.
6. When the status is **Ready**, the list shows the size of the file.
Expand Down
Loading
Loading