Commit graph

276 commits

Author SHA1 Message Date
Kevin Hester
0c70ae860e If we are unable to generate a barcode, just show nothing 2021-04-05 15:52:26 +08:00
Kevin Hester
7bb3511587 allow longer channel names (if you include the # prefix and suffix 2021-04-05 15:35:12 +08:00
Kevin Hester
7f6ed483a9 fix #271, changing speeds was busted, also other dark patterns in editing 2021-04-05 15:17:39 +08:00
Kevin Hester
395bc59c9c ChannelSettings.defaultInstance is garbage, do not use it 2021-04-04 17:44:25 +08:00
Kevin Hester
28fec09a54 fix message not allowed to be queued while sleeping (I think) 2021-04-02 13:56:09 +08:00
Kevin Hester
7d898481a6 fix autobug for devices that don't have URL sharing support 2021-03-31 19:45:31 +08:00
Kevin Hester
04f4a2a342 TCPInterface (for accessing the native-simulator) kinda works 2021-03-29 21:09:27 +08:00
Kevin Hester
9e42634402 cleanup mockinterface detection 2021-03-29 20:45:11 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
d510576fa8 fix warnings 2021-03-29 19:08:42 +08:00
Kevin Hester
3c457a118d cleanup lastHeard in node info (instead of position.time) 2021-03-27 10:55:16 +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
5f6cb7637c Merge remote-tracking branch 'root/master' into dev1.2
# Conflicts:
#	app/src/main/java/com/geeksville/mesh/MainActivity.kt
2021-03-24 13:49:46 +08:00
Kevin Hester
ad7a189c51 add default channel button 2021-03-24 13:48:26 +08:00
Vadim Furman
0d9f31f7fb Pipe rssi to the view 2021-03-22 21:10:58 -07:00
Kevin Hester
c9d18b00a4 don't let user update firmware without setting a region. 2021-03-20 17:47:02 +08:00
Vadim Furman
8aa7585fdd Merge remote-tracking branch 'upstream/master' 2021-03-19 16:55:22 -07:00
Vadim Furman
5e4470d25e Use default scope for file save and display snr 2021-03-19 14:33:55 -07: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
a18343e30c Merge remote-tracking branch 'root/master' into dev1.2
# Conflicts:
#	app/src/main/java/com/geeksville/mesh/service/MeshService.kt
#	app/src/main/java/com/geeksville/mesh/service/MockInterface.kt
#	app/src/main/res/values/strings.xml
2021-03-19 15:09:33 +08:00
Kevin Hester
3ab9ee4afc
Merge branch 'master' into master 2021-03-19 15:00:49 +08:00
goga
3e3dc47440 oops, show not only my coords, but neighbour's too 2021-03-18 11:11:37 +05:00
Vadim Furman
78a08898fe Save messages in CSV and fix position broadcast 2021-03-17 21:00:01 -07:00
Kevin Hester
98356b9205 fix autobug crash when primary channel is null 2021-03-17 15:37:09 +08:00
goga
6958e3c86a coords position fix 2021-03-16 11:38:42 +05:00
goga
452bf6f6cb show coordinates with geo url to open in other mapping app 2021-03-16 10:04:01 +05:00
goga
53745ca9f5 display timeAgo properly and show coords in users screen 2021-03-16 00:05:28 +05:00
goga
c8107441de display timeAgo properly and show coords in users screen 2021-03-15 23:46:53 +05:00
Kevin Hester
fa17c4efe1 fix new hwmodel based on testing with the simulator 2021-03-15 10:31:44 +08:00
Kevin Hester
e82153c999 1.2.6 2021-03-07 09:57:14 +08:00
Kevin Hester
390413bd8a fix channel setting 2021-03-05 14:14:17 +08:00
Kevin Hester
d15ff7ed36 region setting is finished 2021-03-04 11:20:51 +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
aa79ee4335 make our simulator work like 1.2 2021-03-03 14:43:29 +08:00
Kevin Hester
b53acd206b region GUI wip 2021-03-03 13:51:33 +08:00
Kevin Hester
dbc91e4ac5 remove deprecations 2021-03-03 08:14:40 +08:00
Kevin Hester
e27a3d937d show alert for old firmware 2021-03-02 15:12:57 +08:00
Kevin Hester
850358e103 channel setting is healthier 2021-02-27 14:31:52 +08:00
Kevin Hester
1eaabfc216 fix java paths for protos 2021-02-27 13:43:55 +08:00
Kevin Hester
4a90bb2fc0 fix various lint warnings 2021-02-21 11:34:43 +08:00
Kevin Hester
6eaec63df9 fix another autobug - don't crash if firmware update can't start 2021-02-14 16:11:55 +08:00
Kevin Hester
50dc26b36d fix autobug if user tries to change settings during an update
cc @vfurman-gh

Caused by android.os.RemoteException: Operation prohibited during firmware update
       at com.geeksville.util.ExceptionsKt.toRemoteExceptions(ExceptionsKt.java:61)
       at com.geeksville.mesh.service.MeshService$binder$1.setRadioConfig(MeshService.java:1589)
       at com.geeksville.mesh.model.UIViewModel.setRadioConfig(UIViewModel.java:163)
       at com.geeksville.mesh.model.UIViewModel.setLsSleepSecs(UIViewModel.java:148)
       at com.geeksville.mesh.ui.SettingsFragment$initCommonUI$8.invoke(SettingsFragment.java:637)
       at com.geeksville.mesh.ui.SettingsFragment$initCommonUI$8.invoke(SettingsFragment.java:464)
       at com.geeksville.mesh.ui.MessagesFragmentKt$on$1.onEditorAction(MessagesFragmentKt.java:35)
       at android.widget.TextView.onEditorAction(TextView.java:7042)
       at com.android.internal.widget.EditableInputConnection.performEditorAction(EditableInputConnection.java:138)
       at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:357)
       at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:89)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:224)
       at android.app.ActivityThread.main(ActivityThread.java:7562)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2021-02-14 16:07:49 +08:00
Kevin Hester
e482d074c7 fix an autobug with some shit phone 2021-02-14 15:52:16 +08:00
Vadim Furman
2f7ce57015 Formatting 2021-02-13 22:02:24 -08:00
Vadim Furman
757c3867f2 Moved broadcast and ls_sleep in advanced settings 2021-02-13 21:35:57 -08:00
Vadim Furman
380ca1017f Use snackbar 2021-02-13 18:53:59 -08:00
Vadim Furman
8a065c5b88 Per-channel minimum broadcast period enforcement 2021-02-12 19:07:14 -08:00
Kevin Hester
705e0deae3 make settings layout work on even the tiniest of screens 2021-02-11 13:44:30 +08:00
Kevin Hester
122dabefb0 add back a fixed isViewVisible, @vfurman-gh would you mind reviewing? 2021-02-08 12:19:35 +08:00