Commit Graph
1211 Commits
Author SHA1 Message Date
renovate-bot c3ff9b69b8 Update https://git.rfa.cz/tth-pub/ci-actions action to v11 2026-10-29 02:55:01 +00:00
renovate-bot ee02a83a17 Merge pull request 'Update Node.js to e4db4c9' (#16) from renovate/all-minor-patch into tth
build / ci-image (push) Successful in 6m15s
build / build (push) Successful in 11m41s
2026-10-29 01:50:28 +01:00
renovate-bot f44bc9e83c Update Node.js to e4db4c9 2026-10-29 00:50:27 +00:00
renovate-bot 2bf0577704 Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v10' (#15) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 33s
build / build (push) Successful in 11m14s
2026-10-28 09:52:40 +01:00
renovate-bot 1c0027bd2d Update https://git.rfa.cz/tth-pub/ci-actions action to v10 2026-10-28 08:52:39 +00:00
renovate-bot ced48748d7 Merge pull request 'Update Node.js to 9481667' (#14) from renovate/all-minor-patch into tth
build / ci-image (push) Successful in 20s
build / build (push) Successful in 10m13s
2026-10-28 07:54:58 +01:00
renovate-bot a16bb952bc Update Node.js to 9481667 2026-10-28 06:54:56 +00:00
renovate-bot 43fdb0cefd Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v9' (#13) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 7m8s
build / build (push) Successful in 10m6s
2026-10-28 03:55:45 +01:00
renovate-bot aa53129ebe Update https://git.rfa.cz/tth-pub/ci-actions action to v9 2026-10-28 02:55:41 +00:00
renovate-bot da825add04 Merge pull request 'Update Node.js to v26' (#11) from renovate/node-26.x into tth
build / ci-image (push) Successful in 2m9s
build / build (push) Failing after 2m44s
2026-10-28 01:56:57 +01:00
renovate-bot 099a64f9b0 Update Node.js to v26 2026-10-28 00:56:53 +00:00
renovate-bot 043990ca4a Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v8' (#10) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 9s
build / build (push) Successful in 11m29s
2026-10-26 19:56:34 +01:00
renovate-bot da06b064ae Update https://git.rfa.cz/tth-pub/ci-actions action to v8 2026-10-26 18:56:32 +00:00
renovate-bot 124eccd815 Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v7' (#9) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 9s
build / build (push) Successful in 10m59s
2026-10-26 17:55:35 +01:00
renovate-bot 4c46e06863 Update https://git.rfa.cz/tth-pub/ci-actions action to v7 2026-10-26 16:55:34 +00:00
renovate-bot 189d540699 Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v6' (#8) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 10s
build / build (push) Failing after 7m1s
2026-10-26 16:53:08 +01:00
renovate-bot d96cadd658 Update https://git.rfa.cz/tth-pub/ci-actions action to v6 2026-10-26 15:53:07 +00:00
renovate-bot 59ce43321b Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v5' (#6) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 7m19s
build / build (push) Failing after 25m26s
2026-10-26 14:28:56 +01:00
renovate-bot ba3c2ff172 Update https://git.rfa.cz/tth-pub/ci-actions action to v5 2026-10-26 13:28:54 +00:00
tthandClaude Opus 5.5 05afa912c4 ci: thin CI image, Android SDK packages from actions/cache
build / ci-image (push) Successful in 6m8s
build / build (push) Successful in 30m19s
With the NDKs baked in the CI image was 14 G in grg-runner's 48 G
RAM-backed image store: it filled the store (run 54264, Gradle "No space
left on device") and the runner cleanup evicts such images under
pressure, so it would have been rebuilt most runs.

The image is now Flutter + node + cache paths only (seconds to build);
the SDK packages Gradle installs (NDKs, CMake, build-tools, platform)
are their own actions/cache entry, stored on the runner's disk, keyed by
the Gradle build files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 10:30:33 +01:00
tthandClaude Opus 5.5 3bdb46c815 ci: prebuilt CI image with the Android SDK, Gradle and pub cache
build / ci-image (push) Successful in 10m38s
build / build (push) Failing after 5m36s
Every build started from the bare Flutter image: Gradle installed two
NDKs, build-tools, platform 35 and CMake (~4 min) and resolved all its
dependencies from scratch (assembleRelease 13-17 min).

.gitea/ci/Dockerfile adds those SDK packages, the Android engine
artifacts and node (for JS actions). The ci-image job builds it into the
Docker of the big runner, tagged by the Dockerfile hash, and reuses it
otherwise. actions/cache keeps the Gradle home (with the build cache on)
and the pub cache. The build warns when Gradle still installs an SDK
package, i.e. when upstream moved to a new NDK.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:11:57 +01:00
tthandClaude Opus 5.5 e8ea12c1c9 Merge upstream/dev: repeater settings from a spec list (#614)
Conflict in repeater_settings_screen.dart: upstream #614 made the
fetch-on-open of the settings screen opt-in (autoFetchRepeaterSettings,
off by default) - what our kFetchRemoteOnOpen did there. Take upstream's
setting so its toggle works; kFetchRemoteOnOpen stays for status,
telemetry and neighbours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:09:26 +01:00
zjs81 ac28dac575 Merge pull request #614 from zjs81/feat/repeater-settings-specs
Build repeater settings from a spec list and stop fetching them on open
2026-10-25 14:50:19 -07:00
zjs81 705267d98f Build repeater settings from a spec list and stop fetching them on open
Repeater settings:
- Each setting is declared once in repeaterSettingSpecs (key, section,
  input type, range, step, labels); the screen builds its control,
  refresh and save command from that list.
- Add flood.max.advert, flood.max.unscoped, rxdelay, cad, adc.multiplier
  and extra.sf. adc.multiplier and extra.sf note their hardware limits
  (extra.sf is LR2021 only and its get reply has no "> " prefix).
- Settings can be edited before they are fetched; only edited ones are
  sent. set radio needs freq, bw, sf and cr together, so a missing one
  is reported instead of silently skipping the radio.
- Check tx delays against the firmware's 0-2 range.
- Keep the not-loaded hint's list slot so the Advanced card doesn't
  collapse when the first value arrives.
- New "Auto-fetch repeater settings" app setting, off by default: each
  get is a LoRa round trip.

Fixes:
- Adding a discovered contact sent its advert time as lastmod, making it
  the oldest contact; with overwrite-oldest on a full table the next add
  evicted it and it reappeared in the discovered list. Let the radio
  stamp its own clock.
- Snackbars replace each other instead of queueing.

Translations: add the new strings in all locales and fix widespread
mistranslations in hu, ko, sk, sl and uk.
2026-10-25 14:46:31 -07:00
renovate-bot 645a6a8a9b Merge pull request 'Update CI actions (major)' (#4) from renovate/major-ci-actions into tth
build / build (push) Successful in 40s
2026-10-25 22:02:09 +01:00
renovate-bot 5c29760926 Update CI actions 2026-10-25 21:02:07 +00:00
renovate-bot 993001a2f2 Merge pull request 'Pin ghcr.io/cirruslabs/flutter Docker tag to 46691e3' (#3) from renovate/ci-actions into tth
build / build (push) Successful in 25m33s
2026-10-25 22:01:52 +01:00
renovate-bot c45442f09d Pin ghcr.io/cirruslabs/flutter Docker tag to 46691e3 2026-10-25 20:11:43 +00:00
upstream-sync-bot 65097d053d Merge upstream/dev (8 commits) [upstream-sync] 2026-10-25 18:41:24 +00:00
tthandClaude Opus 5.5 28f514728f ci: Trivy gate and gitleaks block the release (phase 2), gitleaks v3
build / build (push) Successful in 17m32s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:40:41 +01:00
zjs81 929d371061 Merge pull request #613 from zjs81/fix/path-timeout-prediction-bugs
Fix path history and timeout prediction bugs
2026-10-25 11:37:58 -07:00
zjs81 82dcab1d92 Fix timeout observations, drop the last-rx feature and evict weak paths
- Record delivery observations with the path of the attempt the ACK
  belongs to, and skip ambiguous ACKs, so a late direct ACK is not
  learned as a flood delivery.
- Remove secondsSinceLastRx from the timeout model: it measured time
  since any companion frame, which was near zero at train and predict.
- When a contact's path history is full, evict the lowest-scoring path
  instead of silently dropping new discoveries.
2026-10-25 11:36:13 -07:00
zjs81 6bc6143c4e Merge pull request #612 from zjs81/fix/small-screens-telemetry-location
Fix small-screen layouts and show telemetry locations on the map
2026-10-25 11:26:52 -07:00
zjs81 5e3dc897ba Document map location requests, telemetry positions and the contact row
Explain Update location, which nodes include a position and why, when a
newer advert replaces a telemetry position, and the new contact row.
2026-10-25 11:26:15 -07:00
zjs81 6213da118e Arm the telemetry send ack only after preparing the path
A background retry's RESP_CODE_SENT arriving while the path was being
prepared was taken as the telemetry request's ack, so its tag and timeout
replaced ours and a sensor's tagged reply was rejected.
2026-10-25 11:26:15 -07:00
zjs81 dfc4cd54d8 Keep telemetry fixes off the advert timestamp and across full syncs
Writing the telemetry time into lastSeen sent the phone's clock back to
the radio as the node's advert timestamp on the next path or flag write,
which could later make the radio's record look newer and drop the fix.
The fix now records its own telemetryFixAt and leaves lastSeen as the
advert time; the map and lists show the later of the two as last heard.

A full contact sync (pull to refresh, reconnect) cleared the list before
the radio resent it, so fixes were lost even for an unchanged advert.
They are now held for the sync and restored onto matching records.
2026-10-25 11:17:44 -07:00
tthandClaude Opus 5.5 50eadc683e ci: shared actions @v2 (fix: my patch produced the non-existent tag @v1.2.2)
build / build (push) Successful in 18m5s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:12:36 +01:00
zjs81 979e1a7d2a Fix layouts on small screens and large text, and test every screen
Contact rows give the name its own line (wrapping to two) with route and
last seen below, right-aligned on wide windows. Fixes overflows found by a
new widget test that renders every screen at 320x568 with text scales up to
2.0 and on a desktop window: region dropdown, contacts list, repeater CLI,
status grid and settings card, map cache buttons, and empty states.
Dropdowns truncate long labels, and option sheets and dialogs scroll.
2026-10-25 11:10:27 -07:00
zjs81 f0144ca959 Show telemetry GPS fixes on the map and add a map location request
Telemetry replies carried a GPS fix that was only shown on the telemetry
screen, so the map kept the node at its last advert position. The fix now
updates the contact and survives radio contact refreshes until the node
adverts again (compared on the node's own advert clock). The map node card
gains an "Update location" button for companions and sensors; repeaters
and rooms only share GPS with logged-in admins, so they don't get it.
2026-10-25 11:10:27 -07:00
tthandClaude Opus 5.5 487fa1bf54 ci: gitleaks on the pushed commits and trivy config (warn), shared actions v1.2
build / build (push) Failing after 2s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:05:21 +01:00
tthandClaude Opus 5.5 e754567c7b Terminal message bubbles pass the public IPFS gateway
Upstream made publicGateway a required parameter of
MessageUrlImageFutureBuilder; the terminal-theme bubbles in chat and
channel chat are ours and did not pass it, so the merge did not compile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:05:21 +01:00
tthandClaude Opus 5.5 9489dee1c3 Merge upstream/dev: Android Auto as opt-in flavor, decluttered map overlay
build / build (push) Failing after 3m2s
Conflicts: the manifest keeps our unread widget receiver and drops the
Android Auto meta-data, which upstream moved to the androidAuto source set
(fe7e72a). Rename detection had moved our unread_widget_info.xml into that
source set with it; it stays in main. _mapChip is gone upstream with the
map overlay declutter (ed5884e), so our terminal-theme restyle of it goes
too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:00:11 +01:00
tthandClaude Opus 5.5 d570ba70ed ci: Trivy gate on the dependency lockfiles before the APK is built and released, SBOM to Dependency-Track
build / build (push) Failing after 17s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:54:48 +01:00
zjs81 d2eff6eb78 Merge pull request #611 from zjs81/perf/coalesce-persistence
Batch per-frame persistence so busy meshes don't stall the UI
2026-10-25 00:04:10 -07:00
zjs81 603172b3ec Batch per-frame persistence so busy meshes don't stall the UI isolate
Every received packet copy re-saved its channel's whole history, every
unread change re-saved the channel list, and adverts/path records re-saved
full contact and path-history blobs. Under load the SharedPreferences
backlog starved the Dart event loop (frames and timers stopped), the radio's
offline queue overflowed, and CPU stayed pinned after traffic ended.

- Add CoalescedWrites: keeps the latest write per key and runs them once
  per window (750 ms; 5 s for path history). Writes start synchronously so
  stores still read the current scoped key.
- Flush before the app is backgrounded, on disconnect, before switching
  radios, before the channel slot map changes, before channel history
  reloads, before deleteChannel drops a list, and before path history
  reloads an evicted contact.
- Cap in-memory channel history at ChannelMessageStore.maxStoredMessages;
  storage already kept only that many, but the list grew unbounded during a
  session and every save grew with it.
- Cache Contact.publicKeyHex and build pubKeyToHex from a hex-digit lookup; it was
  rebuilt on every equality/hash and per-advert contact scan.

Load test (fake TCP radio, 350 contacts, 17 channels, 10-150 packets/s,
Linux profile build): CPU at 10 packets/s 104% -> 45%, recovers to idle
after traffic instead of staying at 160%, and queued messages drained went
from 555 to 3237 over the same run.
2026-10-24 23:38:28 -07:00
zjs81 eab1ad2964 Merge pull request #610 from zjs81/channel-qr-scan
Scan official MeshCore channel QR codes
2026-10-24 22:31:34 -07:00
zjs81 f58a76904a Reject malformed channel QR links and document channel QR scanning
A name with invalid percent-encoding (e.g. name=%FF) made
Uri.queryParameters throw from the scanner's validator. The parser now
returns null for it, with a regression test.

Update the channels and additional-features guides for the renamed
"Scan a QR Code" option, the supported channel link format, and its
limits.
2026-10-24 22:30:51 -07:00
zjs81 b1e968e7bf Scan official MeshCore channel QR codes
The QR scanner only read community codes, so the standard
meshcore://channel/add?name=...&secret=... links used by the official
app and sites like ipnt.uk were rejected as invalid community codes.

The scanner now also accepts channel links. It skips channels already on
the radio, asks before adding, and only uses a free slot after the
channel sync has finished. Also fills in the 59 untranslated strings in
all 17 locales.

Fixes #604
2026-10-24 22:26:09 -07:00
zjs81 b6c67b113c Merge pull request #593 from ericszimmermann/ez_share_urlimage_PR
Share url image or file via ipfs upload
2026-10-24 22:05:30 -07:00
zjs81 a4670a9275 Add a setting to show link images in all chats by default
'Show link images in all chats by default' (default off) applies to
every channel and contact without an explicit per-chat choice: the
per-chat setting is now unset/on/off and resolves to perChat ?? default.
The 'Load images from links' master switch still overrides it.
2026-10-24 22:01:30 -07:00