Commit Graph

964 Commits

Author SHA1 Message Date
Vincent Velociter 5d07b2e6cc Simplify evaluation service 2026-01-16 16:46:48 +01:00
Vincent Velociter d2e1dbebed Fix tests 2026-01-16 09:46:20 +01:00
Vincent Velociter 2a1955d9f6 WIP on new stockfish api 2026-01-16 09:15:48 +01:00
Vincent Velociter 827e38228e Fix provider bug that prevented to access games offline (#2519)
* Fix game provider bug

Closes #2473

* Make http error detection less specific
2026-01-13 12:39:38 +01:00
Noah 1179f168d9 Fix multiple analysis session issues (#2496) 2026-01-10 11:58:52 +01:00
Vincent Velociter 7877c6d6aa Add more engine tests 2026-01-06 17:34:45 +01:00
Vincent Velociter d022970c29 Improve broadcast listings 2025-12-30 18:37:01 +01:00
Vincent Velociter 12f2b50cae Fix overflow of engine gauge eval 2025-12-30 18:37:01 +01:00
Vincent Velociter 96aef2d48e Save standalone analysis session in memory (#2462)
* Save standalone analysis session in memory

Closes #2423

* Upgrade riverpod_lint
2025-12-27 11:36:26 +01:00
Vincent Velociter bcae51a390 Providers refactoring 2025-12-24 10:55:30 +01:00
Vincent Velociter 2668f04586 Fix restoring puzzle streak from local storage
Fixes #2458
2025-12-24 10:40:35 +01:00
Sam Baumann 494614c2ca Fix: reset puzzle streak correctly when failing the first puzzle (#2452) 2025-12-23 11:01:25 +01:00
Vincent Velociter bfeab3864a Engine gauge fixes and improvements 2025-12-03 14:01:14 +01:00
Vincent Velociter c263b1b3b1 Merge branch 'HaonRekcef-team-tournament' 2025-12-02 11:28:07 +01:00
Tom Praschan bbd4f981b3 feat: study search sorting (#2299) 2025-12-01 11:51:13 +01:00
Vincent Velociter 01ad1ff3ba Merge branch 'team-tournament' of https://github.com/HaonRekcef/lichess-mobile into HaonRekcef-team-tournament 2025-11-29 13:48:15 +01:00
Noah 3f5a68ee3c add teamID 2025-11-29 11:16:54 +01:00
Vincent Velociter cbf76de148 Analysis improvements and fixes (#2400) 2025-11-28 19:05:23 +01:00
Noah 75f29fb51c Merge branch 'main' into team-tournament 2025-11-27 16:28:45 -05:00
Noah 9387f3b26f update Auth 2025-11-27 14:59:33 +01:00
Noah 0222a4c76c Merge branch 'main' into team-tournament 2025-11-27 14:53:16 +01:00
Vincent Velociter 4a91c903fe Configure global riverpod retry and improve image http requests (#2399) 2025-11-27 13:51:12 +01:00
Vincent Velociter 5b5c7b372f Rename CorrespondenceChallenge to avoid confusion 2025-11-26 11:40:15 +01:00
Vincent Velociter ee34a99d6d Auth refactoring (#2396) 2025-11-25 17:59:16 +01:00
Noah 240506b582 add tests 2025-11-24 20:40:48 +01:00
Vincent Velociter 696817c887 Riverpod 3 (#2381) 2025-11-24 10:44:29 +01:00
Vincent Velociter 0b7ca8b653 Fix move confirmation (#2377)
Fixes #2310
2025-11-19 16:21:03 +01:00
Tom Praschan d512b6de02 feat: "show threat" mode in analysis (#2243) 2025-11-13 13:48:26 +01:00
Tom Praschan d39628941b fix: false positive for alternative castling notation in puzzles (#2355) 2025-11-11 10:37:59 +01:00
David Chopin 90efca5f9b Made it so that an empty state is shown instead of the perpetual spinner when navigating to Friends page and following 0 users - DC (#2284) 2025-11-11 10:33:52 +01:00
David Chopin df7b7c302f Made it so that Wakelock disables when a game ends - DC (#2275) 2025-11-11 10:06:41 +01:00
Niraj b10de32bb2 fix: otb config bottom sheet will show up at otb game start (#2320) 2025-11-07 16:07:23 +01:00
Noah 975954810b Revert "Revert broadcast search for now"
This reverts commit 15808130dd.
2025-11-01 21:06:42 +01:00
Vincent Velociter 15808130dd Revert broadcast search for now 2025-11-01 14:01:06 +01:00
Vincent Velociter 2f2a81141a Fix broadcast search on iOS 2025-11-01 13:26:23 +01:00
Noah 3f144b03a2 find board by player search 2025-10-31 18:51:03 +01:00
Vincent Velociter 4e6b073cf8 Fix opening explorer games orientation 2025-10-30 19:45:06 +01:00
Vincent Velociter 50be2066c6 Writable studies (#2321) 2025-10-30 15:11:32 +01:00
Tom Praschan 191b527456 fix: hide study hint when changing chapter or correct move has been played (#2298)
* test: add a regression test for #2212

* fix: hide study hint when changing chapter or correct move has been played

fixes #2212
2025-10-28 12:05:34 +01:00
Tom Praschan 3c55f67987 fix regression caused by #2255 (#2272)
I wrongly assumed that addMoveAt() already converts castling notation
for us, but that function is only called when new nodes are added to the
move tree in an active game, but not when parsing a study chapter.

This is why #2255 fixed the bug of a mve being incorrectly interpreted
as alt-castling, but it now broke the annotations if the move actually
WAS a castling move.

Luckily, while in addMoveAt() there are some heuristics because we only
have the UCI move, not the SAN move, in the AnalysisBoard we *do* have
the SAN move, so we can just check for O-O/O-O-O to avoid false
positives.

Resolves #2231
2025-10-17 16:11:21 +02:00
Tom Praschan c65101ea6c fix: don't try to account for alternative castling notation in annotations (#2255)
* fix: don't try to account for alternative castling notation in annotations

This leads annotations being displayed on the wrong square e.g. when
moving the rook from e1 to h1 (as its incorecctly interpreted as a
castling move).

Luckily, we already convert alternative castling notation when constructing the
node tree, so instead of extending the logic in the AnalysisBoard, we
can just get rid of this logic entirely.

Fixes #2231

* add regression test
2025-10-14 11:05:40 +02:00
Vincent Velociter f8d4d6945b Fix retro evaluation and simplify retro interface (#2248)
* Fix retro evaluation and simplify retro interface

* Fix retro tests
2025-10-05 07:52:09 -04:00
Noah 3c335eb58c Discard piece after tapping square again in Editor (#2213) 2025-10-03 10:32:17 -04:00
tom-anders d4c44a0c04 fix test 2025-10-01 18:24:30 -04:00
tom-anders 39397c91d7 test: mock http instead of repositories 2025-10-01 18:24:30 -04:00
tom-anders 92b7ab8dc5 feat: learn from your mistakes 2025-10-01 18:24:30 -04:00
Vincent Velociter 41325d2327 Remove deprecated patron field (#2238) 2025-10-01 15:45:00 -04:00
Noah 0804bbb3d0 handle crazyhouse deeplinks (#2202) 2025-09-18 09:29:21 -08:00
Nathan Gill 522d18e0a6 feat: show a list of study members (#2155) 2025-08-28 17:22:54 -05:00
Vincent Velociter ae1ab99997 Use /api/mobile/profile on user screen
Partially solves #2098
2025-08-27 20:44:19 -04:00