Commit graph

190 commits

Author SHA1 Message Date
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
Andre K
c30ee2f55f
refactor: replace MyNodeInfo with MyNodeEntity (#1277) 2024-10-02 06:18:30 -03:00
andrekir
3bd4132089 feat: preserve map center and zoom state in ViewModel
closes #1150
2024-09-30 19:14:22 -03:00
andrekir
a075dfbd3a feat: add dialog for message status information 2024-09-24 22:06:15 -03:00
andrekir
e5b229e6ff fix: handle RemoteException in setConfig and setChannel 2024-09-24 07:44:25 -03:00
andrekir
83dc389d6d refactor(NodeItem): replace NodeInfo with NodeEntity 2024-09-21 16:47:20 -03:00
andrekir
24886994a6 feat: show lock icon for nodes with public keys 🔒 2024-09-16 18:44:18 -03:00
Andre K
396195a1b8
refactor: introduce NodeEntity protobuf-based database entity (#1250) 2024-09-16 17:57:30 -03:00
andrekir
f0f9235223 refactor(NodeMenu): always show remote admin menu item 2024-09-13 19:19:12 -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
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
Andre K
9d5cf47762
refactor: migrate MessagesFragment RecyclerView to Compose (#1133) 2024-09-09 06:15:27 -03:00
andrekir
4dcce57d44 fix: rangetest.csv Locale formatting
closes #1223
2024-09-08 08:26:09 -03:00
andrekir
cd05f8d565 feat: add SecurityConfig 2024-08-25 09:32:31 -03:00
AddisonTustin
e4c6000a10
feat: support add=true in QR codes (#1151) 2024-07-28 08:50:54 -03:00
James Rich
fc2559f5f5
Expanding node info cards (#1144) 2024-07-28 07:04:50 -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
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
4a9be026e2 chore: prepare new strings for translation 2024-06-03 10:40:49 -03:00
andrekir
814cf41f90 refactor: simplify wantConfig feedback 2024-06-03 10:17:20 -03:00
andrekir
4ceb4c5199 feat: add nodelist sort options 2024-06-02 09:24:22 -03:00
andrekir
a12c5052bc refactor: improve connection status feedback using new wantConfig state 2024-05-05 06:57:04 -03:00
Andre K
ecaf35d7f3
feat: add ActionMenu option to mute contacts (#1003) 2024-04-28 16:18:16 -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
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
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
5983424d48 refactor: remote admin channel validation 2024-03-11 22:27:14 -03:00
andrekir
5c98936e23 refactor: simplify passing args to MessagesFragment 2024-02-25 08:33:51 -03:00
andrekir
6e83870295 fix: revert main tab reference change
reverts https://github.com/meshtastic/Meshtastic-Android/pull/844/commits/4add8f97da5cc24455fff5ed7c7a7e3064e3d534
2024-02-18 08:01:51 -03:00
andrekir
f83113710f refactor: contacts to use combine() with channels 2024-02-15 08:55:35 -03:00
Mike Cumings
763ef749f7
Change CSV output to be RFC4180 compliant (#852) 2024-02-15 08:47:00 -03:00
Davis
2bfda9784f
Feature: Jump to node info from message (#844)
* Highlight the node in the node list tab when the user taps on the node chip in messages

* Represent main tabs as enum for more reliable referencing

* Extract tab labels to string resources for easier translation
Annotate resource IDs with their corresponding Android types

* Index off nodes actually in the adapter since they are sorted

* Update viewmodel when tab changes to prevent jumping to other tabs in onResume

* Mark strings as non-translatable for now
2024-02-13 18:32:52 -03:00
andrekir
1c5e2dbefc refactor: getContacts() DAO using Map return type 2024-02-11 07:51:41 -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
6b4562b018 fix #818: change rangetest.csv delimiter to semicolon (;) 2024-01-21 06:04:51 -03:00
andrekir
391a8be499 fix: packet response requestId tracking
fixes #794
2023-12-13 19:29:06 -03:00
andrekir
13c76f49ee refactor: implement repository pattern for ConnectionState 2023-10-21 07:24:46 -03:00
andrekir
c489717ad1 refactor: convert NodeDB to repository 2023-10-20 19:38:18 -03:00
andrekir
f3e57c05e4 fix: variables not initialized before constructor execution 2023-10-19 17:16:16 -03:00
andrekir
8d22a23fe1 feat: warn user when duty cycle limit reached
closes #540
2023-10-12 22:52:54 -03:00
andrekir
17982efbea refactor: handle Position packets sent from phone 2023-10-08 19:20:13 -03:00