Commit Graph

38 Commits

Author SHA1 Message Date
DaneEvans
f5d9c361fe Mqttflag (#2421) 2025-07-20 00:00:23 +00:00
DaneEvans
f1f7e32e43 Reduces available filter list to only those that will do something. (#2278)
Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-06-28 18:32:25 +00:00
DaneEvans
dd50cf230e feat(debug): add a toggle to AND/OR all filters. (#2265) 2025-06-27 08:13:21 -05:00
DaneEvans
17e3e1a257 feat (#2105): debug panel (#2148)
Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-06-19 14:04:58 +00:00
Łukasz Kosson
e781d6774b feat: allow hiding offline and/or non-direct nodes from list and map (#2052)
Co-authored-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2025-06-09 12:44:53 -05:00
James Rich
3115bbe58d feat: add MQTT Map Reporting consent (#2006)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-03 15:39:58 +00:00
James Rich
ad1897c564 Refactor: organize ui screens to separate packages (#1982) 2025-05-29 18:18:45 -05:00
James Rich
a28dc377ae fix: Handle node public key mismatch and show warning (#1720)
* Handle node public key mismatch and show warning

- Add a mismatchKey flag to Node and MessageTopBar to indicate a public key mismatch.
- Set the public key to a default error value (all zeros) when a node's public key changes.
- Display a warning in the MessageTopBar when a key mismatch is detected in PKC.
- Only clear all nodes when a different mynode number is present.

* feat: Add key mismatch detection to NodeInfoDao

This commit introduces a new feature to the `NodeInfoDao` that detects and handles public key mismatches for existing nodes.

-   A new function `upsertCheckKeyMatch` is added to `NodeInfoDao` that checks for public key changes when upserting a node. If a mismatch is detected, the public key is set to `ERROR_BYTE_STRING`, and a warning is logged.
- The function `upsertCheckKeyMatch` is used instead of `upsert` in `NodeRepository` and in `putAll` inside of `NodeInfoDao`.
-   A new test `testPkcMismatch` is added to `NodeInfoDaoTest` to verify the key mismatch detection.
- Changed `testNodes` to have unique public keys.
- Added `mismatchKey` state to the node model.

* detekt spacing

* Refactor: Correctly handle different node installations in NodeRepository

The logic for detecting different node installations in `NodeRepository.kt` was inverted, this commit fixes the logic to use `!=` instead of `==` to detect if the node number has changed.
2025-03-27 15:58:43 -05:00
andrekir
ad9a3a5e49 refactor: move RadioConfig files to separate package 2025-01-11 08:02:54 -03:00
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
James Rich
2234f5a713 feat: add emoji reactions to message bubbles (#1421)
* Add tapback emojis to message bubbles

Added TapBackEmojiItem composable to display tapback emojis.
Included it in MessageItem composable for incoming messages.
Added a FlowRow to show tapback emojis below the message bubble.

* feat: Add EmojiPicker View

* feat: show emojis for local messages

* feat: Add emoji tapbacks to messages

This commit introduces the ability to send and receive emoji tapbacks for messages.

- Adds emoji and replyId fields to DataPacket.
- Adds emoji tapback support to the MeshService
- Modifies UIState to handle emojis in message lists.

* feat: store tapbacks in database

Store tapbacks in the database and display them in the message list.
- Add a new table to the database to store tapbacks.
- Add a new DAO method to insert and retrieve tapbacks.
- Update the message list UI to display tapbacks.

* refactor: relation db and other changes

---------

Co-authored-by: Andre K <andrekir@pm.me>
2024-12-03 08:57:35 -03:00
andrekir
1219d3037e chore: add GPL-3.0 license headers to source files 2024-11-26 08:54:18 -03:00
andrekir
f73d909cd0 refactor: consolidate QR code scanning methods 2024-11-21 10:32:37 -03:00
andrekir
eacf3a87a0 feat: create NodeEntity.isUnknownUser property 2024-10-14 17:20:06 -03:00
andrekir
aa84d47375 feat: add fixed_position to config import/export 2024-10-10 10:54:14 -03:00
Andre K
c30ee2f55f refactor: replace MyNodeInfo with MyNodeEntity (#1277) 2024-10-02 06:18:30 -03:00
andrekir
83dc389d6d refactor(NodeItem): replace NodeInfo with NodeEntity 2024-09-21 16:47:20 -03:00
Andre K
396195a1b8 refactor: introduce NodeEntity protobuf-based database entity (#1250) 2024-09-16 17:57:30 -03:00
andrekir
19e0f7d8b3 refactor: update EditDeviceProfileDialog using dynamic fields 2024-08-25 07:54:52 -03:00
andrekir
fa85955e85 refactor: extract EditBase64Preference from EditChannelDialog
closes #944
2024-08-22 19:58:37 -03:00
andrekir
6d01fb4bc4 test: add MeshtasticDatabaseTest 2024-08-04 11:40:33 -03:00
Andre K
13606ad1f9 refactor: QrCodeScanDialog with single channel list and Add/Remove toggle (#1179) 2024-08-03 10:47:16 -03:00
andrekir
0f815e1779 test: add ScannedQrCodeDialogTest 2024-08-03 08:43:22 -03:00
andrekir
407febc5f8 refactor: replace unMock with Hilt testing 2024-07-28 09:19:29 -03:00
andrekir
d7013e1386 feat: add unread message count 2024-06-15 12:42:55 -03:00
Andre K
5b3c78316b feat: support for switching between devices (#1078) 2024-06-08 10:25:47 -03:00
andrekir
4ceb4c5199 feat: add nodelist sort options 2024-06-02 09:24:22 -03:00
andrekir
85a5867d49 fix: typo 2024-03-26 08:26:21 -03:00
Andre K
c8f93db00d refactor: implement repository pattern for NodeDB (#835)
- enforce Unidirectional Data Flow removing nodeDB updates via `MainActivity`/`UIState`
- merge `MyNodeInfoDao` into `NodeInfoDao`
- move node list re-indexing to database
2024-02-06 20:03:15 -03:00
andrekir
e9f63b4e80 refactor: add channel hash function 2024-01-10 05:33:19 -03:00
andrekir
4e7ea67da0 refactor: convert ChannelSet to protobuf extensions 2023-10-07 08:47:56 -03:00
Andre K
527d94d32a feat: calculate default values for LoRa channel_num and frequency (#664) 2023-07-18 22:28:16 -03:00
andrekir
1e504a8703 fix: update unit tests 2023-01-26 22:41:12 -03:00
Ludovic Goix
336d283c82 fix packet display in debug panel
make the test work with any non US default Locale


remove java-lite usage


fix a test
2020-10-01 17:00:33 -04:00
geeksville
bbd76ab75a make channel unit tests 2020-03-17 14:56:06 -07:00
geeksville
559795b796 add beginnings of radio interface service 2020-01-24 17:05:55 -08:00
geeksville
3551eedb8a move to geeksville/mesh 2020-01-22 21:46:41 -08:00