Commit Graph
1247 Commits
Author SHA1 Message Date
zjs81 b276b9daf3 Apply segment label colour changes to the painted text
A colour-only style change (selected, unselected or disabled) only
scheduled a repaint, but the text painter takes its style during
layout, so the label kept its old colour until something else caused a
layout. Request layout for every style change.
2026-11-09 21:27:17 -07:00
zjs81 6daa85edae Translate strings left in English and fix garbled translations
- Translate about 120 strings that were still English in individual
  locales (for example "Done", "Delete All Paths", "Path", "Location",
  "Public Key", the background notification text and error messages).
  Cognates, technical terms and language names are left as they were.
- Replace leaked machine-translation output: the image-send "Original"
  label in eleven locales, loop detection "Off" in Italian, Polish and
  Chinese, the Hungarian region label and duration formats, the Slovak
  OK button, and firmware, CLI and region labels in several others.
2026-11-09 21:24:15 -07:00
zjs81 462159e803 Tester feedback: offline mode, pt-PT, menus, layout and translations
Offline (read-only) mode
- The last connected radio is remembered; with no radio the app opens on
  its saved contacts, channels, messages and unread counts.
- Main screens stay open on disconnect. A Connect button replaces the
  battery and signal indicators, with a sheet to reconnect, choose a
  radio or stop a pending reconnect.
- While disconnected everything is read-only: the composer becomes a
  "connect to send" bar (drafts kept) and controls that change the radio
  or stored history are disabled or hidden.
- Resending while disconnected no longer deletes the message; a
  different radio no longer shows the previous radio's channels.
- Notification taps open the saved chat while offline.

Chats and menus
- Channel chat menu: notifications, edit channel, delete channel; the
  filter row lines up with the others; bell moved out of the app bar.
- DM and room menus: remove from contacts; rooms get room management.
- Search field uses the full app bar; long-press a result to copy.
- Hashtag channel titles no longer read "# #name"; more room around the
  radio activity dot.
- Repeat filter: short messages from one sender are caught at the same
  count as long ones.

Layout
- Shared menu row (wraps to two lines) and segment label (never splits
  a word) used across the app.
- One Scan button on the scanner; consistent settings tile titles;
  contact "last seen" wraps instead of truncating; unfetched repeater
  settings are dimmed.

Localization
- New European Portuguese locale (pt_PT); regional locales are handled
  by the language picker, notifications and the background service.
- Fill 67 missing strings per locale, including backup and restore.
- Keep "Flood" and "Zero Hop" untranslated, shorten "last seen" and
  routing labels, and fix mistranslated scan, theme and hop strings.
- Received-image strings, badge and caption come from translations.
- Regenerate the Czech localizations, which were missing strings.

Docs
- Add documentation/design.md (UI reference) and offline-mode.md;
  update channel, chat, navigation and scanner docs.
2026-11-09 21:18:29 -07:00
zjs81 47f2293a5c Merge pull request #646 from ericszimmermann/ez_backup-restore
Backup and Restore functionality
2026-11-09 07:08:40 -07:00
zjs81 d9cb3ddc7e Merge pull request #650 from zjs81/feature/tester-feedback-routing-bulk-select
Tester feedback: routing, bulk select, notifications, map crash
2026-11-09 07:07:05 -07:00
zjs81 5ea44d6ce9 Tester feedback: routing, bulk select, notifications, map crash
Routing
- Auto routing picks routes by Thompson sampling over faded delivery
  stats (24 h half-life, capped evidence), weighted by what the radio
  currently hears; retries prefer a different route; last attempt floods.
- Route failures are held until a message's fate is known, so an offline
  contact no longer wrecks its route history; failing routes are only
  deleted after a week without a delivery.
- Direct (zero-hop) path is a rotation candidate (#643) and a new Direct
  mode in the routing sheet; history routes are used for repeater logins.
- Remove the route-weight sliders the new chooser no longer uses.

Chats
- Bulk selection in channel chats (spam / not spam / delete / copy) and
  in the Filtered messages list.
- Tapping a search result jumps to the message.
- Swipe-to-reply ignores vertical scrolls.
- Active conversation follows route lifecycle, so covered chats count
  unread again.

Notifications
- Tapping a notification opens its conversation.
- Per-conversation coalescing and one alert per queued-message sync.
- Monochrome status-bar icon; background service stops when the app is
  swiped away; stale notifications cleared on radio or slot change.

Other
- Online map: opaque links and painted dots for dense areas to avoid an
  Impeller GPU crash; expandable hop list on path maps.
- Contact share: clipboard import of shared contacts, "Add again".
- Android: enableEdgeToEdge and scrolling-screenshot support.
- Translations for all new strings; fix mistranslated routing labels.
2026-11-08 23:19:15 -07:00
ericz ef31136711 Stabilize TCP reconnect retry test 2026-11-08 14:41:45 +01:00
ericz cc12e2eb96 Make spam example test deterministic 2026-11-08 14:30:20 +01:00
ericz a020eb30d0 ask for download models and fix problem with reloading discovered list after import. 2026-11-08 14:13:33 +01:00
zjs81 f81f2686a7 Merge pull request #648 from zjs81/fix/repeat-filter-and-holiday-animations
Fix false repeat flags, add repeat-sends setting, limit holiday animations
2026-11-08 01:34:03 -07:00
zjs81 ddf0b9f553 Fix false repeat flags, add repeat-sends setting, limit holiday animations
Message filter:
- Ignore copies of a message already seen (same sender, text and send
  second). Switching between companions re-synced messages the first one
  had delivered; they missed per-radio storage dedup and were flagged as
  repeats.
- Exempt replies and @[name] mentions from repeat detection.
- New "Sends to count as a repeat" setting (2-5, default 2). Each send
  must fall within 10 minutes of the previous one.
- Translations for the new strings in all locales.

Holiday animations:
- Only one plays at a time; greetings arriving while one is playing or
  within 5 seconds after it ends are dropped, not queued.
- Christmas map "self" marker: Santa hat was upside down.
2026-11-08 01:33:05 -07:00
zjs81 59e571fb20 Merge pull request #647 from zjs81/feature/czech-search-trace-contact-share
Add Czech, in-chat search, typed-hash path trace and contact sharing
2026-11-07 22:55:09 -07:00
zjs81 80ead2fc2d Address review: trace request size and contact-share translation
- Manual path trace validates the request that will actually be sent
  (round trips become 2n-1 hops, 3-byte hops go out as 4-byte prefixes)
  against the 172-byte frame and 64-hop firmware limits, and disables Run
  with an explanation when it does not fit. PathTraceMapScreen also refuses
  to send an oversized request.
- Contact-share tokens are never passed through message translation, so
  the share cannot be mangled before sending.
2026-11-07 22:53:42 -07:00
zjs81 c939f7a29c Add Czech, in-chat search, typed-hash path trace and contact sharing
- Czech UI locale (app_cs.arb), selectable in the language picker and as a
  message translation language; language names added to every locale.
- Fix wrong language names: Slovak shown as Slovenian in it/ja/pt/sl,
  garbled Slovak/Bulgarian in pl, Ukrainian in ru, Hungarian in ko/zh.
- Search inside DM and channel chats across the full stored history, with
  highlighted matches; filtered channel messages are excluded.
- Path trace by typed hashes (e.g. A1,B2,C3) from the Contacts and map
  menus, without needing node locations; the map trace panel can hand its
  hops to it.
- Share contacts in chats using the official app's <pubkey:type:name>
  format; received cards have a one-tap Add contact button that reuses the
  QR card import path.
- Translations for all new strings in every locale; docs updated.
2026-11-07 22:31:14 -07:00
ericz be28a1a258 add device name to backup-file name. 2026-11-08 04:04:04 +01:00
zjs81 e57f97616c Merge pull request #645 from zjs81/feature/blog-pages
Add blog with MeshOS claims post (GitHub Pages)
2026-11-07 19:32:10 -07:00
zjs81 5778c08aa4 Add blog with MeshOS claims post, published via GitHub Pages 2026-11-07 19:30:02 -07:00
zjs81 b3289d7213 Remove blog folder (post now published on GitHub Pages) 2026-11-07 19:27:53 -07:00
zjs81 3d66b019ba Merge pull request #644 from mavericm1/fix-appimage-lib
Bundle and audit AppImage runtime dependencies
2026-11-07 19:25:14 -07:00
zjs81 89e2e07c05 Merge pull request #642 from zjs81/fix/tester-feedback
Address tester feedback; verify advert signatures
2026-11-07 19:24:33 -07:00
zjs81andClaude Opus 5.5 8b9b6a3905 Render MeshOS post as Markdown so it displays on GitHub
GitHub shows .html files as source, so replace the HTML with a
Markdown version, a README index for the blog folder, and the
decrypted test image as a separate file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:24:23 -07:00
zjs81andClaude Opus 5.5 5ad81a76e8 Add blog post checking the MeshOS "exposed" claims
Write-up verifying the meshoskey.com claims about MeshOS Companion
v1.0.31-1.0.35 against the official release binaries and live,
decrypted network traffic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 19:23:12 -07:00
ericz 76232c1ad7 clear contacts and channels before restoring. 2026-11-08 03:15:32 +01:00
ericz 79109c2c5c more granular selection and import of official meshcore file. 2026-11-08 02:47:34 +01:00
ericz aae2bf6d60 Backup&Restore 2026-11-08 00:40:23 +01:00
Logan Rawlins 2987532c45 resolve review comments 2026-11-07 12:23:45 -07:00
Logan Rawlins ac350243e8 fixing the resolution of display libs 2026-11-07 11:47:34 -07:00
Logan Rawlins f22f2eb0a2 fixing bundled libraries 2026-11-07 10:53:52 -07:00
zjs81 ff8b0e0722 Verify advert signatures and refresh known contact keys after sync
- Check the Ed25519 signature of every received advert (chat, repeater,
  room, sensor) via a shared verifyAdvertSignature helper before it can
  add or update a contact; forged adverts are dropped
- Rebuild known contact keys after a full contact sync so nodes the radio
  dropped reappear in discovery instead of vanishing from both lists
- Remove unused importContact advert parser
2026-11-06 21:16:34 -07:00
zjs81 03495effe6 Address tester feedback: snackbar, filter dialog, text scaling
- Rule-deleted snackbar now auto-dismisses (persist: false) and snackbar
  actions use a high-contrast colour in both themes
- Add-rule dialog keeps the floating label visible with the keyboard up
- Dismiss focus/keyboard before swapping tab routes
- Repeater status: full-width tiles on phones, no shrink-to-fit values,
  multi-part stats on separate lines, drop "0 days" from durations
- App bar titles respect the system font size instead of scaling down;
  contacts controls grow with text scale; larger nav labels
- Fix duplicated flood value in Japanese duplicates string
2026-11-06 21:00:12 -07:00
zjs81 394df3109b Merge pull request #640 from zjs81/feature/message-filter
Add channel message filter for spam and repeated messages
2026-11-06 00:54:27 -07:00
zjs81 a9d369f42f Address message filter review findings
False positives
- Same-sender repeats need at least 3 words and 10 characters, so short
  replies ("ok", "test") repeated within 10 minutes stay visible.
- Repeated characters needs a run of 20+ of one non-digit character;
  "Noooooooo!", separators, a row of emoji and long numbers are chat.

Correctness
- Rules apply to stored messages: adding a rule hides matching messages
  already in the chat, and removing or disabling one shows again what only
  it was hiding. Other filter reasons are left alone. Also applied when
  history is loaded.
- The filter runs after mesh dedup, inside _addChannelMessage, so each
  message is evaluated and counted by the duplicate tracker once.
- Channels excluded from filtering no longer feed implicit clean examples
  to the classifier.
- Unread counting and the unread anchor treat filtered messages as normal
  when filtering is off for the channel.

Performance
- Classifier training runs in a background isolate (injectable trainer for
  widget tests); app start-up no longer waits for it.
- Reply previews look up the quoted message through an id index instead
  of scanning the channel per bubble.
- The latest-messages channel sort computes each channel's latest visible
  message once.

Cleanup
- Use MessageFilterText.isStructuredPayload instead of a screen copy.

Docs: message-filter.md explains how each check works, including the
learned classifier, and drops the outdated "new messages only" limit.
2026-11-06 00:54:09 -07:00
zjs81 4862966e47 Keep older history reachable and skip notifying spam marked mid-translation
- Channel chat: when the message filter hides or collapses loaded messages
  and the list is too short to scroll (so the load-older trigger can't
  fire), load older pages automatically until it can scroll, storage runs
  out, or 20 pages have loaded. Past that cap an empty channel offers a
  "Load older messages" button instead of a dead end.
- Notifications: incoming channel messages notify after awaiting
  translation; marking one as spam meanwhile replaced the stored copy but
  not the captured one, so the spam still notified. Check the stored
  message's filter state before notifying.
2026-11-06 00:34:49 -07:00
zjs81 7a0fd5944e Merge pull request #641 from zjs81/flutter-3.47-upgrade
Upgrade to Flutter 3.47.9 and require it for all builds
2026-11-06 00:30:38 -07:00
zjs81 7087203c6b Require Flutter 3.47.9 for all builds
pubspec.yaml now pins environment.flutter to 3.47.9, so pub get refuses
other SDKs. Every CI job reads that pin via flutter-version-file,
including the web deploy (was 3.41.2). The AppImage SDK pin moves to
3.47.9 and CI fails if it drifts from pubspec. The Nix shell no longer
bundles Flutter, since nixpkgs only packages 3.47.4; it warns when the
SDK on PATH is missing or the wrong version.
2026-11-06 00:24:40 -07:00
zjs81 0e01fd27dd Build with Flutter 3.47.9 and bump version to 99.0.2+27
Flutter 3.47 is reported to fix the Impeller/Vulkan crash in
Canvas::GetLocalCoverageLimit (flutter#190919) seen on Pixel 10 and 11
with the 3.44.1 engine. 3.47.8 also updates Dart's root certificates.
pub get on 3.47 adds platform-folder excludes to flserial's analysis
options.
2026-11-06 00:19:34 -07:00
zjs81 1332c35884 Add channel message filter for spam and repeated messages
Client-side filter for channel messages, with no model download:
- User rules on message text and/or sender name (contains, whole word,
  exact), normalised for case, accents, zero-width and look-alike letters.
- Automatic checks: repeated characters, same-sender repeats within 10
  minutes, and the same sentence (>= 6 words) from 3+ senders within 30
  minutes. Windows use send times, so synced history is not a flood.
- On-device n-gram classifier trained by Mark as spam / Not spam taps.

Filtered messages are kept, never notify or count as unread, are not
auto-translated or used for channel previews, and are concealed in reply
quotes. They show as a calm, collapsible placeholder that animates open
and closed, or can be hidden completely. Includes a Filtered messages
list, per-channel toggle, settings screen, translations for all locales
and documentation.
2026-11-05 23:35:27 -07:00
zjs81 3eeb15cbff Merge pull request #623 from wared2003/issue-622-reset-default-routing-algo-settings
Implements Issue #622: Add ability to reset routing algorithm settings to factory defaults.
2026-11-05 23:09:19 -07:00
zjs81 5ef2c2cd7d Merge pull request #629 from ericszimmermann/ez_filter_online_map
Add online map filtering
2026-11-03 09:10:24 -07:00
zjs81 e98f7a2392 Merge pull request #635 from zjs81/main
Main
2026-11-03 09:08:06 -07:00
zjs81 3f5bb4ac5c Merge pull request #632 from mavericm1/appimage-clean
Add AppImage building process
2026-11-03 09:04:47 -07:00
zjs81 f255b4dda3 Merge pull request #633 from ahalekelly/llama-cpp-only
Fix iOS App Store upload (ITMS-90208) and development installs
2026-11-03 09:02:52 -07:00
ericz 512bc1952c guessed location filter applies to estimated online nodes. 2026-11-02 18:00:15 +01:00
Logan Rawlins 6a8173e116 fix appimage test 2026-11-01 19:28:07 -07:00
Logan Rawlins 4ab32d7966 fix gh buildx cache and test appimage logging 2026-11-01 19:15:54 -07:00
Logan Rawlins d8a33b7547 add docker layer cache for gh runners to speed up build time 2026-11-01 16:11:03 -07:00
Logan Rawlins 2045809b32 fix ftserial to allow arm64 2026-11-01 15:49:37 -07:00
ahalekellyandClaude Opus 5.5 9f19ace95a Re-sign native asset frameworks after setting MinimumOSVersion
The Fix Native Asset Minimum OS phase edits each framework's Info.plist after
it was signed, so development builds fail to install (ApplicationVerificationFailed
on objective_c.framework). App Store exports re-sign and hid the problem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:44:39 -08:00
ahalekellyandClaude Opus 5.5 c8607804a3 Bundle only llama.cpp from llamadart
Translation runs GGUF models on llama.cpp. llamadart 0.8.20+ also bundles the
LiteRT-LM runtime, whose iOS GemmaModelConstraintProvider.framework requires
iOS 26.4, so App Store Connect rejects 16.4 builds (ITMS-90208).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 14:39:22 -08:00
Logan Rawlins 362275e387 capture build log failure for clang++ 2026-11-01 15:38:25 -07:00