Commit graph

110 commits

Author SHA1 Message Date
andrekir
13b615a470 chore: update license header 2025-01-02 07:00:51 -03:00
Andre K
60e7e18116
feat(config): implement excluded modules validation (#1460)
* feat(config): implement excluded modules validation

* feat: hide excluded configs from metadata

* refactor: save local metadata from WantConfig

* refactor: delete metadata from deleted nodes

* fix: always request metadata for admin routes

* feat: show node firmware when metadata is available

* refactor: rename filter function

* feat: add `ServiceAction` request metadata
2025-01-02 06:38:33 -03:00
andrekir
1ea55b2209 refactor: move ignore node to is_ignored field in NodeInfo 2024-12-07 08:18:18 -03:00
andrekir
96087cca59 refactor: move message files to separate package 2024-12-03 09:14:32 -03:00
Andre K
3c581f81a8
refactor: migrate MessagesFragment to Compose (#1444) 2024-11-30 23:20:09 -03:00
andrekir
44d195a4a5 refactor: Messages navigation to single contactKey argument 2024-11-28 08:45:44 -03:00
andrekir
1219d3037e chore: add GPL-3.0 license headers to source files 2024-11-26 08:54:18 -03:00
andrekir
cfdb245da2 refactor: convert connectionState to StateFlow 2024-11-12 09:15:45 -03:00
andrekir
a980441fd1 refactor: move ignoreIncoming logic to ViewModel 2024-11-12 08:47:17 -03:00
James Rich
2d2d94924b
refactor: Migrate Node dropdown menu to Compose (#1386) 2024-11-09 08:14:40 -03:00
andrekir
3ac0e8c28e refactor: extract NavGraph from RadioConfig 2024-10-21 06:07:28 -03:00
andrekir
6be44675e2 feat: add NodeDetailsScreen with metrics and remote admin navigation 2024-10-18 20:09:37 -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
andrekir
b503c10789 refactor: finish transition from NodeInfo to NodeEntity 2024-10-12 07:14:59 -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
587c6c91f4 refactor: ensure backward compatibility for PKC encryption 2024-09-22 23:01:33 -03:00
andrekir
83dc389d6d refactor(NodeItem): replace NodeInfo with NodeEntity 2024-09-21 16:47:20 -03:00
andrekir
b50e982049 chore: rename Node component to NodeItem for convention 2024-09-16 20:27:13 -03:00
andrekir
24886994a6 feat: show lock icon for nodes with public keys 🔒 2024-09-16 18:44:18 -03:00
andrekir
f0f9235223 refactor(NodeMenu): always show remote admin menu item 2024-09-13 19:19:12 -03:00
andrekir
8be6d74ed8 refactor: consolidate sort button into NodeFilterTextField component 2024-09-08 08:32:00 -03:00
andrekir
e89f59745d fix(nodes): force clear TextField focus on chip button click
closes #1228
2024-09-08 08:27:38 -03:00
Robert-0410
2c426d470c
Refactor NodeDetails to Metrics (#1222)
* Synced the string used for ChUtil and AirUtilTX in the NodeInfo and Device Metrics.

* Refactored NodeDetails to Metrics.

* Added string resources for "Hops Away".
2024-09-08 07:36:44 -03:00
Robert-0410
9f136fb31b
feat: Telemetry charts (#1198) 2024-08-31 08:05:42 -03:00
andrekir
94ff201822 refactor: use ACTION_TIME_TICK receiver for time updates 2024-08-18 11:38:32 -03:00
James Rich
1f05886873
Fix: Periodically update last heard time (#1178) 2024-08-04 07:47:48 -03:00
James Rich
fc2559f5f5
Expanding node info cards (#1144) 2024-07-28 07:04:50 -03:00
andrekir
cdf7639c4a refactor: remove coroutineScope in LaunchedEffect 2024-07-13 07:27:29 -03:00
andrekir
f75879603e refactor: extract NodeMenu from UsersFragment 2024-06-23 08:36:40 -03:00
andrekir
db500c5200 refactor: migrate UsersFragment to Compose 2024-06-23 08:24:29 -03:00
Andre K
5b3c78316b
feat: support for switching between devices (#1078) 2024-06-08 10:25:47 -03:00
andrekir
4a9be026e2 chore: prepare new strings for translation 2024-06-03 10:40:49 -03:00
andrekir
4ceb4c5199 feat: add nodelist sort options 2024-06-02 09:24:22 -03:00
Dayle Drinkwater
0d6e7a3a24
Forget node menu changes (#983)
* Move 'Forget Node' option to move it away from Traceroute.

Add confirmation dialog to 'Forget Node'

* Move debug for 'Forget Node'
2024-04-21 08:45:37 -03:00
andrekir
c15c3d8c09 refactor(config): pass destNum via setFragmentResultListener 2024-04-15 17:56:47 -03:00
Jonathan Bennett
828696aca7
Add option to delete single node from nodeDB (#958) 2024-04-09 07:18:38 -03:00
Davis
e887336da3
Long press node in map jumps to node in node list (#955)
* Fix scrolling to node and blinking

* Show node in list, instead of opening DM
2024-04-06 08:36:01 -03:00
andrekir
2c916f88ca refactor: node popup menu param from position to NodeInfo 2024-04-01 18:34:32 -03:00
andrekir
cb7ef639c0 refactor: sort node list by lastHeard in database query 2024-03-31 16:45:07 -03:00
Davis
675c6a6b22
Feature: Filter node list (#920)
* Filter node list with text field against shortname and longname

* Show filter hint

* Reference "this" node from model instead of list position
2024-03-31 16:39:35 -03:00
andrekir
e3f495e352 fix: add LinearLayoutManager wrapper for RecyclerView bug workaround 2024-03-26 08:06:10 -03:00
andrekir
5983424d48 refactor: remote admin channel validation 2024-03-11 22:27:14 -03:00
Davis
248982d14c
Add elevation and number of GPS satellites to node info (#895)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info

* Move signal info to Compose and simplify bind

* Prevent long coordinates from colliding with signal info

* Move the rest of the node info card to compose
Breaks the blinking feature when navigating from chat
Wrap position to new line if overflow

* Adjust layout and text sizing to closer match original

* Use constraint layout for tighter display on busy nodes

* Construct environment metrics so that there aren't trailing spaces if current is zero

* Swap viewholder root for compose view rather than inflating layout
Fix padding lost when changing out view holder root
Intelligently update the list with only nodes that changed

* Remove unused method, and adjust replacement method to match the same decimal precisions as before

* Add elevation and number of GPS satellites to node info list
Add some extension functions for easier conversion between units and systems

* Dispose composition on recycle to avoid lingering spacing from previous layouts
Remove comments explaning adapter functionality
Remove unused methods

* Use previous string for denoting unknown node names

* Align properly if altitude but no signal info
2024-03-07 06:34:43 -03:00
Davis
9e54787a7d
Move Node info completely to Compose (#886)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info

* Move signal info to Compose and simplify bind

* Prevent long coordinates from colliding with signal info

* Move the rest of the node info card to compose
Breaks the blinking feature when navigating from chat
Wrap position to new line if overflow

* Adjust layout and text sizing to closer match original

* Use constraint layout for tighter display on busy nodes

* Construct environment metrics so that there aren't trailing spaces if current is zero

* Swap viewholder root for compose view rather than inflating layout
Fix padding lost when changing out view holder root
Intelligently update the list with only nodes that changed

* Remove unused method, and adjust replacement method to match the same decimal precisions as before

* Use previous string for denoting unknown node names

* Mark unknown short name as non-translatable
2024-03-07 05:39:02 -03:00
andrekir
5b35280076 fix: use validPosition in LinkedCoordinates 2024-02-28 17:50:50 -03:00
Davis
9e9ecba4e3
Move signal info to compose (#879)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info

* Move signal info to Compose and simplify bind

* Prevent long coordinates from colliding with signal info
2024-02-28 12:43:29 -03:00
Davis
8f312e5d16
Move last heard in node info to compose (#878)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout

* Move last heard node info to Compose
Clean up layout of node info
2024-02-28 11:29:13 -03:00
Davis
9ecae6c0e1
Node position to compose (#877)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Move node position to Compose

* Update hyperlink color to match previous value

* Use compose preview in layout editor

* Use compose preview in layout editor

* Add simple preview for use in layout
2024-02-27 18:43:47 -03:00
Davis
89438f3553
Improved battery/voltage info in node list (#874)
* Move battery info to compose - always show voltage level and icons to match battery percentage
Use tool text in preview, rather than actually set text value
Simplify node info layout to avoid defining margins on everything

* Use compose preview in layout editor

* Add simple preview for use in layout
2024-02-26 19:19:32 -03:00
andrekir
5c98936e23 refactor: simplify passing args to MessagesFragment 2024-02-25 08:33:51 -03:00