Commit graph

21903 commits

Author SHA1 Message Date
Thibault Duplessis 1fa898255b strict practice "mate in" requirement - closes #2657 2017-02-14 02:05:41 +01:00
Thibault Duplessis 1e821189c4 fix crazyhouse concurrent drop with chessground 4.4.0 - closes #2663 2017-02-13 22:01:02 +01:00
Thibault Duplessis 6276848efe Merge branch 'study-friend-list' of git://github.com/ProgramFOX/lila into study-friend-list
* 'study-friend-list' of git://github.com/ProgramFOX/lila:
  Tabs -> spaces in OnlineStudyingMemo.scala
2017-02-13 20:00:05 +01:00
ProgramFOX c96a0e7002 Tabs -> spaces in OnlineStudyingMemo.scala 2017-02-13 19:58:22 +01:00
Thibault Duplessis 8c585b7d06 Merge branch 'study-friend-list' of git://github.com/ProgramFOX/lila into study-friend-list
* 'study-friend-list' of git://github.com/ProgramFOX/lila:
  main.js: pass 'false' to _makeUser instead of 'null'
  User.studyTv: if not found, redirect to routes.Study.byOwnerDefault
  Remove unused HTML attributes from studyButton
  Remove unused case classes
  Replace some .visibility comparisons by .isPublic
  Remove Option.get calls
  Socket.Join: replace a match by a foreach
  SetPath: replace match by foreach
  LightStudyCache: cache by Study.Id instead of String
  Remove ttl from LightStudyCache constructor
  Remove OnlineStudyingMemo.getMap
  '!= None' -> '.isDefined', remove redundant .toSet calls
  FriendsEntering.studyId --> FriendsEntering.isStudying
  Remove unused function
  Lower caching time of relation.Env.onlineStudying(All)
2017-02-13 19:47:42 +01:00
Thibault Duplessis 98b12f0e78 Merge branch 'master' into study-friend-list
* master:
  fix ambiguous keyboard move - closes #2660
2017-02-13 19:47:23 +01:00
Thibault Duplessis 092d2e5280 fix ambiguous keyboard move - closes #2660 2017-02-13 19:41:33 +01:00
ProgramFOX 5b38916dc7 main.js: pass 'false' to _makeUser instead of 'null' 2017-02-13 19:12:31 +01:00
ProgramFOX 872457a3d5 User.studyTv: if not found, redirect to routes.Study.byOwnerDefault 2017-02-13 19:11:04 +01:00
ProgramFOX f6bf1bc7f6 Remove unused HTML attributes from studyButton 2017-02-13 19:04:15 +01:00
ProgramFOX 9349d78ff0 Remove unused case classes 2017-02-13 19:04:00 +01:00
ProgramFOX a97182d3da Replace some .visibility comparisons by .isPublic 2017-02-13 19:00:24 +01:00
ProgramFOX 9e0d201d54 Remove Option.get calls 2017-02-13 18:54:35 +01:00
ProgramFOX e9023acf95 Socket.Join: replace a match by a foreach 2017-02-13 18:52:07 +01:00
ProgramFOX 72bc367c04 SetPath: replace match by foreach 2017-02-13 18:50:58 +01:00
ProgramFOX a852455845 LightStudyCache: cache by Study.Id instead of String 2017-02-13 18:49:02 +01:00
ProgramFOX d60d4c0fac Remove ttl from LightStudyCache constructor 2017-02-13 18:43:36 +01:00
ProgramFOX 675969a2d9 Remove OnlineStudyingMemo.getMap 2017-02-13 18:41:46 +01:00
ProgramFOX aa013ec069 '!= None' -> '.isDefined', remove redundant .toSet calls 2017-02-13 18:39:31 +01:00
ProgramFOX 0ec441b066 FriendsEntering.studyId --> FriendsEntering.isStudying 2017-02-13 18:37:06 +01:00
ProgramFOX 8df03e98d6 Remove unused function 2017-02-13 18:31:48 +01:00
ProgramFOX d7b7fee4cd Lower caching time of relation.Env.onlineStudying(All) 2017-02-13 18:30:51 +01:00
Thibault Duplessis 1d82a9d976 Merge remote-tracking branch 'ProgramFOX/study-friend-list' into study-friend-list
* ProgramFOX/study-friend-list:
  I forgot to check in a file
  Study icon for friends in a study
2017-02-13 17:18:40 +01:00
Niklas Fiekas cca54d4b32 inc stockfish.pexe version 2017-02-13 15:39:19 +01:00
Thibault Duplessis d0d4218331 Revert "Fix #2660"
This reverts commit bbad4bd483.

It breaks SAN pawn moves like "e4".
2017-02-13 15:24:42 +01:00
Thibault Duplessis 526b84fd60 Merge pull request #2662 from e00E/master
Fix #2660
2017-02-13 15:20:04 +01:00
Thibault Duplessis 95fc79edef make sure the bus is only instanciated once 2017-02-13 15:17:32 +01:00
Thibault Duplessis 7941b7b4db upgrade stockfish.pexe 2017-02-13 15:17:10 +01:00
e00E bbad4bd483 Fix #2660 2017-02-13 14:31:51 +01:00
ProgramFOX aeff4cf50c I forgot to check in a file 2017-02-12 22:14:37 +01:00
ProgramFOX 8913cd81b3 Study icon for friends in a study
The study icon will appear when:

 * A friend, who is a contributor, joins a study, or makes a move in a study if he does not have the icon yet (the latter happens if you have two studies open and close one).
 * A friend is in a study and gets added as contributor.
 * A friend is a contributor in a private study and the study becomes public.

The study icon will disappear when:

 * A friend, who is a contributor, leaves a study.
 * A friend, who is a contributor, gets his status revoked, or kicked.
 * A friend, who is a contributor, is in a public study that becomes private.
2017-02-12 22:09:23 +01:00
Thibault Duplessis 6b4fc4bc3b implement FiniteDuration.toTenths 2017-02-12 14:18:48 +01:00
Thibault Duplessis 9b2d4286ff practice icon for double-check 2017-02-12 13:00:57 +01:00
Thibault Duplessis ac4457b5fc remove unknown finish from searchable game results 2017-02-12 12:53:30 +01:00
Thibault Duplessis 464ba05e85 new practice icons 2017-02-12 12:21:39 +01:00
Thibault Duplessis 19fb848490 preserve newlines in study practice comments - closes #2655 2017-02-12 11:53:14 +01:00
Thibault Duplessis 3dbfc8f398 improve practice defend success message 2017-02-12 11:25:27 +01:00
Thibault Duplessis 9ad5fb2910 practice: allow success condition on non-winning position 2017-02-12 11:18:19 +01:00
Thibault Duplessis cc8777e701 fix ceval SF parser 2017-02-12 11:08:13 +01:00
Thibault Duplessis 4b96a07711 upgrade scalachess 2017-02-11 17:03:11 +01:00
Thibault Duplessis 23494d9c03 send ceval crashes exceptions 2017-02-11 17:02:58 +01:00
Thibault Duplessis dfd070b62f Merge pull request #2653 from ProgramFOX/editor-eco-codes
Add ECO codes on /editor dropdown (closes #1708)
2017-02-11 12:13:07 +01:00
ProgramFOX c90357ec62 Add ECO codes on /editor dropdown (closes #1708) 2017-02-11 11:59:27 +01:00
Thibault Duplessis 83448ddc2c stop monitoring lobby accepted rated clocks 2017-02-11 11:57:59 +01:00
Thibault Duplessis 145ca87840 always send multiPv to eval cloud - REVERT ME 2017-02-10 22:16:47 +01:00
Thibault Duplessis d1349eec5a remove superfluous CSS animation 2017-02-10 18:11:30 +01:00
Thibault Duplessis 33a21f8f4d slightly smaller fork moves 2017-02-10 18:09:09 +01:00
Thibault Duplessis d8c3008b30 stick eval gauge to the board. Not sure if better or worse 2017-02-10 18:08:09 +01:00
Thibault Duplessis e68b76e118 better align the eval gauge ticks 2017-02-10 18:07:55 +01:00
Thibault Duplessis 44053256f3 ceval: no longer display full bar when server analysis has a best move 2017-02-10 17:56:43 +01:00