Commit graph

60 commits

Author SHA1 Message Date
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
geeksville
6a3a763f71 workaround a kotlin(?!) bug
// FIXME - possible kotlin bug in 1.3.72 - it seems that if we start with the (globally shared) emptyList,
// then adding items are affecting that shared list rather than a copy.   This was causing aliasing of
// recentDataPackets with messages.value in the GUI.  So if the current list is empty we are careful to make a new list
2020-06-04 08:53:37 -07:00
geeksville
9254a90774 add a min appVersion check, so devices can tell user when android app needs
update
2020-06-03 16:16:51 -07:00
geeksville
0b66d813ef message status icons approximately work - still a problem on first send though 2020-05-31 11:23:25 -07:00
geeksville
7506d712ff message status updates are coded but not yet tested. 2020-05-30 19:58:36 -07:00
geeksville
6031b5eaa0 clean up message API to/from mesh service, to allow clients to get
updates on message status
2020-05-30 15:55:47 -07:00
geeksville
38e7e8a783 oops - fix build - default channel name should never be localized 2020-05-29 14:16:16 -07:00
geeksville
05776c2593 fix warnings 2020-05-29 14:00:50 -07: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
4f24794001 wix warnings 2020-04-19 16:24:47 -07:00
geeksville
fdd3b48364 don't let users try to send texts if we don't have a node id 2020-04-19 12:31:27 -07:00
geeksville
5784138c96 Fix #11: we now keep a record of past messages in the persistent service state 2020-04-19 11:47:34 -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
dda035cceb oops supposed to be using a modelMapOf to have node list view update 2020-02-25 14:23:19 -08:00
geeksville
8089475622 only seed with test data if we are on the emulator 2020-02-25 10:48:54 -08:00