Kevin Hester
c1a62097f4
Merge branch 'master' into bluetooth-state-receiver-readability
2020-09-19 07:42:50 -07:00
geeksville
c1cbf1e916
add trim to #162 so " " behavior stays same.
2020-09-17 12:03:27 -07:00
geeksville
8a1385710d
add unit tests for #162
2020-09-17 12:03:02 -07:00
geeksville
8e4e2f83ec
errrmsg
2020-09-17 12:00:45 -07:00
geeksville
bedfe5e3c0
Merge remote-tracking branch 'root/master' into dev
2020-09-17 11:53:10 -07:00
Kevin Hester
5fff284615
Merge pull request #162 from timgunter/better_shortnames
...
Make 3 character short names from long name when long name is only one word
2020-09-17 11:52:48 -07:00
Ken Van Hoeylandt
8219ef42ed
improved readability on BluetoothStateReceiver
...
and renamed `intent` to `intentFilter` to properly reflect type
2020-09-17 20:47:54 +02:00
Ken Van Hoeylandt
8de116bb01
safeguard for UsbService nullability
...
because of the Java interface implying it
2020-09-17 19:55:36 +02:00
Ken Van Hoeylandt
f97bc21719
simplified calls to system services
...
and fixed some code that assumed BluetoothManager to never be NULL
2020-09-17 19:49:50 +02: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
ae687f5cfe
don't send autobug if the user has (foolishly) disabled location access
2020-09-15 10:04:35 -07:00
geeksville
c3b3db97c8
Thanks to @Bussemann for Norsk! and thanks to @Retrodime for Romanian!
2020-09-15 09:45:57 -07:00
Kevin Hester
b303603406
Merge pull request #158 from smack815/patch-1
...
Update strings.xml
2020-09-13 18:09:46 -07:00
smack815
7208673aa8
Update strings.xml
...
First update to the Spanish translation to fix some errors. I will send the second half translations soon.
2020-09-13 21:44:29 -03:00
geeksville
6a1d778552
0.9.90 fix ble scanning on samsung?
2020-09-13 13:22:40 -07:00
geeksville
404efa926c
0.9.81 fix a ANR that could occur (I think)
2020-09-11 16:19:23 -07:00
geeksville
e07847af87
fix #141 don't let extra # into channel name. thx @moxy-bc and @dzaczek
2020-09-08 12:29:28 -07:00
geeksville
2fbd0a7a5e
show url prefix for debugging
2020-09-08 12:05:19 -07:00
geeksville
9cea9ce457
fix #123 stop service when disconnected
2020-09-08 12:05:03 -07:00
Ludovic Goix
0768ba086b
Show network range setting when locked #138
2020-09-04 07:59:07 -04:00
Ludovic Goix
c87d0adc61
Connect to a device without updating any change #119
2020-09-02 20:16:41 -04:00
geeksville
23706431fb
remove hint text from channel dropdown - causes draw artifacts
2020-08-30 12:51:34 -07:00
geeksville
502ad2c491
Fix #143 tell user we need high-accuracy access (Samsung apparently lets them choose)
2020-08-30 12:44:05 -07:00
geeksville
ba8961ef6c
oops remove some testing code
2020-08-30 12:09:51 -07:00
geeksville
a5678392f5
fix autobug - if gatt is closed while we are shutting down it is not an error
2020-08-30 12:01:38 -07:00
geeksville
bd29a93a71
fix autobug during software update, treat sync timeouts just like async timeouts
2020-08-30 11:52:46 -07:00
geeksville
8f3745c71b
don't send autobugs if the user is a dummy that refuses location access
2020-08-29 19:22:12 -07: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
a985f1f2c5
Fix #140 - make QR code larger (by making layout agnostic to display size)
2020-08-29 17:03:33 -07:00
Kevin Hester
db24204b9b
Merge pull request #135 from rubensudos/master
...
Add Portuguese translation
2020-08-24 13:26:42 -07:00
geeksville
38a3e37ad0
Fix #122 - let users copy text messages
2020-08-22 19:08:40 -07:00
RR
fd7f16f3d9
Add Portuguese translation
2020-08-22 19:03:16 +01:00
geeksville
0c30c4243d
0.9.04 add Haitian translation from @scottbridges
2020-08-20 19:20:24 -07:00
geeksville
9a73da562c
Update to kotlin 1.4
2020-08-18 11:25:16 -07:00
geeksville
ad6eb621f6
fix autobug: when USB devices are unpluged wait for them to cleanly shutdown
2020-08-15 12:06:21 -07:00
geeksville
05056fe0fc
don't spam autobugs if someone has malformated version strings in their firmware
2020-08-15 11:25:36 -07:00
geeksville
92621e07aa
don't spam autobugs if we get an exception reading fromnum when the device is leaving
2020-08-15 11:19:23 -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
geeksville
72128d1e39
Merge remote-tracking branch 'root/master' into dev
2020-08-11 19:33:22 -07:00
geeksville
617655b8f7
improve API docs
2020-08-11 19:31:57 -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
Kevin Hester
888139d589
Merge pull request #112 from lgoix/timefix
...
Fix time issue and Toast not showing when notification are disabled
2020-07-31 09:09:09 -07:00
geeksville
f3be13f0fb
don't leak macaddrs into logs
2020-07-29 16:16:29 -07:00
geeksville
6306d19f6d
low memory samsung phones that have lots of boot receiver can run real slow
...
Thus exposing the google startup bug: https://issuetracker.google.com/issues/76112072#comment56
https://console.firebase.google.com/u/0/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/78d68909d65bf62fa9d4d3b5b42cddc6?time=last-seven-days&sessionId=5F203DB903DC000146028E3DAF71631D_DNE_0_v2
2020-07-29 15:48:21 -07:00
geeksville
384bb3759e
fix autobug - location callback might come after activty is dead
...
https://console.firebase.google.com/u/0/project/meshutil/crashlytics/app/android:com.geeksville.mesh/issues/714e0b9e232289ddc9162fd3aebc1510?time=last-seven-days&sessionId=5F1C562E03E2000142C73D26354B80BF_DNE_0_v2
2020-07-25 20:40:00 -07:00
geeksville
ae117fcd9e
add debug output
2020-07-24 13:00:27 -07:00