Thibault Duplessis
6f25cde1f1
real board flip for spectators
2014-11-08 21:48:30 +01:00
Thibault Duplessis
b1a275a5fe
analyse page tweaks
2014-11-08 21:37:28 +01:00
Thibault Duplessis
a335e9a8cb
fix analysis check side
2014-11-08 17:56:15 +01:00
Thibault Duplessis
50e63013aa
read analysis initial path from the location hash
2014-11-08 17:34:19 +01:00
Thibault Duplessis
db16efe424
mithril/chessground analysis seems to be working
2014-11-08 12:13:15 +01:00
Thibault Duplessis
e905fe0463
analysis tree navigation is working
2014-11-08 10:33:52 +01:00
Thibault Duplessis
edded9013d
more work on new analysis page
2014-11-07 00:49:30 +01:00
Thibault Duplessis
8b58fafd53
fix variation issue by copying arrays. Dammit mutability sucks.
2014-11-06 22:40:36 +01:00
Thibault Duplessis
45c766acb7
progress on pgn4web replacement
2014-11-03 21:32:58 +01:00
Thibault Duplessis
0cd70b835c
try a new analysis client data structure
2014-11-03 08:40:22 +01:00
Thibault Duplessis
6bc6b30ea8
compile client apps as dev, trash pgn4web
2014-11-02 15:41:55 +01:00
Thibault Duplessis
ba5bf79dc2
Merge branch 'master' into analyse
...
* master:
don't show cheater trophies
better exports caching
remove export logs
better png export logging
Revert "Bam! And the footer is fixed."
pt "Português" translation #10165 . Author: Arnica. Changed "spectatators" to a way that fulfill both Brazilian Portuguese and Portuguese.
better external process logging
fix round JS
upgrade evaluator submodule
include engine evaluator as a submodule
Move Print button into FEN & PGN Menu
log exports
mt "Malti" translation #10164 . Author: kittenthomas.
fix auto report duplication
stop auto block reports
use board image creation in the og headers - through CDN
expose PDF service
print game to PDF, stream it as chunked HTTP and cache it in CDN
Conflicts:
app/views/analyse/replay.scala.html
2014-11-02 15:34:49 +01:00
Thibault Duplessis
5975095d7f
fix round JS
2014-11-02 11:24:26 +01:00
Thibault Duplessis
0109e0fbec
tree analysis WIP
2014-10-31 14:22:21 +01:00
Thibault Duplessis
e78e5c7fc6
* 'master' of github.com:ornicar/lila:
...
Bam! And the footer is fixed.
remove round.util
Conflicts:
ui/round/src/ground.js
2014-10-31 13:14:49 +01:00
Thibault Duplessis
30c563e520
more on mithril analysis rewrite
2014-10-29 11:29:40 +01:00
Thibault Duplessis
aaa57fbfd7
connect replay with advantage chart
2014-10-27 17:28:20 +01:00
Thibault Duplessis
7453cacc59
good progress on new replay UI
2014-10-27 17:21:52 +01:00
Thibault Duplessis
93f7128b9b
share more code between round and analyse
2014-10-27 14:42:11 +01:00
Thibault Duplessis
95786f05e1
progress on analysis
2014-10-27 14:28:42 +01:00
Thibault Duplessis
74832d93fa
remove round.util
2014-10-27 11:35:14 +01:00
Thibault Duplessis
2a59665fa3
more progress on new analyse, try to reuse code from round
2014-10-27 11:34:43 +01:00
Thibault Duplessis
27c1fe8dba
remove round.util
2014-10-27 11:17:43 +01:00
Thibault Duplessis
1c933d50cb
fix blind flag name
2014-10-27 11:11:18 +01:00
Thibault Duplessis
4ec53d85d4
progress on analysis new UI
2014-10-27 11:10:41 +01:00
Thibault Duplessis
28b88e288d
fix blind flag name
2014-10-27 11:00:57 +01:00
Thibault Duplessis
c6a567421d
hackfix in-game replay initial autoscroll
2014-10-27 10:16:05 +01:00
Thibault Duplessis
b52216e085
serve in-game replay movelist as a string
2014-10-27 10:15:34 +01:00
Thibault Duplessis
9c868f8174
display full game result in playing move list
2014-10-26 23:33:18 +01:00
Thibault Duplessis
b4521a1036
fix in-game replay situation caching
2014-10-26 23:25:14 +01:00
Thibault Duplessis
4c7cc58145
don't break.
2014-10-26 12:57:15 +01:00
Thibault Duplessis
d90e9fd5a4
handle in-game replay eventual failure nicely
2014-10-26 12:55:34 +01:00
Thibault Duplessis
078a96b181
keyboard shortcuts tip
2014-10-25 18:09:57 +02:00
Thibault Duplessis
58abefcfdf
just reload the page in case in-game replay utterly fails
2014-10-25 18:06:39 +02:00
Thibault Duplessis
5354d2c46e
use custom chess client logic for puzzles
2014-10-25 16:51:45 +02:00
Thibault Duplessis
343d4c9f96
use custom chess client logic, implement chess960 in-game replay
2014-10-25 16:47:55 +02:00
Thibault Duplessis
1c9e8e94f5
show digit result in replay box
2014-10-23 17:12:44 +02:00
Thibault Duplessis
824efd2b5d
fix user TV
2014-10-23 11:11:10 +02:00
Thibault Duplessis
cbec7638e9
remove extra flip board button
2014-10-23 10:46:09 +02:00
Thibault Duplessis
93d3ec8c25
fix user TV reload
2014-10-23 09:24:05 +02:00
Thibault Duplessis
72e2325019
fix return to tournament button
2014-10-23 09:20:03 +02:00
Thibault Duplessis
53ba0c4e9d
wut
2014-10-23 09:09:33 +02:00
Thibault Duplessis
f399b79d41
flip board button title
2014-10-23 09:08:34 +02:00
Thibault Duplessis
b6e4158076
fix clock bar size
2014-10-23 09:03:09 +02:00
Thibault Duplessis
4a949a58c0
clear replay hash on reload, fixes endgame
2014-10-23 03:17:02 +02:00
Thibault Duplessis
5e6443bb2d
flip board while playing
2014-10-23 03:09:41 +02:00
Thibault Duplessis
13a05f3c47
fix refactoring
2014-10-23 02:53:36 +02:00
Thibault Duplessis
270ae3af74
move keyboard.js to the replay module
2014-10-23 02:46:47 +02:00
Thibault Duplessis
fc58fd039a
refactor replay as a mithril module
2014-10-23 02:45:00 +02:00
Thibault Duplessis
3d557d89b9
prevent default in replay keyboard shortcuts
2014-10-23 02:43:18 +02:00
Thibault Duplessis
8129aeae6e
don't apply game events to chessground during replay
2014-10-23 02:33:38 +02:00
Thibault Duplessis
b642fcc1b0
show replay buttons even if movelist is hidden
2014-10-23 02:25:33 +02:00
Thibault Duplessis
883240681f
fix replay when movelist is empty
2014-10-23 02:19:22 +02:00
Thibault Duplessis
4c9c8d9c0d
fix keyboard controls
2014-10-23 02:17:03 +02:00
Thibault Duplessis
e1e1e1690e
let people disable the latest cool feature. because you know.
2014-10-23 02:11:24 +02:00
Thibault Duplessis
f52531b4b5
improve round perfs by rendering replay on change only
2014-10-23 01:53:36 +02:00
Thibault Duplessis
003fb93f5e
add keyboard shortcuts to in-game replay
2014-10-23 00:56:29 +02:00
Thibault Duplessis
b536fb44aa
fix force resign button
2014-10-23 00:51:09 +02:00
Thibault Duplessis
0f97713d0c
tell who's turn it is to play
2014-10-23 00:10:34 +02:00
Thibault Duplessis
4863cdabec
improve in-game replay
2014-10-22 23:49:36 +02:00
Thibault Duplessis
42de94a6b2
efficient situation computing for in-game replay
2014-10-22 20:45:52 +02:00
Thibault Duplessis
36af07ea67
more on in-game replay
2014-10-22 16:41:31 +02:00
Thibault Duplessis
22136f4ae9
show replayer on watch mode
2014-10-21 23:39:29 +02:00
Thibault Duplessis
d37915a1ea
produce move SAN serverside, more work on in-game replay
2014-10-21 23:23:04 +02:00
Thibault Duplessis
296f4919cd
in-game replay WIP
2014-10-21 21:38:31 +02:00
Thibault Duplessis
b633daa64f
fix clock.update
2014-10-21 20:21:16 +02:00
Thibault Duplessis
464c1f10d6
fix table height when no buttons are visible
2014-10-21 15:57:52 +02:00
Thibault Duplessis
b8bb8ba1f5
improve rematch situation
2014-10-21 12:53:20 +02:00
Thibault Duplessis
6c52e9c076
better use a view model here
2014-10-21 12:09:39 +02:00
Thibault Duplessis
e4a33637a8
puzzle: show check even on revert
2014-10-21 01:26:19 +02:00
Thibault Duplessis
078a34dbd3
upgrade chessground
2014-10-21 01:26:12 +02:00
Thibault Duplessis
ac6665a68d
fix puzzle JS
2014-10-21 01:05:51 +02:00
Thibault Duplessis
3689655d7a
upgrade chessground
2014-10-21 00:39:48 +02:00
Thibault Duplessis
a17844aed1
fix round redirect
2014-10-20 23:57:48 +02:00
Thibault Duplessis
82dccdccc6
fix button icons
2014-10-20 23:36:13 +02:00
Thibault Duplessis
2edd689ffe
can only force resign on games without a clock
2014-10-20 23:08:17 +02:00
Thibault Duplessis
f86bdf1283
upgrade chessground
2014-10-20 23:07:01 +02:00
Thibault Duplessis
7fbf2bf745
fix games from position
2014-10-20 20:13:06 +02:00
Thibault Duplessis
4de7a1e04e
remove onbg class, fix king image on dark bg
2014-10-20 20:12:54 +02:00
Thibault Duplessis
34bc80b5ff
show a loader and hide buttons while redirecting
2014-10-20 17:58:24 +02:00
Thibault Duplessis
fed20d4635
upgrade chessground to handle drag cancelation
2014-10-20 16:50:40 +02:00
Thibault Duplessis
502210de4d
AI is always on game
2014-10-20 15:35:58 +02:00
Thibault Duplessis
cf9aba365c
hide rematch button when opponent is gone
2014-10-20 15:28:18 +02:00
Thibault Duplessis
548fd1b607
fix empty socket messages
2014-10-20 14:14:52 +02:00
Thibault Duplessis
7df149acf9
fix force-(resign|draw) and improve API perf (less actor ask)
2014-10-20 14:13:41 +02:00
Thibault Duplessis
ebe2e6a30d
fix endgame when dragging
2014-10-20 11:18:43 +02:00
Thibault Duplessis
3b08a6f4ff
fix TV flip button
2014-10-20 11:11:22 +02:00
Thibault Duplessis
78e15cea8d
fix chess960 castling
2014-10-20 00:58:52 +02:00
Thibault Duplessis
7bfdb80fcd
reload page on round reload error
2014-10-20 00:20:13 +02:00
Thibault Duplessis
2053573a84
round visual loader
2014-10-20 00:16:07 +02:00
Thibault Duplessis
26024678fd
display round rating diff
2014-10-19 22:30:09 +02:00
Thibault Duplessis
f7498f6f27
don't show moretime button to spectators
2014-10-19 19:59:01 +02:00
Thibault Duplessis
2ed363744d
fix tournament URL
2014-10-19 18:16:56 +02:00
Thibault Duplessis
5d40967b11
fix user TV should redirect watchers to rematches
2014-10-19 18:10:01 +02:00
Thibault Duplessis
f9f3fadc40
refactor round table view
2014-10-19 17:54:41 +02:00
Thibault Duplessis
25a7afe51c
better highlight setting (hover, ghost)
2014-10-19 17:25:15 +02:00
Thibault Duplessis
39c33b93de
don't show flip and analysis buttons at the same time
2014-10-19 17:18:17 +02:00
Thibault Duplessis
55359a6b03
play capture sound
2014-10-19 15:30:18 +02:00
Thibault Duplessis
6a3a7eeeea
use blank links only when user is playing
2014-10-19 15:09:30 +02:00
Thibault Duplessis
470e90f1df
upgrade chessground to refine premove behavior
2014-10-19 14:52:37 +02:00
Thibault Duplessis
318917a74d
no start/end sounds for spectators
2014-10-19 14:17:54 +02:00
Thibault Duplessis
9c597f63df
simplify round data merge
2014-10-19 14:14:34 +02:00
Thibault Duplessis
af65db4022
play spectator move sound
2014-10-19 14:14:25 +02:00
Thibault Duplessis
ed5a2b6047
fix user render when game has no perf
2014-10-19 13:51:07 +02:00
Thibault Duplessis
551e27d30a
upgrade chessground to cancel premoves more easily
2014-10-19 12:00:57 +02:00
Thibault Duplessis
fde2deea4f
don't play user move sounds twice
2014-10-19 11:56:38 +02:00
Thibault Duplessis
1bea1f54cf
fix en passant
2014-10-19 11:30:43 +02:00
Thibault Duplessis
f65c6beda4
don't show new opponent button for tournament games
2014-10-19 11:10:12 +02:00
Thibault Duplessis
e5eb83bd5d
upgrade chessground to fix puzzle check reset
2014-10-19 10:49:41 +02:00
Thibault Duplessis
1dfe007168
show player rating on round
2014-10-19 10:30:55 +02:00
Thibault Duplessis
2239d90e66
improve page loads
2014-10-18 21:31:16 +02:00
Thibault Duplessis
70407030da
fix chessground board class set
2014-10-18 21:01:39 +02:00
Thibault Duplessis
6ea52f9656
show mouse over on manipulable boards
2014-10-18 20:58:27 +02:00
Thibault Duplessis
088c5c270f
upgrade chessground in editor, puzzle & round
2014-10-18 20:09:54 +02:00
Thibault Duplessis
f7cb588cd8
fix bug with round tournaments
2014-10-18 19:49:22 +02:00
Thibault Duplessis
f2e187d6de
only players can signal flag
2014-10-18 19:36:10 +02:00
Thibault Duplessis
1e7524963b
fix tournament route
2014-10-18 19:29:32 +02:00
Thibault Duplessis
38f67d47a3
fix for tournaments
2014-10-18 19:25:17 +02:00
Thibault Duplessis
cac4e92824
implement blind play in new play UI
2014-10-18 17:24:10 +02:00
Thibault Duplessis
1bcafcfbf4
fix round user powertip
2014-10-18 11:59:48 +02:00
Thibault Duplessis
387aba3ac7
blurs, holds, challenges and some fixes
2014-10-18 11:27:14 +02:00
Thibault Duplessis
20f0737a9a
improve & unify await & join views
2014-10-17 23:24:53 +02:00
Thibault Duplessis
ba1b081cef
trash the pools
2014-10-13 00:31:15 +02:00
Thibault Duplessis
8989d3b003
refactor overboard, implement setup.await
2014-10-13 00:17:24 +02:00
Thibault Duplessis
d14fb5f7b8
getting close to have the mithril round
2014-10-12 21:33:18 +02:00
Thibault Duplessis
6bf71ce0ba
round UI refactor and stuff
2014-10-12 19:34:18 +02:00
Thibault Duplessis
67e31c659b
add support for blur
2014-10-12 15:29:13 +02:00
Thibault Duplessis
1ecf483812
round sounds
2014-10-12 15:17:24 +02:00
Thibault Duplessis
c327be6d1e
support for hold alerts
2014-10-12 14:54:36 +02:00
Thibault Duplessis
2841299174
round document title
2014-10-12 14:28:04 +02:00
Thibault Duplessis
e88c743224
coordinates working in and out the 2d and 3d boards + stuff!
2014-10-12 13:28:42 +02:00
Thibault Duplessis
44dd6b56e2
more chessground integration
2014-10-11 23:32:47 +02:00
Thibault Duplessis
3727036a60
more chessground integration
2014-10-11 20:11:37 +02:00
Thibault Duplessis
a4244c3623
more chessground UI
2014-10-11 12:17:18 +02:00
Thibault Duplessis
e26b422378
improve round
2014-10-09 23:45:07 +02:00
Thibault Duplessis
8cd90f9e73
more 3D board integration
2014-10-09 23:27:11 +02:00
Thibault Duplessis
8398f5ea79
more 3D board integration
2014-10-09 21:46:42 +02:00
Thibault Duplessis
40e9840155
more integration of 3D boards
2014-10-09 01:12:55 +02:00
Thibault Duplessis
27b4dbba89
repackage ui apps
2014-10-08 23:49:30 +02:00
Thibault Duplessis
e7e4c4bef5
fix premovable message
2014-10-08 23:18:06 +02:00
Thibault Duplessis
75e01636d6
more work on mithril play and stuff
2014-10-05 17:56:34 +02:00
Thibault Duplessis
0aa4dbd5ae
display AI status
2014-10-04 14:56:11 +02:00
Thibault Duplessis
89d1fcb3ac
more progress on mithril play
2014-10-04 14:49:49 +02:00
Thibault Duplessis
4866016676
Merge branch 'master' into play-mithril
...
* master:
fix board editor FEN reader
improve board editor
fix board editor
Conflicts:
ui/editor/src/view.js
2014-10-04 11:39:40 +02:00
Thibault Duplessis
1cfacd06b5
improve board editor
2014-10-04 11:25:59 +02:00
Thibault Duplessis
77000a163d
fix board editor
2014-10-04 11:20:55 +02:00
Thibault Duplessis
212e95dc8d
board borders
2014-10-04 11:03:42 +02:00
Thibault Duplessis
b55e967f39
proper handling of threefold repetition on client side
2014-10-04 10:41:19 +02:00
Thibault Duplessis
bbe5219fc7
implement auto threefold draw on server side
2014-10-04 10:36:35 +02:00
Thibault Duplessis
c683134863
Merge branch 'master' into play-mithril
...
* master:
upgrade chessground, rework training UIs
2014-10-04 09:25:30 +02:00
Thibault Duplessis
6c42d0b703
upgrade chessground, rework training UIs
2014-10-04 09:25:05 +02:00
Thibault Duplessis
44992e1c62
introduce staunton pieces, rethink play layout
2014-10-03 23:30:46 +02:00
Thibault Duplessis
cf0fbf5b00
more on mithril play
2014-10-03 22:13:59 +02:00
Thibault Duplessis
51b740de51
more mithril play
2014-10-03 21:08:19 +02:00
Thibault Duplessis
18e428c1e8
progress on chessground based rounds
2014-10-03 10:10:12 +02:00
Thibault Duplessis
b3232bc84f
Merge branch 'master' into play-mithril
...
* master:
fix puzzle replay fen
upgrade chessground
2014-10-02 10:15:36 +02:00
Thibault Duplessis
58917d5017
fix puzzle replay fen
2014-10-02 10:11:01 +02:00
Thibault Duplessis
1e867f1c39
upgrade chessground
2014-10-02 09:03:09 +02:00
Thibault Duplessis
2a293bfc8a
progress on game UI with mithril
2014-10-02 00:19:49 +02:00
Thibault Duplessis
7028225d05
Merge branch 'master' into play-mithril
...
* master: (23 commits)
render puzzle UI after opponent move
mk "македонски јази" translation #10143 . Author: Jaksha.
hide homepage pool buttons
reimplement idleTimer to react to less events
upgrade chessground
accept API requests regardless of the accepts header order
hack API accepts
more chessground integration
honor board highlight settings with chessground
upgrade chessground
tweak history raw HTML loading
remove ctrl.costly - gotta find another way
puzzle: fix bug when first move is a fail
upgrade chessground
puzzle solver: fix promotion bug
remove react, update deploy script
upgrade chessground
hu "Magyar" translation #10141 . Author: wheeler9. Words in Hungarian in plural behaves differently if a number is on too
fa "فارسی" translation #10140 . Author: iSimorgh.
remove chess.js dependency
...
2014-10-01 19:50:31 +02:00
Thibault Duplessis
4c22c1aac6
render puzzle UI after opponent move
2014-10-01 14:18:31 +02:00
Thibault Duplessis
615c7a5e8c
upgrade chessground
2014-10-01 08:41:37 +02:00
Thibault Duplessis
276bc1d21e
more chessground integration
2014-09-30 19:15:00 +02:00
Thibault Duplessis
3ded545911
upgrade chessground
2014-09-30 00:46:51 +02:00
Thibault Duplessis
7994c226e2
tweak history raw HTML loading
2014-09-30 00:22:53 +02:00
Thibault Duplessis
7961c49061
remove ctrl.costly - gotta find another way
2014-09-30 00:06:03 +02:00
Thibault Duplessis
64e4772f5b
puzzle: fix bug when first move is a fail
2014-09-29 18:22:12 +02:00
Thibault Duplessis
3de002aa10
upgrade chessground
2014-09-29 18:22:02 +02:00
Thibault Duplessis
7159aa86af
puzzle solver: fix promotion bug
2014-09-29 17:44:35 +02:00
Thibault Duplessis
3907e54134
upgrade chessground
2014-09-29 10:25:41 +02:00
Thibault Duplessis
82097cf907
puzzle solver tweaks
2014-09-29 08:18:34 +02:00
Thibault Duplessis
518dc8d44a
start rebuilding the play interface (round) in JS/mithril
2014-09-29 08:18:00 +02:00
Thibault Duplessis
669d2b1cfd
delay puzzle victory call
2014-09-28 21:14:31 +02:00
Thibault Duplessis
7f25926347
upgrade chessground
2014-09-28 21:14:11 +02:00
Thibault Duplessis
9f824e093e
update puzzle chart when needed
2014-09-28 17:48:51 +02:00
Thibault Duplessis
be468d1b29
configure underlying XHR
2014-09-28 17:13:25 +02:00
Thibault Duplessis
825c894460
skip rendering while animating
2014-09-28 17:13:13 +02:00
Thibault Duplessis
2263cbd283
don't render UI while chessground is dragging or animating
2014-09-28 17:00:32 +02:00
Thibault Duplessis
2c6a3d4cd7
puzzles for anonymous players
2014-09-28 16:33:42 +02:00
Thibault Duplessis
56310b576f
editor animation duration configuration
2014-09-28 16:17:07 +02:00
Thibault Duplessis
335f15e39d
it works!
2014-09-28 15:25:10 +02:00
Thibault Duplessis
f1c66b94fe
much progress on new puzzle solver
2014-09-28 13:24:59 +02:00
Thibault Duplessis
68d6a3300d
more progress on new puzzle solver
2014-09-28 00:16:28 +02:00
Thibault Duplessis
2572579ae9
more progress on new puzzle solver
2014-09-27 23:15:48 +02:00
Thibault Duplessis
2720ffe19a
good progress on JS/mithril puzzle solver
2014-09-27 21:59:55 +02:00
Thibault Duplessis
21fb5f146e
editor fixes after this removal
2014-09-27 18:57:15 +02:00
Thibault Duplessis
3f161e1c57
editor: retain subtree while dragging
2014-09-27 18:42:46 +02:00
Thibault Duplessis
98dc5f316b
remove extra piece code, hide FEN while dragging
2014-09-27 18:35:07 +02:00
Thibault Duplessis
f87e05e533
fix drag when orientation is black
2014-09-27 18:22:13 +02:00
Thibault Duplessis
f592d2d244
nicer spare piece drag-in
2014-09-27 18:17:53 +02:00
Thibault Duplessis
b183a53da4
editor spare piece drag WIP
2014-09-27 17:25:31 +02:00
Thibault Duplessis
a1a2a5c666
upgrade chessground. Also, don't use this.
2014-09-27 14:16:59 +02:00
Thibault Duplessis
ac0d38e741
use m.prop
2014-09-24 11:39:39 +02:00
Thibault Duplessis
8e214e74c5
good progress on JS/mithril board editor
2014-09-23 23:14:29 +02:00