Commit Graph

933 Commits

Author SHA1 Message Date
Nick fac24a16b5 Merge branch 'main' into features/lockdown-v2 2026-06-03 12:06:56 -04:00
renovate[bot] 7efbc699da chore(deps): update com.github.luben:zstd-jni to v1.5.7-10 (#5721) 2026-06-02 21:21:49 -05:00
James Rich e50ab28d12 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5718)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-06-02 21:04:05 -05:00
renovate[bot] ef4ef8e2f5 chore(deps): update core/proto/src/main/proto digest to 6b1ded4 (#5712) 2026-06-02 12:11:17 -05:00
Nick 9de017bd35 Merge branch 'main' into features/lockdown-v2 2026-06-02 09:13:15 -04:00
James Rich c590fe4676 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5698)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-06-01 12:33:22 +00:00
renovate[bot] 0e068053bc chore(deps): update core/proto/src/main/proto digest to c4540bb (#5688) 2026-05-31 12:27:53 -05:00
James Rich cca7c274b9 fix: address top Crashlytics crashes and non-fatals for build 29320984 (#5684)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-31 14:16:10 +00:00
James Rich ba163c40a9 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5682)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-31 07:38:20 -05:00
renovate[bot] dee5c3d0dc chore(deps): update core/proto/src/main/proto digest to a0a2239 (#5676)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-30 14:42:45 -05:00
James Rich 47a1450589 Merge remote-tracking branch 'origin/main' into pr/5439/features/lockdown-v2
# Conflicts:
#	core/proto/build.gradle.kts
#	core/proto/src/main/proto
2026-05-30 10:35:16 -05:00
James Rich c7fbc6e9d3 fix: address top Crashlytics crashes in beta 2.7.14 (#5672)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-30 15:01:29 +00:00
Ben Meadors ad6144189f fix(takserver): drop CoT the mesh delivers more than once (#5667)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-30 14:05:42 +00:00
Ben Meadors 4888592e07 fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh (#5661)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 15:36:50 -05:00
Ben Meadors f92f5d5769 Revert "fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1"
This commit landed on main outside the PR process and pins takpacket-sdk 0.5.1, which is not yet published to Maven Central — breaking the build. Reverting to restore a green main; the fix is being re-submitted as a pull request that will merge once 0.5.1 is available on Central.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 13:35:47 -05:00
Ben Meadors 0047e4d152 fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1
The reconstructed contact endpoint (0.0.0.0:4242:tcp) made ATAK treat mesh peers as directly reachable, so directed messages (TAK-Talk <marti>, GeoChat to a callsign) were delivered to a dead address instead of the Meshtastic server stream and never hit the mesh — broadcast PLI was unaffected. Use the TAK 'reply via this server' endpoint *:-1:stcp (DEFAULT_TAK_ENDPOINT) and bump TAKPacket-SDK to 0.5.1, which fixes the same default in the SDK's CotXmlBuilder.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 12:44:34 -05:00
Ben Meadors 8bdb0916b4 feat(takserver): Upgrade TAKPacket-SDK to v0.5.0 and delegate sanitization to SDK (#5658)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-29 16:30:26 +00:00
renovate[bot] 0cc18cd7dd chore(deps): update core/proto/src/main/proto digest to dd6c3f8 (#5654) 2026-05-29 08:08:32 -05:00
niccellular 8cab967c14 feat(lockdown): gate toggle on Capabilities.supportsLockdown; soften enable warning
- Add Capabilities.supportsLockdown (atLeast V2_8_0) and gate the security-screen
  lockdown toggle visibility on it, consistent with the other firmware-version
  capability flags. SecurityConfigScreen computes Capabilities from the connected
  node's firmware_version; LockdownModeSetting takes a `supported` flag.
- Reword the enable-lockdown warning: it's reversible (disable with passphrase, or
  a full erase), so drop the inaccurate "permanent/irreversible" framing and the
  red error styling; rename strings lockdown_irreversible_* -> lockdown_enable_*.
- Update CapabilitiesTest for the V2_8_0 floor.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 18:36:20 -04:00
niccellular 28f92d07f2 test: fix Kotlin/Native test compile for lockdown changes
The CI shard-core allTests job compiles commonTest for the iosSimulatorArm64
target, which surfaced issues the JVM-only local run missed:

- Update stale test fakes to the current interfaces: FakePassphraseStore
  (maxSessionSeconds on savePassphrase) and core/takserver's FakeCommandSender /
  FakeServiceRepository (lockdown send + state members). These predate this
  change but only the Native test compile catches them.
- Rename the DISABLED test: Kotlin/Native rejects commas in backtick names.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 16:49:11 -04:00
niccellular d0857ef278 feat(lockdown): runtime enable/disable toggle and DISABLED state
Make lockdown a runtime, user-toggleable setting rather than a one-way lock:

- Thread a `disable` flag through the lockdown send path (CommandSender,
  LockdownCoordinator, MeshActionHandler, RadioController, AIDL, UIViewModel)
  so the app can send LockdownAuth{passphrase, disable=true} to decrypt
  storage and leave lockdown.
- Add LockdownState.Disabled and map LockdownStatus.State.DISABLED; clear the
  stored passphrase and session authorization when a device reports DISABLED
  (or when the user disables it), so we never auto-unlock a disabled device.
- Add a "Lockdown mode" switch to the security settings screen
  (LockdownModeSetting): enable from DISABLED via a set-passphrase dialog with
  a one-time irreversible-SWD warning + explicit confirm; disable from UNLOCKED
  via a passphrase prompt; "Lock now" and session info while unlocked. The
  setting is hidden when the device never reports lockdown_status (non-capable).
- Tests for the disable round-trip and DISABLED mapping; refresh fakes/strings.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 16:30:37 -04:00
niccellular 2d6425e078 fix(proto): bump submodule to #927 (disable/DISABLED) and drop stale Marti prune
Moves core/proto to PR #927 head (c834f6b), which adds LockdownAuth.disable
and LockdownStatus.State.DISABLED on top of develop. That tree has no
meshtastic.Marti message, so the Marti prune left over from the master merge
was unused and broke generateCommonMainProtos; remove it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 16:30:27 -04:00
James Rich 1d221e2dde fix(ble): stop BLE scan on background and downgrade connection priority (#5644)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 19:16:19 +00:00
niccellular 2f6c8288c4 Merge remote-tracking branch 'origin/main' into features/lockdown-v2
# Conflicts:
#	.specify/feature.json
#	AGENTS.md
#	core/proto/src/main/proto
#	feature/settings/src/commonMain/kotlin/org/meshtastic/feature/settings/radio/component/SecurityConfigScreen.kt
2026-05-28 15:13:33 -04:00
Ben Meadors a5e6894fe8 Enhance TAKTALK support with message and room handling, update SDK to v0.3.2 (#5634)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 17:33:16 +00:00
James Rich d892f43e00 fix(database): stabilize flaky DatabaseManagerWithDbRetryTest (#5635)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 10:44:59 -05:00
James Rich a79e30e698 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5631)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-28 03:42:49 -07:00
renovate[bot] 19ea164f93 chore(deps): update core/proto/src/main/proto digest to e3c8af5 (#5629)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-28 02:42:34 +00:00
James Rich 2277aae6e9 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5625)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-28 00:34:34 +00:00
James Rich fda8f97f32 fix(proto): prune TakTalkMessage and TakTalkRoomData from Wire codegen (#5624)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-27 13:54:52 -05:00
James Rich 562ac73901 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5616) 2026-05-27 12:04:04 -05:00
renovate[bot] 7df0ee08e5 chore(deps): update core/proto/src/main/proto digest to 9ab4a1d (#5617) 2026-05-27 11:57:51 -05:00
James Rich a4522f9f4d fix(flatpak): generate complete offline-buildable manifest for desktopApp (#5610)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 20:33:23 +00:00
renovate[bot] 5431ba87c4 chore(deps): update core/proto/src/main/proto digest to e4219a0 (#5608) 2026-05-26 13:14:11 -05:00
James Rich a95cfdfb72 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5604)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-26 08:04:24 -05:00
James Rich 184d547c78 chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5598)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-25 16:25:01 -05:00
James Rich f17c38bf64 fix(emoji): enable androidResources for core:ui to package emoji-data.json (#5597)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 20:40:55 +00:00
James Rich 55e7f8f3de fix: consistent column width for compact node list items (#5596)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 20:32:31 +00:00
James Rich 684c4a9678 fix: hide battery indicator when level is 0 (never reported) (#5595)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-25 20:12:32 +00:00
James Rich 4b42e2c76c chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5577)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2026-05-22 19:07:46 -07:00
James Rich a67927818b Extract node list display settings to dedicated screen (#5580)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-23 00:01:50 +00:00
James Rich d870141b7c feat(ai): upgrade Chirpy on-device AI with proper APIs, download UX, and streaming (#5579)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-22 23:51:02 +00:00
James Rich 5ec6d80f61 docs: comprehensive documentation audit and refresh (#5572)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-21 20:50:01 -05:00
James Rich 479ed4f7fc chore: Scheduled updates (Firmware, Hardware, Translations, Graphs) (#5563) 2026-05-21 18:19:39 -05:00
renovate[bot] c56432bf02 chore(deps): update core/proto/src/main/proto digest to 59cb394 (#5571) 2026-05-21 18:19:22 -05:00
James Rich 5d9e71da39 feat: node list density switching with compact layout and field toggles (#5444)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-21 17:44:48 -05:00
niccellular 3b02df3e67 Merge remote-tracking branch 'origin/main' into features/lockdown-v2
# Conflicts:
#	.specify/feature.json
#	AGENTS.md
#	core/proto/src/main/proto
2026-05-21 14:01:47 -04:00
James Rich c26ef946b1 feat(docs): upgrade Chirpy assistant with streaming and live diagnostics (#5564) 2026-05-21 10:25:19 -05:00
James Rich e67ebb7a0d feat: enable WAL connection pool for parallel reads (#5372)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-20 19:42:31 -05:00
renovate[bot] 6ffb320099 chore(deps): update com.github.luben:zstd-jni to v1.5.7-9 (#5556) 2026-05-20 19:39:45 -05:00