Commit Graph

10232 Commits (master)

Author SHA1 Message Date
Niklas Fiekas 743da7b94b fix explorer max plies off by one 2021-10-20 15:45:58 +02:00
Niklas Fiekas 6aa8c1c71c fix multiple master dbs when switching study chapters 2021-10-20 15:30:20 +02:00
Niklas Fiekas f5cb2fb1e1 update colspan of explorer game menu in studies 2021-10-20 15:26:11 +02:00
Niklas Fiekas 3e3cd47022 show move arrows when hovering poe games 2021-10-20 15:19:59 +02:00
Niklas Fiekas 4855121b62 code golf ndjson reader 2021-10-20 14:17:53 +02:00
Thibault Duplessis c2a02dbee0 better show POE indexing state 2021-10-20 12:44:51 +02:00
Thibault Duplessis 38e5f59d35 fix explorer bar transitions 2021-10-20 12:44:28 +02:00
Thibault Duplessis 0ffd2c3529 show explorer database name in title 2021-10-20 12:35:13 +02:00
Thibault Duplessis 55e171c327 fully redraw explorer on config close
to reset scrolling. No element could be reused anyway
2021-10-20 12:15:41 +02:00
Thibault Duplessis 070e9e9d1d refactor tablebase view 2021-10-20 12:14:54 +02:00
Thibault Duplessis 7c56c8f498 POE without a player name = lichess DB - for #9990 2021-10-20 11:52:35 +02:00
Thibault Duplessis 68690d7de0 POE remove update param 2021-10-20 11:48:37 +02:00
Thibault Duplessis c6874acba9 POE dissociate color from board orientation - for #9990 2021-10-20 11:46:28 +02:00
Albert Ford 893984bfa3
Fix miniboard staleness 2021-10-20 00:50:17 -07:00
Thibault Duplessis 3499c01c51 mention that POE is beta 2021-10-20 07:52:41 +02:00
Thibault Duplessis 18965e5d21 fix POE variant selector 2021-10-20 07:50:53 +02:00
Benedikt Werner eab4ba1a8a
lobby: Don't show HTML error responses 2021-10-20 07:13:13 +02:00
Thibault Duplessis 57b4367669 fix POE indexing end 2021-10-19 20:04:37 +02:00
Thibault Duplessis 8a08c670a8 unlimited is not a game speed 2021-10-19 20:04:37 +02:00
Thibault Duplessis 525499dceb explorer bar animation 2021-10-19 20:04:37 +02:00
Thibault Duplessis 4b2cf995b4
Merge pull request #9988 from ornicar/openingexplorer3
Personal opening explorer
2021-10-19 19:14:37 +02:00
Thibault Duplessis ddc90fc190 all speeds in POE 2021-10-19 19:03:52 +02:00
Thibault Duplessis 86a6a0f0d6 more POE tweaks 2021-10-19 18:50:52 +02:00
Thibault Duplessis 07b44ba69e more POE tweaks, validate dates 2021-10-19 18:25:07 +02:00
Thibault Duplessis 8ec273219c POE date filters and refactor 2021-10-19 17:51:12 +02:00
Thibault Duplessis 8e9ceceb71 POE config refactor 2021-10-19 16:59:10 +02:00
Thibault Duplessis 88c439a6a2 TS simplification 2021-10-19 16:53:26 +02:00
Thibault Duplessis 8964f97fb7 POE tweaks 2021-10-19 16:43:04 +02:00
Thibault Duplessis 25689adf53 refactor explorer config into a class 2021-10-19 16:26:04 +02:00
Thibault Duplessis d064b7d237 refactor ui/analyse explorer into a class 2021-10-19 16:09:13 +02:00
Thibault Duplessis 3fa678b896 POE: mode selector 2021-10-19 15:45:02 +02:00
Thibault Duplessis eead4d3be3 personal explorer UI WIP 2021-10-19 15:35:35 +02:00
Thibault Duplessis 44e3a895a7 document <ctrl> key to prevent auto promotion 2021-10-19 15:21:22 +02:00
Niklas Fiekas 7b531d078d bump chessops to 0.10.2 (fix atomic with check and exploded king) 2021-10-19 13:36:38 +02:00
Thibault Duplessis e1c212d1b7 opening explorer UI WIP 2021-10-19 11:22:32 +02:00
Thibault Duplessis 2f2807d185 personal opening explorer: show indexing status 2021-10-19 10:42:15 +02:00
Thibault Duplessis 8139647bdc personal explorer doesn't show move average rating 2021-10-19 09:53:42 +02:00
Thibault Duplessis 7eadfc9862 reload personal opening explorer data on board flip 2021-10-19 09:51:03 +02:00
Thibault Duplessis 88ab7ac864 higher explorer UI 2021-10-19 09:50:38 +02:00
Thibault Duplessis c9fa4ea868 cancel previous opening explorer stream when opening a new one 2021-10-19 09:30:00 +02:00
Thibault Duplessis 4d51f36805 personal opening explorer response streaming 2021-10-19 09:09:35 +02:00
Thibault Duplessis b1a398b66d personal opening explorer UI WIP 2021-10-18 19:20:52 +02:00
Thibault Duplessis ca36d40fce fix TS type 2021-10-18 11:24:23 +02:00
Thibault Duplessis 90e3d9a822
Merge pull request #9979 from sharadsw/fix-board-jump
Fix board jump on mobile
2021-10-18 11:20:46 +02:00
Thibault Duplessis 8c52c97d82
Merge pull request #9981 from benediktwerner/remove-ublog-topics-kerning
Remove extreme ublog topics kerning
2021-10-18 11:18:34 +02:00
Thibault Duplessis 5a47cceb10 ui/analysis: prefer ceval over server-side for playBestMove - closes #9982 2021-10-18 11:05:42 +02:00
Benedikt Werner bf89a8e8df
Remove extreme ublog topics kerning 2021-10-17 06:44:44 +02:00
Sharad 93a16a6100 Fix board jump on mobile 2021-10-16 18:34:09 -04:00
Thibault Duplessis 1cacc2706f simplify variant page scss after #9970 2021-10-16 09:40:09 +02:00
Thibault Duplessis a4f1453d4a
Merge pull request #9970 from ijhchess/fixes-flex-css
fixes flex for variants css
2021-10-16 09:39:31 +02:00
Thibault Duplessis 1abb7124a4
Merge pull request #9972 from benediktwerner/knodes
Change 'knodes' to 'k nodes'
2021-10-16 09:27:00 +02:00
Benedikt Werner ae2cc3e290
Don't alert HTML error pages 2021-10-16 07:36:03 +02:00
Benedikt Werner 2350fb26b9
Change 'knodes' to 'k nodes' 2021-10-16 06:52:07 +02:00
Benedikt Werner 1d18c799a3
Improve error when analysis requests fail 2021-10-16 06:51:30 +02:00
Benedikt Werner 31cd3a5bb1
More storm translations 2021-10-16 04:47:39 +02:00
Benedikt Werner ba2e818d75
Fix streamer edit page bottom padding 2021-10-16 04:05:07 +02:00
Benedikt Werner f15999364e
Prevent long-tap selecting moves on mobile 2021-10-16 03:59:26 +02:00
Benedikt Werner 132bb64a70
Disallow tablebases in correspondence analysis 2021-10-16 02:09:47 +02:00
ijhchess 9fd3a8679b fixes flex for variants css 2021-10-15 03:48:38 -05:00
Thibault Duplessis 919e5b4a60 simplify public chat UI after #9912 2021-10-13 10:55:34 +02:00
frpg f38de37949 Changing tournament time to status text 2021-10-13 10:55:34 +02:00
frpg ba94b07029 Adding tournament time indicators to public-chat page 2021-10-13 10:55:34 +02:00
kraktus 95bc46ad5e Fix inquiry dox note interferring with profile dox note
Clicking on dox note on the profile was toggling the switch in the inquiry
2021-10-13 10:55:34 +02:00
Benedikt Werner 596d9a2b5d Make rematch disabled conditions clearer 2021-10-13 10:55:34 +02:00
Niklas Fiekas f5512792ba disable (not hide) unsupported ceval settings 2021-10-13 10:55:34 +02:00
Niklas Fiekas c77e8a4ed7 fix BoolSetting.disabled ignored 2021-10-13 10:55:34 +02:00
Thibault Duplessis 0e34f93f45 fix homepage blog posts grid 2021-10-13 10:55:34 +02:00
kraktus 2d0e6df79a Show shadowban directly in the communication page
For https://hq.lichess.ovh/#narrow/stream/34-mod-dev/topic/shadowbans.20in.20PMs.20.28request.29/near/432680

TDLR: make it more clear it's not needed to investigate these players, without hovering the username of each of them.
2021-10-09 13:26:19 +02:00
Thibault Duplessis 13041d1f3c increase contrast of analysis moves - closes #9936 2021-10-07 10:18:23 +02:00
Thibault Duplessis b123acf9bc broadcast tier system - MIGRATION NEEDED - closes #9938 2021-10-07 10:09:02 +02:00
Thibault Duplessis 311a273be8 Merge branch 'opening-wiki'
* opening-wiki:
  add /dmca route
  refactor theory wiki
  avoid unnecessary wikibooks API calls
  theory wiki style tweaks and mobile view
  tweak theory wiki padding
  analysis wikibooks theory POC
2021-10-06 19:31:14 +02:00
Thibault Duplessis 3e29373ebc fix ui/round with closed user account 2021-10-06 19:23:07 +02:00
Thibault Duplessis 89bd3d7891 refactor theory wiki 2021-10-06 13:06:23 +02:00
Thibault Duplessis f838314140 avoid unnecessary wikibooks API calls 2021-10-06 12:56:24 +02:00
Thibault Duplessis e34b848ed7 theory wiki style tweaks and mobile view 2021-10-06 12:35:15 +02:00
Thibault Duplessis ed5d7f5af9 tweak theory wiki padding 2021-10-06 12:23:24 +02:00
Thibault Duplessis d533767784 analysis wikibooks theory POC 2021-10-06 12:06:06 +02:00
Thibault Duplessis 3016ff6253
Merge pull request #9935 from kraktus/dox_note_inquiry
Add dox note in inquiry
2021-10-06 08:44:13 +02:00
Thibault Duplessis 463e5fc315 normalize solution move in puzzle UI to fix castling bug 2021-10-06 08:37:52 +02:00
kraktus a0426b75f9 Add dox note in inquiry 2021-10-05 18:05:06 +02:00
Thibault Duplessis ca8c4e7cfc class news typography 2021-10-04 12:48:16 +02:00
Thibault Duplessis 7a4389d2e8 Merge branch 'fix-round-underboard-gap' of https://github.com/benediktwerner/lila into benediktwerner-fix-round-underboard-gap
* 'fix-round-underboard-gap' of https://github.com/benediktwerner/lila:
  Fix gap below round board on new Chromium
2021-10-03 18:26:58 +02:00
Thibault Duplessis 9f44a91e34
Merge pull request #9917 from benediktwerner/only-play-notify-sound-once
Only play notification sounds once over all tabs
2021-10-03 17:35:12 +02:00
Thibault Duplessis 6bdc5e4729 fix tournament own games download link for titled players 2021-10-03 13:44:22 +02:00
Thibault Duplessis eb15e36b3c move the notification clear button up 2021-10-03 13:34:31 +02:00
Thibault Duplessis fee89d7af3 casual puzzle play without rating updates 2021-10-03 11:57:07 +02:00
Benedikt Werner 10256b92f5
Respect click vs drag pieces setting in analysis 2021-10-03 08:41:41 +02:00
Benedikt Werner 734aff8642
Only play notification sounds once over all tabs 2021-10-03 08:17:37 +02:00
Benedikt Werner e43ffab757
Remove unused streamer CSS 2021-10-03 07:19:05 +02:00
Benedikt Werner 82263d0a88
Fix gap below round board on new Chromium 2021-10-03 07:17:20 +02:00
Benedikt Werner e5806be7e7
chat: Don't show option to report or timeout yourself 2021-10-03 07:04:06 +02:00
Benedikt Werner d488cd3974
blog & page: Wrap links instead of overflowing 2021-10-03 06:54:29 +02:00
Thibault Duplessis 681bbeb51b
Merge pull request #9911 from frpg/public_chats_grid_fix
Public chats grid flex fix
2021-10-02 17:06:59 +02:00
Thibault Duplessis 4977e40272
Merge pull request #9871 from nnickoloff1234/tourney-schedule-fit-lane-minor-fix
Tourney Schedule: trunc seconds when fitting tourney bars into lanes
2021-10-02 10:07:01 +02:00
Thibault Duplessis 797c7b759a download all tournament games of a single player 2021-10-02 09:58:20 +02:00
Thibault Duplessis 3fcc14299d tweaks for #9873 2021-10-02 09:12:48 +02:00
Thibault Duplessis 07b5e7c840
Merge pull request #9873 from romnzs/highlight-original-poster-in-forum-topic
Highlight original poster in forum topic
2021-10-02 09:06:46 +02:00
Thibault Duplessis 34b9863de8
Merge pull request #9879 from kraktus/correct_final_pos_high_latency
Show correct position when timing out before the move reaches the server
2021-10-02 08:40:56 +02:00
Thibault Duplessis ec341923c9
Merge pull request #9888 from 370417/threat-pv
Don't play pv in threat mode
2021-10-02 08:31:03 +02:00
frpg 641a028c9c Public chats grid now always flows in 3x3 2021-10-01 13:48:56 +01:00
Thibault Duplessis 154303aee7 add close button for analysis learn mode 2021-10-01 09:45:39 +02:00
Benedikt Werner 65fc932905
Prettier 2021-10-01 01:42:16 +02:00
Benedikt Werner d0e5651867
Remove `MaybeVnode(s)` from `study/interfaces.ts` 2021-10-01 01:33:57 +02:00
Benedikt Werner dfca38414d
Don't show "enable computer eval" help if eval is not allowed 2021-10-01 01:28:33 +02:00
kraktus 3d991ba344 Show correct position when timing out before the move reaches the server
Previous behavior kept the board unsynced with the server position, confusing players as to why they lost on time AFTER moving. It wasn't until the expiration of the `TransientMove` that the board would be synced again.

Unlike when premoving I haven't found an easy way to undo the move, hence reloading chessground. I have restricted it to `outoftime` outcome for now, maybe `abort` would make sense too.

close https://github.com/ornicar/lila/issues/5772
2021-09-30 16:32:34 +02:00
Thibault Duplessis 5e318de0cf fix notification overflow 2021-09-30 09:31:06 +02:00
Thibault Duplessis 149c365521
Merge pull request #9894 from rglbr/clear_notifications
allow users to clear notifications
2021-09-29 16:05:55 +02:00
Thibault Duplessis d670eb2dce bit of refactoring after #9895 2021-09-29 15:16:35 +02:00
Thibault Duplessis d5abdda023 Merge branch 'fork-arrows' of https://github.com/Pluckerpluck/lila into Pluckerpluck-fork-arrows
* 'fork-arrows' of https://github.com/Pluckerpluck/lila:
  Run prettier on fork.ts
  Add hover arrows for mouseover of forks
2021-09-29 14:36:33 +02:00
Thibault Duplessis d9732aaea2 round: hide init message when col1 and no move list - fixes #9898 2021-09-29 09:32:19 +02:00
Thibault Duplessis 498f23c1ac email us for transfer donations 2021-09-28 09:46:08 +02:00
Benedikt Werner 026391fa19
Use triple equals comparison 2021-09-27 14:55:56 +02:00
Benedikt Werner a70ff3e31d
analyse/practice: Block space hotkey for best move 2021-09-27 14:54:25 +02:00
Samuel Gillespie 4f260e90b4 Run prettier on fork.ts 2021-09-27 11:15:26 +01:00
Samuel Gillespie 47960e1776 Add hover arrows for mouseover of forks
Forks will now present an arrow on mouse hover.
This matches the functionality of the explorer view.

`hovering` property is now cleared if fen does not match current board.
This means the property can be set more freely without worry of side
effects.
2021-09-26 22:55:12 +01:00
Ragul Balaji Ravichandran 15b4ce99c7 allow users to clear notifications 2021-09-26 20:40:54 +05:30
Albert Ford 55296fae61
Don't play pv in threat mode 2021-09-25 09:55:44 -07:00
Thibault Duplessis 1e9d0eaa4e fix swiss UI pagination bounds 2021-09-24 14:51:35 +02:00
Thibault Duplessis 97920c2d8f arena UI: fix pagination bounds 2021-09-24 14:48:32 +02:00
romnzs 4c01fc3a4f Highlight original poster in forum topic 2021-09-23 23:00:22 +03:00
nickolay d2114d7a6d trunc seconds when fitting tourney bars into lanes 2021-09-23 21:40:49 +03:00
nickolay 92027fce43 trunc seconds when fitting tourney bars into lanes 2021-09-23 21:11:26 +03:00
nickolay de26882c85 trunc seconds when fitting tourney bars into lanes 2021-09-23 20:59:25 +03:00
Thibault Duplessis b51e9a0abc use ceval sub in casual games too 2021-09-23 17:51:39 +02:00
Thibault Duplessis f467bac4ab add broadcast PGN endpoints 2021-09-23 10:48:01 +02:00
romnzs 800f18035f Fix dragging 3D piece elevation 2021-09-22 22:09:20 +03:00
Benedikt Werner 262ce37c48
Only allow keyboard move king promotion in Antichess 2021-09-21 16:15:04 +02:00
Benedikt Werner 4a2f68f1b4
Allow king promotions in keyboard moves (for Antichess) 2021-09-21 15:46:10 +02:00
Thibault Duplessis 503beddb89 ublog post image alt & credit 2021-09-19 17:22:09 +02:00
Benedikt Werner 154382ca19
analyse/embed/css: button cursor: pointer 2021-09-19 17:14:25 +02:00
Benedikt Werner c55a179336
analyse/embed/css: Fix zh layout on mobile 2021-09-19 17:11:01 +02:00
Thibault Duplessis d82c1b5bdb
Merge pull request #9841 from benediktwerner/h2-line-height
css: Reduce page h2 line-height
2021-09-19 15:29:54 +02:00
Benedikt Werner 97694606d1
css: Reduce page h2 line-height 2021-09-19 15:27:59 +02:00
Benedikt Werner 71d105f8d6
css: Make .button display: inline-block 2021-09-19 15:07:07 +02:00
Benedikt Werner eb4941bdd3
ublog/css: Prevent linebreak inside view count 2021-09-19 14:59:10 +02:00
Thibault Duplessis 80c336fbe8
Merge pull request #9828 from benediktwerner/fix-study-comment-auto-correct
Use oninput instead of onkeyup & onpaste
2021-09-18 14:05:30 +02:00
Thibault Duplessis e3df6489af
Merge pull request #9826 from 370417/logo-spinner-safari
Swap spinner mask and content
2021-09-18 07:41:29 +02:00
Benedikt Werner 1e70957b65
Use oninput instead of onkeyup & onpaste 2021-09-18 06:58:47 +02:00
Benedikt Werner a647cc6a72
lobby/css: Tweak mobile table some more 2021-09-18 06:58:23 +02:00
Albert Ford f7ea36dd4b
Swap spinner mask and content
This avoids animating the mask.
Intended to fix stuttering animation on Safari.
2021-09-17 14:37:45 -07:00
Thibault Duplessis ab59debb19 fix ublog image center 2021-09-17 14:53:45 +02:00
Benedikt Werner c4fabeee3e
gulp: Fail prod build as well on error 2021-09-17 04:41:55 +02:00
Benedikt Werner 46c8f4e126
lobby/css: Fix typo 'elipsis' -> 'ellipsis' 2021-09-17 04:41:44 +02:00
Thibault Duplessis abb6e70ddb
Merge pull request #9819 from 370417/animated-logo-spinner2
Replace loading spinner with lichess logo
2021-09-16 22:06:29 +02:00
Albert Ford 83581f653e
Replace loading spinner with lichess logo 2021-09-16 08:53:15 -07:00
Benedikt Werner f56360e326
Update cg when disabling practice mode
To recompute dests in case the user scrolled to the computer's position.
2021-09-16 10:45:31 +02:00
Benedikt Werner c3d01fbd5f
Fix .prettierignore ignoring lobby "app" css 2021-09-16 10:27:44 +02:00
Benedikt Werner 240b337fce
Increse mobile lobby font size again whithough overflowing 2021-09-16 10:27:44 +02:00
Benedikt Werner 24dc40cd0d
tweak wakeLock code 2021-09-16 10:27:44 +02:00
Thibault Duplessis 09949377b9 yarn format 2021-09-16 09:32:26 +02:00