Commit graph

3447 commits

Author SHA1 Message Date
andrekir
eb80d419eb refactor(logs): add optional portNum parameter to getMeshPacketsFrom 2024-10-23 18:10:08 -03:00
andrekir
fa24dd43b8 refactor: update signalMetrics filter for 0 hop packets 2024-10-23 17:49:47 -03:00
Robert-0410
bb345e7437
feat: Signal Metrics (#1340) 2024-10-23 17:31:31 -03:00
andrekir
551f5c9fc5 refactor: replace InfoCard Painter with ImageVector icons 2024-10-22 12:14:02 -03:00
andrekir
7289896956 refactor: remove largeIcon from notifications 2024-10-22 12:13:34 -03:00
andrekir
3ac0e8c28e refactor: extract NavGraph from RadioConfig 2024-10-21 06:07:28 -03:00
renovate[bot]
b748c124ab chore(deps): update androidx.compose:compose-bom to v2024.10.00 2024-10-20 07:44:42 -03:00
renovate[bot]
4eddf95af1 chore(deps): update androidx.core:core-location-altitude to v1.0.0-alpha03 2024-10-20 07:37:45 -03:00
renovate[bot]
8b08749747 chore(deps): update com.android.tools.build:gradle to v8.7.1 2024-10-20 07:28:19 -03:00
renovate[bot]
93043f7cea chore(deps): update plugin com.google.devtools.ksp to v2.0.21-1.0.25 2024-10-20 07:18:59 -03:00
renovate[bot]
65863542d1 chore(deps): update kotlin_version to v2.0.21 2024-10-20 07:07:26 -03:00
andrekir
8df1634fd6 fix: metrics field validation and current unit (mA) 2024-10-20 06:39:27 -03:00
andrekir
97238ce9ab 2.5.3 2024-10-19 13:46:12 -03:00
andrekir
8af78bc2eb fix(config): show error when radio disconnects before receiving confirmation 2024-10-19 13:29:39 -03:00
andrekir
abcc2e89ec fix(config): move confirmation dialog back to NavHost 2024-10-19 13:29:09 -03:00
andrekir
c98a5c7caf feat: add info cards for environment and power metrics 2024-10-19 13:28:16 -03:00
andrekir
46b3146d6d feat: update Czech localization strings 2024-10-19 05:08:43 -03:00
andrekir
1b1f454b72 feat: add RegionCode for Philippines
https://github.com/meshtastic/firmware/pull/4951
2024-10-19 05:03:43 -03:00
andrekir
d19ddc2d94 feat: add icons to config navigation cards 2024-10-19 05:02:37 -03:00
andrekir
7d08f28118 chore: update proto submodule to v2.5.7 2024-10-19 05:01:17 -03:00
andrekir
6be44675e2 feat: add NodeDetailsScreen with metrics and remote admin navigation 2024-10-18 20:09:37 -03:00
James Rich
b73c53bc11
feat: Add Chronometer and Timestamp to Service Notification (#1327)
Adds a chronometer to the service notification, counting down to the next stats update.
Also adds timestamps to the service notification, message notification, and new node seen notification.
2024-10-18 12:46:56 -03:00
andrekir
85b0cda109 refactor(config): move DeviceProfile data to local variable 2024-10-18 12:39:23 -03:00
andrekir
d10b58073c refactor(config): extract screen logic from NavHost 2024-10-18 12:39:23 -03:00
andrekir
42f9ef24fd refactor(config): move destination node logic to ViewModel 2024-10-18 12:39:23 -03:00
andrekir
2fab9d83f8 refactor(config): move navigation route logic to ViewModel 2024-10-18 12:39:23 -03:00
andrekir
700d8d3460 2.5.2 2024-10-15 06:36:21 -03:00
andrekir
cd5481b549 refactor: remove Scaffold from ChannelFragment 2024-10-15 06:12:35 -03:00
James Rich
f6ec3e8bab
feat: Add notification for new node seen (#1316)
* Add notification for new node seen

This change adds a new notification that is displayed when a new node is seen.
The notification includes the node's
 name.
It also updates the message notification to include the node name.

* Show individual notification for each new node

* Add new nodes notifications

Adds a new notification channel for new nodes seen.
This channel is set to high importance with sound and light.
2024-10-15 06:07:22 -03:00
andrekir
af56fff216 fix: position packet want_response handling
Process valid position broadcasts with `want_response` true except from position requests with an empty payload (latitude and longitude are zeroes).
2024-10-14 18:26:59 -03:00
andrekir
eacf3a87a0 feat: create NodeEntity.isUnknownUser property 2024-10-14 17:20:06 -03:00
Andre K
2050cd0b4b
chore: simplify mock google-services.json workflow (#1313) 2024-10-14 08:13:35 -03:00
andrekir
fe56d257f5 chore: add detekt formatting rule set
https://detekt.dev/docs/next/rules/formatting/
2024-10-14 07:56:29 -03:00
renovate[bot]
056d4a5829 chore(deps): update com.android.tools.build:gradle to v8.7.0 2024-10-13 08:49:19 -03:00
renovate[bot]
9dabd4a04b chore(deps): update org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.9.0 2024-10-13 08:36:57 -03:00
renovate[bot]
44a98db6c0 chore(deps): update com.google.firebase:firebase-bom to v33.4.0 2024-10-13 08:30:39 -03:00
Matthew Bogner
df7ce09fdb
feat: sort device list while keeping None (Disabled) at the top of the list (#1309)
Signed-off-by: Matthew Bogner <matt@ibogner.net>
2024-10-13 08:23:55 -03:00
James Rich
86dc8f2b1c
Replace "unknown" with "?" for unknown hop count (#1308)
This commit replaces the string "unknown" with a question mark ("?") when displaying the hop count for a
 node if the hop count is unknown (-1). This provides a more concise and visually clear indication of an unknown hop count.
2024-10-13 08:17:21 -03:00
James Rich
38942ec557
Add local device stats to the service notification (#1307)
This commit adds the local device stats to the service notification. This information includes the number of online and total nodes, as well as other local stats. It also updates the notification summary and adds local stats telemetry handling.
2024-10-13 08:10:28 -03:00
andrekir
b503c10789 refactor: finish transition from NodeInfo to NodeEntity 2024-10-12 07:14:59 -03:00
James Rich
ed2703c77a fix: Correctly compare hopStart and hopLimit for received packets
fixes: #1304

The calculation of `hopsAway` was using an incorrect comparison between `hopStart` and `hopLimit`. This commit fixes the logic to correctly determine the number of hops a packet has traveled.
2024-10-12 06:20:46 -03:00
James Rich
cf2315cb66
Sort nodes with unknown hops last (#1302)
Nodes with -1 hops (unknown) are now sorted last when sorting by hops_away. This ensures a more intuitive ordering
 in the UI.
2024-10-11 07:54:06 -03:00
James Rich
9bd84d3fc0
refactor: Improve IAQ display to add ranges, update colors (#1300)
* Refactor: Improve IAQ display and add ranges

Adds IAQ ranges to the `Iaq` enum and updates the display to show the ranges alongside the
 descriptions, improving clarity for users.

This change enhances the indoor air quality information by providing context for the different IAQ levels.

* Refactor: Improve IAQ color scheme and add range to description

This commit refactors the Indoor Air Quality (IAQ) component by:

- Updating the color scheme to better reflect air quality levels, using a more standardized and recognizable color palette.
- Adding the IAQ range to the description, providing more context and clarity to the user.
- Adding a preview for the IAQ scale.
- Minor code cleanup and improvements.
2024-10-11 07:46:54 -03:00
andrekir
b857cdda01 2.5.1 2024-10-10 11:06:06 -03:00
andrekir
ad3c0d15ba feat: update Crowdin localization strings 2024-10-10 11:01:43 -03:00
andrekir
45730838e5 feat: adjust map MaxClusteringZoomLevel and zoomOnCluster scale 2024-10-10 11:01:43 -03:00
andrekir
8ab6611ad6 fix(map): boxOverlayListener handling 2024-10-10 11:01:43 -03:00
andrekir
54b59fdb97 fix: DropDownPreference exception when item is not found 2024-10-10 11:01:42 -03:00
andrekir
aa84d47375 feat: add fixed_position to config import/export 2024-10-10 10:54:14 -03:00
andrekir
0062d38c8b feat: add option for 3 admin keys in SecurityConfig 2024-10-09 19:26:48 -03:00