halkyon/apps/todo/halkyon_todo_server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 7f1f07883a
feat(base,app,learn): a shared space's key rolls once a member goes
What is written in a shared space after a member went takes a key they
never get (Halkyon's ADR 0044, D22). The instance marks the space as one
of its members goes, removed, leaving or deleted (`keyRollDue` on
`shared_space`, set in `removeMember`, through which each of them
passes); an invitation taken back never had a key and marks nothing, nor
does a new role. The Owner's or an Editor's device that next keeps its
keys up after a sync is told so (`sharedSpaceKeys.rollDue`, never true
for a Viewer, who seals no key) and makes a new key, sealed to those who
stay (D33). The first seal bringing a key ID the space never had clears
the mark in the same transaction (D34); members the rolling device
missed get it later as newcomers do. Earlier rows keep the key they had,
which whoever went had read already.

The migration, the same in the module and in each server including it
(Learn, Meditate, Todo, Train):

  ALTER TABLE "shared_space"
    ADD COLUMN "keyRollDue" boolean NOT NULL DEFAULT false;

It adds the column with false for every space there is, so no space is
due a roll from it; PostgreSQL adds a column with a constant default
without rewriting the table. The server before the switch reads and
writes the table naming its own columns, so it keeps working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-11-11 16:57:49 +01:00
..
bin feat(todo): the server on halkyon_base 2026-10-22 18:11:06 +02:00
config build(todo): Todo deployable beside Learn's server, and released as an APK, on F-Droid and as a snap (ADR 0033, step 5) 2026-11-02 16:04:00 +01:00
lib feat(todo,app): files attached to tasks and comments 2026-11-11 01:19:41 +01:00
migrations feat(base,app,learn): a shared space's key rolls once a member goes 2026-11-11 16:57:49 +01:00
test feat(todo,app): files attached to tasks and comments 2026-11-11 01:19:41 +01:00
.gitignore chore: Halkyon Todo's scaffold joins the repository in apps/todo 2026-10-22 18:11:03 +02:00
analysis_options.yaml feat(todo): the server on halkyon_base 2026-10-22 18:11:06 +02:00
CHANGELOG.md chore: Halkyon Todo's scaffold joins the repository in apps/todo 2026-10-22 18:11:03 +02:00
dart_test.yaml chore: Halkyon Todo's scaffold joins the repository in apps/todo 2026-10-22 18:11:03 +02:00
Dockerfile fix(deploy): the images drop third_party/'s overrides instead of copying it 2026-11-04 13:43:46 +01:00
LICENSE docs(todo): what Todo is now, and its licences 2026-10-22 18:11:06 +02:00
pubspec.yaml feat(todo,app): files attached to tasks and comments 2026-11-11 01:19:41 +01:00
README.md docs(todo): what Todo is now, and its licences 2026-10-22 18:11:06 +02:00

halkyon_todo_server

Halkyon Todo's server: Serverpod with the halkyon_base module. See Todo's README.