Fix review findings, add default flood scope, and address recent issues

Review fixes:
- Keep stored message history beyond the 200-message window; stop
  messages leaking between radios; reset link/session state on disconnect
- Accept firmware's 176-byte RX frames over USB/TCP
- Hold APP_START during contact sync; contact-sync watchdog; replay DMs
  from not-yet-known senders; tombstone late command replies; finish
  channel sync on ERR_NOT_FOUND; fail region-scoped sends cleanly
- DM retry watchdog when RESP_CODE_SENT never arrives; late repeater CLI
  replies; ACK hash collisions; UTF-8-safe name truncation
- Image pipeline: delete-during-decode, lifecycle cancels, decoder memory
  release, entry cap, dead worker recovery, atomic model writes
- Storage: deterministic reaction hash across web/native, Smaz
  double-decode, per-entry parsing, per-radio path history and regions,
  review-mode data isolation
- UI: safe channel slot selection, byte-length name limits, double-send
  guard, mounted checks, localized hardcoded strings
- Skip persisted-store reload on repeat SELF_INFO

Features:
- Radio default flood scope (firmware ver 11+) and explicit unscoped
  sends (ver 12+)
- Scan for nearby nodes (#570)
- Optional distinct first-hop repeater counting for channel resend (#589)
- Optional region next to hop count (#580)

Issues:
- Message text follows system font size (#569)
- Repeater/room password field accepts 20 chars (#576)
- TCP auto-reconnect and keepalive (#571)
- Order feeds by local receive time; flag future timestamps (#584)
- Coding rate help text (#568), French "Favoris" (#575)
- iOS/macOS app badge now clears

Translations for all new strings in every locale.
This commit is contained in:
zjs81 committed 2026-10-11 01:25:31 -07:00
1 parent a64a33d0c0
commit 25f197c979
120 files changed
+10424 -687

No files matched your search

+313 -1
View File
@@ -880,6 +880,42 @@ abstract class AppLocalizations {
/// **'None'**
String get settings_regionDefaultNone;
/// No description provided for @settings_regionUseRadioDefault.
///
/// In en, this message translates to:
/// **'Radio default ({region})'**
String settings_regionUseRadioDefault(String region);
/// No description provided for @settings_regionNoRegion.
///
/// In en, this message translates to:
/// **'No region (unscoped)'**
String get settings_regionNoRegion;
/// No description provided for @settings_regionRadioDefault.
///
/// In en, this message translates to:
/// **'Radio default region'**
String get settings_regionRadioDefault;
/// No description provided for @settings_regionRadioDefaultSubtitle.
///
/// In en, this message translates to:
/// **'Saved on the radio. Floods sent without a region use it, from this app and any other app connected to the radio.'**
String get settings_regionRadioDefaultSubtitle;
/// No description provided for @settings_regionRadioDefaultUpdated.
///
/// In en, this message translates to:
/// **'Radio default region updated'**
String get settings_regionRadioDefaultUpdated;
/// No description provided for @settings_regionRadioDefaultFailed.
///
/// In en, this message translates to:
/// **'Could not update the radio default region'**
String get settings_regionRadioDefaultFailed;
/// No description provided for @settings_regionManagement_screenTitle.
///
/// In en, this message translates to:
@@ -1369,7 +1405,7 @@ abstract class AppLocalizations {
/// No description provided for @settings_radioMatchWarning.
///
/// In en, this message translates to:
/// **'All nodes you talk to must use the same frequency, bandwidth, SF and CR.'**
/// **'All nodes you talk to must use the same frequency, bandwidth and SF. The coding rate (CR) can differ.'**
String get settings_radioMatchWarning;
/// No description provided for @settings_frequency.
@@ -1654,6 +1690,18 @@ abstract class AppLocalizations {
/// **'Resend up to {count, plural, =1{1 time} other{{count} times}}'**
String appSettings_channelMinHopsRetries(int count);
/// No description provided for @appSettings_channelMinHopsCountRepeaters.
///
/// In en, this message translates to:
/// **'Also count different nearby repeaters'**
String get appSettings_channelMinHopsCountRepeaters;
/// No description provided for @appSettings_channelMinHopsCountRepeatersSubtitle.
///
/// In en, this message translates to:
/// **'Treat the message as sent when {count, plural, =1{1 nearby repeater} other{{count} different nearby repeaters}} repeat it, even if you can\'t hear it travel further.'**
String appSettings_channelMinHopsCountRepeatersSubtitle(int count);
/// No description provided for @appSettings_enableMessageTracing.
///
/// In en, this message translates to:
@@ -1666,6 +1714,18 @@ abstract class AppLocalizations {
/// **'Also show repeat counts and trip times. Long-press a message and choose Path for full details.'**
String get appSettings_enableMessageTracingSubtitle;
/// No description provided for @appSettings_regionOnHopsLine.
///
/// In en, this message translates to:
/// **'Region next to hop count'**
String get appSettings_regionOnHopsLine;
/// No description provided for @appSettings_regionOnHopsLineSubtitle.
///
/// In en, this message translates to:
/// **'Show a channel message\'s region on the same line as its hop count instead of below it.'**
String get appSettings_regionOnHopsLineSubtitle;
/// No description provided for @appSettings_notifications.
///
/// In en, this message translates to:
@@ -2890,6 +2950,18 @@ abstract class AppLocalizations {
/// **'(default)'**
String get channels_regionDefaultSuffix;
/// No description provided for @channels_regionRadioDefaultSuffix.
///
/// In en, this message translates to:
/// **'(radio default)'**
String get channels_regionRadioDefaultSuffix;
/// No description provided for @channels_regionRadioDefaultApplies.
///
/// In en, this message translates to:
/// **'This radio sends floods without a region in its default region: {region}.'**
String channels_regionRadioDefaultApplies(String region);
/// No description provided for @channels_regionSelectExplanation.
///
/// In en, this message translates to:
@@ -2962,6 +3034,12 @@ abstract class AppLocalizations {
/// **'Type a message...'**
String get chat_typeMessage;
/// No description provided for @chat_futureTimestampWarning.
///
/// In en, this message translates to:
/// **'This message\'s time is in the future, so the sender\'s clock may be wrong. It is shown in the order it arrived.'**
String get chat_futureTimestampWarning;
/// No description provided for @chat_messageTooLong.
///
/// In en, this message translates to:
@@ -8272,6 +8350,72 @@ abstract class AppLocalizations {
/// **'Are you sure you want to delete all discovered contacts?'**
String get discoveredContacts_deleteContactAllContent;
/// No description provided for @discoveredContacts_scan.
///
/// In en, this message translates to:
/// **'Scan for nearby nodes'**
String get discoveredContacts_scan;
/// No description provided for @discoveredContacts_scanTitle.
///
/// In en, this message translates to:
/// **'Nearby nodes'**
String get discoveredContacts_scanTitle;
/// No description provided for @discoveredContacts_scanExplanation.
///
/// In en, this message translates to:
/// **'Asks nodes within direct radio range to identify themselves. Repeaters and sensors answer. Room servers and companions usually don\'t.'**
String get discoveredContacts_scanExplanation;
/// No description provided for @discoveredContacts_scanning.
///
/// In en, this message translates to:
/// **'Scanning…'**
String get discoveredContacts_scanning;
/// No description provided for @discoveredContacts_scanFound.
///
/// In en, this message translates to:
/// **'{count, plural, =1{1 node found} other{{count} nodes found}}'**
String discoveredContacts_scanFound(int count);
/// No description provided for @discoveredContacts_scanNoResults.
///
/// In en, this message translates to:
/// **'No nodes answered. Repeaters limit how often they reply, so try again in a minute.'**
String get discoveredContacts_scanNoResults;
/// No description provided for @discoveredContacts_scanAgain.
///
/// In en, this message translates to:
/// **'Scan again'**
String get discoveredContacts_scanAgain;
/// No description provided for @discoveredContacts_scanFailed.
///
/// In en, this message translates to:
/// **'Could not send the scan request.'**
String get discoveredContacts_scanFailed;
/// No description provided for @discoveredContacts_scanSignal.
///
/// In en, this message translates to:
/// **'Signal {snr} dB · they heard us at {remoteSnr} dB'**
String discoveredContacts_scanSignal(String snr, String remoteSnr);
/// No description provided for @discoveredContacts_scanInContacts.
///
/// In en, this message translates to:
/// **'Already in contacts'**
String get discoveredContacts_scanInContacts;
/// No description provided for @discoveredContacts_scanNameLater.
///
/// In en, this message translates to:
/// **'Name appears after its next advert'**
String get discoveredContacts_scanNameLater;
/// No description provided for @chat_sendCooldown.
///
/// In en, this message translates to:
@@ -9363,6 +9507,174 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Could not start review mode: {error}'**
String reviewMode_connectFailed(String error);
/// Snackbar when the user tries to add a channel before the channel list has fully synced
///
/// In en, this message translates to:
/// **'Channels are still loading from the radio. Try again when the sync finishes.'**
String get channels_waitForSync;
/// Snackbar when a channel name would not fit on the radio
///
/// In en, this message translates to:
/// **'Name is too long (max {maxBytes} bytes).'**
String channels_nameTooLong(int maxBytes);
/// Save error when a changed repeater setting was left empty
///
/// In en, this message translates to:
/// **'{field}: enter a value'**
String repeater_valueRequired(String field);
/// No description provided for @losMapDetailTooltip.
///
/// In en, this message translates to:
/// **'Map detail'**
String get losMapDetailTooltip;
/// No description provided for @losUnitsTooltip.
///
/// In en, this message translates to:
/// **'Units'**
String get losUnitsTooltip;
/// No description provided for @losDistance.
///
/// In en, this message translates to:
/// **'Distance'**
String get losDistance;
/// No description provided for @losClearance.
///
/// In en, this message translates to:
/// **'Clearance'**
String get losClearance;
/// No description provided for @losBlockedBy.
///
/// In en, this message translates to:
/// **'Blocked by'**
String get losBlockedBy;
/// No description provided for @losObstruction.
///
/// In en, this message translates to:
/// **'Obstruction'**
String get losObstruction;
/// Distance of the worst obstruction from point A, e.g. "1.2 km from A"
///
/// In en, this message translates to:
/// **'{distance} from A'**
String losDistanceFromA(String distance);
/// Badge on the worst obstruction in the list
///
/// In en, this message translates to:
/// **'WORST'**
String get losWorstBadge;
/// How much an obstruction blocks the beam, e.g. "Blocked 12 m"
///
/// In en, this message translates to:
/// **'Blocked {amount}'**
String losBlockedAmount(String amount);
/// No description provided for @losFromA.
///
/// In en, this message translates to:
/// **'From A'**
String get losFromA;
/// No description provided for @losFromB.
///
/// In en, this message translates to:
/// **'From B'**
String get losFromB;
/// No description provided for @losElevation.
///
/// In en, this message translates to:
/// **'Elevation'**
String get losElevation;
/// No description provided for @losCenterOnMap.
///
/// In en, this message translates to:
/// **'Center on map'**
String get losCenterOnMap;
/// Line-of-sight status
///
/// In en, this message translates to:
/// **'Clear'**
String get losStatusClear;
/// Line-of-sight status
///
/// In en, this message translates to:
/// **'Marginal'**
String get losStatusMarginal;
/// Line-of-sight status and legend entry
///
/// In en, this message translates to:
/// **'Blocked'**
String get losStatusBlocked;
/// Line-of-sight status while the check runs
///
/// In en, this message translates to:
/// **'Checking'**
String get losStatusCheckingShort;
/// Line-of-sight status when there is no result
///
/// In en, this message translates to:
/// **'No result'**
String get losStatusNoResult;
/// Label drawn on the elevation chart at the selected point
///
/// In en, this message translates to:
/// **'Selected'**
String get losSelectedPill;
/// No description provided for @gif_tapToLoad.
///
/// In en, this message translates to:
/// **'Tap to load GIF'**
String get gif_tapToLoad;
/// No description provided for @gif_loadFailedRetry.
///
/// In en, this message translates to:
/// **'Can\'t load GIF\nTap to retry'**
String get gif_loadFailedRetry;
/// No description provided for @qr_cameraPermissionDenied.
///
/// In en, this message translates to:
/// **'Camera permission denied.\nPlease enable camera access in settings.'**
String get qr_cameraPermissionDenied;
/// No description provided for @qr_cameraUnsupported.
///
/// In en, this message translates to:
/// **'Camera not supported on this device.'**
String get qr_cameraUnsupported;
/// No description provided for @qr_cameraStartFailed.
///
/// In en, this message translates to:
/// **'Failed to start camera.\n{details}'**
String qr_cameraStartFailed(String details);
/// No description provided for @imageMessages_downloadFailedWithError.
///
/// In en, this message translates to:
/// **'The image model could not be downloaded: {error}'**
String imageMessages_downloadFailedWithError(String error);
}
class _AppLocalizationsDelegate