Commit graph

7951 commits

Author SHA1 Message Date
gallegonovato
c693df7408
Translated using Weblate (Spanish)
Currently translated at 100.0% (891 of 891 strings)
2024-01-08 15:06:23 +01:00
ssantos
208931ff74
Translated using Weblate (Portuguese)
Currently translated at 99.7% (889 of 891 strings)
2024-01-08 15:06:22 +01:00
ssantos
4ab22c209b
Translated using Weblate (German)
Currently translated at 99.8% (890 of 891 strings)
2024-01-08 15:06:22 +01:00
Eric House
f58c567492 improve debug-release build script 2024-01-05 11:22:50 -08:00
Eric House
4ffaa5dd73 cleanup -- should be no behavior/code change 2024-01-04 09:50:24 -08:00
Eric House
9443bf14a4 make it work on android too 2024-01-04 09:50:24 -08:00
Eric House
52a1de0463 add fromRematch to existing api to avoid race condition 2024-01-04 09:50:24 -08:00
Eric House
e2414ff3bd fix NPE crash
Not sure why it happens with one old game...
2024-01-04 09:50:24 -08:00
Eric House
0ba0dcff19 replace 'make default' with remembering last choice as default
Decided it's too difficult to unset the default and not bad to just
click "ok" a second time.
2024-01-04 09:50:24 -08:00
Eric House
3e6edd3ec4 remove the offer to reinvite from rematched games
Now that rematching creates all the invitations and an expectation of
how the invitees will be ordered it'll confuse things if unexpected
players show up. So don't allow players to send additional
invitations.
2024-01-04 09:50:24 -08:00
Eric House
1181e908dc Add option to choose how rematch-game players will be ordered
When rematching, some users have a convention that e.g. lowest scoring
player in the "parent" game goes first. So allow that, providing the
choice on each rematch until a default has been chosen. Support
changing that default in a new prefs setting.

The place I chose to enforce the order was on the host as invitees are
registering and being assigned slots. But by then there's no longer
any connection to the game that was rematched, e.g. to use its
scores. So during the rematched game creation process I create and
store with the new game the necessary ordering information. For the
3-and-4 device case, it was also necessary to tweak the information
about other guests that the host sends guests (added during earlier
work on rematching.)
2024-01-04 09:50:24 -08:00
perro tuerto
8f6b4e1d86
Translated using Weblate (Spanish)
Currently translated at 100.0% (890 of 890 strings)
2024-01-04 15:09:45 +01:00
perro tuerto
5462f69591
Translated using Weblate (Spanish)
Currently translated at 100.0% (890 of 890 strings)
2024-01-03 00:11:00 +00:00
复予
80fa685576
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (890 of 890 strings)
2023-12-24 14:21:30 +00:00
复予
772850ccb7
Translated using Weblate (Chinese (Simplified))
Currently translated at 91.4% (814 of 890 strings)
2023-12-22 04:13:53 +01:00
复予
39add62d77
Translated using Weblate (Chinese (Simplified))
Currently translated at 86.2% (768 of 890 strings)
2023-12-20 13:08:51 +01:00
joaooliva
d691967889
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (890 of 890 strings)
2023-12-16 05:10:31 +00:00
ssantos
004b88700c
Translated using Weblate (German)
Currently translated at 100.0% (890 of 890 strings)
2023-12-16 05:10:30 +00:00
Ranforingus
63b3517135
Translated using Weblate (Dutch)
Currently translated at 56.1% (500 of 890 strings)
2023-11-23 17:05:26 +00:00
ssantos
ee38db0c6a
Translated using Weblate (Portuguese)
Currently translated at 100.0% (890 of 890 strings)
2023-11-20 22:06:10 +00:00
Olga Akhtirskaia
dc61e8c11f
Translated using Weblate (Ukrainian)
Currently translated at 1.9% (17 of 890 strings)
2023-11-18 10:04:08 +01:00
Eric House
3b7994c291 changelog and version strings for release 2023-11-09 17:52:26 -08:00
Eric House
bdfe98a990 warn user when opening quashed game 2023-11-09 17:52:26 -08:00
Eric House
738552da2e remove dead code 2023-11-09 17:52:26 -08:00
gallegonovato
acc4b27137
Translated using Weblate (Spanish)
Currently translated at 100.0% (890 of 890 strings)
2023-11-08 21:33:46 +01:00
Eric House
c9f1863c1e remove posts to noSuchGame()
Looks like ack() does all we need, with new param
2023-11-07 19:55:36 -08:00
Eric House
67cf8518de pass topic to ack() (so unretain can work) 2023-11-07 19:55:32 -08:00
Eric House
b962b18dff include devid in ack payload
So server can choose to unretain.
2023-11-06 17:24:20 -08:00
Eric House
e78d9fbc33 add quashed to summary, and show as part of games-list state 2023-11-06 13:11:34 -08:00
Eric House
3dcac063b5 show quashed state in net state icon (DEBUG only) 2023-11-06 13:11:34 -08:00
gallegonovato
14d66e7851
Translated using Weblate (Spanish)
Currently translated at 100.0% (889 of 889 strings)
2023-11-06 00:33:05 +01:00
Eric House
259357a818 reduce sending of dead-game mqtt messages
Two cases dealt with here. First, if my opponent deletes the game when
I have an un-ack'd message, I'll keep sending it forever. Fix is to
flip a bit in comms in response to a game_gone event so no more
sending will happen. (Better than emptying the queue, as it leaves
open the possibility of resurrecting the game with code changes
later.) Second, if there's a retained message from a dead game I'll
keep receiving it until it's replaced, and if the game's dead it never
will be. Fix is to add a new api endpoint noSuchGame() to the relay2
server and to call it on receiving a message for which I have no game
to deliver it to. The endpoint "unretains" the message so I won't get
it again unless it's resent.
2023-11-05 12:01:43 -08:00
Alejandro Rodriguez
0528e5b5fd
Translated using Weblate (Spanish)
Currently translated at 100.0% (889 of 889 strings)
2023-11-05 00:10:04 +01:00
gallegonovato
36e1157e06
Translated using Weblate (Spanish)
Currently translated at 100.0% (889 of 889 strings)
2023-11-05 00:10:04 +01:00
Eric House
28318eb38a shorten file path in logs
Couldn't figure out how to do it at compile-time on Android.
2023-10-29 08:09:37 -07:00
Eric House
2331cde2e7 fix to work on python3-only system
Note: I haven't actually verified that it still works.
2023-10-28 11:41:42 -07:00
Eric House
a73e2c02eb script to build github head (while travis builds broken) 2023-10-27 11:39:49 -07:00
Eric House
b876ae1ff8 add restart menuitem (debug builds only) 2023-10-27 09:05:13 -07:00
Eric House
7ca5fe7cc9 don't run off end of array
I can't reproduce what this fixes, but if I could it'd be a crash for
sure.
2023-10-26 19:31:47 -07:00
Eric House
dabb812cab fix assertions where env can't be looked up
use AttachCurrentThread(), but also fix a refcounting error in rematch
that was likely triggering the need to use it. This is all DEBUG code
so low-risk.
2023-10-26 12:28:41 -07:00
Eric House
2a9b999b99 cleanup 2023-10-25 13:55:51 -07:00
gallegonovato
50ec6abb99
Translated using Weblate (Spanish)
Currently translated at 99.8% (887 of 888 strings)
2023-10-25 12:02:37 +00:00
eulalio
732733fc89
Translated using Weblate (Spanish)
Currently translated at 99.7% (886 of 888 strings)
2023-10-20 04:20:43 +00:00
gallegonovato
819b329ee5
Translated using Weblate (Spanish)
Currently translated at 99.7% (886 of 888 strings)
2023-10-20 04:20:42 +00:00
gallegonovato
3866763b6f
Translated using Weblate (Spanish)
Currently translated at 80.9% (719 of 888 strings)
2023-10-18 06:06:04 +02:00
eulalio
1cb4591f21
Translated using Weblate (Spanish)
Currently translated at 80.9% (719 of 888 strings)
2023-10-18 06:06:03 +02:00
eulalio
b934838224
Translated using Weblate (Spanish)
Currently translated at 69.5% (618 of 888 strings)
2023-10-11 17:01:17 +02:00
Max Digital
e3dea4552c
Translated using Weblate (Ukrainian)
Currently translated at 0.9% (8 of 888 strings)
2023-10-11 17:01:16 +02:00
eulalio
753d8788e5
Translated using Weblate (Spanish)
Currently translated at 65.0% (578 of 888 strings)
2023-10-03 12:11:12 +02:00
eulalio
fd13691f4c
Translated using Weblate (Spanish)
Currently translated at 63.5% (564 of 888 strings)
2023-09-30 17:00:18 +02:00