Commit graph

7141 commits

Author SHA1 Message Date
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
5a30f75c0a Translated using Weblate (Portuguese (Brazil)) 2020-12-18 20:46:43 -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
c2c4a0b60a Squashed commit of the following:
commit fef7443517
Merge: a9b7f64ee 62e181857
Author: Hosted Weblate <hosted@weblate.org>
Date:   Tue Dec 15 18:04:37 2020 +0100

    Merge branch 'origin/android_branch' into Weblate.

commit 62e1818578
Author: Luca De Filippo <luca.defilippo@translationcommons.org>
Date:   Mon Dec 14 15:04:16 2020 +0000

    Translated using Weblate (Italian)

    Currently translated at 2.8% (25 of 883 strings)
2020-12-15 09:07:05 -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
Eric House
b26549e331 a bit of cleanup 2020-12-14 08:57:11 -08:00
Luca De Filippo
2ab18b0a55
Added translation using Weblate (Italian) 2020-12-14 15:56:57 +01:00
Joan Araujo
68fcfc941b
Translated using Weblate (Spanish)
Currently translated at 17.5% (155 of 883 strings)
2020-12-11 14:29:04 +01:00
VOLKAN BAKIR
c3a4e324af
Translated using Weblate (Turkish)
Currently translated at 2.9% (26 of 883 strings)
2020-12-11 14:29:04 +01:00
Eric House
ef3de65355 Merge remote-tracking branch 'weblate/android_branch' into android_branch 2020-12-02 18:03:02 -08:00
Eric House
45bc623975 enable RAISETILE feature for linux and android
It's timer-based. Not sure I like that, but let's see how it feels
on-device.
2020-12-02 17:55:49 -08:00
Eric House
db430d63db changelog and version strings 2020-12-01 07:55:10 -08:00
Eric House
249bfbe66e update emacs compile commands: ant is dead 2020-12-01 07:55:01 -08:00
Allan Nordhøy
04440d759a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.9% (609 of 883 strings)
2020-11-30 20:29:01 +01:00
Allan Nordhøy
fe1a34b177
Translated using Weblate (English)
Currently translated at 100.0% (883 of 883 strings)
2020-11-30 20:29:00 +01:00
Eric House
ebbb6dd7da fix NPE rotating phone when new invite-now alert up 2020-11-30 10:26:58 -08:00
Eric House
f954ae5943 turn on mqtt game-gone warnings for all 2020-11-29 11:40:17 -08:00
Hosted Weblate
f9b4c809e7
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-11-29 04:46:37 +01:00
Hosted Weblate
bc47849667
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-11-29 04:46:34 +01:00
Eric House
7fb070da49 Squashed merge from android_translate 2020-11-28 19:16:41 -08:00
Eric House
00588f50f3 show an cannot-play-yet alert on guest side too 2020-11-28 13:55:36 -08:00
Eric House
4314a3f012 remove unused param/ivar 2020-11-28 13:55:36 -08:00
Eric House
386cfbda71 close game when invite dialog dismissed via back button
Catch the onCancelled event, and treat as "close" button tap. Also
disable cancel via taps outside the alert, which I think is less
confusing than leaving the unplayable game up without the alert or
closing it without explanation.
2020-11-28 10:33:52 -08:00
Eric House
437aef5ed5 use wrapper to replace static reference
BoardDelegate can have a one-to-one relationship to this thing, and
occasional leakage was preventing opening a new alert, so some fix was
needed. This one's simple.
2020-11-27 11:47:38 -08:00
Eric House
9929de1fa7 only show game-gone msg src on non-release builds 2020-11-25 10:40:08 -08:00
Eric House
f4e7ff1397 fix NPE for case where there are no Known Players 2020-11-25 10:39:41 -08:00
Eric House
82a11e5ebf explain where deleted game message comes from
Not sure it'll make release builds, but it's useful for figuring out if
the deletes should actually be there.
2020-11-23 21:37:18 -08:00
Eric House
48cf291c5a listen for invite alert dismiss
Because I'm doing a singleton thing, if I miss the alert going away I
won't up another up. This tries to always catch dismissal. Might still
be screwed if it's not actually put up for some reason. Needs testing.
2020-11-22 20:40:28 -08:00
Eric House
6fb3d19f03 revert having missing player count in window title
The invite-now alert is enough.
2020-11-22 20:40:28 -08:00
Eric House
776cc5703d use insecure; get own mac addr
Try using both secure and insecure sockets. The latter appears to cause
fewer problems on OS/device combos with crappy BT. It's only possible if
I know the addr of the device I want to, so hack around that being
secret by passing it on request.
2020-11-21 16:25:49 -08:00
Eric House
dbfe8083ca tweak string 2020-11-21 16:06:13 -08:00
Eric House
5031afa3ff don't include colons in nli's BT addr (to save space) 2020-11-21 16:05:21 -08:00
Eric House
f067144ec5 oops: wrong return type 2020-11-21 16:05:21 -08:00
Eric House
d5be06413f add invite history and ability to invite all at once
If inviting known players to a more-than-two-player game, can select all
at once. Required using checkboxes instead of radiobuttons for the case
where nMissing > 1.
2020-11-21 15:11:59 -08:00
Eric House
210b0bcbcb send mqtt game-gone when game deleted
Receiver only does anything if the game's open. This could change....
2020-11-21 08:43:24 -08:00
Eric House
f3bb0c99a9 invite alert changes
Create new class that owns the alert. Let it decide whether to post,
remove, etc. Seems to work, but I've removed some of the "reinvite"
options I'm not sure were helpful anyway. To be considered...
2020-11-20 18:07:19 -08:00
Eric House
105f93f3ab increase length of default room name to 5 chars
There are conflicts on relay. So while it's still relevant, reduce 'em.
2020-11-20 16:06:42 -08:00