Repository navigation
LLeMbas Desktop 1.0.0-beta.18
Pre-release
Pre-release
·
0 commits
to main
since this release
LLeMbas Desktop 1.0.0-beta.18
Carries LLeMbas CLI 2.0.0-beta.18.
The connection round: one way for LLeMbas Desktop to find, name, trust and stay connected to a
server, the same as the other LLeMbas products keep.
Added
- A server's own CA file. A server whose certificate comes from an authority of its own can
be given that authority's certificate as a PEM file: under Advanced where the address is
typed (the sign-in page, Add account or instance) and in Settings → Accounts. It is trusted
for that server only, in addition to the certificates the computer trusts — verification is
never switched off — by the app's requests, its event stream and the terminal, and it is
handed to the built-in LLeMbas CLI (--ca) when this computer is linked. Only the file's path
is kept, with the account. A file that is missing, unreadable or not a PEM file of
certificates is said in words where it is chosen, and a certificate that is not trusted now
names this setting. - A server can say which app version it needs. Discovery's
min_clients.desktopis read:
an app older than that is told so, with both versions, before anything is signed in.
Fixed
- A refused sign-in forgets the account whose token was refused — never the one in the
window. A notification's action for another account, a request still in flight while
accounts were switched, and the event stream of the account before could each sign out the
wrong, healthy account and leave the refused one in place. Every request now names the token
it was sent with; a late refusal of an old token no longer signs out the same account's newer
sign-in. - A 401 is a refused sign-in only when the server itself says so. The speech and picture
routes hand on what a provider behind the server answered, and a provider rejecting the
server's key answers 401 too: that signed the app out. Only a 401 with the server's own
challenge (WWW-Authenticate: Bearer realm="lembas") does now; any other is shown as the
server's sentence. The same for the terminal. - Signing in as a second person on a server no longer takes the computer's link from the
first. The built-in CLI holds one login. A sign-in hands the agent's token over only where
the CLI has no login or its login is that same account's; otherwise the agent is left as it
is, the title bar and Settings → Agent say whose link it is, and linking this account instead
is a button of its own there. "Linked" is decided by server and account everywhere. - "This computer is not linked" right after linking it. The app names a server by the
address that was typed and the CLI by the one the server gives of itself; the two are now
compared through one address rule (a scheme in any case, the host in lower case, no default
port, no path), and a CLI login filed under the server's own name for itself is recognised. - An agent's token is no longer thrown away because the CLI said "linked" too early. The
CLI says so when its socket opens, before the server has accepted its token; a link counts as
working only once it has held for half a minute. - The version check names the right side to update. The app checks the app interface it
uses; a server that has moved on to a newer one is no longer told to update itself. The link
protocol is the agent's: a server without the one the built-in CLI speaks is still signed in
to, and only linking this computer is refused — saying whether the server or the app is the
older one. - The agent's state is read from the CLI's machine word, not its English. Where the CLI
writes acodebeside its sentence, that decides (and a word this app does not know is a
stop shown in the CLI's sentence, unless the CLI says it is still trying); the sentences are
read only for an older CLI. - One reconnect schedule. The event stream and the agent's restarts wait one second,
doubling to a minute, each wait moved by up to a fifth, and start over only after half a
minute of a healthy connection — instead of a fixed 5 s and 10 s that brought every app back
in the same second. Switching accounts no longer waits behind the pause of the stream before. - The editor's helper answers what it is asked. A request of the CLI's own gets "method
not found" at once instead of silence; the helper no longer claims a protocol whose cards it
does not answer; a CLI that stops is said with its own last words; and a line of any length
from it is no longer held in memory whole.
Changed
- The app goes by one name everywhere:
llembas-desktop/<version>— inUser-Agent, as the
device login'sclient_id(wasllembas-desktop <version>) and asclientInfoto the CLI
(wasLLeMbas Desktop).