Skip to content

Cahut 1.1.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 18:11
· 26 commits to main since this release
b069542

Cahut 1.1.0 gives the administrators of the server a console of their own, under /server/ of any domain of the server. From the domain where they sign in, they look after every Cahut of the server: its kind and limits, its legal pages, its address of moderation, its suspension, its moderation and its service tokens. The console of each Cahut, under /console/, keeps to its people. See ADR 58 and The console of the server.

Upgrading from 1.0.0

1.1.0 is a minor release: under the default CAHUT_UPDATES=patch, the daily timer does not install it. Install it from the console of the server, under Updates, or:

sudo /usr/local/bin/cahut update
  • One migration of the database of the server, 0015: the sessions of its administrators get ids that are never reused. None for the database of each Cahut. As every update does, it takes a snapshot of the databases first, and rolls back if the health check fails.
  • The administrators of the server now sign in at https://<domain>/server/. A browser that held their session stays signed in there. An address under /console/server/, such as an older activation link, goes on to /server/, with its code.
  • What they reach in a Cahut: what serves the server only. Its people, its Rooms, its e-mail and its Logbook are for its own administrators: an administrator of the server who looked after them needs an account of a person there, as one of its administrators. The command line still reaches everything.
  • The HTTP API: the operations of the server answer at POST /server/api/<operation>, in place of /console/api/server/<operation>, and those that serve the server in a Cahut at POST /server/api/cahuts/<domain>/<operation>. /console/api/ takes the sessions of people only. The admin API of service tokens and MCP do not change, and no operation or tool goes away.
  • The name server is reserved: no Room and no handle takes it.

Added

  • The console of the server (#242): an Ink top bar that says Server, and Cahuts, Administrators, Logbook, Updates and Account. The page of each Cahut sets its kind, limits, legal pages, address of moderation and suspension, moderates it with the preview of its reported Windows, creates and revokes its service tokens, and gives a link of first start while it has nobody. The list of the Cahuts shows the kind of each.
  • The API of the server for every Cahut (#241): /server/api/cahuts/<domain>/<operation>, for the operations that serve the server. A Cahut that the server does not hold is refused with the code cahut_not_on_server.

Changed

  • Each console keeps to its own people (#243): the registry lets an administrator of the server call, in a Cahut, what serves the server only, and the console of a Cahut no longer shows the bar of the server, its pages, or the mode of an administrator of the server alone. Its administrators read the kind, the limits and the legal pages that the server sets.
  • The first start (#244) keeps one step. When it makes the administrator of the server, it ends on the page of the Cahut in the console of the server, with a note that links to the console of the Cahut; the overview of the Cahut offers to connect the first AI. install.sh prints the address of the console of the server.
  • send_test_mail is for the administrators of the Cahut and the command line.

Security

  • The frame of a reported Window that an administrator of the server opens closes for good when their session ends: the ids of their sessions are no longer reused (#241).