diff --git a/PLAN.md b/PLAN.md index b189d0c..a83dd2b 100644 --- a/PLAN.md +++ b/PLAN.md @@ -450,6 +450,23 @@ Steps: versions, which PostgreSQL extensions an app can enable: the trusted ones; pgvector needs a superuser), and `coreapp core` prints it live from the Core + - Run 3, 2026-12-03 (after the table): deployed with SQLite in + `/data` (told by the skill this time), sso and email; the Core's + admin is owner; other Core accounts join with nothing. Fixed from + it: the skill's two settings rules no longer contradict (upstream + `ENV` in an entrypoint: override; the app's own code: Core values + as defaults); deploy waits until traefik routes the public address + (it answered 404 for a moment after "Updated"); `coreapp mail` + shows what the Core's mail server did with the app's mail (from + the mail log: accepted, delivered/deferred/bounced); the skill says + the lowest role means read-only, not nothing; the Core's admin has + no local password or reset; an app's SQLite mode may need allowing + in its multi-user edition; `coreapp status` shows a database + version only for apps with one; signin runs in the app's folder; + deploy's last line no longer says "from the internet" + - [ ] A mailbox for the test account (`coreapp.test`), so mail to + it is delivered and `coreapp mail` could read it; needs the + Core's mailbox conventions (uidNumber, homeDirectory) - [ ] `[postgres] extensions = ["vector"]`: the installer enables extensions an app can't (when an app needs one) - [ ] PostgreSQL 18 on the Core (Federated's), or a minimum version diff --git a/README.md b/README.md index 57bc58b..5514cdd 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ each new app explains the files and the settings it gets. | `coreapp deploy [--recreate]` | Build its image, copy it to the Core over SSH, install it, or update it keeping its settings and data; a failed update rolls back to the version before (`--recreate`: a fresh container even if nothing changed) | | `coreapp check` | It answers at `https://.` with a valid certificate | | `coreapp core` | What the Core in the VM offers apps: PostgreSQL (and which extensions an app can enable), MariaDB, Authelia, the mail server and Traefik with their versions, Docker, and the machine | +| `coreapp mail` | What the Core's mail server did with the mail the app sent in the last day: accepted from its account, then delivered, deferred or bounced, with the reason (apps with `email`) | | `coreapp signin [path]` | Sign in to it as a browser would, with the Core's test account (`coreapp.test@`, made on the VM's Core when first needed), starting at `path` (default `/login`), and show each step; `--cookies ` keeps the app's cookies, `--code` gets a code for apps that start sign-in in the browser, `--remove-account` removes the account | | `coreapp status` / `logs [-f]` / `shell [command]` | Its container, its log, a shell in it (or one command, without a terminal) | | `coreapp list` | The apps on the Core installed this way | diff --git a/TEST.md b/TEST.md index 136763b..981f449 100644 --- a/TEST.md +++ b/TEST.md @@ -208,7 +208,10 @@ The Core's own scripts trace secrets, so their output goes to 5. Raise `version` to 0.2.0, `coreapp deploy`: "Updated"; the container runs `:0.2.0`; `docker image ls localhost/coreapp/hello` on the Core lists only 0.2.0. -5a. An app that answers 421 to an unknown `Host` (Supermarket): deploy's +5a. Right after "Updated" (also with `--recreate`), the public address + answers (deploy waits until traefik routes it, not 404): `curl + https://.` four times in a row gives 200 each time. + An app that answers 421 to an unknown `Host` (Supermarket): deploy's wait passes because it sends `Host: .`; on the Core, curl of its health URL gives 421 bare, 200 with that `Host`. 5b. `coreapp core` (anywhere, no app needed): the domain, PostgreSQL's @@ -415,6 +418,12 @@ has the `DB_*` variables, `.coreapp` says `needs=postgres`. entry is unchanged (its password too), and remove leaves it. 6. Adding `"email"` to an installed app's `needs` and deploying makes the account and adds the `SMTP_*` settings. +7. `coreapp mail` after the app sent a message (Supermarket: a password + reset for `coreapp.test@`): "