Commit Graph
1221 Commits
Author SHA1 Message Date
ericz be28a1a258 add device name to backup-file name. 2026-11-08 04:04:04 +01: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
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
Logan Rawlins 563f7fbd2a suppress shellcheck for test packaging 2026-11-01 15:27:10 -07:00
Logan Rawlins 43ba46ab88 fix arm64 build 2026-11-01 15:22:26 -07:00
Logan Rawlins 35161603a5 remove duplicate linux-arm64 build 2026-11-01 15:11:52 -07:00
Logan Rawlins c7847f0d9e add arm64 appimage 2026-11-01 15:05:12 -07:00
Logan Rawlins c19cd28de8 fix CI build pipeline 2026-11-01 14:27:34 -07:00
Logan Rawlins b60e18fe6b init appimage building 2026-11-01 13:36:57 -07:00
ericz e073f6bd52 dart format 2026-11-01 15:10:21 +01:00
ericz 7baf29ca62 small addition, to not display option in local map filter. 2026-11-01 15:06:02 +01:00
ericz b82d5d6aab Add online map filtering controls 2026-11-01 14:13:27 +01:00
zjs81 78f426e979 Merge dev into main 2026-10-31 14:10:22 -07:00
zjs81 bfaa00bb38 Document themes, chat backgrounds and automatic holiday themes 2026-10-31 14:09:29 -07:00
zjs81 54bd95ae18 bump version to 99.0.1+26 2026-10-31 14:04:43 -07:00
zjs81 5a8c579cb8 bump version to 9.5.0+25 2026-10-31 13:51:57 -07:00
zjs81 91a13ace1c Merge pull request #626 from zjs81/feat/custom-themes
Custom themes, holiday themes, chat backgrounds and holiday animations
2026-10-31 13:50:44 -07:00
zjs81 7202cdedfc Translate theme, background and holiday strings into all languages
Fill the 70 new theme, chat background and holiday strings in all 17
locales and review the holiday greeting phrasings. Prefer the longest
matching greeting so combined greetings pick the right holiday.
2026-10-31 13:49:52 -07:00
zjs81 f0ca703dfb Merge remote-tracking branch 'origin/dev' into feat/custom-themes 2026-10-31 13:43:51 -07:00
zjs81 4a574185e8 Add custom themes, holiday themes, chat backgrounds and holiday animations
- Themes: name + background + accent, derived surfaces/text/bubbles; editor
  with live preview; share codes and .jsonl import/export
- Theme icons: swap tab, send, settings, node avatar and map marker icons for
  named icons or pictures (lossless JPEG XL)
- Chat backgrounds per channel/DM (color or JPEG XL picture with fade);
  themes can set one, optionally for every chat
- Map follows custom themes (panels, accent, tile tint, markers)
- Holiday themes (Halloween, Thanksgiving, Christmas, New Year's) with
  generated backgrounds, icons and map markers; automatic switching from
  17 days before each holiday
- Holiday greeting animations (bats, turkeys, Santa, fireworks) matched
  across all app languages via translation strings
2026-10-31 13:43:34 -07:00
zjs81 41fa841e74 Merge pull request #617 from cano64/map-performance
Speed improvements for the Online Node Map,
2026-10-31 13:42:30 -07:00
zjs81 55cac5ce16 Merge pull request #618 from ericszimmermann/ez_image_notification
ipfs and image notification changes
2026-10-31 13:41:48 -07:00
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