Commit Graph
1279 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 17b97c319c ci: Flutter 3.47.9 v CI obrazu (cirruslabs skončil na 3.44.0)
build / ci-image (push) Successful in 8m48s
build / build (push) Successful in 13m37s
Upstream od 6. 11. pinuje environment.flutter na 3.47.9 a pub get jinou
verzi odmítne; cirruslabs/flutter vyšel naposledy jako 3.44.0 (květen).
Základ zůstává kvůli Android SDK a Javě, SDK Flutteru se nahradí
oficiálním tarballem připnutým sha256. Obraz 4,5 -> 7,5 GB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 00:43:30 +01:00
tthandClaude Opus 5.5 8a9d9ba0b7 Merge upstream/dev (9 commits) [upstream-sync]
Konflikt v lib/screens/channel_chat_screen.dart: upstream přidal do
_buildMessageBubble parametr showFilterBanner (filtr spamu), my tam máme
terminálový styl. V terminálovém režimu se banner (není spam / skrýt)
vykreslí nad řádkem zprávy, jinak by filtrované zprávy přišly o akce.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 00:43:30 +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
renovate-bot 614a830376 Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v14' (#23) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 13s
build / build (push) Successful in 13m5s
2026-11-05 15:58:16 +01:00
renovate-bot 2f64a8aa73 Update https://git.rfa.cz/tth-pub/ci-actions action to v14 2026-11-05 14:58:12 +00:00
renovate-bot ff270ef5cd Merge pull request 'Update Node.js to 5adad64' (#22) from renovate/all-minor-patch into tth
build / ci-image (push) Successful in 27s
build / build (push) Successful in 13m7s
2026-11-05 13:51:01 +01:00
renovate-bot 289deaa73d Update Node.js to 5adad64 2026-11-05 12:50:59 +00:00
renovate-bot accbaa8fe4 Merge pull request 'Update Node.js to ed67041' (#20) from renovate/all-minor-patch into tth
build / ci-image (push) Successful in 36s
build / build (push) Failing after 5m23s
2026-11-05 09:54:59 +01:00
renovate-bot 10bdf4c3cc Update Node.js to ed67041 2026-11-05 08:54:58 +00:00
upstream-sync-bot 596e7f9dcd Merge upstream/dev (28 commits) [upstream-sync] 2026-11-04 04:51:26 +00: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
renovate-bot 20be0e748a Merge pull request 'Update https://git.rfa.cz/tth-pub/ci-actions action to v12' (#19) from renovate/major-ci-actions into tth
build / ci-image (push) Successful in 6m12s
build / build (push) Successful in 13m13s
2026-11-03 03:52:51 +01:00
renovate-bot fe7018df7f Update https://git.rfa.cz/tth-pub/ci-actions action to v12 2026-11-03 02:52:49 +00:00
ericz 512bc1952c guessed location filter applies to estimated online nodes. 2026-11-02 18:00:15 +01:00
tthandClaude Opus 5.5 675342e745 Merge upstream/dev: custom and holiday themes, chat backgrounds
build / ci-image (push) Successful in 9s
build / build (push) Successful in 11m47s
Upstream's theme system (two-color custom themes, holiday themes, picture
icons, chat backgrounds) next to the tth terminal theme:
- a user's custom theme wins; without one, themeMode 'terminal' is still
  the dark theme (main.dart);
- MeshTheme.buildFrom (terminal base) builds with the stock bubble, icon
  and map extensions, like dark()/light();
- terminal avatars also show a theme slot's glyph; the bottom bar stays
  44 px without labels in the terminal theme, 76/60 otherwise;
- map overlays: terminal panels stay square and black, otherwise
  upstream's palette/follow-theme logic; channel list keeps the terminal
  padding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:12:14 +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