Commit graph

11933 commits

Author SHA1 Message Date
Eric House
67d91111df more tweaks for byod 2020-07-25 13:58:29 -07:00
Eric House
a75264c8eb tweaks for byod 2020-07-25 13:58:29 -07:00
Eric House
666d2db62a add Makefile as symlink 2020-07-25 13:58:29 -07:00
Eric House
83b775a52c convert two more perl scripts to python 2020-07-25 13:58:29 -07:00
Eric House
042e5e6eab remove files I'll never need again 2020-07-25 13:58:29 -07:00
Eric House
f30bc77a5f rewrite some dawg perl scripts in python 2020-07-25 13:58:29 -07:00
Eric House
68343858d0 remove unneeded code 2020-07-25 13:58:29 -07:00
Eric House
6b2fceb468 more dialog cleanup
get rid of subclasses that are no longer separate, since features like
providing a not-again checkbox are available everywhere now.
2020-07-25 13:58:29 -07:00
Eric House
ba9fe85611 provide default Action to avoid NPE 2020-07-25 13:58:29 -07:00
Eric House
c8b587c29b simplify dialogs
Get rid of subclasses, since there's not the clear inheritance structure
I imagined. Any dialog type might want a not-again checkbox, or to have a
third button offer an unexpected option. This is a big change that needs
some bake time.
2020-07-25 13:58:29 -07:00
Eric House
9ae39ffe28 Create README.md 2020-07-25 13:58:29 -07:00
Eric House
37d774b9da on load, remove records missing a device
Can't test because changing the class meant the thing couldn't be
deserialized. Oh well. It was likely a fluke that caused the null dev
entry anyway.
2020-07-25 13:58:29 -07:00
Eric House
2b0dcbbd17 work around NPE
Not sure if the name being null is ok, but this is likely better code.
2020-07-25 13:58:29 -07:00
Eric House
fe7e85c93d fix to store mqtt id using properly-named key
And throw in temporary code so those of us testing the stuff don't have
all our existing games stop working.
2020-07-25 13:58:29 -07:00
Eric House
cfd988d998 changelog change 2020-07-25 13:58:29 -07:00
ssantos
41b0060b1e
Translated using Weblate (Portuguese)
Currently translated at 46.6% (393 of 842 strings)
2020-07-20 17:41:51 +02:00
naofum
9724daa562
Translated using Weblate (Japanese)
Currently translated at 100.0% (842 of 842 strings)
2020-07-16 12:41:49 +02:00
BrunaKimura
f22d90595f
Translated using Weblate (Portuguese)
Currently translated at 46.6% (393 of 842 strings)
2020-06-26 22:41:44 +02:00
Oğuz Ersen
965e3dca3d
Translated using Weblate (Turkish)
Currently translated at 2.1% (18 of 842 strings)
2020-06-18 13:41:46 +02:00
Allan Nordhøy
becaca6670
Translated using Weblate (Norwegian Bokmål)
Currently translated at 75.5% (636 of 842 strings)
2020-06-18 13:41:45 +02:00
Allan Nordhøy
ba6580e990
Translated using Weblate (Polish)
Currently translated at 86.2% (726 of 842 strings)
2020-06-18 13:41:44 +02:00
Hosted Weblate
7002d36ac1
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-06-16 06:29:46 +02:00
Hosted Weblate
5c70ad23bf
Merge branch 'origin/android_translate' into Weblate. 2020-06-16 06:29:45 +02:00
Oğuz Ersen
4679542fec
Translated using Weblate (Turkish)
Currently translated at 2.1% (18 of 841 strings)
2020-06-16 06:29:45 +02:00
Eric House
92c7162878 Merge remote-tracking branch 'weblate/android_translate' into android_translate 2020-06-15 17:51:26 -07:00
Eric House
72fc2a9433 Merge remote-tracking branch 'github/android_translate' into android_translate 2020-06-15 17:35:13 -07:00
WaldiS
6536628607 Translated using Weblate (Polish)
Currently translated at 88.4% (741 of 838 strings)
2020-06-15 17:32:19 -07:00
Michal Biesiada
1417bda08c Translated using Weblate (Polish)
Currently translated at 88.4% (741 of 838 strings)
2020-06-15 17:32:19 -07:00
ssantos
4b06a7d637 Translated using Weblate (Portuguese)
Currently translated at 46.4% (389 of 838 strings)
2020-06-15 17:32:19 -07:00
Eric House
6416428f7a convert to python3 2020-06-15 17:20:26 -07:00
Eric House
abdbe49b79 fix to include the lxml for python3 2020-06-15 13:32:44 -07:00
Eric House
2f339450f3 fix to allow plurals items not in English
Change copy-strings.py to insist that no language provide a format
string not also found in English (since parameters to match all English
format string are sure to exist, but other languages are free NOT to
match them.) It's ok for other languages to provide "few", for example,
when English doesn't.
2020-06-15 13:02:18 -07:00
Eric House
9c4854e91f convert to python3 2020-06-15 13:02:18 -07:00
Hosted Weblate
399d342214
Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Crosswords/Android
Translate-URL: https://hosted.weblate.org/projects/xwords/android/
2020-06-15 18:19:49 +02:00
Hosted Weblate
6b2b3a4645
Merge branch 'origin/android_translate' into Weblate. 2020-06-15 18:02:54 +02:00
Eric House
14f414d85f up strings for new release 2020-06-15 08:58:38 -07:00
Eric House
e44f19f04e include in register whether build is DEBUG 2020-06-13 18:10:05 -07:00
Eric House
af46660d6c make url for mqtt-relay apis a preference 2020-06-13 18:10:01 -07:00
Eric House
c4dfae13ee always disconnect inside clearInstance()
For some reason I wasn't unless it was the current instance, meaning
that some would leak and forever be connecting and disconnecting as
failures were in effect ignored.
2020-06-13 10:46:28 -07:00
Eric House
e4f213470c add a basic password for mqtt 2020-06-11 13:11:56 -07:00
Eric House
c3c041864d add under-construction icon as thumbnail fallback 2020-06-10 21:45:05 -07:00
Eric House
51a00cd829 allow everybody the new phonies option 2020-06-10 12:54:22 -07:00
Eric House
4508192a3a hide mqtt but couple it to relay
Idea is that if you have relay you have MQTT too. Eventually relay
should go away.
2020-06-10 09:53:26 -07:00
Eric House
28ff1022c3 fix typo in user-vis string 2020-06-10 09:50:25 -07:00
Eric House
9c890032c0 implement relay backoff timer
Moving logic into the timer itself. There's always meant to be one
running, set from between 10 seconds and 23 hours from now. Code
receiving messages (mqtt or relay) resets the backoff when a message is
received, so when there's activity the timer should stay short. Somebody
with no games at all will have attempts made to connect to the relay and
mosquitto once/day, which is when invitations via that method would be
received. Devices with FCM should see lower latency of course.
2020-06-10 08:31:55 -07:00
Eric House
63835105e4 remove relay-check-interval option and fix relay disable 2020-06-09 17:31:44 -07:00
Eric House
1560bf01ed move pref into newgame defaults -- since it is one 2020-06-09 16:13:08 -07:00
Eric House
699eef79cb change file name (nothing else) 2020-06-09 16:04:29 -07:00
Eric House
436d3c2ad0 fix crashes rematching from linux a games started on android
Didn't handle the case where a game included NFC or BT. I should
probably be stripping those on receipt as I think the android side does
when the devices doesn't support 'em. And that in turn should be common/
code. So just fix it for now so testing can continue.
2020-06-04 11:37:07 -07:00
Eric House
72e813038f fix mqtt problems
There were ways of leaving multiple instances running, I think fighting
for resources and keeping each other from connecting. Now I think there
can only be one. And lots of logging will help find future problems.
2020-06-04 11:36:04 -07:00