3435 Commits

Author SHA1 Message Date
andrekir 97238ce9ab 2.5.3 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 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 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
James Rich ebe0aeec14 Adds support for known 0 hopsAway (#1295) 2024-10-09 17:04:05 -03:00
andrekir 9cce785556 feat: add RegionCode descriptions to region selection
closes #987
2024-10-09 16:43:05 -03:00
andrekir 23f05c109b fix: remote admin backward compatibility
- only use PKC encryption when the remote node has a public key (2.5 -> 2.5)
- fall back to legacy admin if public key is not available (2.5 -> 2.4)
2024-10-08 08:29:23 -03:00
Robert-0410 3473ef343a Small improvement to the pi approximation (#1292) 2024-10-08 07:10:34 -03:00
andrekir 921f5eb880 chore: add @Preview for IndoorAirQuality 2024-10-06 11:14:06 -03:00
andrekir 0e161d64b3 style: unify AlertDialog shape, background and buttons 2024-10-06 08:52:00 -03:00
andrekir 8af225b998 feat: add new remote admin routing errors 2024-10-06 08:36:22 -03:00
andrekir fe79c9f33d fix: DetectionSensorConfig trigger protobuf change
reference: https://github.com/meshtastic/protobufs/pull/582
2024-10-06 07:27:02 -03:00
andrekir 45991c40be chore: update proto submodule to latest 2024-10-06 07:18:43 -03:00
andrekir c6e72206ea 2.5.0 2.5.0 2024-10-06 05:49:11 -03:00
andrekir 4658e562d5 fix: background, title and buttons for EditWaypointDialog 2024-10-06 05:43:44 -03:00
andrekir d9a9d750de fix: map cluster initialization and marker updates
- prevents duplicate `RadiusMarkerClusterer` overlays
- adds cluster `invalidate()` after marker updates
2024-10-06 05:43:27 -03:00