3421 Commits

Author SHA1 Message Date
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
andrekir
be6ea79c04 refactor(map): set fixed maxZoomLevel (20.0) 2024-10-05 10:06:04 -03:00
andrekir
625bc6837b fix(map): generateBoxOverlay event listener 2024-10-05 09:30:40 -03:00
andrekir
ed1ce77608 refactor(map): wrap variables with remember 2024-10-05 09:26:25 -03:00
danwelch3
48365218e2 feat(map): implement marker clustering (#1287) 2024-10-05 08:59:35 -03:00
James Rich
f689d772d6 fix: Add elevation to NodeItem card (#1286)
This commit adds elevation to the NodeItem card to visually distinguish it.
2024-10-03 19:55:42 -03:00
andrekir
7da2dd8bb7 fix: lock icon colors for better visibility in light theme 2024-10-03 18:30:00 -03:00
James Rich
f944a236ac feat: Adds Request user info (#1279)
* Request user info

* safe calls

* Fix: Ensure NodeInfo is sent when requesting user info

The `requestUserInfo` function now correctly sends `NodeInfo` when requesting user info by using the `
toNodeInfo()` method on `ourNodeInfo`. This ensures the recipient receives the necessary information.

* fix: remove unused parameters, use service's node db for our node entity

---------

Co-authored-by: musznik <bymucha@gmail.com>
2024-10-03 05:02:13 -03:00
andrekir
83c3b484ad 2.4.17 2024-10-02 20:51:06 -03:00
andrekir
43ae71b10d feat: update Crowdin localization strings 2024-10-02 20:50:04 -03:00
renovate[bot]
d81407d2c6 chore(deps): update nav_version to v2.8.2 2024-10-02 20:30:18 -03:00
renovate[bot]
027dcf5397 chore(deps): update androidx.fragment:fragment-ktx to v1.8.4 2024-10-02 20:23:05 -03:00
renovate[bot]
9e0048d5a9 chore(deps): update androidx.compose:compose-bom to v2024.09.03 2024-10-02 20:14:54 -03:00
andrekir
c0692b80ec refactor: remove legacy BLE characteristic 2024-10-02 20:00:02 -03:00
andrekir
ffb402acde feat: add demo mode for testing and review purposes
- Activates by tapping "None (disable)" 7 times.
- Displays a confirmation message when `Demo Mode` is enabled.
- Simulates a connection to a Meshtastic device and allows the app to function without requiring real hardware.
2024-10-02 19:58:11 -03:00