Commit Graph
1278 Commits
Author SHA1 Message Date
zjs81 5eaddcb13b Merge pull request #621 from skandinaff/fix/usb-serial-idle-cpu
Fix one-core idle CPU with USB serial on Linux and macOS
2026-10-31 13:40:20 -07:00
zjs81 b87cf8703f Merge pull request #624 from mavericm1/fix-nix-build-env
Fix Nix Linux development and profiling environment
2026-10-31 12:40:12 -07:00
zjs81 780183b586 Merge pull request #625 from zjs81/fix/ray-feedback-repeater-settings-contrast
Fix repeater settings grey box, nameless discovered nodes and chip contrast
2026-10-31 12:10:15 -07:00
zjs81 821479742d Fix repeater settings grey box, nameless discovered nodes and chip contrast
Repeater settings:
- The Advanced and Identity Keys cards store their expanded flag in
  PageStorage. Their TextFields' inner Scrollables shared that identifier,
  read the bool as a scroll offset and failed to build, which showed as a
  large grey box in release builds. Give each card's body its own storage
  scope. Regression test added.

Discovered contacts:
- Adverts parse the two optional 16-bit feature fields before the name,
  as MeshCore's AdvertDataParser does, so their bytes are no longer read
  as the name (a zero byte gave an empty name).
- A nameless advert or removal no longer wipes a known name.
- The discovery tile gives the name the full width (the type chip beside
  it squeezed it to nothing at large text sizes); the type moves to the
  key line as plain text, and an unnamed node shows its key prefix.
- The node scan sheet's type chip can shrink instead of the name.

Contrast:
- StatusChip draws its label in the normal text color; the icon or dot
  keeps the accent, adjusted to 3:1 against its tint. Avatar icons and
  initials get the same adjustment. Amber on its tint in the light theme
  was about 2:1.

Channel chat:
- Hashtag channels drop the redundant "Hashtag" subtitle label, and the
  region action moves into the overflow menu (tapping the title still
  opens it) so the channel name keeps its room.
2026-10-31 12:09:42 -07:00
Logan Rawlins 4454033f82 fix nix build env 2026-10-31 11:47:27 -07:00
edouard 3032be9bad feat: add reset to default for routing algorithm settings (#622)
- Add Reset button in routing settings with Icons.restart_alt
- Extract default values as constants in AppSettings to avoid duplication
- Add translations for all 18 supported languages
- Update documentation in settings.md
2026-10-31 04:53:21 +01:00
Aleksandrs Sevastjanovs bb7a15f436 Stop flserial's SerialThread spinning on an idle serial port
POSIX opens the port O_NONBLOCK with VMIN/VTIME=0, and fl_open skips
setTimeout on Linux/macOS, so the default all-zero Timeout makes
SerialThread's read() return immediately. With no traffic the reader
spins at 100% of a core for the whole session. Release builds and a
minimized window do not help because it is a native thread.

Set a 10 ms read/select timeout on POSIX. Data still wakes select
immediately; the timeout only bounds idle wakeups and queued-write
latency. Apply the same change to the macOS copy of flserial.

Follow-up to #557.

Measured with a PTY harness, idle: 99.9% of one core before, 0.2%
after. RX and TX still pass.
2026-10-30 16:15:15 +00:00
renovate-bot aff33d1be2 Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v11' (#17) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 9s
build / build (push) Successful in 12m54s
2026-10-29 03:55:03 +01:00
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
ericz 838773ba69 BigPicture image notification again. 2026-10-28 19:10:09 +01:00
ericz f415f0ad4e remove non Hotlink ipfs gateways 2026-10-28 18:48:48 +01: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
cano ca7b0e5813 Speed improvements for the Online Node Map, When there are too many objects on the map, some fancy stuff such as shadows or line borders are dropped. 2026-10-27 12:33:46 +01: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