Commit graph

1566 commits

Author SHA1 Message Date
andrekir
d58e092333 fix: show modem preset name if channel name is empty
(or "Default" if not available)
2023-05-21 09:19:55 -03:00
andrekir
e2f63e015c fix: reindex node list when local node isn't first (index 0) 2023-05-21 06:08:34 -03:00
andrekir
8151aceea4 fix: ensure proper channel updates to ChannelSetRepository 2023-05-21 06:04:53 -03:00
Andre K
a2388d1d12
refactor: combine config data stores into RadioConfigRepository (#636) 2023-05-20 11:42:15 -03:00
andrekir
a4baa93f4e fix: remove remember from isEditing variable 2023-05-20 11:32:49 -03:00
andrekir
e116a8a97c refactor: update EditListPreference 2023-05-16 17:47:59 -03:00
andrekir
ab5f1ffac1 refactor: use OutlinedButton for radio configs 2023-05-16 17:47:20 -03:00
Andre K
c3ab3c5ae9
feat: implement PacketResponseState.Success (#634) 2023-05-15 17:49:13 -03:00
andrekir
135bcf8b8a fix: revert unintended changes from a316495545 2023-05-13 18:35:16 -03:00
andrekir
0c78bc4e49 feat: add managed mode 2023-05-13 18:18:49 -03:00
andrekir
a316495545 refactor: move shutdown/reboot/etc to radio configs 2023-05-13 18:14:47 -03:00
andrekir
7eeb0b4d6f fix: revert to ChannelSet addSettings method without index
fixes throwing Non-fatal Exception: java.lang.IndexOutOfBoundsException: Index: N, Size: n
2023-05-13 17:51:56 -03:00
andrekir
6297cf2b62 fix: set fixed position for local node only 2023-05-12 18:34:29 -03:00
Andre K
068f5e7544
feat: implement PacketResponseState.Error (#633) 2023-05-12 18:29:31 -03:00
andrekir
2502bee55f fix: update handleReceivedPosition
ignore received Position packets with `wantResponse = true` (position requests). set `destNum` for remote nodes (fixed position). also reverts 24e5454fae
2023-05-10 22:17:09 -03:00
andrekir
8a750c122e fix: ensure FAB layer above LazyColumn in ChannelSettingsItemList 2023-05-10 21:43:18 -03:00
andrekir
6515b2d3a7 fix #629: keep saved names when editing actions 2023-05-08 17:34:06 -03:00
andrekir
29d3572507 fix: replace filterNotNull() with null check 2023-05-08 17:33:21 -03:00
Andre K
70f7ffb5fc
feat: implement PacketResponseState.Loading (#630) 2023-05-08 17:31:07 -03:00
andrekir
7d1d793fb9 refactor: collect receivingLocationUpdates with repeatOnLifecycle 2023-05-07 05:34:14 -03:00
andrekir
3bbe3fd7f7 refactor: simplify packetResponse using filterNotNull and firstOrNull 2023-05-07 05:33:18 -03:00
andrekir
d1ce014a88 fix: allow empty (no crypto) and 128 bit PSKs 2023-05-06 08:18:56 -03:00
andrekir
41d0315b63 fix: handle deleted channels in ChannelSet DataStore
adds `removeSettings` method to delete channels with `Role.DISABLED`
2023-05-06 08:08:17 -03:00
andrekir
4a6c0c0b40 fix: prevent clicking through composable background 2023-05-02 07:24:01 -03:00
andrekir
a39390254a refactor: revert PreferenceFooter to default theme colors 2023-05-02 07:22:51 -03:00
Andre K
9e78e516da
feat: add configs import/export (#628) 2023-05-02 07:18:22 -03:00
andrekir
9dc1a45fe6 fix: correct traceroute to/from order 2023-04-29 07:26:52 -03:00
andrekir
16787b23c8 fix: BitwisePreference trailing icons 2023-04-29 07:19:22 -03:00
Andre K
e5a860cb36
feat: add channel editor (#627) 2023-04-29 07:14:30 -03:00
andrekir
c821eb3681 fix #625: handle Samsung Keyboard dot-minus key in TextField validation
Samsung Keyboard numerical keypad features a combined '.-' key that outputs a dot (.) on first press and replaces it with a minus (-) on second press. there is no option to output each symbol separately (short or long press, etc).

updated validation logic to handle dot symbol at the start of the input string.
2023-04-26 18:21:27 -03:00
andrekir
ab46bf6ab9 refactor: simplify routeDiscovery conditional 2023-04-26 17:56:10 -03:00
andrekir
34eac6af18 fix: change MeshPacket default hopLimit to match LoRa config instead of 0 2023-04-25 19:18:03 -03:00
andrekir
7834cb1f0c fix: use little-endian byte order for protobuf fixed32 values 2023-04-24 22:23:40 -03:00
andrekir
6f5ed93db3 refactor: add conditional to LaunchedEffect 2023-04-24 22:15:38 -03:00
andrekir
8d5cca93f1 style: fix name and formatting 2023-04-24 22:13:44 -03:00
andrekir
145988ad75 refactor: improve parameter naming and type in config constructors 2023-04-24 22:11:36 -03:00
Andre K
85e62eaab4
feat: add remote node configuration (#626) 2023-04-22 12:06:25 -03:00
andrekir
691b735483 fix: correct display of connection status 2023-04-17 18:37:19 -03:00
Andre K
a5fa47292e
refactor: split configs into individual components (#623) 2023-04-17 17:13:26 -03:00
Andre K
da5f1d529d
feat: add traceroute (#620) 2023-04-16 06:16:41 -03:00
andrekir
88d415f2ce fix: primaryChannel IndexOutOfBoundsException 2023-04-14 07:26:18 -03:00
Andre K
a8be41d158
feat: add node colors (#618) 2023-04-13 17:54:52 -03:00
andrekir
dc596e25a2 fix: corrected channel name change behavior 2023-04-13 17:34:28 -03:00
andrekir
e050ebd2a9 refactor: move UI text logic to view model 2023-04-13 17:20:26 -03:00
andrekir
28b905db23 fix: improve null-safety handling in filter logic
to avoid NullPointerException: it.name must not be null at com.geeksville.mesh.repository.bluetooth.BluetoothRepository$createBondedDevicesFlow$2.invokeSuspend(BluetoothRepository.kt:96)
2023-04-13 17:11:40 -03:00
andrekir
5599a5d2a5 feat: add mqtt.root config 2023-04-13 17:06:25 -03:00
andrekir
e03ab70e66 chore: add Lifecycle utilities for Compose
and replace collectAsState() with collectAsStateWithLifecycle()
2023-04-10 20:29:47 -03:00
Andre K
5bf4c9c184
refactor: migrate ChannelFragment to Composable (#615) 2023-04-07 12:43:29 -03:00
andrekir
a560555a01 fix: add synchronized() to service numOnlineNodes
to avoid `ConcurrentModificationException` from nodeDBbyNodeNum changes
2023-04-07 11:28:17 -03:00
andrekir
440fc97fa0 feat: add onFocusChanged parameter to EditTextPreference 2023-04-07 11:26:09 -03:00