Commit Graph
1761 Commits
Author SHA1 Message Date
Thibault Duplessis ffa9a50543 scala tweaks, set manual clocks as trusted 2026-03-07 10:17:09 +01:00
Nick Stillman c1843d3545 Closes #15009. Study chapter clock editing + feedback from previous org-fork PR 2026-03-06 15:57:07 -05:00
Andrew Bernal 00ae5aa2b1 remove dead code Chapter.isDefaultName
Signed-off-by: Andrew Bernal <anbernal@redhat.com>
2026-02-25 13:05:18 -05:00
Thibault Duplessis 205d1028dd read broadcast PGN flag from the request 2026-02-22 22:26:12 +01:00
Thibault Duplessis 739bdef467 move request pgn flags to study.PgnDump 2026-02-22 22:04:42 +01:00
Thibault Duplessis 1e032af27f studies are now unlisted by default
They can't be found on the site, only with a direct link.

Making the studies private would break the workflow of many teachers who
send study links to their students.
2026-02-18 17:23:34 +01:00
Thibault Duplessis 0927ab8643 better update UI after a chapter update - closes #19444 2026-02-15 18:41:49 +01:00
Thibault Duplessis 16ea8343e6 provide the study chapter name in the JSON
How could it possibly have been missing? Beats me
2026-02-15 18:35:24 +01:00
Thibault Duplessis b5b9dfd15c rename study functions
`updateChapter` just caused the client to ignore the chapter ID,
and reload the whole study.

So I renamed it to `reloadStudy`
2026-02-15 18:29:39 +01:00
Thibault Duplessis 1d071b4f81 debounce study.updatedAt update 2026-02-15 12:27:19 +01:00
Allan Joseph a16610f5c5 delete unused functions 2026-02-12 19:03:39 +05:30
Allan Joseph f516edf05b translate fide feds 2026-02-12 19:01:14 +05:30
Thibault Duplessis a898bc5e7c say no to code duplication
because we serve games as JSON, we already have a JSON representation
for ZH pockets. Let's not invent a new one.
2026-02-11 10:10:29 +01:00
dav1312 4b64d80627 Pass crazyhouse pocket data to gif service 2026-02-10 22:53:16 +01:00
Thibault Duplessis cd921677f6 code golf with M[A].nonEmptyOption 2026-02-06 21:47:31 +01:00
Thibault Duplessis 47aae86cb8 don't add the "text" class if we're going to cancel it in the CSS 2026-02-05 11:09:47 +01:00
Thibault Duplessis 27b53aea57 manually revert #19042
now to fix the corrupted db data...

for #19139
2026-01-22 09:36:09 +01:00
Ahmed Abdelaziz 74549d803c add display options to GIF export API
New query parameters for /game/export/gif and /study endpoints:
- showClocks: display clock times (default: false)
- showGlyphs: show analysis glyphs on each move
- showPlayers: toggle player names (default: true)
- showRatings: toggle ratings display (default: true)
2026-01-19 01:25:02 +02:00
Thibault Duplessis 654ddee9be the mobile app still uses node.id when merging server analysis 2026-01-17 13:44:56 +01:00
Thibault Duplessis e929e99b15 update tree tests and unused new tree code 2026-01-16 12:08:54 +01:00
Thibault Duplessis 2784a00d05 also add lichobile analysis tree BC for study endpoints 2026-01-16 11:55:22 +01:00
Thibault Duplessis d3e63c987f more opaque types 2026-01-16 08:40:44 +01:00
Thibault Duplessis b73b55dc87 opaque type tree.Branches 2026-01-15 23:01:00 +01:00
Thibault Duplessis c06ec2c183 fix tests 2026-01-15 08:29:28 +01:00
Thibault Duplessis 50eafd5741 implement local analysis zh, remove Node.opening, only send when study.write 2026-01-14 21:58:40 +01:00
Thibault Duplessis ea26f2aa4b remove Branch.{id,dests,drops,checks}
id can be computed from the UCI
the other ones are now computed by the client
2026-01-14 16:00:07 +01:00
Thibault Duplessis 13df7df399 refactor chat source 2026-01-14 11:54:06 +01:00
Thibault Duplessis 8a448322f9 code golf while reviewing 2026-01-13 11:02:09 +01:00
Thibault Duplessis 48302423a6 Merge branch 'master' into edit-study-comments 2026-01-13 10:50:41 +01:00
Thibault Duplessis 2c9333847e fix study pgn import comment ordering
at least the tests are now passing so there's that
2026-01-13 10:49:19 +01:00
Thibault Duplessis f31978278e test study import comment ordering - it fails
same test in scalachess passes, so the issue is around here
2026-01-13 10:43:23 +01:00
Thibault Duplessis 6253c4275a Merge branch 'master' into edit-study-comments 2026-01-13 10:08:27 +01:00
johndoknjas 9caaf644e3 Show liked unlisted studies. 2026-01-11 02:14:39 -08:00
Thibault Duplessis b8e5558eeb better type chapterNameHint 2026-01-11 11:07:13 +01:00
dhalleela 98ab87a7f0 formatted file 2026-01-05 20:32:27 -06:00
dhalleela 0595c93ac0 Changes to allow editing multiple comments 2026-01-05 20:27:02 -06:00
johndoknjas cd9b2909d3 When naming a chapter from an imported pgn, use the ChapterName tag if it exists. 2026-01-02 00:32:23 -08:00
Thibault Duplessis 183cff5b8e don't send complete analysis to crowded broadcast 2025-12-30 08:28:29 +01:00
Thibault Duplessis 6c70718b43 don't send analysis progress to 5k broadcast viewers
there might be many boards too
2025-12-29 14:00:03 +01:00
Thibault Duplessis 160369c2e5 set missing chapter.field of first broadcast game
before the first moves arrive
2025-12-29 09:29:22 +01:00
Thibault Duplessis 9f2a33ccaf scala code golf 2025-12-24 10:02:13 +01:00
johndoknjas d097e6bf3b After deleting a chapter, select a neighbouring one rather than the first in the study. 2025-12-23 20:27:33 -08:00
Thibault Duplessis 6977ba3b84 avoid loading all chapter previews when computing tournament players
big computation saver! But we lost the federation info of each player:
`FidePlayer.WithFed(player, none)`

which I don't think is required here anyway?
2025-12-21 11:55:19 +01:00
Thibault Duplessis 746f4fa3bc cache more study federations 2025-12-18 23:23:11 +01:00
Thibault Duplessis 09388785dd compute broadcast photos without the entire players+game data 2025-12-18 23:02:57 +01:00
Thibault Duplessis 799c5006c5 Merge pull request #18890 from johndoknjas/engine-comments
Only remove certain lichess comments
2025-12-14 11:52:38 +01:00
johndoknjas 3bfd89f0ab Non-functional change: remove parameter that is always true. 2025-12-14 00:47:30 -08:00
johndoknjas 9de22b7339 Try to find a fully equal FEN first. 2025-12-12 17:28:00 -08:00
johndoknjas e3f291c80d Handle case where user wants to insert a game from the starting position. 2025-12-12 14:55:32 -08:00
Thibault Duplessis cbac8fd84b fide player rating history: model, storage, update from player sync 2025-12-12 10:11:02 +01:00