Commit graph

2924 commits

Author SHA1 Message Date
L. Pereira
abb4db8faf
feat: Short duration for the "notification permissions denied" snackbar (#1346) 2024-10-26 05:55:21 -03:00
andrekir
26ca4af568 refactor: move Message date formatting to ViewModel 2024-10-26 05:44:59 -03:00
andrekir
76ea419313 feat: update Crowdin localization strings 2024-10-26 05:42:53 -03:00
andrekir
e682254fe3 chore: remove unused resources 2024-10-26 05:42:25 -03:00
James Rich
6447485199 fix: set user.id in NodeDb getUser
This commit updates the `getUser` function in `NodeDB` to set the ID of the user when creating a new `User` object, ensuring that the user ID is always populated.

Additionally, it refactors the `Message` class to use the proto `User` object instead of the `MeshUser` class. This change simplifies the code and improves consistency by utilizing the proto definition for user information.
2024-10-26 05:32:30 -03:00
andrekir
61906839af 2.5.4 2024-10-25 08:16:12 -03:00
Andre K
a557bff3d7
feat: traceroute log (#1348) 2024-10-25 08:14:32 -03:00
andrekir
a3b4b70db9 fix(metrics): replace telemetry times with receive time 2024-10-25 07:55:47 -03:00
andrekir
5cf9741b13 refactor: unified getUser repository call for convention 2024-10-25 07:50:34 -03:00
renovate[bot]
095f1189c5 chore(deps): update com.google.firebase:firebase-bom to v33.5.1 2024-10-25 07:16:55 -03:00
andrekir
9f099f3edf feat: replace invalid MeshPacket times (earlier than build time) 2024-10-23 19:20:28 -03:00
andrekir
199b9a29d5 refactor: extract traceroute text from MeshService 2024-10-23 19:05:43 -03:00
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
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]
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