Commit graph

12345 commits

Author SHA1 Message Date
Eric House
d4ae2e1f06 up version strings and changelog 2020-09-14 09:58:35 -07:00
Eric House
534612be85 catch exception using BT as second user 2020-09-14 09:58:35 -07:00
Eric House
1e9cc5d325 remove redundant key/value pair 2020-09-14 09:10:25 -07:00
Eric House
4b6f4047fb add tmp key to backstop model names
I'm using model names to detect duplicates, but there are enough that
may not suffice. So add a new random per-device ID to be used only until
the dupes are resolved.
2020-09-14 08:36:59 -07:00
Eric House
e4594f36e0 generate new mqtt devid when server reports dupe
Thanks to my use of unseeded() rand() early on to generate mqtt device
IDs, a handful of devices are using the same devIDs. The server notices
this and passes a new response which triggers generating a new id that
should be unique (rand() being seeded earlier now.) Testing says the
games that are left behind with the old devid will limp along thanks to
their relay connection while newer games will be better.
2020-09-13 15:06:08 -07:00
Eric House
4e7055d629 test for null
Was seeing null client in logs. Though NPE was caught and harmless
there's no point in having it thrown.
2020-09-13 15:06:03 -07:00
Eric House
3f6e1a8721 no-code-change cleanup: star next to type not name 2020-09-13 14:34:47 -07:00
Eric House
36cc6cc9d6 fix two bits never being set 2020-09-12 21:23:02 -07:00
Eric House
c6d3759373 test to avoid NPE 2020-09-12 15:53:45 -07:00
Eric House
a5387be742 Change download dir prefs name and add hint
Not sure this even belongs here, but that decision will wait until BYOD
is online and I have to figure out how people will distribute custom
wordlists.
2020-09-11 14:03:17 -07:00
Eric House
aa8364cd3f add full git rev for non-release builds 2020-09-11 14:00:46 -07:00
Dimitry Barré
c949033ad6
Translated using Weblate (English)
Currently translated at 100.0% (858 of 858 strings)
2020-09-11 17:36:08 +02:00
Eric House
346883388c Merge branch 'android_translate' of github.com:eehouse/xwords into android_translate 2020-09-10 15:39:09 -07:00
Eric House
74bb463f1f add systemd service file for relay 2020-09-10 15:33:50 -07:00
Eric House
cf3c8fc862 cleanup 2020-09-10 15:33:50 -07:00
Hosted Weblate
1a775043d6 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-09-10 15:33:50 -07:00
Eric House
1d2cdd74fc tweak string 2020-09-10 15:33:06 -07:00
Eric House
e26fd23df1 add addrType to comms' main addr when added to channel
I'm fixing android client not showing stats for or allowing to disable
mqtt after it's added automatically to a game that connects
otherwise. Problem was that only the channel got the mqtt address
flag. So now add the flag for any type that's added.
2020-09-10 15:11:22 -07:00
Eric House
80b7097eee test script: strip extension when making logs dir 2020-09-10 11:13:30 -07:00
Eric House
47bced5f18 offer to hide new-game buttons immediately
Don't wait for user to tap one of the buttons. Instead notice when
scrolling becomes possible, and offer once per launch until user says
"hide" or clicks the don't-ask-again box.
2020-09-09 15:15:31 -07:00
Hosted Weblate
4edf9f6a4f
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-09-08 07:22:15 +02:00
Eric House
ed630fa067 again 2020-09-07 18:35:45 -07:00
Eric House
9ddbea6572 don't commit me 2020-09-07 18:30:21 -07:00
Eric House
79324032b9 remove dead code 2020-09-07 17:59:53 -07:00
Eric House
830c47ec60 Merge branch 'android_translate' of github.com:eehouse/xwords into android_translate 2020-09-07 17:52:34 -07:00
Hosted Weblate
cc73b2fbb4 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-09-07 17:48:06 -07:00
Oğuz Ersen
19b584ac94 Translated using Weblate (Turkish)
Currently translated at 2.0% (18 of 861 strings)
2020-09-07 17:48:06 -07:00
Hosted Weblate
937b8e4ff8 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-09-07 17:48:06 -07:00
Eric House
616aeb9da6 reorganize About dialog
Changed enough that I needed to replace an already-localized string with
one that'll need localization. Sorry.
2020-09-07 17:45:46 -07:00
Eric House
066c4a90bf use different url prefix for CrossDbg
Invitations will now only allow opening the game (Dbg or not) that
created them. Should prevent bogus warnings that games have been
deleted. Impacts only developers and friends running CrossDbg and
CrossWords on the same device. Can still get games going between the two
using room names or invite-by-devid.
2020-09-07 12:27:32 -07:00
Eric House
d199789593 up version strings and log for release 2020-09-06 21:47:18 -07:00
Eric House
592554bdcb work around NPE reported on store
Must be a race condition that can cause this. So just fail to open the
game as if something more common had gone wrong.
2020-09-06 21:47:11 -07:00
Eric House
29328e6412 fix NPE in logging 2020-09-06 19:31:25 -07:00
Eric House
7e19a4ef85 fix exception launching in background 2020-09-06 19:30:15 -07:00
Eric House
6d74c4c16f don't allow release builds to invite using mqtt
Duh...
2020-09-06 17:20:51 -07:00
Eric House
85969fb913 seed random at start of jni, not of first game opened
Noticed the same emulator would always generate the same MQTT id, even
after a factory reset. That's because I was seeding rand() in that
jni *game* init code, not the (called-earlier) init of the whole jni
world. MQTT id generation happens on app launch before any game can be
opened so was using an unseeded rand().
2020-09-06 16:15:28 -07:00
Eric House
786bb39941 tweak script help 2020-09-06 16:15:28 -07:00
Eric House
93a98820e1 cleanup 2020-09-06 14:06:51 -07:00
Eric House
9752c96add remove reporting of deleted games (mqtt only)
It's wrong now while mqtt deviIDs are changing mid-game.
2020-09-06 13:11:31 -07:00
Eric House
b67870118e tweak unable-to-create-alert alert
And force a DEBUG-only crash so I can perhaps investigate
2020-09-06 11:24:38 -07:00
Eric House
22ad5aa4e2 add devid to About alert 2020-09-05 17:52:00 -07:00
Eric House
8c3c1b59f6 cleanup 2020-09-05 17:52:00 -07:00
Eric House
3510268752 use order-by so don't have to iterate over results
This assumes, as seems to be the case, that rowid is assigned increasing
order.
2020-09-05 17:52:00 -07:00
Eric House
fbc8a62a13 show the game's mqtt devid, not the device's 2020-09-05 14:18:49 -07:00
Eric House
1c6d28633f don't let keys change with every upgrade (use newest)
Supid bug generating keys from __FILE__ meant each release
build (usually done in /tmp/$$, or on a travis server) had a new key and
generated a new MQTT devID (and other stuff less frequently used.)
Replace the keys with something that won't change, and as a temporary
fix so the upgrade including this fix doesn't generate new keys use the
most recent stored key matching the suffix the old keys will have had in
common.
2020-09-04 20:51:44 -07:00
Eric House
d5fb0cc8be remove title from connections info dialog 2020-09-04 20:49:31 -07:00
Eric House
5a05ab2e56 include mqtt devid in email-author info 2020-09-04 20:36:47 -07:00
Eric House
1e941acd2c register with relay every time git rev changes 2020-09-04 19:11:35 -07:00
Eric House
8a28be2b9c cleanup removed unused locals 2020-09-04 11:04:33 -07:00
Eric House
0ba4c5a092 up version codes for release 2020-09-02 08:55:49 -07:00