dev
fix/1231-stale-keyboard-inset
main
feat/1255-region-identity
docs/1260-grant-terms
docs/1260-region-scope-plan
fix/1250-play-completed
feat/1247-macos-manual
fix/1243-altool-check
release/1.8.1
fix/1238-gitattributes-eol
feat/1198-dm-path-ownership
fix/1236-redact-screenshots
docs/1232-region-scope-guide
feat/1088-play-publish
docs/1086-a3-result
feat/1084-play-upload-tool
fix/1166-location-radio-truth
fix/1163-radio-switch-misfile
feat/1148-docs-notify
docs/1145-android-screenshots
feat/1109-macos-signing
fix/1128-channel-key-history
feat/1129-sponsor-prompt
fix/1118-factory-reset-delete-on-send
fix/1122-notify-logging
feat/1054-factory-reset
fix/1111-osm-identity
feat/523-land-indicators
feat/1068-radio-channel-notify
docs/1091-epic-chain
docs/1053-play-automation
fix/1065-vercode-floors
fix/1033-scan-location-message
feat/693-offline-app-settings
feat/759-fake-radio-integration
feat/758-fake-radio-ci
feat/757-fake-radio-behaviors
feat/756-fake-radio-core
epic/870-remote-cli-permission
feat/842-sync-is-truth
feat/975-settings-restructure
feat/966-clear-stale-history
feat/965-stale-blob-sweep
docs/962-epic-chain
docs/962-reclamation-plan
fix/943-952-storage-migration
feat/940-isolation-integration
feat/939-scope-key-lifecycle
feat/938-blocked-per-radio
feat/937-storage-service-migration
feat/936-scoping-harness
docs/853-isolation-plan
fix/754-discovery-per-radio
feat/920-message-rows
chore/904-docs-proof
feat/919-blob-isolate
fix/927-ci-spike-flag
feat/917-storage-save-path
chore/904-docs-only-ci
docs/857-interop-plan
feat/844-per-radio-notify
fix/812-land-814-815-on-dev
epic/816-integration
epic/814-discover-regions
epic/813-region-protocol
epic/815-channel-scope
docs/812-region-scoping-plan
feat/703-forced-resync
docs/750-contact-naming-plan
feat/702-lossless-serial
feat/668-contact-sync-guard
feat/610-contact-card-receive
feat/638-top-toast
fix/663-triage-internal-actors
fix/652-release-prerelease-flag
feat/619-contact-identity-uri
epic/568-export-import
fix/580-caplog-partial
release/1.5.0-beta.1
task/501-deviceui-logging
chore/542-assets2
chore/542-assets
docs/519-claudemd-web
release/1.4.0
feat/483-button-buzzer-ui
fix/497-mention-verbatim
fix/279-send-width
docs/478-docs-home-research
release/1.3.0
fix/443-battery-optimization-warning
fix/447-close-labeler
fix/445-windows-sqlite3-native-assets
feat/429-companion-sync
fix/395-dm-channel-send-wedge
feat/427-localize-log-share
feat/393-app-log-share
fix/share-icon-android
fix/389-back-nav
feat/385-storage-health
release/1.2.2
feat/367-store-consolidation
chore/365-cut-1.2.1
fix/363-pin-db-path
feat/351-contact-settings-menu
feat/349-window-geometry
feat/355-migration-merge
integration/290-306-335
release/1.1.2-rc.3-allplatforms
fix/309-path-len-decode
chore/298-path-logging
fix/285-ingest-timelog
fix/252-block-outgoing-dm
feat/64-observer-config
feat/batch1-ux
chore/offband-rebrand
v1.8.1
v1.8.0
v1.7.0
v1.6.0
v1.5.0-beta.1
v1.4.0
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.2-rc.3-allplatforms
v1.1.2-rc.3
v1.1.2-rc.2
v1.0.0
observer-g2-rc3
observer-g2-rc4
observer-g2-rc5
observer-g2-rc6
observer-g2-rc7
observer-g2-rc8
observer-g2-rc9
preview-1.8.0-1
v1.1.0-rc.1
v1.1.0-rc.2
v1.1.0-rc.3
v1.1.2-beta.1
v1.1.2-beta.2
v1.1.2-beta.3
v1.1.2-ble-test
v1.1.2-queuediag
v1.1.2-rc.1
v1.1.2-rc.1-b45-nearbyrep
v1.1.2-rc.1-b46-pathhash
v1.1.2-rc.1-b47-tracewidth
v1.1.2-rc.1-b48-repeatertrace
v1.1.2-rc.1-b49-maptrace
v1.1.2-rc.1-b50-tracefix
v1.1.2-rc.1-b51-originstrip
v1.1.2-rc.1-b52-channelqr
v1.1.2-rc.1-b53-viarepeater
v1.1.2-rc.1-b54-rxfed
v1.1.2-rc.1-b55-topology
v1.1.2-rc.1-b57-routeux
v1.1.2-rc.1-b58-toporeadout
v1.1.2-rc.3-b59-pathlen
${ noResults }
13 Commits (ab6d0b13b2e5bbdfd47eb0b5cb3f9c970ad4838d)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
e452ab4805 |
feat(#383): track who reacted, not just the count
Reactions stored only a Map<String,int> of emoji to count, so "who reacted" was unanswerable and MeshCore One's tap-to-see-who had nothing to show against. This captures the reactor for every reaction, both our own r: format and the PocketMesh / MeshCore One format. Data layer only. The tap-a-badge-to-see-who UI is a separate follow-on; this makes the data available and does not change any screen. Additive by design. A new reactionSenders field (Map<String,List<String>>, emoji -> reactor names) sits alongside the existing count map, serialised under a new JSON key. Both maps are always written. An older build reading a newer store ignores the unknown key and still gets correct counts from reactions; it never hits the hard `value as int` cast that would fail the whole message-list load (the #355 data-loss shape). Records written before this field load with an empty sender map, so their counts survive with names simply absent. - ChannelMessage + Message: new reactionSenders field, constructor, copyWith - both stores: serialise the new key; deserialise via a shared ReactionHelper.reactionSendersFromJson that returns empty for a missing key and skips malformed entries rather than throwing - applyReaction: records the reactor and dedups per reactor per emoji. This is persistent dedup (survives restart), unlike the connector's in-memory processed-set. A pre-existing count with no sender list is incremented from its stored value, not recomputed from the partial list, so old counts are preserved. - connector: threads the reactor name into all reaction paths. Channel uses the frame sender; a room resolves the author via fourByteRoomContactKey; an outgoing reaction is attributed to self. - pending queue: retry now hands the stored reactor to its callback Tests: reactor capture, two-reactor count, same-reactor no-double-count, pre-#383 count preservation, and JSON round-trip + backward-compat + malformed-entry handling for the new field. Full suite 604 passing. Epic #376. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
4 months ago |
|
|
d63838a94b |
fix(#380): tighten reaction parsing after adversarial review
Two of three Gemini findings held up against the code; the third did not.
Accepted, message-swallow risk: the emoji check looked only at the first
rune against a range list that included arrows, so a multi-line message
beginning with an arrow and ending in eight Crockford characters would
have been consumed and displayed as a reaction whose "emoji" was the
whole sentence. Ben's own capture has U+2192 mid-sentence in ordinary
channel traffic, so this was reachable, not theoretical.
- drop U+2190-U+21FF and U+2934-U+2935; arrows carry the Unicode Emoji
property but read as punctuation in prose
- cap the emoji segment at 8 runes, which is clear of the longest ZWJ
sequence and nowhere near a sentence. This is the guard that holds
regardless of how the range list evolves.
Accepted, dedup: the contact path keyed on target hash plus emoji only.
A room server is many-party over the 1:1 transport, so two members
sending the same emoji collapsed into one and the count stuck at 1, the
same defect already fixed on the channel path. The reacting author
prefix is now part of the key; in a true 1:1 it is empty and the key is
unchanged.
Rejected, room-server sender matching: the review claimed getSenderName
resolves to the room itself and that room text carries a "Sender: "
prefix. Neither is true. _resolveContactSenderName resolves the author
via fourByteRoomContactKey to the real per-sender contact name, and room
message text is stored bare with the author in its own field. One real
sub-case survives: an author who is not in our contacts resolves to null
and will not match, which degrades to queue-then-expire with a warn log.
Also rejected: switching @[ lookup from first to last occurrence. The
reference implementation uses the first, and diverging risks mismatching
payloads it accepts.
|
4 months ago |
|
|
0e926ad0c2 |
feat(#380): parse PocketMesh / MeshCore One emoji reactions
Reactions sent from MeshCore One arrived as junk text: an emoji line followed by an 8-character token such as "dyps6yf0". Those tokens are Crockford Base32 target-message hashes, the second line of a two-line reaction payload we did not recognise. Receive-side only. Offband keeps sending its own r:hhhh:ii format; their client already parses ours, so nothing about what we transmit changes. Wire format (confirmed against a live capture, see #378): channel: {emoji}@[{targetSender}]\n{hash} direct: {emoji}\n{hash} hash: sha256(body utf8 + timestamp uint32 LE seconds)[0:5], Crockford Base32, 8 chars, lowercase The body is hashed without the channel "SenderName: " prefix, which is why the sender travels in @[...] instead. - crockford_base32.dart: encode and normalise, 12-bit accumulator so the web target's 32-bit bitwise ops cannot truncate a 40-bit value - pocketmesh_reaction.dart: hash and a parser mirroring the reference implementation, with a conservative leading-emoji check so a real message is never swallowed - reaction_helper.dart: ReactionInfo carries a dialect; applyReaction picks the matching hash and, for the channel form, requires an exact sender-name match (a node name can carry emoji and variation selectors) - pending_reactions.dart: a reaction arriving before its target is held and retried rather than silently dropped, bounded at 50 entries with a 15 minute TTL and a warn-level log on expiry (closes the silent-drop path in #382) - the channel dedup key now includes the reacting sender, so two people sending the same emoji no longer collapse into one - notification tray summarises the foreign format as a reaction instead of showing the raw token Known limitation: on channels with Smaz or Cyr2Lat enabled the wire text differs from the text we store, so a hash computed by another client will not match. Flagged for a decision rather than worked around. Epic #376. Fast-follow #383 adds reactor identity. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
4 months ago |
|
|
5b23549054 |
feat(#283): render pasted Giphy/Tenor URLs inline behind a host allowlist
Pasted GIF links rendered as plain text because parseGif only matched the compact forms. Adds GifHelper.resolveGifUrl, which maps any supported payload to the URL that renders it, and widens coverage to the links people actually paste. Allowlist is deliberately narrow, Giphy and Tenor only. Off-list URLs return null and stay plain tap-to-open links, never auto-fetched: auto-loading a stranger's URL leaks the viewer's IP and enables tracking-pixel abuse, and inline-rendering unmoderated hosts is a malware and inappropriate-content vector. Tests pin the rejections, including a lookalike host (giphy.com.evil.example) and a general image host (imgur). Newly rendered: - i.giphy.com/<id>.gif and .webp, the form a browser copy produces - media.tenor.com and c.tenor.com direct assets A tenor.com/view/<slug>-<id> PAGE url is deliberately NOT matched. The modern Tenor CDN path uses an opaque hash that cannot be derived from the page id, so resolving one requires the Tenor API and a key. Such a link stays plain rather than silently rendering the wrong image. Supporting it is a separate decision. Also removes the hardcoded 'https://media.giphy.com/media/$gifId/giphy.gif' literal duplicated across all four render call sites. That duplication is the same drift that caused the #284 notification regression, where a second hand-rolled copy of GIF detection went stale. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
4 months ago |
|
|
006c365d25 |
feat(#282): send a Giphy URL instead of g:<code> for cross-client GIFs
The picker emitted `g:<id>`, a convention that exists only in this Flutter client lineage's parseGif (inherited from upstream, not a MeshCore protocol feature). A recipient on stock or any non-lineage client has no way to expand it, so a GIF arrived as opaque text (#223). encodeGif now emits `https://giphy.com/gifs/<id>`, a form parseGif already matches, so: - stock clients receive a tappable URL they can actually open - Offband keeps rendering inline with no render-side change - legacy `g:<id>` payloads still decode, back-compat unchanged Cost is ~41B vs ~20B against a ~160B payload. A full message carrying sender prefix + reply mention + URL measures ~79B, roughly half the cap. Checked, and did NOT change, the outbound structured-payload guard in prepareContactOutboundText/prepareChannelOutboundText: Smaz.encodeIfSmaller declines to compress a URL (base64 overhead exceeds the dictionary gain) and Cyr2Lat passes unmapped ASCII through, so a GIF URL survives intact without widening the guard. Both pinned as regression tests instead. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
4 months ago |
|
|
189751c561 |
feat(#285): ingest RX time logging + persisted rxTime (arrival vs claimed)
Every received DM/channel message now logs arrival wall-clock vs the sender-claimed payload timestamp (delta + TIME ANOMALY marker beyond 24h), routed directly to AppDebugLogService so the rotating on-disk trail is unconditional. Models persist a nullable rxTime set at every live ingest construction site; legacy stored records stay null. Diagnostic child of #280. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
4 months ago |
|
|
edd9530c25 |
fix(#235): render inline @[Name] mention chips + reply-gifs
Two shared-root render gaps (message tokens were only matched at fixed positions): - TranslatedMessageContent: parse @[Name] anywhere (leading, inline, or repeated) and render each as a chip; messages without a mention keep full link support (#233). - GifHelper.parseGif: strip a leading `@[Name] ` reply prefix before matching so a reply-with-gif resolves to the gif instead of literal text; arbitrary text before a gif is still left as text (#232). Tests: parseGif reply/format cases + widget tests for inline/leading/multiple mention chips. Full suite 402 green. Part of #233, #232. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
5 months ago |
|
|
4af5394a88 |
feat(#186): topology service + readout + RX ingestion + route-builder UX
|
5 months ago |
|
|
7c46f1d662 |
fix(#150): width-matched path trace (send path_sz, build/parse width-byte hops)
The trace was width-1 end to end (flags=0, a 1-byte path, and a
1-byte-per-hop parse + render), so on a 2-/3-byte path-hash mesh it
returned 1-byte hops (`6A`, not `6Axx`) and failed to route where a
1-byte prefix is ambiguous ("Path trace not available").
- Send: path_sz = floor(log2(width)); build width-byte hops — the
repeater/room "Ping" prefixes (contacts_screen), the round-trip
buildPath (now mirrors by hop, not byte), and the map trace builder.
- Parse: read the flag byte for the hop width, group the hash bytes into
packed width-byte hops, key contacts by the full prefix, 1 SNR per hop.
- Render: list panel + markers + map points iterate packed hops, labelled
at the configured width.
PathHelper gains tracePathSz / traceHopBytes / packPrefix / tracePathHops
/ buildTraceRoundTrip, all unit-tested (incl. width-2 hop mirroring).
Bumps build to +47 for the b47 test binary.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
5 months ago |
|
|
497931955f |
chore(#154): dart format path_helper_test (CI format gate)
|
5 months ago |
|
|
09e29f6782 |
fix(#154): make PathHelper width-aware (chat + path-management path displays)
PathHelper.formatPathHex / resolvePathNames assumed 1 byte per hop, so the direct-chat "full path" and path-management dialogs rendered routing paths per-byte (84,AB instead of 84AB) and resolved hop names by a single byte on 2-/3-byte path-hash meshes. Group bytes into pathHashByteWidth-sized hops and match hop names by the full-width prefix. - formatPathHex(bytes, width) / resolvePathNames(bytes, contacts, width) group into width-byte hops (trailing partial hop kept); name match uses the full hop prefix. - chat_screen + path_management_dialog pass connector.pathHashByteWidth. analyze clean; 7 PathHelper tests (incl. width-2 collision-avoidance); Gemini: ship. Closes #154 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
5 months ago |
|
|
d2cca1da82 |
fix(#28): guard settings onChanged persisters against silent failures (panes)
Settings onChanged/onTap callbacks fire-and-forgot AppSettingsService Future<void> setters, so a persist failure rejected unhandled and was swallowed. Add a shared persistSetting(context, action) helper that awaits the setter in a try/catch and shows a dismissible error SnackBar, capturing the messenger before the await so it survives a picker-dialog pop. Wrap the 27 onChanged/onTap setter sites in app_settings_view + message_settings_view; setAppDebugLogEnabled and setNotificationsEnabled (which await + show their own confirmation) get an inline try/catch instead. Covers the two onChanged panes; the settings_screen action flows (GPX export, location dialogs, version-info mounted guard) follow in a second pass, so #28 stays open. Error strings are English for now (separate settings l10n sweep). Adds a persistSetting widget test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
5 months ago |
|
|
4962a48e64 |
Msg Retry fixes, channel message fixes. Notification fixes. Make more desktop friendly. Enhance retry algo. Fix predicted location clustering add retries to reactions and fix the reactions in private DMS centralize and cleanup code in var areas
|
8 months ago |