Commit graph

108 commits

Author SHA1 Message Date
andrekir
5f131da50d add mlkit barcode scanner 2022-05-17 18:03:31 -03:00
andrekir
265c6a7bf7 improve users fragment 2022-04-30 18:16:12 -03:00
andrekir
496cd230dd add contacts 2022-04-03 12:00:05 -03:00
Mike Cumings
49188adc36 Issue #369 - Expand bluetooth repository use cases
Changes:
- Adds support for obtaining bonded devices
- Adds support for obtaining BLE scanner
- Consolidates state into a single, immutable data class instance
- Simplified and renamed broadcast receiver
- Renamed view model permissionsUpdated fun to identify the intended use

(cherry picked from commit 9592fd68de)
2022-03-02 14:10:01 -03:00
Mike Cumings
c0fe9213f1 Issue #369 - Use repository pattern for bluetooth state
(cherry picked from commit b3878a4240)
2022-03-02 14:10:01 -03:00
Mike Cumings
1294eee8e3 CSV export improvements to make it more reliable
(cherry picked from commit 16d2b2e5f3)
2022-03-02 14:10:01 -03:00
andrekir
6ad2b1814f deleteMessage index by packet.id 2022-03-02 11:39:30 -03:00
andrekir
12cb8f070c catch file write exception 2022-02-13 08:09:26 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
Mike Cumings
6012bddbdc Fixes #340 Improve CSV file export 2022-02-03 18:15:06 -08:00
Jackson Rosenthal
93e81e4639 Added delete all messages into the AlertDialog. 2022-01-31 19:11:32 -05:00
Jackson Rosenthal
e27a76633c Delete messages from view by long clicking. Looking into clearing "all messages" & menu for deleting individual messages 2022-01-29 14:31:08 -05:00
Jackson Rosenthal
c08c652d97 Testing click deletion of messages. (Messages still stored after sending new message or connecting to radio) 2022-01-28 21:40:05 -05:00
Andre Kirchhoff
c483a488bb
update location_share default to LocUnset 2022-01-27 18:30:18 -03:00
andrekir
11e6332d5d add switches to advanced settings 2022-01-24 18:23:09 -03:00
andrekir
460288d99f add isAlwaysPowered 2021-12-21 16:28:57 -03:00
andrekir
41e4c12842 fix typo & cap minBroadcastPeriodSecs 30s 2021-12-10 18:37:02 -03:00
andrekir
8e5eabec29 add LoRa channels (MediumFast, MediumSlow) 2021-12-10 15:55:44 -03:00
Kevin Hester
74a34cd9b6 store background location pref 2021-06-23 12:41:44 -07:00
Kevin Hester
18d526166f fix device version parsing and confirm it works with SHAs 2021-04-16 10:14:45 +08:00
Kevin Hester
0c70ae860e If we are unable to generate a barcode, just show nothing 2021-04-05 15:52:26 +08:00
Kevin Hester
395bc59c9c ChannelSettings.defaultInstance is garbage, do not use it 2021-04-04 17:44:25 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
10d6537972 Disable the "set default channel" button if already on the default channel 2021-03-24 14:28:11 +08:00
Kevin Hester
ad7a189c51 add default channel button 2021-03-24 13:48:26 +08:00
Kevin Hester
c9d18b00a4 don't let user update firmware without setting a region. 2021-03-20 17:47:02 +08:00
Kevin Hester
699d5076b5 use unmock to test and fix the channel suffix generation to match device 2021-03-19 17:42:26 +08:00
Kevin Hester
c405cdc200 try to notice when user wants to go back to default settings 2021-03-19 17:09:35 +08:00
Kevin Hester
98356b9205 fix autobug crash when primary channel is null 2021-03-17 15:37:09 +08:00
Kevin Hester
483bd878ab untested change to use new hwmodel 2021-03-14 11:42:04 +08:00
Kevin Hester
bd1885aaf2 region setting from android now kinda works 2021-03-04 10:28:56 +08:00
Kevin Hester
81e76bfc51 fix bugs found via simulator 2021-03-04 09:08:29 +08:00
Kevin Hester
e27a3d937d show alert for old firmware 2021-03-02 15:12:57 +08:00
Kevin Hester
1eaabfc216 fix java paths for protos 2021-02-27 13:43:55 +08:00
Kevin Hester
bd796524b9 channelset wip 2021-02-27 12:04:44 +08:00
Kevin Hester
0743feadc4 wip adding channelset 2021-02-27 11:44:05 +08:00
Kevin Hester
85a0ea7286 1.2 wip 2021-02-27 10:18:00 +08:00
Kevin Hester
3ec0c5fd32 fix lint warnings 2021-02-21 12:07:53 +08:00
Vadim Furman
2f7ce57015 Formatting 2021-02-13 22:02:24 -08:00
Vadim Furman
8a065c5b88 Per-channel minimum broadcast period enforcement 2021-02-12 19:07:14 -08:00
Vadim Furman
a8d095d1d7 Fixed swapped short <-> medium channel names 2021-02-12 17:40:47 -08:00
Vadim Furman
5ef6baef7a Merge 2021-02-06 22:08:49 -08:00
Vadim Furman
2d81acbee5 Added settings 2021-02-05 21:29:28 -08:00
Kevin Hester
7d846461e4 mock interface now pretty completely simulates a real device 2021-02-01 11:53:22 +08:00
Kevin Hester
6fbe63c0b7 use upper case for base of URL in QR code to simplify the image 2021-01-05 13:29:04 +08:00
Kevin Hester
6c85a4f12b fix #213 also use correct suffix for the new channel system 2021-01-05 12:35:41 +08:00
Kevin Hester
0f63835a7f get ready for the new short channelsettings 2020-12-14 21:30:00 +08:00
Kevin Hester
88b1ad5443 remove support for 0.8 version URLs (found while investigating #188) 2020-11-17 19:54:48 +08:00
geeksville
7c93d9b540 Fix unit test for the empty name case 2020-09-27 14:05:10 -07:00
Kevin Hester
36e96e1811
Merge branch 'master' into message-db 2020-09-27 13:05:33 -07:00