feat: add retention period to meshLog. Defaults to 7 days, with a settings dropdown to change (#4078)

This commit is contained in:
Mac DeCourcy 2026-01-02 10:14:16 -08:00 committed by GitHub
parent dc9e51f18f
commit 6f338c4cde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 396 additions and 8 deletions

View file

@ -16,7 +16,7 @@
-->
<resources>
// Language tags native names (not available via .getDisplayLanguage)
<!-- Language tags native names (not available via .getDisplayLanguage) -->
<string name="fr_HT" translatable="false">Kreyòl ayisyen</string>
<string name="pt_BR" translatable="false">Português do Brasil</string>
<string name="zh_CN" translatable="false">简体中文</string>
@ -226,6 +226,17 @@
<string name="debug_export_cancelled">Export canceled</string>
<string name="debug_export_success">%1$d logs exported</string>
<string name="debug_export_failed">Failed to write log file: %1$s</string>
<string name="debug_export_no_logs">No logs to export</string>
<plurals name="log_retention_hours">
<item quantity="one">%1$d hour</item>
<item quantity="other">%1$d hours</item>
</plurals>
<plurals name="log_retention_days_quantity">
<item quantity="one">%1$d day</item>
<item quantity="other">%1$d days</item>
</plurals>
<string name="debug_filters">Filters</string>
<string name="debug_active_filters">Active filters</string>
<string name="debug_default_search">Search in logs…</string>
@ -515,6 +526,9 @@
<string name="messages">Messages</string>
<string name="device_db_cache_limit">Device DB cache limit</string>
<string name="device_db_cache_limit_summary">Max device databases to keep on this phone</string>
<string name="log_retention_days">MeshLog retention period</string>
<string name="log_retention_days_summary">Choose how long to keep logs. Select Never to keep all logs.</string>
<string name="log_retention_never">Never delete logs</string>
<string name="detection_sensor_config">Detection Sensor Config</string>
<string name="detection_sensor_enabled">Detection Sensor enabled</string>
<string name="minimum_broadcast_seconds">Minimum broadcast (seconds)</string>