This commit is contained in:
@@ -10,19 +10,30 @@ Configuration:
|
||||
|
||||
- `ROUTINE_API_URL` defaults to `http://127.0.0.1:8090`.
|
||||
- `ROUTINE_API_TOKEN` is sent as a bearer token when set.
|
||||
- `ROUTINE_AGE_RECIPIENT` pre-fills this device's public recipient when it is
|
||||
registered in the Devices view.
|
||||
- `ROUTINE_AGE_IDENTITY_FILE` points to the local age identity used for
|
||||
decryption. The identity is never sent to the server.
|
||||
- `ROUTINE_AGE_IDENTITY_COMMAND` is an alternative command that prints the age
|
||||
identity to stdout. It runs once before the TUI starts, so password prompts
|
||||
use the normal terminal. Its output is stored in a temporary `0600` file and
|
||||
removed when the client exits.
|
||||
|
||||
Generate an identity and configure the client:
|
||||
|
||||
```sh
|
||||
age-keygen -o ~/.config/routine/identity.txt
|
||||
export ROUTINE_AGE_RECIPIENT='age1...'
|
||||
age-keygen -y ~/.config/routine/identity.txt # paste this age1... value in Devices
|
||||
export ROUTINE_AGE_IDENTITY_FILE="$HOME/.config/routine/identity.txt"
|
||||
```
|
||||
|
||||
Alternatively, load the identity from a password manager:
|
||||
|
||||
```sh
|
||||
export ROUTINE_AGE_IDENTITY_COMMAND='pass show routine/age-identity'
|
||||
```
|
||||
|
||||
Set only one identity source. The command must print the identity itself, not a
|
||||
path, and must send prompts or diagnostics to the terminal rather than stdout.
|
||||
|
||||
Every task and routine has a required public title used by Telegram. When a
|
||||
private title decrypts successfully, the TUI displays it instead. If no private
|
||||
title exists—or the identity is unavailable—the TUI displays the public title.
|
||||
@@ -57,3 +68,7 @@ Weekly routine days use ISO numbers (`1` Monday through `7` Sunday). Monthly
|
||||
days use `1` through `31`; days beyond the end of a short month clamp to its
|
||||
last day.
|
||||
|
||||
On today's Tasks screen, pending tasks from earlier dates appear first as
|
||||
`Overdue`, with their original scheduled date. Completing, rescheduling,
|
||||
editing, and archiving work the same way as for today's tasks.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user