Commit graph

90 commits

Author SHA1 Message Date
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
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
geeksville
2fbd0a7a5e show url prefix for debugging 2020-09-08 12:05:19 -07:00
Ludovic Goix
0768ba086b Show network range setting when locked #138 2020-09-04 07:59:07 -04:00
geeksville
d2273b8d5b fix an autobug. Someone with a galaxy tab is trying to open the old
version of the URL.

Caused by java.net.MalformedURLException: Not a meshtastic URL
       at com.geeksville.mesh.model.Channel$Companion.urlToSettings(Channel.java:43)
       at com.geeksville.mesh.model.Channel$Companion.access$urlToSettings(Channel.java:19)
       at com.geeksville.mesh.model.Channel.<init>(Channel.java:50)
       at com.geeksville.mesh.MainActivity.perhapsChangeChannel(MainActivity.java:631)
       at com.geeksville.mesh.MainActivity.handleIntent(MainActivity.java:467)
       at com.geeksville.mesh.MainActivity.onNewIntent(MainActivity.java:447)
       at android.app.Activity.performNewIntent(Activity.java:7971)
       at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1407)
       at android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1420)
       at android.app.ActivityThread.deliverNewIntents(ActivityThread.java:3838)
       at android.app.ActivityThread.handleNewIntent(ActivityThread.java:3850)
       at android.app.servertransaction.NewIntentItem.execute(NewIntentItem.java:53)
       at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:8107)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
2020-08-29 19:07:29 -07:00
geeksville
8233f063ed fix hash 2020-08-13 15:24:36 -07:00
geeksville
bc5d6cf808 fix #86 the first message sent is duplicated bug 2020-08-12 12:48:43 -07:00
geeksville
93d4cd99fd show channel suffix per https://github.com/meshtastic/Meshtastic-device/issues/269 2020-08-12 12:33:04 -07:00
Kevin Hester
488c615a78
Merge pull request #127 from gkelly/channel-fragment
Put channel options into URL fragments
2020-08-11 11:28:58 -07:00
Garret Kelly
61c8d2d266 Put channel options into URL fragments
Put the channel options into the URL fragment instead of the URL path.
This ensures that the channel options (including the channel key) is
never accidentally leaked to a remote party. This URL format appears to
be backwards compatible, URLs generated in the new form are properly
parsed by the old version. URLs generated by the old version are _not_
parsed by the new version.

Closes #126.
2020-08-10 22:19:51 -04:00
Garret Kelly
5a03e0c78b Fix minor typo around default channel key 2020-08-10 21:20:55 -04:00
Ludovic Goix
4137f5e787 Fix bad connection status #84 2020-07-17 17:06:29 -04:00
Ludovic Goix
d822538c0e Display battery level of remote nodes #64 2020-07-01 08:28:06 -04:00
Ludovic Goix
45273f5a7d Make Channel options available 2020-06-14 00:11:08 -04:00
geeksville
6195874982 If user changes back to default channel, use the standard key 2020-06-12 20:38:43 -07:00
geeksville
aa3a8bf089 Add back AES256 key assignment (from TODO list) 2020-06-12 20:26:10 -07:00