diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b5ef98..1597dde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,54 @@ # Changelog -What changed in each release of LLeMbas for Android. Versions follow SemVer; until 1.0.0 the app -is in alpha and releases come off `main`. +What changed in each release of LLeMbas for Android. Versions follow SemVer: the `1.0.0-beta.N` +releases are the betas of 1.0.0 and come off `dev`; a release without a suffix comes off `main`. ## Unreleased +A round of checking: the code, the words, what an outside app can make the app do. Fixes only. + +### Fixed + +- **A beta is offered the release.** The app's own installer compared versions by a rule of its + own, by which 1.0.0 was not newer than 1.0.0-beta.N: *Install* would have answered "This is the + newest version". It now compares as the rest of the app does. +- **A list read a page at a time no longer ends the app.** The chats in the drawer, the archived + chats and a schedule's runs ask for their next page when the list's end comes into view; while + that page was on its way a second request for it could start, and the same rows arriving twice + closed the app. One page is read at a time, and no row is added twice. +- **After a switch of instance the drawer is the new instance's.** It showed the other + instance's chats and its Reports badge until its own list had been read -- for good, if that + read failed -- and an instance refused as too old left the next one refused as well. +- **A photo taken with the phone turned is attached.** When the screen was made again on the way + back from the camera, the photo was dropped without a word. +- **Pause in a scheduled task's notification asks for the unlock**, as Allow once, Deny, Run + again and Mark read do: it acts on the account, and a lock screen that shows notifications in + full offered it to whoever held the phone. +- **A file picked for a message is opened as a shared one is.** What a picker answers is another + app's word; one that named a file of this app's own (a copy it holds for another app, a path + into its data) was read with the app's own rights and would have been attached. Only the photo + the camera took for the message is the app's own. +- **A photo whose upload failed does not stay on the phone.** It goes with the other copies at + sign-out and on a switch of instance, and by its age when the app starts. +- **The sign-in page scrolls**: a long sentence about a certificate, large type and the keyboard + could push *Continue* out of reach. +- A failure of the app's own installer is said in the app's words, not a library's. + +### Changed + +- **Words.** The wake word is under *Settings › Wake word*, and the assistant's hint now says so + (it named a place under *Assistant*). *Voice input › LLeMbas* no longer says the recording goes + "nowhere else": the phone sends it to your instance only, and the instance writes it down with + the speech model set up there. *Look for new versions* says when GitHub's list is read: + whenever the instance cannot say which release goes with it. Signing in no longer compares + itself to the CLI, and "speaks a newer app API" is "is newer than this app can work with". A + linked machine is a "computer" in a new agent chat as it is everywhere else. +- **Translations.** *Set as default* and *Switch instance* were English in every language. + Slovak, Czech and French used two or three words for a chat, and Slovak and Czech two for a + notification: one each now, the instance's own. German, Spanish and Hungarian addressed you + formally in some sentences and informally in others, Italian likewise; each now keeps to the + form the instance's own sentences use. Translations are the engineers' own and not proofread. + ## [1.0.0-beta.17] — 2026-12-01 How the app connects to an instance, brought in line with the other LLeMbas clients. Fixes only. diff --git a/app/src/main/java/eu/llembas/android/api/ApiClient.kt b/app/src/main/java/eu/llembas/android/api/ApiClient.kt index 8fda3c3..9c9b4c8 100644 --- a/app/src/main/java/eu/llembas/android/api/ApiClient.kt +++ b/app/src/main/java/eu/llembas/android/api/ApiClient.kt @@ -411,8 +411,6 @@ class ApiClient(val base: String, private val token: String, val http: OkHttpCli suspend fun team(chatId: String, since: Int = 0): TeamView = get("/chats/$chatId/team?since=$since").team - suspend fun stopMember(chatId: String, name: String): List = send("POST", "/chats/$chatId/team/${segment(name)}/stop", null).stopped - // --- Scheduled tasks (`/api/v2/schedules`; shapes in api/Schedules.kt) ---------------------- /** Every schedule of this person, newest first, each with its last run. */ @@ -437,9 +435,6 @@ class ApiClient(val base: String, private val token: String, val http: OkHttpCli }, ) - /** A rule read back: cleaned, in words, and its next runs. An empty rule cannot run. */ - suspend fun previewRule(rule: JsonObject): RulePreview = send("POST", "/schedules/preview", buildJsonObject { put("rule", rule) }) - /** * Save what the compile made of [words]: a new schedule (201), or with [id] the one being * edited. The words go along as the schedule's `request`, so editing starts from them. @@ -671,17 +666,6 @@ class ApiClient(val base: String, private val token: String, val http: OkHttpCli }, ) - /** Copy [path] into the directory [to]; the answer's `copied` says what the copy is called. */ - suspend fun copyFile(path: String, to: String, name: String? = null): FileListing = send( - "POST", - "/files/copy", - buildJsonObject { - put("path", path) - put("to", to) - name?.let { put("name", it) } - }, - ) - /** * Move or copy [paths] into the directory [to], or delete them (to the trash): `op` is * `move`, `copy` or `delete`. Each path is done by itself, so the answer is read for what