Commit graph

1374 commits

Author SHA1 Message Date
Thibault Duplessis 00bf769b8a also display other round games in analysis page 2015-06-28 22:13:45 +02:00
Thibault Duplessis 7db7221ae4 display all round games on realtime game page 2015-06-28 22:07:57 +02:00
Thibault Duplessis 237b6a0cc2 remove correspondence leaderboard: too hard to automonitor cheat 2015-06-28 19:54:27 +02:00
Thibault Duplessis 0425599aa5 paginate relays 2015-06-27 20:33:37 +02:00
Thibault Duplessis 3b16ffac99 just drop auto analysis requests silenty when queue is full 2015-06-27 19:10:08 +02:00
Thibault Duplessis 5140740a0c fix analysis failure handling 2015-06-27 19:02:02 +02:00
Thibault Duplessis 464c9be4e3 don't display empty tournaments 2015-06-27 16:46:49 +02:00
Thibault Duplessis 8bf5f906cc introduce sound themes for #594
For now only 5 sounds supported.

Sound sets are organized in public/sound/{set}.
Sounds that are not used yet are in public/sound/{set}/stock.
Each set directory must contain all sound files.
Missing sounds are replaced with a symlink to another sound for now.
2015-06-26 23:34:22 +02:00
Thibault Duplessis 681c4dc0a0 chess events RSS (atom) feed 2015-06-26 14:48:56 +02:00
Thibault Duplessis f8c9938ed1 display short descriptions on events list 2015-06-26 14:32:15 +02:00
Thibault Duplessis 6e0165404a let editors create events content 2015-06-26 14:08:44 +02:00
Thibault Duplessis ebad65e04a email confirmation reminder on login attempt 2015-06-25 17:36:28 +02:00
Thibault Duplessis 17cf42d52f new users must confirm an email 2015-06-25 17:12:47 +02:00
Thibault Duplessis dc6c60f1f5 signup email confirmation 2015-06-25 16:54:26 +02:00
Thibault Duplessis 7b92d683bb proper signup translated validation messages 2015-06-25 15:33:57 +02:00
Thibault Duplessis 76e154be2d junk emailjunk emailask email at signup to reduce multi-accounting 2015-06-25 12:45:04 +02:00
Thibault Duplessis d77bab8681 remove new user greeting message 2015-06-25 12:28:41 +02:00
Thibault Duplessis cb4d9fcbf5 fix relay integration on game pages 2015-06-24 14:22:14 +02:00
Thibault Duplessis 9acf56139d more relay integration 2015-06-24 14:18:08 +02:00
Thibault Duplessis f45fa62d83 much progress on relay 2015-06-24 13:24:16 +02:00
Thibault Duplessis e3788e3768 fix relay branch compilation 2015-06-22 09:48:17 +02:00
Thibault Duplessis f9e37fbf56 Merge branch 'master' into relay
* master: (3132 commits)
  more space between tournament lanes
  don't display notes/settings on tournament games - fixes #622
  Revert "Add colors to clock bar, fixes #130"
  always displayed finished official tournaments
  fix as translation unit
  lt "lietuvių kalba" translation #14529. Author: mast3r. Finished updated Lithuanian translation. One question, though, if you see this: is the description on line 108 correct? Line says „decline invitation“, but the description talks about takeback.
  he "עִבְרִית" translation #14528. Author: Firebrass11. Added variant ending, the final translation.
  rename best3Of function
  show 4x2 perftypes in powertip user preview
  fix display of rated thematic short tournaments
  allow user tournaments to reuse bottom free lanes
  extend tourney schedule view
  schedule hourly tournaments up to 6 hours in advance
  gently refactor tournament scheduler
  try harder not to overlap scheduled tournaments
  more tournament schedule tweaks and simplifications
  display notable finished tournaments
  more tournament schedule tweaks
  add janis AI server
  add dragscroll extension for tournamentSchedule
  ...
2015-06-22 09:30:24 +02:00
Thibault Duplessis d21c62d364 more tournament schedule tweaks 2015-06-21 20:40:19 +02:00
Thibault Duplessis c634f2b1c3 Merge branch 'master' into tourneyScheduleUI
* master: (28 commits)
  fix detection of game from starting position
  fix ACP computation in game from position - closes #601
  fix previous commit
  start playban at 10 minutes, instead of 5
  only autoscroll chat when at bottom, fixes #503
  playban now resets after 2 days, instead of 1
  feature marathon winners - closes #605
  recount tournament players after ejecting a cheater/booster
  kick boosters out of tournaments - closes #610
  discard user perfs in casual tournaments - closes #613
  in-game settings
  Give unofficial tournaments a grey color
  upgrade chessground -> v2.9.0, multiple drawing colors
  try harde to select puzzles close to the player rating
  special experimental marathon trophies
  fix fire trophies tooltips - closes #604
  streamer badge - closes #606
  new computer analysis icon
  fix round history persistence race condition
  pair up to 40 tournament players at a time
  ...
2015-06-21 17:13:15 +02:00
Thibault Duplessis 11b51a2759 kick boosters out of tournaments - closes #610 2015-06-21 16:22:42 +02:00
Thibault Duplessis 175d67f2f2 in-game settings 2015-06-21 15:51:42 +02:00
Thibault Duplessis ca4b8f5163 make game from position setup instantaneous and more compact 2015-06-20 17:00:40 +02:00
Thibault Duplessis 6c1f73887c Merge branch 'master' into tourneyScheduleUI
* master:
  hy "Հայերեն" translation #14527. Author: Firebrass11. Added 'Three checks'
  ro "Română" translation #14526. Author: vladg. Filled missing translations
  disable move confirmation for anonymous players
  extra berserk rule in tournament FAQ - closes #595
  experimental marathon trophy
  try harder to capture rematches on TV
  open wikipedia in a new tab
  link thematic tournament position on wikipedia
  opening thematic tournaments every 6 hours
  only feature interesting openings in thematic tournaments
  some things are not meant to be cached
2015-06-20 11:14:41 +02:00
Jimmie Elvenmark cf5f70657b remove old tournament list 2015-06-20 10:59:48 +02:00
Thibault Duplessis 0aca924ab1 some things are not meant to be cached 2015-06-19 17:36:31 +02:00
Thibault Duplessis aa77c41243 Merge branch 'master' into tourneyScheduleUI
* master: (24 commits)
  hi "हिन्दी, हिंदी" translation #14525. Author: AdityaPrakash5000.
  lt "lietuvių kalba" translation #14524. Author: mast3r. "Refactoring" and review of translation, 50/444
  pl "polski" translation #14522. Author: rzenaikrzys. Perfect translation for Polish by Captain Kristo
  smarter mobile app puzzle export
  remove body background in embedded iframes
  export puzzles in mobile app format
  puzzle UI: get rid of lodash/merge and save 4K minified
  export puzzles JSON for mobile app
  move tournament WaitingUsers to a new file
  drop arena pairing left over logging
  raise puzzle selector max rating
  more arena pairing refinements
  drop user who waiting for less time if arena players count is odd
  try arena pairings every 3 seconds
  reorganize tournament waiting users code - no functional change
  tweak arena pairing system
  add player provisional rating to game JSON API
  link APK download on /mobile (content from prismic.io)
  add message when password recovery fails
  fix experimental marathon title display
  ...
2015-06-19 16:05:52 +02:00
Thibault Duplessis 4a4c1d951a link APK download on /mobile (content from prismic.io) 2015-06-18 21:28:33 +02:00
Thibault Duplessis 63f23ba540 probably fix simul joining on safari 2015-06-18 16:05:48 +02:00
Thibault Duplessis 4549ec92ca relocate tournament caches 2015-06-18 14:15:27 +02:00
Thibault Duplessis 314872cb31 Merge branch 'master' into tourneyScheduleUI
* master: (84 commits)
  give 500ms feedback after submitting/canceling move to avoid misclicks
  fix marathon title
  he "עִבְרִית" translation #14520. Author: giladbr.
  as "অসমীয়া" translation #14518. Author: milwac. Corrected the previous wrong translation. Could you also add me as the contributor, the person displayed as contributor didn't provide Assamese translations.
  schedule more variant tournaments
  enable move confirmation for correspondence - with toggable preference
  berserk through websocket
  don't reload on berserk! only send the clock event
  improve arena pairing left over logging
  remove link to 1000 online players
  cache top online players
  Revert "Revert "remove promotion accordion effect""
  Revert "wait for players a bit longer in arena tournaments"
  log tournament leftovers
  delay premove by 10ms
  better integration of experimental marathon
  schedule an experimental marathon
  simplify tournament side display
  get a badge for playing 10,000 training puzzles
  no point in trying to cache asset version for less than a  minute
  ...
2015-06-18 12:39:05 +02:00
Thibault Duplessis ed93a6e242 berserk through websocket 2015-06-17 20:56:02 +02:00
Thibault Duplessis 29cc886c7d cache top online players 2015-06-17 20:34:06 +02:00
Thibault Duplessis 6b68e18f45 final touch to the TV channels 2015-06-17 01:25:00 +02:00
Thibault Duplessis 1984b504c1 TV channels WIP 2015-06-16 18:46:30 +02:00
Thibault Duplessis e6510183a3 A.I. play & analysis of Horde games 2015-06-15 15:53:08 +02:00
Thibault Duplessis 4e7fcaf36d support analysis and charts for game from a position and ply 2015-06-15 14:32:20 +02:00
Thibault Duplessis 782ae1ed47 fix tournament round side leaderboard reload 2015-06-14 15:18:51 +02:00
Thibault Duplessis f48836c032 even more tournament fixes and improvements 2015-06-14 13:23:40 +02:00
Thibault Duplessis f07f5994ff more tournament rewrite, focus on player is working 2015-06-14 12:27:43 +02:00
Thibault Duplessis 5c50501b28 bootstrap tournament schedule API and bindings 2015-06-13 23:11:09 +02:00
Thibault Duplessis e5398f1c95 tournament pagination with lazy throttled loading of pages 2015-06-13 22:34:13 +02:00
Thibault Duplessis 22a4c49183 Merge branch 'master' into tourneyBackendV2
* master:
  fix username overflow on miniboard legend
  tweak puzzle selector for speed
  tweak promotion animation
  remove promotion accordion effect
  remove promotion piece rotation
  fix round history expiration
  promotion: zoomable, hidable, relative to pawn
  margin between right marker & scrollbar in analyse
  don't wrap text in menu for certain languages
  margin for training difficulty buttons
  soften premove dests
  limit puzzles to 10k, to alleviate DB usage. Cool image provided
  fix tournament current pairing notification once again
  fix tournament current game warning, even more
  fix user current pairing detection (backport to master)
  Update common.css
2015-06-13 15:05:36 +02:00
Thibault Duplessis 38b4bbe883 limit puzzles to 10k, to alleviate DB usage. Cool image provided 2015-06-12 23:06:17 +02:00
Thibault Duplessis dedc5616d0 tournaments v2: the whole thing compiles \o/ 2015-06-12 15:15:35 +02:00
Thibault Duplessis b98358e705 Merge branch 'master' into tourneyBackendV2
* master:
  disable user select when playing and clock is <= 5 minutes - fixes #568
  fix round replay empty move display
  fix chess960 tournaments - closes #566
  fix user sort by nb games - there are ints and doubles in the DB :-/
  precompute perf lenses
  update dictionary
  crazy performance improvement: lazily read persistent events data
  tweak JS socket timings
  schedule round history removal for 3 hours
  persist round versioned events to ease deployments - fixes #570
  make menu footer links more visible
  don't version and persist round crowd messages
  account for glicko deviation in stable rating perf selection
  support xhr POST requests without data
2015-06-12 14:24:44 +02:00
Thibault Duplessis 4acfbfdd1f more tournament rewrite WIP 2015-06-12 00:55:11 +02:00
Thibault Duplessis de32af0551 Merge pull request #567 from flugsio/fix561
support xhr POST requests without data
2015-06-11 19:41:21 +02:00
Jimmie Elvenmark d44e5517c3 support xhr POST requests without data
fixes #561, fixes #396
Different browsers set different content-type when posting without data,
content-type shouldn't matter without data.
tested tournament/simul in chromium/firefox/surf(webkit)
2015-06-11 17:50:05 +02:00
Thibault Duplessis 2c2ec63469 get rid of tournament swiss system until tournament rewrite is complete 2015-06-11 17:26:44 +02:00
Thibault Duplessis e90024a41c more tournament rewrite 2015-06-11 17:22:17 +02:00
Thibault Duplessis 50726b0cfe rubber duck tournament perfs by caching round tourney views for 2
seconds
2015-06-10 00:39:00 +02:00
Thibault Duplessis f67e3dda94 don't wake up round actors without a good reason - fixes #558 2015-06-09 23:45:28 +02:00
Thibault Duplessis 906dc5419e Simplify board editor UI and add popular position select box 2015-06-08 17:01:00 +02:00
Thibault Duplessis bdf4b894e5 Merge branch 'boardPresets' of github.com:ornicar/lila
* 'boardPresets' of github.com:ornicar/lila:
  board editor position presets WIP
2015-06-08 15:11:31 +02:00
Thibault Duplessis 5112bdd6cb don't always load tournament to generate sides 2015-06-07 03:52:56 +02:00
Thibault Duplessis d53dbac909 don't need to load tournament for analysis either 2015-06-07 03:50:05 +02:00
Thibault Duplessis 149cf57544 just don't load tournament on TV games 2015-06-07 03:32:11 +02:00
Thibault Duplessis 4b3b7dd9ef only load full tourney in round view if user is participating (mini-standing) 2015-06-07 03:31:05 +02:00
Thibault Duplessis 6c639cf003 show daily or nightly tournaments in scheduled list 2015-06-05 01:55:54 +02:00
Thibault Duplessis c0af5ede43 limit online player API - #541 2015-06-05 01:53:14 +02:00
Vincent Velociter 1b2faf4e19 Add top online players api 2015-06-04 23:37:31 +02:00
Thibault Duplessis 8f7004a161 check for out of time when opening a game 2015-06-02 18:53:36 +02:00
Thibault Duplessis e9f5cd4349 show score on user badge - closes #522 2015-05-30 05:31:59 +02:00
Thibault Duplessis 16860a5a33 suggestions API - closes #523 2015-05-29 13:12:15 +02:00
Thibault Duplessis 3b5035b24c drop communication report timeout 2015-05-29 13:09:30 +02:00
Thibault Duplessis f160010184 leaderboards API on /player 2015-05-29 11:51:12 +02:00
Thibault Duplessis 01a9687cd4 create tournaments with joining wait time 2015-05-27 10:52:27 +02:00
Thibault Duplessis 0f1c2b0c27 show game bookmarked flag in API - closes #509 2015-05-24 15:17:15 +02:00
Thibault Duplessis d5034a8a50 remove Tournament.minPlayers 2015-05-23 00:08:22 +02:00
Thibault Duplessis 42f77bee24 show tournament opponents rating average on podium 2015-05-22 06:06:54 +02:00
Thibault Duplessis 0272dfbe83 user game API - #453 2015-05-19 17:59:12 +02:00
Thibault Duplessis 20d838042e reload tournament standing on game view - closes #465 2015-05-13 22:52:04 +02:00
Thibault Duplessis d3b3a01554 reload crosstable on game end - closes #464 2015-05-13 20:05:22 +02:00
Thibault Duplessis 1893d47fc3 load analysis move destinations on demand 2015-05-13 17:44:15 +02:00
Thibault Duplessis c7434ebafa performance: server simplified replay pages to web crawlers 2015-05-13 13:00:18 +02:00
Thibault Duplessis 22a934f11a fix correspondence game analysis 2015-05-07 11:11:53 +02:00
Thibault Duplessis 10319994e5 improve server-side analysis 2015-05-06 22:56:39 +02:00
Thibault Duplessis 75dfc44940 Merge branch 'master' into serverchess
* master: (24 commits)
  hr "hrvatski" translation #14336. Author: Kajgana.
  serve jQuery from cdnjs - closes #463
  remove unused dependency
  add opponent country to move stream
  display video duration, redesign view mark - closes #457
  update challenge doc - for #455
  API: follow, unfollow, block, unblock - for #455
  mention if user is followable - for #455
  add relation infos to user API - for #455
  provide nb followers/following in user API - for #455
  add user game counts to API - for #455
  tweak User API - for #455
  Fix previous commit: extend api json
  Add more infos to User's json view
  sq "Shqip" translation #14329. Author: black_jack.
  hu "Magyar" translation #14327. Author: Camelon. In 152 and 191 I changed "ELO" to "pontszám".
  bg "български език" translation #14324. Author: bohemond_1. Grammatical error. Fixed.
  eo "Esperanto" translation #14320. Author: yanez.
  nn "Norsk nynorsk" translation #14319. Author: fredondo.
  et "eesti keel" translation #14318. Author: Ohmu.
  ...
2015-05-06 09:46:32 +02:00
Thibault Duplessis 0559c5ae54 API: follow, unfollow, block, unblock - for #455 2015-05-05 00:28:51 +02:00
Thibault Duplessis f8558f9d28 add relation infos to user API - for #455 2015-05-05 00:19:27 +02:00
Thibault Duplessis f3520c13bc more work toward serverside replay/analysis 2015-05-04 14:33:39 +02:00
Thibault Duplessis 76b7a6db12 Merge branch 'master' into serverchess
* master:
  fix A.I. variant support, add support for threecheck play & analysis
  fix AI BC for chess960
  remove AI debug
  prepare multiple variant support for A.I. nodes
  ignore new stockfish extra output
  remove stockfish OwnBook option
  more analysis tweaks
  properly render equal eval in analysis UI
  Fix pluralization
2015-05-04 00:21:51 +02:00
Thibault Duplessis 57dd57b648 fix AI BC for chess960 2015-05-03 18:33:10 +02:00
Thibault Duplessis 0ed8b5c975 remove AI debug 2015-05-03 18:29:32 +02:00
Thibault Duplessis 41afccf79b prepare multiple variant support for A.I. nodes 2015-05-03 18:03:18 +02:00
Thibault Duplessis 082b02197a more analysis tweaks 2015-05-03 14:18:20 +02:00
Thibault Duplessis 5e54d80349 Merge branch 'master' into serverchess
* master: (23 commits)
  show current game when warning from full-page menu - fixes #454
  seems like google cache doesn't like being offline (?!#%)
  better analysis logging
  remove body overflow-x: hidden
  log analysis failures with A.I. node IP address
  nn "Norsk nynorsk" translation #14315. Author: Assios.
  fail on incomplete analysis
  remove call to Paris meetup
  fix analysis logs
  deploy to cammy
  log analysis game ID on AI server
  honor the video exclusion field
  don't monitor language between friends
  delay scheduled tasks after deploy
  fck
  ta "தமிழ்" translation #14312. Author: horde2500. Translated 84-88,90,96-100,112-115,156,173,308,309.  I am a native Tamil speaker and Software Architect.  I still re-verified all my translations with Google Translate Tools for synonyms and chose the best words.  I will add more when I get time.
  fa "فارسی" translation #14311. Author: mjnaderi. Improve some translations, to sound better and more natural.
  he "עִבְרִית" translation #14310. Author: georgy-b.
  de "Deutsch" translation #14307. Author: AKA121. 95 , 98 , 128, 163, 171, 213, 227, 247, 298, 434, mainly minor changes
  log number of tor exit nodes
  ...
2015-05-02 16:27:39 +02:00
Thibault Duplessis bf22926de0 log analysis failures with A.I. node IP address 2015-04-30 10:21:40 +02:00
Thibault Duplessis 38d31f1a81 fail on incomplete analysis 2015-04-30 08:39:58 +02:00
Thibault Duplessis cbae72801b log analysis game ID on AI server 2015-04-29 23:21:43 +02:00
Thibault Duplessis 7d02eed660 more serverchess wip 2015-04-29 08:34:59 +02:00
Thibault Duplessis cfff341c5e log analysis anomalies 2015-04-26 15:15:41 +02:00
Thibault Duplessis db398d5549 remove support for old analysis 2015-04-26 15:08:31 +02:00
Thibault Duplessis 705e646103 enforce temporary play ban 2015-04-26 12:08:13 +02:00
Thibault Duplessis 4b6cdf0caa show playbans in user mod UI 2015-04-26 07:45:09 +02:00