Commit Graph

212 Commits

Author SHA1 Message Date
zjs81 760d8e1db3 Update localization files and improve path map UI
- Added new localization strings for Swedish, Ukrainian, and Chinese languages in app_sv.arb, app_uk.arb, and app_zh.arb respectively.
- Enhanced the path map UI in channel_message_path_screen.dart for better readability and interaction.
- Improved message retry logic in message_retry_service.dart to prevent double-pumping of queues.
- Bumped version number in pubspec.yaml to 9.5.0+13.
- Cleared untranslated strings in untranslated.json to reflect current localization status.
2026-06-13 01:58:42 -07:00
zjs81 5ea6b17b16 feat: enhance MeshCoreConnector with improved timeout calculation and path resolution; add PathHopResolver for better contact resolution 2026-06-13 00:36:45 -07:00
zjs81 3707acb124 Refactor code structure and remove redundant sections for improved readability and maintainability 2026-06-12 22:55:41 -07:00
Zach 6a31d304d3 feat: update license type to nonprofit and add jni to plugin lists; bump dependencies for flutter_local_notifications, package_info_plus, share_plus, flutter_blue_plus_platform_interface, and llamadart 2026-06-11 10:08:31 -07:00
zjs81 26fdf74d69 Refactor UI code for better readability and consistency
- Improved formatting of ListTile icons and text styles in settings_screen.dart, telemetry_screen.dart, usb_screen.dart, gif_picker.dart, path_editor_sheet.dart, repeater_login_dialog.dart, and room_login_dialog.dart for better readability.
- Consolidated TextStyle definitions into single lines where applicable.
- Updated notification_service.dart to enhance readability of notification ID assignment.
- Simplified function signatures in routing_sheet.dart for clarity.
- Cleaned up test assertions in usb_flow_test.dart for conciseness.
- Removed unused translations in untranslated.json to streamline localization files.
2026-06-11 00:28:13 -07:00
zjs81 cba1e5950c feat: add contact UI helpers and path editor for routing management
- Implemented contactTypeIcon and contactTypeColor functions for better UI representation of contact types.
- Created colorForName and firstCharacterOrEmoji functions to enhance contact display.
- Developed PathEditorSheet widget for managing contact paths with a user-friendly interface.
- Introduced RoutingSheet for managing contact routing modes and displaying path history.
- Added a script for generating proof of concept (PoC) payloads for clipboard contact import validation.
2026-06-11 00:07:12 -07:00
HDDen d68f755677 Merge branch 'dev' into telemetry-gps-map 2026-05-26 20:58:57 +03:00
HDDen 8dd385beed Merge branch 'dev' into sync-progressbar 2026-05-26 00:44:08 +03:00
HDDen 2328848400 Onstart sync progressbar: fix potential bug with spinner on interrupt synchronization 2026-05-26 00:37:42 +03:00
HDDen ed0e6b6554 Onstart sync progressbar: init 2026-05-23 21:06:52 +03:00
ericz 8682e6ea67 fix missing _handleQueuedMessageReceived after merge of dev 2026-05-21 00:02:21 +02:00
ericz 3fe5cdf55d update to current dev a50c0d0b2d 2026-05-20 23:20:16 +02:00
ericz 9ada4ea601 add toggle for autmatically translated messages for notification and chat or manual translation on message action. Due to heavy battery usage. 2026-05-20 21:24:54 +02:00
HDDen 7a823654df Telemetry: room-server request fix #2
The telemetry parser has been expanded and should now support significantly more metrics. It has been ported from the Python implementation of meshcore_py.
2026-05-19 23:17:06 +03:00
HDDen 72448f67d0 Room-server: fixed first message letters trim 2026-05-17 13:20:49 +03:00
ericz bc5f299350 try fix codex sync problem 2026-05-17 10:47:50 +02:00
ericz 1fbe1823cb only take translated result if status==completed 2026-05-13 18:06:26 +02:00
ZIER f941f0dbfa avoid double translation and strip replyInfo from translated text. 2026-05-13 13:20:07 +02:00
zjs81 e738664f89 Merge pull request #448 from zjs81/main
Main
2026-05-12 09:54:39 -07:00
zjs81 e37616fa15 Merge pull request #145 from pioneer/unread-peoplefirst
Unread badges for tabs
2026-05-12 09:53:33 -07:00
Serge Tarkovski 77018dc358 Recompute channels unread total after cachedChannels is updated 2026-05-12 00:47:26 +03:00
Max Cooley 703d5a1ec4 Add "NRF52" as a device name prefix 2026-05-10 17:12:48 -07:00
ericz d2a6fbe182 translate notifications. 2026-05-10 11:09:25 +02:00
zjs81 e92a66ff28 Update MeshCoreConnector to optimize GPS response handling and increment version to 9.0.0 2026-05-09 19:29:06 -07:00
HDDen 9f332e93be Merge branch 'dev' of https://github.com/zjs81/meshcore-open into dev 2026-05-09 02:18:00 +03:00
zjs81 74840d3baf Optimistically update currentCustomVars in setCustomVar
Reflect the set value immediately so UI bound to currentCustomVars
(e.g. the GPS toggle in settings) updates on tap rather than waiting
for a later device-info refresh.
2026-05-08 13:37:51 -07:00
zjs81 4a72fbd1ad Apply dart format 2026-05-08 13:37:17 -07:00
zjs81 dbe0a5411b Merge remote-tracking branch 'origin/dev' into gps-toggle-in-settings
# Conflicts:
#	lib/l10n/app_bg.arb
#	lib/l10n/app_de.arb
#	lib/l10n/app_es.arb
#	lib/l10n/app_fr.arb
#	lib/l10n/app_hu.arb
#	lib/l10n/app_it.arb
#	lib/l10n/app_ja.arb
#	lib/l10n/app_ko.arb
#	lib/l10n/app_localizations_es.dart
#	lib/l10n/app_localizations_it.dart
#	lib/l10n/app_localizations_nl.dart
#	lib/l10n/app_localizations_pt.dart
#	lib/l10n/app_localizations_sv.dart
#	lib/l10n/app_localizations_uk.dart
#	lib/l10n/app_nl.arb
#	lib/l10n/app_pl.arb
#	lib/l10n/app_pt.arb
#	lib/l10n/app_ru.arb
#	lib/l10n/app_sk.arb
#	lib/l10n/app_sl.arb
#	lib/l10n/app_sv.arb
#	lib/l10n/app_uk.arb
#	lib/l10n/app_zh.arb
2026-05-08 13:36:16 -07:00
zjs81 dc3325ec46 Refactor repeater status screen and settings screen; add GPS toggle
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 13:27:05 -07:00
zjs81 a92e57bb64 Revert "Refactor repeater status screen and settings screen; add GPS toggle"
This reverts commit e21f3106d0.
2026-05-08 13:24:22 -07:00
zjs81 e21f3106d0 Refactor repeater status screen and settings screen; add GPS toggle
- Updated _RepeaterStatusScreenState to load status after the first frame to avoid mid-build notifyListeners() calls.
- Removed unused _statusRequestedAt variable and adjusted _clockText() to use repeaterClockAtLogin for time display.
- Enhanced _SettingsScreenState with a GPS toggle switch that updates custom variables for GPS settings.
- Cleaned up RepeaterCommandService by removing redundant pending command checks and adjusted command ID generation.
- Removed jni plugin from generated_plugins.cmake for both Linux and Windows platforms.
2026-05-08 13:20:53 -07:00
HDDen 0dcb5f05f0 Merge branch 'dev' of https://github.com/zjs81/meshcore-open into dev 2026-05-08 01:14:21 +03:00
kingult dfcf13a97b fix: lat/lon double-write in buildUpdateContactPathFrame
The function emitted two consecutive 8-byte position blocks instead of
one, producing a frame 8 bytes longer than the documented layout. When
a caller passed lastModified, the firmware parsed the duplicated second
lat as the timestamp, giving wildly wrong "last seen" values on
imported contacts.

Delete the unconditional first block; keep the conditional block that
correctly skips the optional tail when neither location nor
lastModified is set, zero-fills position slots when only lastModified
is present, and appends the optional timestamp.

Adds test/connector/build_update_contact_path_frame_test.dart with
five cases covering all four optional-tail combinations plus the
fixed-point lat/lon encoding.

Fixes #427
2026-05-06 16:03:03 -07:00
HDDen f6cc000788 Merge branch 'dev' of https://github.com/zjs81/meshcore-open into dev 2026-05-01 09:58:18 +03:00
zjs81 f1d93bd5e8 Merge pull request #399 from zjs81/contacts-sync
fix issues with contact sync
2026-04-30 15:41:25 -07:00
HDDen f63d50f0da sync last dev with cyr2lat 2026-05-01 01:38:31 +03:00
Ded 026ec6f7de bump app protocol version as we support v4+ features (#398) 2026-04-28 22:35:48 -07:00
HDDen ca6058eccd Merge branch 'dev' of https://github.com/zjs81/meshcore-open into dev 2026-04-28 16:26:42 +03:00
zjs81 2950a9a687 Merge branch 'dev' into pr-404-merge 2026-04-27 13:23:53 -07:00
zjs81 e54f30d6fb Merge pull request #414 from Diadlo/fix/jump_to_unread
Improve work with unread messages
2026-04-27 13:11:00 -07:00
Dmitry Polshakov 00e4f52d75 feat(chat): add "Mark as Unread" action and unread messages divider
- Add "Mark as Unread" option to message context menu in both
  contact and channel chats
- Show "New messages" divider line between read and unread messages
- Add setContactUnreadCount/setChannelUnreadCount methods to connector

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-26 15:58:03 +03:00
HDDen f56c28a27d synced with last dev, added profiles for cyr2lat replacement dictionaries 2026-04-25 01:39:28 +03:00
Serge Tarkovski b7d0db8d1c Refactor: move Contact UI labels to l10n extension; rename raw getter to typeLabelRaw 2026-04-25 00:29:20 +03:00
HDDen 609d0c8dbc Added Cyr2Lat compression by replacing 2-byte cyrillic chars by 1-byte latin 2026-04-22 04:20:20 +03:00
Enot (ded) Skelly 820bac0db0 fix issues with contact sync
this adds the actual last modified timestamp when present, before we used
last advert time as last modified in error

also sets _pendingInitialContactsSync to true on first connect over BLE
2026-04-21 16:44:04 -07:00
Serge Tarkovski 7d457cb863 Merge main into unread-peoplefirst
Resolved conflicts by accepting refactored state management from main:
- list_filter_widget.dart: Adopt sealed class pattern for filter actions
- contacts_screen.dart: Move state to UiViewStateService instead of local setState
- device_screen.dart: Accept deletion (consolidated into other screens in main)

Main branch includes significant improvements:
- TCP and USB transport support
- Service-based state management with UiViewStateService
- Translation support with message translation buttons
- Signal UI consistency improvements
- Additional language support (hu, ja, ko)
- Comprehensive test coverage
- Discovery screen refactoring
2026-04-21 16:45:43 +03:00
Serge Tarkovski 297516fc80 Update cached unread total when removing contact unread entries
When contacts are removed in removeContact, _handleContact, or _handleContactAdvert,
subtract their unread count from _cachedContactsUnreadTotal immediately so badge
counts reflect the true total without waiting for a full reload.
2026-04-21 16:34:22 +03:00
ericz b572314ae9 respect smaz encoding in message byte length calculation. 2026-04-15 09:04:08 -07:00
just-stuff-tm c7b7deb0f6 fix(settings): preserve preset across off-grid repeat 2026-04-09 09:41:02 -07:00
Winston Lowe 26516baf67 Update ML timeout handling and adjust distance threshold for path hops 2026-04-09 09:30:25 -07:00