Commit graph

49 commits

Author SHA1 Message Date
Mike Cumings
b3878a4240 Issue #369 - Use repository pattern for bluetooth state 2022-02-26 22:59:20 -08:00
Mike Cumings
16d2b2e5f3 CSV export improvements to make it more reliable 2022-02-25 14:14:50 -08: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
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
Kevin Hester
74a34cd9b6 store background location pref 2021-06-23 12:41:44 -07:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +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
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
1eaabfc216 fix java paths for protos 2021-02-27 13:43:55 +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
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
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
Gunter Tim
bd18a3aadd Always keep first character of long name when making short name from one word long names 2020-09-26 22:21:39 -07:00
Ludovic Goix
6ec16073c1 Added a debug panel
final
2020-09-26 21:56:52 -04:00
geeksville
c1cbf1e916 add trim to #162 so " " behavior stays same. 2020-09-17 12:03:27 -07:00
Gunter Tim
f413bea618 Make 3 character short names from long name when long name is only one word 2020-09-17 00:37:51 -07:00
Ludovic Goix
4137f5e787 Fix bad connection status #84 2020-07-17 17:06:29 -04:00
geeksville
c1388d6bad firmware update button is kinda in 2020-05-13 17:00:23 -07:00
geeksville
34aa4cde05 if bluetooth was disabled when we started, reattempt device connect later 2020-04-20 09:56:38 -07:00
geeksville
7fa168ab2c 0.3.9 - fix channel setting autobug and update to latest google libs 2020-04-15 07:52:00 -07:00
geeksville
2b588ac7e7 editing and saving channels kinda works 2020-04-09 16:33:42 -07:00
geeksville
0ff97ba3c4 node list view kinda works 2020-04-08 15:25:57 -07:00
geeksville
012139cb01 remove compose completely and stub out temp broken things 2020-04-08 09:53:04 -07:00
geeksville
8709d9db8c about to remove compose 2020-04-08 08:16:06 -07:00
geeksville
b83c1a0394 channel uncompose kinda works 2020-04-07 17:42:31 -07:00
geeksville
f2d43332f7 Making app aware of device sleep states, Fix #4 2020-04-04 17:00:38 -07:00
geeksville
d9ef6815ec back to making maps work? 2020-03-30 10:26:16 -07:00
geeksville
b085a7f761 split Channel into its own file 2020-03-24 13:48:22 -07:00
geeksville
bbd76ab75a make channel unit tests 2020-03-17 14:56:06 -07:00
geeksville
40a142064f channel sharing WIP 2020-03-17 11:35:19 -07:00
geeksville
506796c54b channel editing kinda works 2020-03-15 18:44:10 -07:00
geeksville
36b2da72e4 showing real channel data works 2020-03-15 16:30:12 -07:00
Kevin Hester
44ebac1758 channel qrs are now sharable and real 2020-03-02 08:41:16 -08:00
Kevin Hester
9a2c22d0f6 we now generate real qr codes from the current channel 2020-03-02 07:46:03 -08:00
Kevin Hester
6a90881dd6 fix crashlytics auto report. oops error() is now a kotlin stdlib call
and therefore I was accidentally calling it instead of my Logging.error()
method.  And that made some error logs incorrectly fatal.
2020-02-29 13:21:05 -08:00
geeksville
c568b04354 Setting owner name approximately works 2020-02-18 12:22:45 -08:00
geeksville
91cf6b7253 begin letting users edit ownername 2020-02-18 10:40:02 -08:00
geeksville
165df2c4de allow sending broadcasts and cope with missing mesh services 2020-02-17 15:39:49 -08:00
geeksville
f18ac28dc0 start cleaning up models 2020-02-17 13:34:52 -08:00