Repository navigation
Release 2.5.5 - #56
Merged
Merged
Conversation
…ched The catalogue took a module's licence URL from its POM, and that POM was only there if the local Gradle cache happened to hold it (androidx.test.ext:junit 1.3.0 got a URL only after the instrumented tests had been compiled once). The Android build's licensing gate then passed on one machine and failed on another. A known licence now carries its canonical URL, and a test keeps every generated entry on it.
Tapping "Download model" in the offline strip queued the download (it waits for a connection) and hid the offer, so the strip showed only "No connection" and nothing said the tap had worked; the state lived only in Library > Offline. The strip now keeps one line for it, "Acoustic model · Waiting for Wi-Fi", with the same Use mobile data and Cancel controls. Reported by a tester on a Pixel 10a (2.5.4).
refresh() and loadLessons() launched a new load on every language, level or server change without cancelling the one still running, so a slower response for the old language could land last and overwrite the new list. Each load now cancels the previous one, and a cancelled load stops before writing state (runCatching also caught the cancellation and served the offline fallback).
… clock Streaks, "days since your last practice" and the week dots all read the device date, so changing the phone's clock back-dated practice, kept parallel streaks and showed "26746 days since your last practice". A tester on a Pixel 10a (2.5.4) reported it. - TrustedClock anchors to the server's Date header (read from real exchanges only, never a cache hit) and carries it forward with the monotonic clock, so a clock change while the app runs, online or offline, moves nothing. - With no anchor yet in a run, the device clock is used but never before the latest trusted time seen (persisted), so the day cannot go backwards. - A TLS failure on certificate dates proves the clock is wrong: time freezes at the last trusted moment, and load errors say the phone's date and time look wrong instead of blaming the server. Not covered: a clock moved forward after a reboot while offline, before any server contact, cannot be told from real time passing.
- Version 2.5.5 / 2227, with a changelog in the four store locales. The 2226 changelog already said "First F-Droid release", but the recipe was never submitted, so 2227 carries that text plus this release's fixes. - Recipe: turn the web target off (glosso.web=false) and delete the committed stb_vorbis.wasm before building. `fdroid scanner` flags that WebAssembly binary; the Android app never uses it, and the web target would also pull the Kotlin/Wasm toolchain (a prebuilt Node) into the build. - docs/FDROID.md: why, and the release checklist that was run for this version (fdroid readmeta and lint against fdroiddata's config, a fresh-clone build of the fdroid flavor with the recipe's settings, and the scanner on the source and the APK). Nothing is tagged or submitted.
…release/2.5.5-candidate # Conflicts: # shared/src/commonMain/composeResources/files/licenses.json # shared/src/wasmJsMain/kotlin/com/glosso/app/Main.kt
…se/2.5.5-candidate
…g follows the course
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2.5.5 (versionCode 2227): Spanish course, course switcher, F-Droid flavor, tester fixes, busy-server retry with a bounded scoring queue, onboarding follows the course, new store screenshots and corrected course list.
Includes #38 and #39.