Commit graph

1755 commits

Author SHA1 Message Date
Eric House
cc7298c6a5 add Finnish support 2022-03-31 10:10:05 +02:00
Eric House
4813eb4689 remove custom localization stuff
I had a scheme where, as on WinMobile, I could download localization
data based on the local of the device I was on. Saved a lot of
space. Google didn't care about space, and I haven't for a while
either, so it's coming out except for the API that did in-place
translation of UI elements.
2022-03-10 11:45:24 -08:00
Eric House
6721f37efb make hostname switchable in one place
I'm working on being able to test against a local VM....
2022-03-04 20:49:14 -08:00
Eric House
ace8781c3a update version strings and changelog 2022-03-01 11:00:43 -08:00
Eric House
fd17633ca4 more on showing timer stats 2022-03-01 11:00:43 -08:00
Eric House
3d4993bf09 fix compile 2022-03-01 10:54:34 -08:00
Eric House
bc989dc903 allow show timer stats and game traffic on release builds 2022-03-01 10:51:54 -08:00
Eric House
e613adcac2 removing old code 2022-02-20 11:30:27 -08:00
Eric House
2175600190 use new webapi to fetch mqttid to replace relayid
And drop relay once we have it. Makes perfecting RelayService backoff
less an issue.
2022-02-12 13:27:24 -08:00
Eric House
4bfcf2afb4 deal better with old relay games
Attempting to stop calling the relay, but to let relay-only games finish
and issue invitations. Big changes are that relay is removed from games
if they have viable mqtt connections, and relay timers fire less often,
then eventually stop getting set if there are no active games. Result is
that a relay-only invitation won't likely be received, but there should
be few or none of those now.
2022-02-10 08:28:34 -08:00
Eric House
0cd3be2668 switch to a single alarm and job for all timers
Main goal is to not fire RelayService timer when mqtt timer fires and
there are not any active relay games at all. Adds new class that keeps
a timer for each client, sets the closest each time, and dispatches only
that one.
2022-02-07 12:55:18 -08:00
Eric House
2c79d7dfe6 assert logging as expected 2022-02-07 12:55:18 -08:00
Eric House
0cd757d327 fix lollipop-only logging of formatting exception 2022-02-07 12:49:59 -08:00
Eric House
acc17c2ce2 Don't connect to relay for games with mqtt
I was determining I need to check the relay for messages if I have open
games using it. But they can also use mqtt, and the goal's go stop using
the relay. So only force the connection if the games can only connect
via relay. Once I've confirmed via a study of relevant databases that
all recent relay games are also connecting via mqtt this can ship, and
should stop nearly all relay traffic .
2022-01-27 08:10:40 -08:00
Eric House
733567c949 move ints from res to code so exist in one place only
Debug ids were in one place, non- in another. Now they're all
together.
2022-01-26 20:36:18 -08:00
Eric House
d22ffbec3f handle byod download links
Download the thing and offer to open it on success.
2022-01-24 20:48:13 -08:00
Eric House
8738791ead version strings and changelog for release 2022-01-11 12:12:32 -08:00
Eric House
25c85af2e6 send LWT on release builds too 2022-01-10 20:50:15 -08:00
Eric House
ce6537f2a9 add lwt to connect 2022-01-10 07:47:51 -08:00
Eric House
e5a6f05e92 Revert "add timestamps to logs where older OS doesn't provide"
This reverts commit f0a05c004c. Turns out
logcat can be made to show timestamps on older devices too.
2022-01-08 08:56:16 -08:00
Eric House
f0a05c004c add timestamps to logs where older OS doesn't provide 2022-01-07 17:46:37 -08:00
Eric House
2e5f6128f2 post new msg message from relay2
This is to have a utility back, but mostly to start playing with being
able to send keepalives to a device that have nothing to do with moves.
2022-01-06 19:07:08 -08:00
Eric House
dcd3a4cc8c up version strings 2022-01-04 13:27:01 -08:00
Eric House
5aa1a50f10 change notes and up copyright 2022-01-04 13:26:58 -08:00
Eric House
a8963c952e use variable length ints to store msgID and len 2022-01-04 11:12:58 -08:00
Eric House
b5e484baa5 log rather than assert when game opened twice 2021-12-16 13:20:03 -08:00
Eric House
b37985070b remove unused strings 2021-12-06 20:30:20 -08:00
Eric House
7a425f6db9 no need for advanced network prefs
since it has only one element in it now
2021-12-05 21:21:00 -08:00
Eric House
fd9e519eaa remove dead code around public rooms 2021-12-05 21:10:06 -08:00
Eric House
cdbdf8a121 up version code to replace rejected Store upload 2021-12-04 11:13:57 -08:00
Eric House
5982af1a4a use sdk 30 -- required by Play Store 2021-12-04 09:30:08 -08:00
Eric House
f8ef1af1fb changelog 2021-12-01 10:57:50 -08:00
Eric House
3d89e18d8b show separate available and installed wordlist counts 2021-12-01 10:57:50 -08:00
Eric House
565af46789 send versionCode instead of custom flags
Since ability to grok a wordlist is a function of version, might as well
have the server know about that. Requires upping versionCode
prematurely, with stubbed-out release notes.
2021-12-01 08:27:26 -08:00
Eric House
bd6bc71603 use a single string array for lang code and name 2021-11-29 09:26:47 -08:00
Eric House
a738e60f1d fix sorting when lang names are localized 2021-11-28 12:28:52 -08:00
Eric House
b6c9e11f87 add flag that Romanian's understood 2021-11-28 11:03:01 -08:00
Eric House
fb7a819db7 add Romanian 2021-11-27 12:06:50 -08:00
Eric House
6251af983e stop using relay for new games for Release too 2021-11-27 11:26:31 -08:00
Eric House
8e45c57178 log BT UUID on startup 2021-11-01 12:44:56 -07:00
Eric House
6df8f10e3a use cellline color to frame tiles
Was just plain black before, and that didn't work well on dark theme
when it came time to select for trade.
2021-10-27 15:46:49 -07:00
Eric House
847024512a move colors setting up 2021-10-27 15:46:49 -07:00
Eric House
3b51eb0629 don't make unsolicited upgrade offer more than once
Debug build checks for upgrades every hour, and when I don't want one
it's annoying to keep dismissing notifications. Should have no impact on
release builds.
2021-10-14 12:13:46 -07:00
Eric House
ba5a141b3f cleanup: add and use overridden method 2021-10-14 12:09:34 -07:00
Eric House
a0f1f1d045 add post-export option to email logs; remove export
No point in exporting only to create a file, so export-and-email as one step
2021-10-05 15:19:46 -07:00
Eric House
f083ba9897 add timestamp to saved logs, and zip on export
They're otherwise too big to email
2021-09-30 21:27:22 -07:00
Eric House
550795d3a1 don't lose track of what's open when device rotates
GamesListDelegate is the wrong place to track open games (boards). Let's
try doing it in BoardDelegate.
2021-09-04 15:19:40 -07:00
Eric House
4c94f19ec6 tweak line & bonus hint colors & sizes
Upgraders will only get the smaller hints, but not the brighter color
that compensates.
2021-09-04 11:29:47 -07:00
Eric House
bbb2ab3856 changelog and version changes 2021-08-31 10:46:59 -07:00
Eric House
79d77410a5 fix failure to send NO_SUCH_GAME over NBS
Wasn't sending zero-length messages, which this one is. Needs testing,
because there must have been a reason for that test.
2021-08-31 10:44:39 -07:00
Eric House
ffa3f245ac remove logging 2021-08-29 21:10:46 -07:00
Eric House
789978b8b2 tweak player colors (dark) 2021-08-29 18:20:52 -07:00
Eric House
2e6572f250 add not-again hint when dark-theme used 2021-08-13 13:47:54 -07:00
Eric House
a8abdaad8c cleanup: not a new feature any more 2021-08-13 11:04:45 -07:00
Eric House
4ed46f6681 make default settable by sdk version
This is a better way to do it: use separate values that user doesn't
see and so that they can be defined as defaults without worrying about
translation.
2021-08-10 18:13:00 -07:00
Eric House
cf553a0aed set first theme choice as default
workaround for not knowing how to set default based on os version:
don't set default, and when there's none set use the first in the
list.
2021-08-10 14:46:47 -07:00
Eric House
bfd7963ea6 Add dark- and light-mode themes for board
Allow user to choose a new dark-mode color scheme for the board, with
colors editable same as the old mode. Support exporting a URL
encapsulating those colors to clipboard and importing from the URL
when it's tapped e.g. in email.
2021-08-09 09:31:20 -07:00
Eric House
7d07a2319b get rid of HostActivity
New Prefs framework doesn't require it.
2021-07-29 19:38:00 -07:00
Eric House
fb1088b9a8 'show network' option takes priority over 'reset'
These are debug-build-only, but useful for my debugging!
2021-07-24 12:29:13 -07:00
Eric House
7a63a97259 changelog and version codes 2021-07-18 15:19:34 -07:00
Eric House
34f2a853d6 make bonus hints smaller 2021-07-18 15:19:29 -07:00
Eric House
6439f6d223 don't crash when BT's off 2021-07-17 13:31:08 -07:00
Eric House
b49792c750 make cell line width settable 2021-07-16 12:21:49 -07:00
Eric House
694953c820 add support for trays with up to 9 tiles 2021-07-16 12:15:46 -07:00
Eric House
5764a752a7 add default mqtt server to test app 2021-05-30 16:39:55 -07:00
Eric House
e667291da5 show invitee name where possible
When I've invited a Known Player, use that player's name in parens in
scoreboard and games list elem/summary until a remote device connects
(usually in response to an invitation) and provides an actual player
name. Makes it much easier to tell one pending game from another. And
doesn't really work (yet) where there's more than one remote player in
a game.
2021-05-30 13:31:33 -07:00
Eric House
6352958066 update changelog and version strings for release 2021-05-27 12:26:59 -07:00
Eric House
e18b2d5c75 avoid crash by dropping GAME_OVER event
Play Store reports say I'm getting this event when I don't have a
valid jni game instance to work with. So test for that, and drop the
event. If it's a race condition this should fix it. If not I'll get
some other crash report that might be more useful.
2021-05-27 10:56:21 -07:00
Eric House
dd8e7584e6 fix NPE
Needed to init globals first
2021-05-27 10:49:20 -07:00
Eric House
3d1ec565b0 add two ways to launch web view of game traffic
This'll should it a lot easier to look at what's going on e.g. for a
stalled game
2021-05-23 18:39:28 -07:00
Eric House
9e4a889b6c update commented-out log statements 2021-05-17 17:26:30 -07:00
Eric House
515a253028 changelog and version codes 2021-05-17 12:50:22 -07:00
Eric House
3fd6303f9e add assert toward tracking crash on Play Store 2021-05-17 12:50:22 -07:00
Eric House
8f5484c5a6 fix crash opening BT game when BT disabled 2021-05-16 08:29:57 -07:00
Eric House
3f332480fb switch menu positions 2021-05-15 20:55:05 -07:00
Eric House
be698069a4 cleanup of recent changes 2021-05-14 11:34:15 -07:00
Eric House
0881566209 restore relay for release builds
I want to do a release, and the no-relay stuff isn't sufficiently
tested.
2021-05-13 08:44:44 -07:00
Eric House
03c9d92368 remove typo apparently introduced by translator 2021-05-02 19:33:58 -07:00
Eric House
9a2fa9534a moving metadata to see if weblate picks it up 2021-05-02 19:19:58 -07:00
Eric House
fab7a7befe fix Oreo-only crash by not setting screen orientation
This may hurt Oreo users in some other way, but I'm not taking the time
right now to figure out what's special about DwnldActivity that it
crashes when setting screen orientation on Oreo. It's only 5% of my
users anyway.
2021-05-02 07:11:36 -07:00
Eric House
f1123bebfc played word lookup: skip choosing if only one choice 2021-04-26 08:16:24 -07:00
Eric House
daf5894d79 call new web api to ack mqtt messages
This is toward debugging. Not sure it'll be use to add functionality yet.
2021-04-19 07:04:58 -07:00
Eric House
356280565a ensure default addr type set never empty 2021-04-08 21:43:24 -07:00
Eric House
b9c34b2b31 don't include relay in rematch addressing 2021-04-01 13:26:25 -07:00
Eric House
a1cabd6c4c don't add relay to new games -- mqtt only 2021-04-01 10:10:08 -07:00
Eric House
2d3f86a396 Merge branch 'from_android_beta_175' into android_branch 2021-03-31 16:59:31 -07:00
Eric House
ad3fd9342c up strings for bug-fix release 2021-03-31 16:37:12 -07:00
Eric House
229ced9a29 add and use new string for networked case 2021-03-31 16:33:53 -07:00
Eric House
0e3cd7c9f5 upgrade to latest stable (LTS) NDK 2021-03-31 16:21:03 -07:00
Eric House
29261dd370 fix crash when no radio's been chosen 2021-03-31 16:19:19 -07:00
Eric House
60d6cf444a fix crash when no radio's been chosen 2021-03-31 16:18:44 -07:00
Eric House
97962fceed upgrade to latest stable (LTS) NDK 2021-03-29 18:26:05 -07:00
Eric House
f13e81a4b5 Merge branch 'android_branch' into wasm 2021-03-28 18:39:07 -07:00
Eric House
9cf07b6327 remove unused json field 2021-03-28 10:28:47 -07:00
Eric House
64ff2e5f69 Merge branch 'android_branch' into wasm 2021-03-27 10:27:14 -07:00
Eric House
61d580adeb remove extra line-feeds 2021-03-26 22:19:00 -07:00
Eric House
f441ec18b3 changelog and version change for upgrade 2021-03-25 20:25:54 -07:00
Eric House
0e7edd9dcf fix build breakage by reusing rather than duplicating string 2021-03-25 15:45:53 -07:00
Eric House
430750e23a Change text for blank-out-filter-config Clear, not Reset
Reset somehow makes me expect the filter to be re-applied after the
inputs are removed.
2021-03-25 12:10:49 -07:00
Eric House
59acc5d619 disable reset button unless there's state to clear
Using a timer seemed easier than adding listeners on a bunch of fields.
2021-03-25 09:41:43 -07:00
Eric House
a11db395d5 fix invite alert not being dismissed on game connect
At least where QR was being used, it didn't go away. Not sure why, but a
global was getting nulled when it shouldn't have been. Race condition I
guess.
2021-03-22 12:22:53 -07:00
Eric House
561c5c9eb1 cleanup 2021-03-22 10:43:34 -07:00
Eric House
bdb081d0e3 cleanup: remove version test and tweak strings
There's no point in checking if I'm running on a version the Play Store
hasn't supported for years.
2021-03-21 17:29:08 -07:00
Eric House
3102271840 turn "known players" on for all 2021-03-21 13:40:17 -07:00
Eric House
4f8ae02bbe regression: don't offer to archive archived game 2021-03-21 13:25:47 -07:00
Eric House
1869557f12 when a move is dropped for lack of dict, alert user
Better to encourage deletion so the remote player knows what's up. This
will not happen often but it has bitten me so....
2021-03-21 10:33:49 -07:00
Eric House
637c47e506 add another as-generated vector asset
Can't figure out how to change the color on the untrade one, so it'll
wait.
2021-03-20 20:05:13 -07:00
Eric House
21b4f51648 swap menuitem positions 2021-03-20 13:46:02 -07:00
Eric House
677abe6fb8 remember prev dict choice and use for longtap
Often I want to view a different wordlist from what's in use in the
game. So make the in-board long-tap shortcut to a wordlist remember what
the short-tap gesture chose most recently and use that instead of
assuming the game's list is what's wanted. Remember the choice on a
per-language rather than per-game basis.
2021-03-20 13:29:22 -07:00
Eric House
e1712f4560 when KP is deleted, remove record of its being expanded
I'm tired of having a record recreated and showing up expanded first
thing. Better to save less garbage.
2021-03-20 08:49:41 -07:00
Eric House
88e76af7ab put scores alert on backstack too
It also should go away when board is dismissed.
2021-03-19 18:14:00 -07:00
Eric House
521a5b57b8 put gameover alert on backstack
This seems to do what I want: cause it to be dismissed whenever the
board fragment behind it (that launched it) goes away, e.g. because the
remote deleted first and local got a deleted-elsewhere-so-delete-here?
alert.
2021-03-19 18:04:52 -07:00
Eric House
17311dc757 get rid of dict processing where possible
The old API required passing dict into game creation/loading. New
doesn't, but in some places I was doing other stuff there (like checking
existance), so can't remove there. Still code goes away.
2021-03-19 14:29:20 -07:00
Eric House
970c2f6f9a make android compile/run with wasm changes 2021-03-19 14:29:20 -07:00
Eric House
34aee3d7d0 add remaining langs to code-to-lang table 2021-03-19 14:29:20 -07:00
Eric House
073b5f6bf3 enable delete and archive when msg queue empties
Recent change added Delete button to game-over alert, but only when no
unacked messages remained (since deleted games can't continue trying to
send messages other games might still need to know the game's over.)
Typically the alert would go up and then, if the remote device is
online, shortly after acks would arrive. Now when that happens the alert
gets updated to offer to delete and archive.
2021-03-19 14:07:43 -07:00
Eric House
e30a02ee7c cleanup: more getting rid of Dialog 2021-02-25 17:20:15 -08:00
Eric House
d0323b5ce1 move game name field to top of dialog 2021-02-25 17:18:52 -08:00
Eric House
f7ba081e01 don't offer to archive or delete games missing acks
Once in the archive games don't ever send unless opened explicitly (no
resend-all-on-gained-network stuff for them). So don't offer to put a
game there if it has unsent (unacked) messages. Should prevent problem
of a host being archived before it's managed to send its final move to
all guests.
2021-02-25 12:13:23 -08:00
Eric House
c22526b1f7 Offer to delete finished games 2021-02-25 10:14:06 -08:00
Eric House
9804594237 cleanup: use AlertDialog not Dialog 2021-02-25 08:56:08 -08:00
Eric House
5c09d9b9a4 add commented-out javac option
(so I don't have to research it again)
2021-02-25 08:55:05 -08:00
Eric House
ad8451d5c9 fix NPE
When nothing has focus can't close keyboard. (Likely it's not up in that
case anyway.)
2021-02-24 21:18:59 -08:00
Eric House
1c9b94efbc hide keyboard when filter run and when filter closed 2021-02-24 20:15:58 -08:00
Eric House
5736870357 when filtering, enter key hides keyboard and applies filter 2021-02-24 20:08:43 -08:00
Eric House
e2b51beb60 for filters, bring up keyboard all-caps 2021-02-24 20:03:39 -08:00
Eric House
9af5ed2a6c add reset button to wordlist filter 2021-02-24 19:10:31 -08:00
Eric House
c97b9875bd cleanup: make TableLayout include less
Scroller is allowed only one child and I guess I wanted the TableLayout
to suffice, but having unrelated stuff in it sucked. So wrap it in a
LinearLayout and move the unrelated stuff out.
2021-02-24 19:03:52 -08:00
Eric House
ae0a30a088 french translation for f-droid metadata
We'll see if it shows up.
2021-02-23 17:09:09 -08:00
Eric House
e351a5e4f0 up release numbers; changelog changes 2021-02-22 08:12:48 -08:00
Eric House
5abc95dd6e add experimental translatable f-droid metadata 2021-02-21 16:21:02 -08:00
Eric House
28e0dfe315 give prefs entry-page a title 2021-02-21 11:52:37 -08:00
Eric House
aaca73eb40 bring up different dialog after invite sent 2021-02-21 10:40:53 -08:00
Eric House
4e21e40de5 tweak buttons and text of invite dialog
I want to encourage people not to think there's action to be taken
between when they invite and an invitee responds, e.g. to email. So make
the "Close Game" button the "positive" one that case.
2021-02-20 20:33:35 -08:00
Eric House
014cafe67e cleanup 2021-02-18 16:53:00 -08:00
Eric House
309fcece03 generate mapping from prefs file to binding to fix reset
I balked at writing code consisting of a bunch of classes there only to
provide a mapping to resource file IDs, instead opting to generate them.
(The right move might have been to generate everything from the old
xwprefs.xml, but it's too late for that. :-)
2021-02-18 15:57:10 -08:00
Eric House
fdb9b43c63 regenerate new prefs xml files from previous scheme
I realized I'd made some mistakes and so rebuilt them from the old
xwprefs.xml file. Didn't find any new mistakes, but there are fewer
unnecessary changes so the release-to-release diff should make more
sense.
2021-02-18 09:57:59 -08:00
Eric House
a13e33688a add missing prefs 2021-02-17 20:21:58 -08:00
Eric House
6c50fcb818 cleanup; make original tiles-values choice the default
We've decided that on upgrade users shouldn't be surprised by a busy
board and unaware of how to fix it. So keep it the way it's been and let
the curious discover the new ability. Also, simplify code.
2021-02-17 15:47:55 -08:00
Eric House
2ebb8caaf9 don't over-scroll
At least with my dozens of Known Players I was getting an empty alert.
2021-02-17 10:34:15 -08:00
Eric House
04bc1d20a3 use radio buttons for menu to show cur setting 2021-02-11 14:42:57 -08:00
Eric House
be0a6f83f3 drive letters/values from a three-value enum
There are three choices now. The button pops up a menu on android and
moves through the choices on linux.
2021-02-11 14:11:02 -08:00
Eric House
64f1d83b5d show-values mode now means show along with face
not instead of. It now feels as if it should be a global setting, not a
per-game thing to toggle. We'll see what folks think.
2021-02-10 20:43:11 -08:00
Eric House
232cbe04ef tweak strings 2021-02-10 17:19:47 -08:00
Eric House
da352d6948 draw tile value in cell
This is an experiment. I suspect the eventual fix will be to have two
modes, one of which draws the values and the other doesn't, replacing
the TILES/VALUES pref.
2021-02-10 17:05:55 -08:00
Eric House
538ab5ab3b Rename a couple of variants to be more clear 2021-01-29 18:05:33 -08:00
Eric House
d5c706fb07 trying to not have all travis builds show "dirty" 2021-01-29 16:28:52 -08:00
Eric House
4fef4e4b29 Move to using androidx-based prefs classes and recipes
Use the current recommended classes and organization of app
settings. Means breaking xwprefs.xml into eight or so files and a bunch
of changes to classes derived from Preference. Seems to work, but there
will be bugs. Also got rid of most Activity subclasses that were
alternatives to Fragments, since all Android versions I'm allowed to
support now support Fragments.
2021-01-29 16:05:38 -08:00
Eric House
31cfbaab1a up changelog for new release 2021-01-28 19:02:00 -08:00
Eric House
457955c40e move QR-Code to top of local invite-means list
It'll be the most often used I suspect so make it easier to find.
2021-01-28 16:22:44 -08:00
Eric House
8dd1db31c7 don't include FCM service in shared Manifest
Since not everybody has it now, and you crash if you try to load what
you don't have.
2021-01-28 16:22:44 -08:00
Eric House
0373f02c3e tweak color edit dialog 2021-01-27 11:58:56 -08:00
Eric House
4850b77756 UI and string tweaks 2021-01-25 21:58:36 -08:00
Eric House
0698e67dcf tweak string 2021-01-25 20:21:50 -08:00
Eric House
73f9b20df7 Squashed commit of the following:
commit d255dc7758
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Sun Jan 17 18:26:54 2021 +0000

    Translated using Weblate (Norwegian Bokmål)

    Currently translated at 69.3% (619 of 892 strings)

commit 542af0a287
Author: Allan Nordhøy <epost@anotheragency.no>
Date:   Sun Jan 17 18:27:24 2021 +0000

    Translated using Weblate (English)

    Currently translated at 100.0% (892 of 892 strings)

commit 8ced0990d0
Author: Luca De Filippo <luca.defilippo@translationcommons.org>
Date:   Thu Jan 14 15:41:05 2021 +0000

    Translated using Weblate (Italian)

    Currently translated at 96.3% (859 of 892 strings)
2021-01-19 20:35:10 -08:00
Eric House
178042159b remove debug-only warnings about relay stall
Yeah it stalls. That's why MQTT and why BT doesn't use Service any more.
2021-01-19 20:25:18 -08:00
Eric House
ddd5f7b978 remember last-used radio and start with it next time
Saves a step if you generally create games the same way most of the
time. Required reordering alert init.
2021-01-19 13:40:08 -08:00
Eric House
fafbac7a4e catch rare NPE
I got this crash once. This hack avoids it at no cost until I can track
it down.
2021-01-19 10:05:49 -08:00
Eric House
fb8d86c5da tweak text 2021-01-19 10:05:42 -08:00
Eric House
19542fee88 send sdk INT when registering
better for tracking than version string
2021-01-18 08:45:57 -08:00
Eric House
66456725ef revert Paho upgrade (crashes on boot on 4.1.1) 2021-01-18 08:44:47 -08:00
Eric House
5080889f68 toward a debug build that's closer to f-droids
since that's where the majority of downloads are coming from, let's make
sure play using SMS works and than MQTT is fine without FCM.
2021-01-16 18:00:04 -08:00
Eric House
4f6c13a0d2 upgrade paho client
One I'm using crashes occasionally so see if it's fixed. Not that I'm
checking changelogs or anything :-)
2021-01-11 14:09:57 -08:00
Eric House
7af001d481 game config changes
get rid of password; disable, not hide, stuff that's irrelevant for a
non-local player
2021-01-09 20:39:33 -08:00
Eric House
91d306270d remember which KnownPlayer entries are expanded 2021-01-05 12:21:54 -08:00
Eric House
4aaee07369 add button taking you to Known Players browser
from the new-game alert. It winds up closing that alert without creating
a game, but that's ok for now IMO.
2021-01-05 11:47:21 -08:00
Eric House
3350ca19b7 use same (new) dialog for solo games 2021-01-04 21:26:12 -08:00
Eric House
65ba8cef66 use same dialog for all new networked games 2021-01-04 11:46:34 -08:00
Eric House
185abd2d04 up copyright date: Happy New Year 2021-01-04 08:23:51 -08:00
Eric House
64a470185c display known player timestamp when known (debug only)
For some reason it's getting cleared sometimes. Will fix.
2021-01-04 08:12:05 -08:00
Eric House
a3048441e9 fix the unable-to-post-alert alert
Returning null from createDialog() isn't allowed, so return this as a
fallback as before. But the old code immediately dismissed it and
created another in an infinite loop. So just suck it up and display it.
And as always hope users don't see it.
2021-01-03 17:43:28 -08:00
Eric House
bf6afb803f remove obsolete BuildConfig variable 2021-01-03 17:01:52 -08:00
Eric House
0ef43fe30a tweak alert layout 2021-01-03 14:15:57 -08:00
Eric House
f202ca107c make radio text larger 2021-01-03 12:26:14 -08:00
Eric House
4e49faac1f let background fragment post dialog
Fix -- I think -- problem where game-deleted message received but not
handled by ChatDelegate would loop forever. Fix is to let non-visible
fragments take a shot, the BoardDelegate in this case. Seems to work,
but wasn't 100% reproducible AND the fix may break something else.
2021-01-02 20:24:15 -08:00
Eric House
13c1c8c940 cleanup bits of game config dialog 2021-01-02 17:51:40 -08:00
Eric House
72f2db4f57 improve new-games dialog
Add radio buttons to make clear what the choices are. This should
eventually replace the alert that's show when you don't have any Known
Players.
2021-01-02 17:02:08 -08:00
Eric House
07c4deb185 don't show wordlist note line unless present 2021-01-01 16:48:06 -08:00
Eric House
8a6244bd9f cleanup: make config setting like all the others 2020-12-30 19:31:40 -08:00
Eric House
2df966b0cd tweak string and logging 2020-12-29 15:50:23 -08:00
Eric House
1a5d967054 up versions codes 2020-12-28 14:58:33 -08:00
Eric House
0c939984f5 choose the shortest pattern
Don't assume it's the last as previous code did
2020-12-28 14:58:33 -08:00
Eric House
d72142ad40 cleanup 2020-12-28 14:58:33 -08:00
Eric House
dc4fcada2a show wordlist's md5sum (non-release builds only) 2020-12-21 17:22:17 -08:00
Eric House
9929feecdc use the last pattern when several available
For some reason, in Spanish but not Catalan, filtering doesn't work with
two-letter tiles. The reason is that e.g. with RR two patterns, R.R and
RR (i.e. two R tiles, or one RR tile), are returned. The first shouldn't
be there since there are no words with RR that are spelled with two R
tiles. Until I can fix this picking the second (last) pattern seems to
work better.
2020-12-20 21:19:51 -08:00
Eric House
15c5f18e7e update changelog 2020-12-19 15:12:21 -08:00
Eric House
563db2f089 send language code (since name is getting localized)
Allows server to check for wordlist upgrades correctly.
2020-12-18 20:44:16 -08:00
Eric House
2b7ffb3030 don't report NULL loc strings version 2020-12-18 08:00:32 -08:00
Eric House
4f7ab4fd46 turn on batch proto for BT
Will break apps more than maybe two years old. Sad.
2020-12-17 15:51:08 -08:00
Eric House
a175ed525f add handling of new wordlist-download uri
If I can't figure out how to register for .xwd files, next best idea is
to encode a download in a custom url. This is one way of doing that, and
works with the urls just added to BYOD. Will likely change.
2020-12-17 15:37:13 -08:00
Eric House
4b2dd9e9c5 up version strings and changelog 2020-12-14 08:57:11 -08:00
Eric House
085aad63ee offer debug menuitems on NON_RELEASE builds
not just DEBUG
2020-12-14 08:57:11 -08:00
Eric House
731a24ba0a include mqttdevid in app info sent for upgrade check 2020-12-14 08:57:11 -08:00
Eric House
2056291cd5 revert string changes (overriding translator :-)
Known Players is a feature I'm devloping and right now want to keep it
capitalized as players learn what it is. It's only in debug builds at
the moment anyway.
2020-12-14 08:57:11 -08:00
Eric House
1c5a32ac15 include relayDevID when registering with mosquitto
Will make it easier to debug stuff
2020-12-14 08:57:11 -08:00
Eric House
35db73e4e4 display BT Mac addr in About dialog (debug only)
It's useful so why not.
2020-12-14 08:57:11 -08:00
Eric House
ac25baedd1 oops 2020-12-14 08:57:11 -08:00
Eric House
17bda01d16 don't require title in FCM notification
And turn off the raised-tile thing for now
2020-12-14 08:57:11 -08:00
Eric House
17ea06067d don't use hex version of gameID
It's too hard to force the relay's webview to do the same
2020-12-14 08:57:11 -08:00
Eric House
e07993c306 show gameID in connections summary 2020-12-14 08:57:11 -08:00