Giter Site home page Giter Site logo

lichess-org / lila Goto Github PK

View Code? Open in Web Editor NEW
14.6K 225.0 2.1K 485.38 MB

♞ lichess.org: the forever free, adless and open source chess server ♞

Home Page: https://lichess.org

License: GNU Affero General Public License v3.0

Scala 67.42% HTML 0.28% JavaScript 2.23% Shell 0.11% Python 0.39% Ruby 0.02% CSS 0.35% TypeScript 21.73% SCSS 7.47% Batchfile 0.01%
scala chess play-framework non-profit functional-programming type-safe typescript free-software game lichess

lila's People

Contributors

370417 avatar aimorris avatar allanjoseph98 avatar antma avatar benediktwerner avatar brandone avatar brollin avatar carbrex avatar clarkerubber avatar ddugovic avatar dignissimus avatar fitztrev avatar flugsio avatar greg-finley avatar happy0 avatar isaacl avatar konstantinos07 avatar kraktus avatar lenguyenthanh avatar m-dinhhoangviet avatar niklasf avatar ornicar avatar scala-steward avatar schlawg avatar superuser-does avatar thomas-daniels avatar trevorbayless avatar unihedro avatar veloce avatar yafred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lila's Issues

Feature: self hosted engines (like FICS, ICC)

It would be cool if people could selft host UCI engines (similar to FICS, or ICC). Accounts that are self hosted engines should be marked as computers, and there should be tournaments available for engines.

And, perhaps people could even mark their engines as available for analysis (ie, other players could enlist the self hosted engines to automatically analyze games when the account is free, rather than always relying on the builtin stockfish).

Sign in users failed.

Hi.
I installed lila on my ubuntu server.
This work fine but i have a one trouble.
User how is after registration want to sing in that are they unable to do it.
I not find any error in log files or on screen my PC.

So please help me. Thanks a lot.

page load problem

Neither http://lichess.org/ nor http://en.lichess.org/ would load in google chrome. Subpages like my profile page or match histories load just fine. The page also loads in Firefox.
If I delete all cookies related to lichess, everything works fine, I just have to log in again.

Some untranslated strings

Need to add locale to the following strings:

"No message!", "To:", "Subject:", "Send" (from inbox)

"View PGN", "Download PGN", "Request a computer analysis", "Game %s time stats" etc.

And, of course, strings from the translation form itself.

[NoSuchElementException: Either.right.value on Left]

Hi,
I just installed lila on my server, and seems everithing is supposed to work. But there's an issue I can't solve. When the second player in PvP game trying to join, both players got an error in the browser.

[NoSuchElementException: Either.right.value on Left]
In /home/lila/modules/db/src/main/Tube.scala at line 22.

Also in the logs I'm getting this error all time:

[error] application -

! @6fg3b9bmp - Internal server error, for (GET) [/3v624ve2pnme] ->

play.api.Application$$anon$1: Execution exception[[NoSuchElementException: Either.right.value on Left]]
at play.api.Application$class.handleError(Application.scala:289) ~[play_2.10.jar:2.1.2]
at play.api.DefaultApplication.handleError(Application.scala:383) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:143) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:139) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
java.util.NoSuchElementException: Either.right.value on Left
at scala.util.Either$RightProjection.get(Either.scala:454) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at scala.collection.immutable.Stream.foreach(Stream.scala:547) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2.reads(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.PathReads$$anonfun$at$1$$anonfun$apply$2.apply(JsConstraints.scala:33) ~[play_2.10.jar:2.1.2]

Please, help. Thanks in advance.

Typo in chess analysis

"Not the best chekmate analysis" should be "Not the best checkmate analysis" of course.

Error importing PGN

I was trying to import a PGN of the Immortal Game found here (third link down). As Wikipedia notes, it has a small factual error, but this does not make the PGN invalid. I have successfully imported it into PyChess, for instance.

Here is a direct link to the faulty PGN file in question.

I removed all the comments from the file yet it still failed to import. Mephostophilis suggested that the header contains nonstandard variables. If so, it would be preferable that Lichess would ignore them so PGN files from the web can easily be imported and replayed through Lichess's superior interface.

Initial Install showing blank page with no error.

Hi,

I am trying to run everything locally by following the README file and have elasticsearch and mongodb running according to the conf file. When I ran the app, there is not error in the console:
.........
........
[info] o.e.plugins - [Maggott] loaded [], sites []
[info] lila - [boot] Preloading complete
[info] play - Application started (Dev)
[info] lila - [boot] monitor
[info] lila - [search] Start indexer
[info] lila - [search] Indexer is running

But the page is blank saying there is a problem showing the page. Is there anything that needs to be setup? Thanks for your help.

Intermitent problem creating tournaments

Sometimes when creating a tournament (example with the default settings), the tournament page with the text "Waiting for 7 players " is showed, but then quickly reloads and displays "Waiting for 8 players". The user is automatically withdrawn, and the tournament deleted. This only happens some times.
If the tournament is created and the player correctly added, a page refresh also results in an automatic withdraw. This happens every time.
I'm guessing this second behavior may be "by design", being the user withdrawn when the connection with the web socket is broken due to the page refresh, but the first behavior is certainly undesirable and may result from occasional delay establishing the web socket connection.
A possible solution to this would be a delay to allow for connection recovery before the automatic withdraw.

Static files and different domains

Hi, chess.

Problem. The same files downloaded from different hosts is not cached in the browser -- an extra load on the server and user traffic (the server sends the user to a domain, and user sees that it is not language version and selects another, static files will be loaded twice).

Decision. Specify (non-linguistic) sub-domain, for example, static.lichess.org for static resources.

Feature request: stylesheets for printing

Sometimes I want to print out my best games, hang up on my wall and admire. But! I just can't do this because printed sheet looks awful. Can you do something with it?

Amalgamate these into the TODO

I autistically gathered every quirk I have found with the frontend of Lila. Still haven't had time to learn Java or Scala (and getting familiar with the codebase will likely take even longer considering there's no doc file), so that will have to wait, hehe.

  • 'Search' is better than 'Search a player' (should have a 'for' there anyway')
  • Search box should be global in the forum
  • http://lichess.org/forum/lichess-feedback/horizontal-line-between-games - though now you are taken to a separate page unlike in the past, this is less elegant than my proposition.
  • After you submit a translation, you are returned to the original shade of the page (i.e. black -> white)
  • Yin-Yang mode:
    • http://lichess.org/forum/lichess-feedback/problems-with-yin-yang -> the question mark for when a player is okay with taking either side is also ugly apart from the others that have stayed
    • In 'play with a friend', yin-yang doesn't work right and the link has a white background
    • The lichess.org link on the homepage doesn't change colouron mouseover, or at least it appears so to the naked eye (doubt the script to do that is disabled though).
    • Can't see which languages have been completely translated as the bar doesn't turn to green
  • Exclamation mark in the chess CAPTCHA. The exclamation mark is not used universally.
  • ELO should be Elo. A simple global s/ELO/Elo should do the trick.
  • For all the search engines on the site, search uses double quotation marks (") which are not universal
  • 'Search in forum' font size is smaller than 'Search in teams' (appears after one has searched either from the search box).
  • Displaying FEN at the bottom is confusing and seriously brings down the UX... more appropriate would be 'Continue from here' (currently the alt text) and a text box you can copy the FEN appearing upon click 'Continue from here'.
  • Should be able to scroll through the various boxes (e.g. chat) with a mouse scroll wheel. Lots of other websites use a jQuery UI element for that just as Lichess does (though it may be a less outdated version for them) yet scrolling works for them...?

Feature request: correspondence chess

Just as on chess.com, where you can set 1 to 14 days per move.
Basically, just more time control options.
Would love to use lichess instead of chess.com for corr chess.

With some pointers perhaps I can help out with this

New icons/avatars for players

Hi! I propose to change the icons on the same, only with the appropriate colors. For example:

You can also add support for gravatar. So, what do you think?

Cleanup branches

There's so many of them, and most is either merged or seems abandoned. I thought they might use a lil' cleanup :)

Playing with myself

I can currently start game with myself the following way:

  1. Start new game.
  2. Press "Play" in menu bar again. "X" to the right of my created game changes to "Play" button. Which can itself be pressed.
    Its true for at least registered users.

If the game is created by white, I can even make first half a turn. Then I can only cancel the game.

Instead of disabling such behaviour, it may be useful to enable self-to-self game for educational purposes. Sometimes I want to replay a real game since a definite turn with myself or test some debut.

Thank you.

PS: I've lost password to account called 'sshilovsky'. Can I restore it some way? Really want this account name

run error

After "play run", open browser to access http://localhost:9000 or http://localhost:9000/forum etc, the following error appears:

ExceptionInInitializerError: null
No source available, here is the exception stack trace:
->java.lang.ExceptionInInitializerError:
Routes$$anonfun$routes$1$$anonfun$apply$161$$anonfun$apply$162.apply(routes_routing.scala:1113)
Routes$$anonfun$routes$1$$anonfun$apply$161$$anonfun$apply$162.apply(routes_routing.scala:1113)
play.core.Router$HandlerInvoker$$anon$3.call(Router.scala:1167)
play.core.Router$Routes$class.invokeHandler(Router.scala:1344)
Routes$.invokeHandler(routes_routing.scala:15)
Routes$$anonfun$routes$1$$anonfun$apply$161.apply(routes_routing.scala:1113)
Routes$$anonfun$routes$1$$anonfun$apply$161.apply(routes_routing.scala:1113)
play.core.Router$Routes$class.call(Router.scala:1212)
Routes$.call(routes_routing.scala:15)
Routes$$anonfun$routes$1.apply(routes_routing.scala:1112)
Routes$$anonfun$routes$1.apply(routes_routing.scala:468)
scala.PartialFunction$$anon$3.apply(PartialFunction.scala:67)
scala.PartialFunction$$anon$3.apply(PartialFunction.scala:66)
play.core.Router$Routes$class.handlerFor(Router.scala:1340)
Routes$.handlerFor(routes_routing.scala:15)
play.api.GlobalSettings$$anonfun$onRouteRequest$1$$anonfun$apply$1.apply(Global.scala:64)
play.api.GlobalSettings$$anonfun$onRouteRequest$1$$anonfun$apply$1.apply(Global.scala:63)
scala.Option.flatMap(Option.scala:146)
play.api.GlobalSettings$$anonfun$onRouteRequest$1.apply(Global.scala:63)
play.api.GlobalSettings$$anonfun$onRouteRequest$1.apply(Global.scala:63)
scala.Option.flatMap(Option.scala:146)
play.api.GlobalSettings$class.onRouteRequest(Global.scala:63)
play.api.DefaultGlobal$.onRouteRequest(Global.scala:120)
play.core.server.Server$$anonfun$sendHandler$1$1.apply(Server.scala:60)
play.core.server.Server$$anonfun$sendHandler$1$1.apply(Server.scala:59)
scala.Either$RightProjection.map(Either.scala:285)
play.core.server.Server$class.sendHandler$1(Server.scala:59)
play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:89)
play.core.server.Server$$anonfun$getHandlerFor$4.apply(Server.scala:88)
scala.Either$RightProjection.flatMap(Either.scala:277)
play.core.server.Server$class.getHandlerFor(Server.scala:88)
play.core.server.NettyServer.getHandlerFor(NettyServer.scala:41)
play.core.server.netty.PlayDefaultUpstreamHandler.messageReceived(PlayDefaultUpstreamHandler.scala:234)
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:100)
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:79)
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:95)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:366)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:568)
org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:506)
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563)
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91)
org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373)
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247)
org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102)
org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:662)

Setting delay to change blocks on main page

..сan set a delay of 1.5 -- 2 seconds to change of number of players online, the current parties and the waiting list, and it's ugly, and most importantly very quickly jump blocks -- do not have time to read and understand the information on the main page.

timing in "Spectator room" chat

Sometimes its interesting for the player to view comments in the chat and know, which turn a comment was made at.

In my dreams I see it like that: a button with a turn number on it near each comment. When clicked, the board switches to the state of that turn (when in "Replay and analyse").

java error during install

Hi. I see this error when i run bin/build-play2:
Error occurred during initialization of VM
The size of the object heap + VM data exceeds the maximum representable size
I've googled a lot but could not fix it. I use Debian 6 x86_64 with 512 mb RAM and 900 mb. swap space. I used sun java runtime.

Websocket code unintentionally broken (for opera)

Commit f000e76 breaks lichess for Opera users due to a simple typo.

self.options.baseUrls = self.options.baseUrls.reverse;

should be

self.options.baseUrls = self.options.baseUrls.reverse();

As the intent surely is to call the function and not to assign it and thereby overwriting the array of URLs

Reconnecting...

Lately it has been a pain to play on lichess. All the time I get this red message "Reconnecting..." which rarely reconnects, and most often than not it just opens an annoying, bigger message that says that my browser supports websockets but it can't get a connection. Some times it reloads the page automatically, but most of the times I have to do it manually (and accept the js alert "leave page"). It also rolls back your last move, understandably, but it's so annoying. Some times I have to make the same move + reload the page 5 or 6 times (could be fixed with a cookie for the last move?).

This doesn't seem to be a problem with my particular setup. I can see my opponent going gray and green all the time, and also a french guy told me he was having connectivity problems too.

So is this something that changed in the code, or just server issues?

Error when compile,

Hi,

Thank you for answer the last question about error when buiild play framework. Now, when I try to compile the project, I'm receiving the following error:
error Compilation failed
[error] Total time: 562 s, completed 22/04/2013 11:57:36
[error] Not a valid key: Dscalac (similar: scala-source, ivy-scala, scala-home)
[error] Dscalac.patmat.analysisBudget=off

Regards,

Hook-page and prevent default action for links

Found a bug.

When clicking the button (for example) "Create a game" directly, was opened a new page http://en.lichess.org/setup/hook (if you click on the link happened earlier than has been loaded and executed javascript script file).

Solution. Аdd an attribute onclick="return false" to all links of a similar type. This attribute also prevent the opening URL when you hold "Ctrl" and then click left mouse button (opening in a new tab, usually).

[NoSuchElementException:Either.right.value on Left] #2

Sorry, I've put there a wrong error. Please, look at the new one.

[NoSuchElementException: Either.right.value on Left]
In /home/lila/modules/db/src/main/Tube.scala at line 22.

Also in the logs I'm getting this error all time:

[error] application -

! @6fg3b9bmp - Internal server error, for (GET) [/3v624ve2pnme] ->

play.api.Application$$anon$1: Execution exception[[NoSuchElementException: Either.right.value on Left]]
at play.api.Application$class.handleError(Application.scala:289) ~[play_2.10.jar:2.1.2]
at play.api.DefaultApplication.handleError(Application.scala:383) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:143) [play_2.10.jar:2.1.2]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$play$core$server$netty$PlayDefaultUpstreamHandler$$handle$1$1.apply(PlayDefaultUpstreamHandler.scala:139) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
at play.api.libs.concurrent.PlayPromise$$anonfun$extend1$1.apply(Promise.scala:113) [play_2.10.jar:2.1.2]
java.util.NoSuchElementException: Either.right.value on Left
at scala.util.Either$RightProjection.get(Either.scala:454) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.DefaultReads$$anon$2$$anonfun$reads$6.apply(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at scala.collection.immutable.Stream.foreach(Stream.scala:547) ~[scala-library.jar:na]
at play.api.libs.json.DefaultReads$$anon$2.reads(Reads.scala:470) ~[play_2.10.jar:2.1.2]
at play.api.libs.json.PathReads$$anonfun$at$1$$anonfun$apply$2.apply(JsConstraints.scala:33) ~[play_2.10.jar:2.1.2]

running on MacOSX give me error and some link unclickable

unclickable

/setting/bg
/setting/sound
and also Signin, change colour, change language

Error :

GET http://localhost:9000/assets/compiled/big.js?v=16 404 (Not Found) sound:229

and the button is only small button (no text) on create game, play game with machine, and play with a friend

log from console:

MacBook-White-Unibody:lila admin$ bin/play
[info] Loading project definition from /Users/admin/Sites/home/lila/project
[info] Set current project to lila (in build file:/Users/admin/Sites/home/lila/)
[lila] $ run

--- (Running the application from SBT, auto-reloading is enabled) ---

{backlog=65536, child.receiveBufferSize=1048576, child.tcpNoDelay=true, receiveBufferSize=1048576, tcpNoDelay=true}
[info] play - Listening for HTTP on port 9000...

(Server started, use Ctrl+D to stop and go back to the console...)

Configured as development
Enable cron tasks
[info] play - Starting application default Akka system.
Start cron mode Dev
schedule effect fisherman: cleanup every 2 seconds -> 2020756836 nanoseconds
schedule effect lobby: cleanup every 10 seconds -> 9895334961 nanoseconds
schedule effect search: index finished games every 5 minutes -> 313912656250 nanoseconds
schedule effect search: optimize index every 2 hours -> 7617963500 microseconds
[info] play - Application started (Dev)
Sun Nov 11 10:55:40 [initandlisten] connection accepted from 127.0.0.1:58881 #13 (1 connection now open)
Sun Nov 11 10:55:40 [initandlisten] connection accepted from 127.0.0.1:58882 #14 (2 connections now open)
Sun Nov 11 10:55:40 [initandlisten] connection accepted from 127.0.0.1:58883 #15 (3 connections now open)
Sun Nov 11 10:55:41 [initandlisten] connection accepted from 127.0.0.1:58884 #16 (4 connections now open)
Sun Nov 11 10:55:41 [initandlisten] connection accepted from 127.0.0.1:58885 #17 (5 connections now open)
Sun Nov 11 10:55:41 [initandlisten] connection accepted from 127.0.0.1:58886 #18 (6 connections now open)
Sun Nov 11 10:55:42 [initandlisten] connection accepted from 127.0.0.1:58887 #19 (7 connections now open)
Sun Nov 11 10:55:48 [initandlisten] connection accepted from 127.0.0.1:58895 #20 (8 connections now open)
Sun Nov 11 10:55:49 [initandlisten] connection accepted from 127.0.0.1:58896 #21 (9 connections now open)
Sun Nov 11 11:00:41 [initandlisten] connection accepted from 127.0.0.1:59330 #23 (10 connections now open)
[info] o.e.plugins - [Blockbuster] loaded [], sites []
Start ElasticSearch
[CRON ERROR](search: index finished games) No node available
Sun Nov 11 11:00:59 [initandlisten] connection accepted from 127.0.0.1:59347 #24 (11 connections now open)
[info] o.e.plugins - [Tartarus] loaded [], sites []
Start ElasticSearch
[CRON ERROR](search: index finished games) No node available
[warn] n.c.s.n.NioClientSocketPipelineSink - Unexpected exception in the selector loop.
java.nio.channels.CancelledKeyException: null
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55) ~[na:1.6.0_37]
at sun.nio.ch.SelectionKeyImpl.readyOps(SelectionKeyImpl.java:69) ~[na:1.6.0_37]
at java.nio.channels.SelectionKey.isConnectable(SelectionKey.java:318) ~[na:1.6.0_37]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processSelectedKeys(NioClientSocketPipelineSink.java:365) ~[elasticsearch-0.19.9.jar:na]
at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:282) ~[elasticsearch-0.19.9.jar:na]
at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102) [elasticsearch-0.19.9.jar:na]
[info] o.e.plugins - [Blevins, Sally] loaded [], sites []
Start ElasticSearch
[CRON ERROR](search: index finished games) No node available

Parsing jQuery 2.0 in IE6...8

Because jQuery 2.0 drops support for IE6...8, browser does get an error while parsing script http://static.lichess.org/assets/javascripts/deps.min.js and can't loads and displays the message from the page /assets/browser.html due to error parsing next scripts.

ie8

The simplest solution is to write conditional comment likes

<!--[if lt IE 10]><script>location.href="/assets/browser.html";</script><![endif]-->

in HEAD, but /assets/browser.html isn't full web page.

Likely requires an integrated approach, for example, include the message blocks on the page and show/hide via display properties.

PGN output should print analyse link

Example here. Instead of linking to this it should link to this, which allows people to replay the history of the game.

Also, the " character is autolinked in the forum (which breaks the link), perhaps that should be changed too.

Problem when compile a fresh copy

Hi,
I downloaded a fresh copy of project and when I try to compile I received the following error:
error sbt.ResolveException: unresolved dependency: scalastic#scalastic_2.10;0.90.0-thib: not found

Regards,
Alexandre

problem building

when i try to run the command

git submodule update --init

I get the following eror:

Resolving deltas: 100% (1156/1156), done.
fatal: reference is not a tree: e9429742c27227b618b7bb3bf1075636d1839c1b
Unable to checkout 'e9429742c27227b618b7bb3bf1075636d1839c1b' in submodule path 'scalachess'

I am runnning under linux mint 64 bit. A few days ago I could build on the same machine without problems.

Can't set castling or en-passant abilities or inabilities in board editor.

Hi! Nice site.

I can't set castling or en-passant abilities in the board editor.

If I manually tweak the FEN string in the board editor to allow castling or en-passant abilities, those are not passed to the "Play with a friend / the machine" window.

However, if I pass a full FEN string in the "Play with a friend / the machine" window castling is recognized by the engine but en-passant is not.

Here, en-passant is not accepted, and should:
rnbqkbnr/ppp1p1pp/8/3pPp2/8/8/PPPP1PPP/RNBQKBNR w KQkq f6 0 2

Here, en-passant is not allowed on either side (and is ambiguous as to which side it should):
rnbqkbnr/ppp1p1pp/8/3pPp2/8/8/PPPP1PPP/RNBQKBNR

Advanced comments

I would love to have the possibility of enhanced comments like the engine already does, when you want to see it. But also a bit more. Here is a little description:

Furthermore there can be introduced for each move a List of alternatives (effect: history is like a tree)

Password recovery

I have not found any way to recover forgotten password. I think there should be such option. Correct?

Problem during Build

Hi,
A get a fresh copy of master branch and when I try to update git submodules I receive the error:

git submodule update --init
Submodule 'scalachess' (git://github.com/ornicar/scalachess) registered for path 'modules/chess'
Submodule 'play' (git://github.com/playframework/Play20) registered for path 'play'
Cloning into 'modules/chess'...
remote: Counting objects: 2271, done.
remote: Compressing objects: 100% (819/819), done.
remote: Total 2271 (delta 1156), reused 2142 (delta 1027)
Receiving objects: 100% (2271/2271), 260.38 KiB | 285 KiB/s, done.
Resolving deltas: 100% (1156/1156), done.
fatal: reference is not a tree: e9429742c27227b618b7bb3bf1075636d1839c1b
Cloning into 'play'...
remote: Counting objects: 40063, done.
remote: Compressing objects: 100% (14742/14742), done.
remote: Total 40063 (delta 21031), reused 38109 (delta 19409)
Receiving objects: 100% (40063/40063), 57.15 MiB | 1.84 MiB/s, done.
Resolving deltas: 100% (21031/21031), done.
Submodule path 'play': checked out '04b86bf6d9e7daa7ac6cb08b95d30de5327563a9'
Unable to checkout 'e9429742c27227b618b7bb3bf1075636d1839c1b' in submodule path 'modules/chess'

After, when I try to build-play2, I receive the following error:
[warn] there were 2 deprecation warnings; re-run with -deprecation for details
[warn] one warning found
[info] Set current project to Root (in build file:/home/alesilva/projetos/play/lila/play/framework/)
[error] Not a valid command: build-repository
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: build-repository (similar: local-repository, pom-include-repository, pom-all-repositories)
[error] build-repository
[error] ^

and cannot resolve dependencies
[info] Resolving org.scala-sbt#precompiled-2_10_1;0.12.3 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play#sbt-plugin;2.2-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] play:sbt-plugin:2.2-SNAPSHOT (sbtVersion=0.12, scalaVersion=2.9.2)
[

Feature: Clock pause

Sometimes it is desirable to pause to clock for a given time, usually because some unexpected event happing during the game. It would be a nice feature to be able to request clock pause. After request has been accepted the clock is paused and the same cycle (request -> accept) must be fulfilled when un-pausing the clock.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.