Commit graph

2236 commits

Author SHA1 Message Date
andrekir
3c22272d23 refactor: add option for custom ByteString key generation 2024-09-28 08:19:08 -03:00
andrekir
3c0fd03555 refactor: base preference with horizontal layout and summary 2024-09-27 22:23:53 -03:00
andrekir
717c932ae2 refactor(MeshLog): add fields for query optimization
- Adds `from_num` and `port_num` fields as indices to the `MeshLog` entity to improve query performance.
- Sets default values for new columns for auto-migration and backward compatibility.
2024-09-26 05:55:38 -03:00
andrekir
a075dfbd3a feat: add dialog for message status information 2024-09-24 22:06:15 -03:00
andrekir
056f6b28cf fix: set opaque background for SimpleAlertDialog 2024-09-24 09:33:53 -03:00
andrekir
4f0652ad9f fix: remove node from service database in removeByNodenum 2024-09-24 07:53:09 -03:00
andrekir
e5b229e6ff fix: handle RemoteException in setConfig and setChannel 2024-09-24 07:44:25 -03:00
andrekir
22b1cf0f16 feat: add encryption status icon and dialog to node list items 2024-09-23 10:13:27 -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
89a3171b58 fix(config): admin requests confirmation handling 2024-09-21 08:35:21 -03:00
Andre K
36a13d7687
fix(conifg): implement sessionPasskey handling for admin requests (#1263) 2024-09-20 06:07:35 -03:00
andrekir
2f7502d5ad chore: anonymize ConfigProtos.Config logs 2024-09-19 18:17:30 -03:00
andrekir
8c07532995 fix(MeshService): revert nodeDBbyNodeNum to local variable
avoids performance issues causing data loss by reverting `nodeDBbyNodeNum` to a local `ConcurrentHashMap`
2024-09-19 18:17:30 -03:00
andrekir
e5d60003fc fix(PositionConfig): clear changes on cancel button click 2024-09-19 18:17:28 -03:00
DJ Holt
dc9e780663
Fix lat/lng/alt config validation errors when position is null (#1260) 2024-09-19 07:06:31 -03:00
andrekir
4d03bc0ecb fix: detekt errors 2024-09-18 20:09:27 -03:00
andrekir
852c6e1bc2 refactor: enable remote admin to set/remove fixed_position 2024-09-18 19:50:33 -03:00
andrekir
f8898def89 chore: remove unused resources 2024-09-18 19:48:04 -03:00
andrekir
81d8a9f93f fix(MeshService): revert myNodeInfo to local variable
avoids performance issues and simplifies state management as `MyNodeInfo` is only relevant during an active session
2024-09-18 19:46:39 -03:00
andrekir
21c1c1cbd6 refactor(LoRaConfig): add hasPaFan validation 2024-09-18 19:45:09 -03:00
James Rich
98d11115c6
feat: Add ability to display environment metrics in Fahrenheit (#1253)
* feat: Add ability to display environment metrics in Fahrenheit

The temperature values in the environment metrics charts and cards are now displayed in Fahrenheit or Celsius based on the user's preference. Celsius is still used as the base unit for calculations and storage.

* Refactor: Rename environmentDisplayTempInFahrenheit to environmentDisplayFahrenheit

Renamed the variable environmentDisplayTempInFahrenheit to environmentDisplayFahrenheit for better clarity and consistency.

* Refactor: Remove unused ENVIRONMENT_METRICS_COLORS

Removed the unused `ENVIRONMENT_METRICS_COLORS` variable from the `EnvironmentMetrics` component.

* Update: Add support for plotting iaq

Added green to the list of colors used for plotting environment metrics to support the newly added iaq readings.
2024-09-18 19:37:55 -03:00
James Rich
9b90c128fb
feat: Add IAQ to environment metrics (#1258)
Adds Indoor Air Quality (IAQ) to the environment metrics chart and card.

The IAQ is displayed as a green line on the chart and as a dot with a numerical value on the card.
The IAQ scale is available as a legend in the IAQ component.
2024-09-18 18:42:58 -03:00
Robert-0410
843e423648
Device metric lines and info dialog (#1252)
* Removed constants from CommonCharts only used in specific charts.

* Altered CommonCharts.ChartOverlay to take a list of colors for the lines. Adjusted the device metrics line colors for channel utilization.

* Started an info dialog in the device metric chart to help users better understand Meshtastic.
2024-09-18 06:57:01 -03:00
andrekir
0b72486506 fix: deviceMetrics reference in NodeInfo.toEntity mapper 2024-09-17 07:52:34 -03:00
andrekir
b50e982049 chore: rename Node component to NodeItem for convention 2024-09-16 20:27:13 -03:00
James Rich
858544b0f4
feat: adds UI for unknown node details (#1219) 2024-09-16 20:20:20 -03:00
andrekir
24886994a6 feat: show lock icon for nodes with public keys 🔒 2024-09-16 18:44:18 -03:00
andrekir
092ed32c23 fix(LoraConfig): ensure primaryChannel updates on loraInput changes 2024-09-16 18:20:54 -03:00
andrekir
fcdf74ed94 fix: divide-by-zero in channelNum calculation 2024-09-16 18:19:42 -03:00
Andre K
396195a1b8
refactor: introduce NodeEntity protobuf-based database entity (#1250) 2024-09-16 17:57:30 -03:00
andrekir
2433cbc00a feat: show names with a lock for DMs using PKC 2024-09-16 10:30:15 -03:00
DJ Holt
610e5f1049
Show results for two-way traceroute, including SNR values between hops (#1248) 2024-09-16 09:16:06 -03:00
Robert-0410
0c52bef43b
Mesh Packet Limit (#1245)
* Separated the device and environment metrics into their own files.

* Place a limit to the amount of MeshPackets we retrieve from the logs table.

* Making detekt happy with the naming.
2024-09-14 18:48:05 -03:00
andrekir
ac928b40d4 fix: avoid starting FGS with location type without permission 2024-09-14 18:38:30 -03:00
andrekir
2ce306b5be fix(MeshService): ensure proper handling of NodeInfo user field 2024-09-14 17:48:09 -03:00
andrekir
f0f9235223 refactor(NodeMenu): always show remote admin menu item 2024-09-13 19:19:12 -03:00
andrekir
9a332e8367 refactor(MeshService): remove redundant updateNodeInfo call 2024-09-13 19:08:36 -03:00
andrekir
a98d3899e6 refactor(MeshService): remove discardNodeDB and simplify logic 2024-09-13 19:03:28 -03:00
andrekir
1252b67fce refactor(MeshService): update getNodes() to use nodeDBbyNodeNum 2024-09-13 18:37:10 -03:00
andrekir
52e79da803 fix(MeshService): wait for node db initialization with a timeout 2024-09-13 18:36:30 -03:00
andrekir
80eae23b3d fix: revert VERY_LONG_SLOW removal 2024-09-13 00:20:08 -03:00
andrekir
39a18e6418 refactor: replace service local node db with Room NodeDB 2024-09-13 00:19:21 -03:00
andrekir
84939a74d2 refactor: replace nodeDBbyID with getUser() function 2024-09-11 20:01:16 -03:00
andrekir
a6cfbcbfa7 refactor(saveMessagesCSV): use nodeDBbyNum map directly 2024-09-11 19:04:18 -03:00
andrekir
3a6511b7f9 refactor: unify service node DB into a single source 2024-09-11 18:59:11 -03:00
andrekir
eeb3363a88 refactor: remove NodeDB users StateFlow 2024-09-11 18:53:50 -03:00
andrekir
41fc43b215 refactor: move ContactsFragment to main activity ViewModel 2024-09-09 20:02:34 -03:00
andrekir
7411455e17 feat: send AdminMessage set_time_only on ConfigComplete 2024-09-09 19:13:13 -03:00
andrekir
e9248c9440 refactor: remove unused firmware update code 2024-09-09 19:03:30 -03:00