Commit graph

1605 commits

Author SHA1 Message Date
andrekir
378c613233 feat: add led_heartbeat_disabled config 2024-05-05 07:22:44 -03:00
andrekir
a12c5052bc refactor: improve connection status feedback using new wantConfig state 2024-05-05 06:57:04 -03:00
andrekir
4203b28a45 fix: don't show notifications for sent messages 2024-04-30 19:51:00 -03:00
Andre K
ecaf35d7f3
feat: add ActionMenu option to mute contacts (#1003) 2024-04-28 16:18:16 -03:00
andrekir
280896c08e refactor: simplify SignalInfo string separator 2024-04-21 09:03:40 -03:00
andrekir
0187bc4c72 refactor: simplify position requests 2024-04-21 08:49:09 -03:00
andrekir
d7812c5777 fix #973: ignore data from traceroute requests 2024-04-21 08:48:40 -03:00
prokrypt
a84d77e4ae
Make sure IP Address radio button stays enabled for valid IP (#984) 2024-04-21 08:46:19 -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
Dayle Drinkwater
47b2ecc8aa
Hops Away implementation (#966)
* Initial Hops Away feature

* Generate our own hopsAway, comparing hopStart to hopLimit

* Remove import of hopsAway from device nodeInfo, as this only shows 0 when hopStart isn't included on packets (with this info, we can't differentiate between a node which is Hops Away but on old firmware, or nodes which are on new firmware but direct. Both are 0)

Check if hopStart is 0 but hopLimit is not 0, if true set hopsAway to -1.

Show nodes with hopsAway with -1 with a (!) appended to the RSSI details, to show this probably isn't true. (eg they are using old firmware)

Change the default of hopsAway to -1, until we know it is direct (0) or hops away (1+)

* tidy up: move from nested if else to when

* Revert Project_Default.xml

* Move hopsAway when block in to updateNodeInfo() block above it.

Move hopsAway var to end of NodeInfo Class.

Schema update due to change above.

* hopsAway now follows firmware implementation.
hopsAway now imported from radio (installNodeInfo)

* reformat

---------

Co-authored-by: andrekir <andrekir@pm.me>
2024-04-21 08:14:35 -03:00
andrekir
c15c3d8c09 refactor(config): pass destNum via setFragmentResultListener 2024-04-15 17:56:47 -03:00
andrekir
4f29e7a3ff feat: add new timezone device config
closes #957
2024-04-09 07:26:32 -03:00
Jonathan Bennett
828696aca7
Add option to delete single node from nodeDB (#958) 2024-04-09 07:18:38 -03:00
andrekir
5b43089392 refactor: simplify RadioConfigViewModel packet processing 2024-04-07 19:50:27 -03:00
andrekir
54435fc031 refactor: move DebugFragment to separate ViewModel 2024-04-07 17:41:18 -03:00
andrekir
76151e153f refactor: move error message handling to ServiceRepository 2024-04-07 16:44:45 -03:00
andrekir
cf239e3634 refactor: move tracerouteResponse logic to service 2024-04-07 16:26:47 -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
a7a9d543da docs: add tx_power unit (dBm) 2024-04-06 07:58:06 -03:00
andrekir
f633ed74cb refactor: align channel PSK Base64 flags with other platforms
closes #937
2024-04-01 22:55:21 -03:00
andrekir
9024d36985 refactor: handle ActivityNotFoundException when opening URIs 2024-04-01 19:45:56 -03:00
andrekir
6e3e173096 refactor: add fixed position admin messages 2024-04-01 19:32:28 -03:00
andrekir
2c916f88ca refactor: node popup menu param from position to NodeInfo 2024-04-01 18:34:32 -03:00
andrekir
6afd20b874 refactor: remove assert for NodeDB max size of 256 nodes 2024-04-01 17:48:29 -03:00
andrekir
cb7ef639c0 refactor: sort node list by lastHeard in database query 2024-03-31 16:45:07 -03:00
Benjamin Faershtein
ff36b21298
fix: lastHeard 0 hour issue (#939) 2024-03-31 16:42:33 -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
8ec8654d60 refactor: replace DownloadButton Image with Icon 2024-03-26 08:05:13 -03:00
andrekir
464f787b24 refactor: remove warning_default_psk string 2024-03-26 08:04:44 -03:00
andrekir
e2c377107c refactor: improve NodeDB initialization 2024-03-20 08:40:32 -03:00
andrekir
ded6aae1a7 fix: add LinkedCoordinates placeholder when position is invalid 2024-03-19 08:57:23 -03:00
andrekir
0948f8e042 fix: don't mix MQTT topics 2024-03-19 08:39:35 -03:00
andrekir
ee61b79aa3 refactor: remove channel disambiguation suffix 2024-03-18 08:34:56 -03:00
andrekir
d21e735ae7 fix: missing ModuleConfig handling 2024-03-18 08:17:35 -03:00
andrekir
40aae19b45 feat: add MQTT mapReportSettings config 2024-03-13 20:50:57 -03:00
prokrypt
59b67d429d 2 decimal places for plugged-in voltage 2024-03-13 20:40:29 -03:00
andrekir
5983424d48 refactor: remote admin channel validation 2024-03-11 22:27:14 -03:00
andrekir
902d1697a9 fix: add new modules to DeviceProfile import
closes #906
2024-03-11 22:25:38 -03:00
andrekir
6b8814cd87 refactor: update client proxy MQTT topic
reference: https://github.com/meshtastic/firmware/pull/3353
2024-03-11 22:24:05 -03:00
andrekir
c3eb80bcfc feat: tag node names in installNodeInfo using viaMqtt 2024-03-10 08:18:25 -03:00
andrekir
466fcc63fe refactor: limit message input by bytes instead of character length 2024-03-10 08:18:03 -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
1468b26d3b
Restore voltage precision to 2 places (#889) 2024-03-07 05:47:57 -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
Davis
4f9011fe57
Add number of GPS satellites in view to DB for later display (#883)
* Add a couple more fields to position
Use auto migration over manula migration
2024-02-29 11:18:02 -03:00
andrekir
85dacaf53b feat: tag node names when NodeInfo is received via MQTT 2024-02-28 17:52:49 -03:00
andrekir
6cd972522d refactor: revert Button custom background color 2024-02-28 17:51:48 -03:00
andrekir
5b35280076 fix: use validPosition in LinkedCoordinates 2024-02-28 17:50:50 -03:00
Andre K
2e009ca49c
feat: add condition check to scroll to bottom of messages list (#882) 2024-02-28 12:53:08 -03:00