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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,16 @@ The version numbers are explained in "Project status" in the [README](README.md)

## [Unreleased]

### Added

- `POST /auth/login` and `POST /auth/register` accept an optional `device_name` (up to 60 characters). It is the session `name` in `GET /auth/sessions`, so the app can show each signed-in device. Without it the name stays `mobile-app`. `POST /auth/refresh` keeps the name.

### Fixed

- Docker: a configuration cache in the build folder (`kinlore-api/bootstrap/cache/config.php`) is no longer copied into the image, and every start removes an old cache before it reads the environment. An old cache could keep an old `APP_URL` through `git pull` and a rebuild. The server prints its public address at start.
- 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.
- `openapi.yaml` describes `device_name`, the session `name`, `public_url_configured` in `POST /v1/invitations` and the `public_url` check of `GET /health/detailed`.

## [1.5.1] - 2026-11-26

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 families', link: '/app/multiple-servers' },
{ text: 'Several servers', link: '/app/multiple-servers' },
{ text: 'Settings', link: '/app/settings' },
{ text: 'Export', link: '/app/export' },
{ text: 'Troubleshooting', link: '/app/troubleshooting' },
Expand Down
23 changes: 12 additions & 11 deletions docs/app/children.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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 a color. Each moment belongs to one child. Each child belongs to one family: the family that you add it to.
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 server: the server that you add it to.

## Who may do what

Expand All @@ -26,12 +26,13 @@ For a born child, the app also adds a "First Meeting" milestone on the birth dat
## Add another child

1. Open the **Settings** tab.
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", 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").
2. Under **Servers**, tap the server that shows **In use**. The app shows its **Server** screen.
3. Under **Family**, tap **Children**. The header shows the server name.
4. Tap the **+** button at the top right ("Add child").
5. The app shows "Add child", with "Adds to" and the server name. Type the **Name**.
6. If the baby is not born yet, turn on **Expecting a baby?** and pick the **Due date**. Else pick the **Birth date**.
7. Under **Color**, tap a color.
8. Tap the check mark at the top right ("Save").

### Check that it worked

Expand All @@ -47,7 +48,7 @@ You can add a baby before the birth.

### When the baby is born

1. Open **Settings** > **Children** and tap the child.
1. Open **Settings**, tap the server in use, then tap **Children** and tap the child.
2. Turn off **Expecting a baby?**.
3. Pick the **Birth date**.
4. Change the **Name** if necessary.
Expand All @@ -57,7 +58,7 @@ The app keeps the due date.

## Edit a child

1. Open **Settings** > **Children**.
1. Open **Settings**, tap the server in use, then tap **Children**.
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").
Expand All @@ -71,7 +72,7 @@ If you may not edit the child, the fields are not active and the screen has no c
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**.
1. Open **Settings**, tap the server in use, then tap **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" with the name of the child and the family. Tap **Delete**.

Expand All @@ -88,7 +89,7 @@ The **active child** is the child that the timeline shows. The other members of
3. Tap a child.

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

### Show several children together

Expand Down
16 changes: 8 additions & 8 deletions docs/app/connect.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Connect to a server

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.
This page tells you how to connect the app to your family's server, sign in, and join a server with an invitation link.
It also explains the server 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. In Kinlore, one server is one family. Each family has one **admin**: the person who manages the family.

Expand All @@ -21,7 +21,7 @@ A **server** is the computer that keeps your family's photos and moments. In Kin

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. 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).
To use a different server, tap **Use another server** on the sign-in screen. With one server, it opens the screen where you type a server address. With more than one server, it opens "Choose a server". See [Several servers](multiple-servers.md#switch-to-another-server).

### What you see after the sign-in

Expand All @@ -33,7 +33,7 @@ To use a different server, tap **Change server** on the sign-in screen. When the
### Check that it worked

- The **Timeline** tab shows the moments of a child.
- Open the **Settings** tab. The card at the top shows the family name, the server address, and your name and role.
- Open the **Settings** tab. Under **Servers**, the server shows **In use**, with its name, its address, and your name and role.

## Join with an invitation link

Expand Down Expand Up @@ -67,15 +67,15 @@ Use these steps when the link does not open the app.

The app shows "Loading your family...", then the timeline of the family.

## The family name
## The server name

The **family name** is the name of the server for all its members, for example "Anna Example Family".
The name of a server is its **family name**: the name that all its members see, for example "Anna Example Family".

- 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 **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).
- The app shows the family name as the server name: in **Settings**, on the **Server** screen, in "Choose a server", and in the header of the family screens, for example **Children** and **Members**. The server address shows next to it.
- A member who is not the admin can give the server a different name on their own phone only. See [Several servers](multiple-servers.md#change-the-server-name).

## When the server is not set up yet

Expand Down
11 changes: 6 additions & 5 deletions docs/app/export.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ An **export** is one ZIP file with all original photos and videos and all moment
## Start an export

1. Open the **Settings** tab.
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.
2. Under **Servers**, tap the server that shows **In use**. The app shows its **Server** screen.
3. Under **Family**, tap **Export**. The header shows the server name.
4. Tap **Start export**.
5. The new export shows in the list with the status **Waiting**, then **Building**.
6. Pull the list down to see the newest status.
7. When the status is **Ready**, the list shows the size of the file.

The server builds the file. You can close the app while it works. A large library takes time.

Expand Down
19 changes: 10 additions & 9 deletions docs/app/family-and-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@ A family member may also do these things, without a permission:

A family member may not add a child.

You see your own role in **Settings**: on the family card ("You:" with your name and role) and under **Your account**.
You see your own role in **Settings**: under **Servers**, next to your name, and on the **Server** screen under **Your account**.

## Open the member list

Only the admin sees these screens.

1. Open the **Settings** tab.
2. In the family section, tap **Members**. The header shows the family name.
2. Under **Servers**, tap the server that shows **In use**. The app shows its **Server** screen.
3. Under **Family**, tap **Members**. The header shows the server name.

The **Members** screen has two lists:

Expand All @@ -49,7 +50,7 @@ The **Members** screen has two lists:

## Invite a person

1. In **Settings**, tap **Invite someone**. Or, on the **Members** screen, tap the button at the top right ("Invite someone to" and the family name). The app shows "Invite to" with the family name and the server address.
1. On the **Members** screen, tap **Invite someone**. The app shows "Invite to" with the family name and the server address.
2. Optional: type an email in **Email (optional)**. With an email, only that address can use the invitation.
3. Under **Role**, tap **Family** or **Partner**.
4. For **Family**, turn the permissions on or off.
Expand Down Expand Up @@ -104,20 +105,20 @@ You cannot remove yourself.
The family name is the name of the server for all members, for example "Anna Example Family".

1. Open the **Settings** tab.
2. Open the details of the active family. With one family: under **Families on this phone**, tap **Server details**. With several families: tap **Families**, then tap the info button of the active family. The app shows "Family details".
3. Tap the pencil button at the top right ("Rename family").
4. In **Family name**, type the new name. The app shows "This is the family name. All members see it."
2. Under **Servers**, tap the server that shows **In use**. The app shows its **Server** screen.
3. Under **Server**, tap **Rename**. The row shows "Everyone on this server sees the new name".
4. In **Name**, type the new name. The app shows "You are the admin: everyone on this server sees the new name."
5. Tap **Save name**.

The name can have up to 60 characters. The other members see the new name after their next sync.

### Check that it worked

The family card at the top of **Settings** shows the new name.
Under **Servers** in **Settings**, the server shows the new name.

## Give the admin role to another member

Each family has one admin. When you give the admin role to another member, you become a partner.
Each server has one admin. When you give the admin role to another member, you become a partner.

1. On the **Members** screen, tap the member.
2. Tap **Make admin**.
Expand All @@ -127,7 +128,7 @@ After the change, you can no longer manage members, invitations or exports. Only

### Check that it worked

In **Settings**, your role is "Partner". The **Members**, **Invite someone** and **Export** rows are not in **Settings**.
In **Settings**, your role is "Partner". On the **Server** screen, the **Members** and **Export** rows are gone.

## Set a new password for a member

Expand Down
Loading
Loading