5491 Commits

Author SHA1 Message Date
Rafal Sroka 5f1856c68d Merge branch 'main' of https://github.com/r3econ/mobile into offline-logs-search
# Conflicts:
#	lib/src/log.dart
#	lib/src/model/app_log/app_log_paginator.dart
#	lib/src/model/app_log/app_log_storage.dart
#	lib/src/view/settings/app_log_settings_screen.dart
2026-03-22 18:32:40 +01:00
Vincent Velociter b2e61032e5 Fix correspondence challenge creation (#2825)
* Fix creating correspondence challenge

Fixes #2815

* Add create challenge view tests
2026-03-22 12:02:16 +01:00
Vincent Velociter f97a433f4b Generate new translations 2026-03-22 11:58:37 +01:00
Vincent Velociter 4073ead070 Use scheduleMicrotask instead of Future 2026-03-21 12:59:31 +01:00
Rafal Sroka f42965605d Handle deeplink in the app 2026-03-21 12:39:13 +01:00
Vincent Velociter 5d1737681d Enable WAL journal mode to get faster writes 2026-03-21 12:29:47 +01:00
r3econ 2c48aa7e6e Persist App Logs with 7-day TTL, Pagination, and Infinite Scroll (#2808) 2026-03-21 11:40:56 +01:00
r3econ eced6747f5 Fix bottom overflow in the tournaments (#2809) 2026-03-21 11:39:20 +01:00
Tom Praschan f2ece59aa7 crazyhouse: fix premoves (#2811)
Also, highlight the premoved piece in the pockets menu.
2026-03-21 11:36:19 +01:00
Tom Praschan b955cf4520 fix: enable wakelock in TV and broadcast screen (#2812)
closes #1822
2026-03-21 11:34:46 +01:00
r3econ 16266444c9 Place 'From Position' Variant at the bottom of the List (#2799)
* Place 'From Position' variant at the bottom of the list

* Fix the order

* Update the tests
2026-03-21 11:33:31 +01:00
Vincent Velociter 3f3e88ef9c Fix chinese lang name 2026-03-20 10:32:11 +01:00
r3econ cbe1da91ad Pull to Refresh in User Screen (#2803) 2026-03-20 10:11:34 +01:00
r3econ 7660ab02e3 Fix layout problem in the http logs (#2802) 2026-03-20 10:06:34 +01:00
Rafal Sroka 591cd6dbd6 Add search to app logs 2026-03-19 21:47:57 +01:00
Rafal Sroka 538b2c06d0 Fix tests 2026-03-19 21:22:45 +01:00
Rafal Sroka f0950fc44c Format code 2026-03-19 21:17:27 +01:00
Rafal Sroka e0b5ef3d01 Simplify clearing 2026-03-19 21:17:04 +01:00
Rafal Sroka eff69be21d Update the comment 2026-03-19 21:16:58 +01:00
Rafal Sroka 87f97868b0 Persist app logs 2026-03-19 21:16:44 +01:00
Vincent Velociter 0a2c979953 Cancel any pending lobby seek when accepting a challenge (#2795) 2026-03-19 14:32:10 +01:00
Noah 8706723edc fix acpl touch (#2794) 2026-03-19 10:10:33 +01:00
Tom Praschan 30e26b4bae fix chat messages disappearing when a move is made (#2792) 2026-03-19 10:09:35 +01:00
r3econ daf3bc8031 Clock low time warning animation (#2788) 2026-03-18 10:59:24 +01:00
Tom Praschan c376549abc allow all chess variants when creating a correspondence game (#2761) 2026-03-18 10:55:30 +01:00
Tom Praschan 9be9f084b9 feat: support clockTenths pref from the website (#2758)
The current behavior is to always show tenths below 10s, this PR uses
the existing preference from account settings to also support "never" and "always".

Needs https://github.com/lichess-org/lila/pull/19799
2026-03-18 10:50:51 +01:00
Vincent Velociter c4fb8b929b OAuth 2.0 PKCE flow and redirect to system browser (#2787)
This pull request implements a new OAuth 2.0 PKCE authentication flow for the app, replacing the previous flutter_appauth dependency and approach. The new flow launches an in-app browser (or fallback to the system browser) for user authentication and handles the redirect back to the app using a custom URI scheme.
2026-03-18 10:24:39 +01:00
Vincent Velociter e8b2cb4ae3 Implement lichess announces notifications (#2786) 2026-03-17 15:15:35 +01:00
r3econ d611abdafe Variant Description in Variant Picker (#2780) 2026-03-17 09:55:16 +01:00
Tom Praschan 9919aea406 crazyhouse: fix drop moves in online games (#2783)
* crazyhouse: fix opponent's pockets menu being interactive in online games

* crazyhouse: fix drop moves in online games

* crazyhouse: fix "duplicate keys found" error in StandaloneGameLoadingContent when last move is DropMove
2026-03-17 09:43:34 +01:00
Vincent Velociter 00866515f4 Merge branch 'fix/socket-listener-race-conditions' of https://github.com/lacostej/mobile into lacostej-fix/socket-listener-race-conditions 2026-03-16 14:37:26 +01:00
Vincent Velociter fa2653141a Generate new translations 2026-03-16 14:32:59 +01:00
Jerome Lacoste 1f051f3f1f fix: add 15-second timeout to all HTTP requests (#2777)
Adds a default request timeout in LichessClient.send() to prevent
requests from hanging indefinitely, which can cause screens to stay
stuck in loading state.
2026-03-16 14:09:38 +01:00
r3econ b4f770a29f Round the rating for average opponent (#2764) 2026-03-16 14:05:05 +01:00
r3econ 6ca6baa736 Variant icons in choice picker (#2760) 2026-03-16 14:01:28 +01:00
Vincent Velociter 92cf20f2c6 Tweak style 2026-03-16 13:58:03 +01:00
Vincent Velociter 0240da6779 Merge branch 'fix-puzzle-text-overflow-problem' of https://github.com/r3econ/mobile into r3econ-fix-puzzle-text-overflow-problem 2026-03-16 13:51:39 +01:00
r3econ a49927f813 Eliminate leading zero in the clock tool (#2765) 2026-03-16 11:36:30 +01:00
ComradeRamen 8209b1dd1e Reorder challenge fens to prioritize pure odds over odds plus move 2026-03-15 15:19:24 -07:00
ComradeRamen 72edffdfda Add white options for knight odds 2026-03-15 15:06:15 -07:00
Jerome Lacoste 28b29942d0 fix: register socket listeners before awaiting first connection
Move connectedStream and stream listener registration before
`await _socketClient.firstConnection` in broadcast and TV controllers
to avoid missing reconnection events during the initial connection.

Similar pattern to the race condition fixed in RetroController (#2756).
2026-03-14 11:35:39 +01:00
Rafal Sroka 735a79d0f6 Fix puzzle text label overflow problem 2026-03-13 23:20:10 +01:00
Jerome Lacoste cbd56e8236 feat: add app version to About screen (#2755)
Display the app version at the bottom of the About screen, making it
easier for users to find when reporting bugs.

Closes #2754
2026-03-13 10:54:06 +01:00
Vincent Velociter fde12d689f On crazy analysis screen, add padding around board for normal screens 2026-03-12 14:59:24 +01:00
Jerome Lacoste e1cb75da65 feat: color game results in analysis board (#2751)
Add green/red coloring to win/loss results (1/0) displayed next to
player names in the analysis board, matching the broadcast style.
Draws remain in the default color.

Closes #2745
2026-03-12 09:34:46 +01:00
Noah 933efd3d92 Revert "handle crazyhouse deeplinks (#2202)" (#2748)
This reverts commit because all variants are read supported now 0804bbb3d0.
2026-03-11 14:04:29 +01:00
Vincent Velociter 8f06301753 Fix crazyhouse illegal drop move crash
Closes #2746
2026-03-11 14:03:39 +01:00
Tom Praschan e0092961ba Crazyhouse fixes (#2744) 2026-03-11 12:33:09 +01:00
Jerome Lacoste 61b56507d5 feat: add "Next to play" side choice for games from position (#2715)
Add a "Next to play" side option when starting a game from a custom FEN.
Show "White to play" or "Black to play" text below the mini board preview.
2026-03-10 15:54:51 +01:00
Noah 6735544082 allow king promotions in antichess (#2739)
Co-authored-by: Vincent Velociter <423393+veloce@users.noreply.github.com>
2026-03-09 16:38:56 +01:00