Commit graph

1374 commits

Author SHA1 Message Date
Thibault Duplessis 436ea7e89b improve navigation in videos 2015-03-24 16:00:35 +01:00
Thibault Duplessis 2c7e6e53aa improve video updates from Sheet 2015-03-24 10:51:16 +01:00
Thibault Duplessis b2405aaafe show video tag path 2015-03-23 02:34:45 +01:00
Thibault Duplessis efedc028f5 not all imported games are analysable 2015-03-23 01:21:15 +01:00
Thibault Duplessis b053332fc1 show video count 2015-03-22 20:14:20 +01:00
Thibault Duplessis f751342b20 remember who saw which video 2015-03-22 20:03:21 +01:00
Thibault Duplessis 0bb0db7784 paginate videos 2015-03-22 19:15:35 +01:00
Thibault Duplessis 60d3191e74 always show selected tags 2015-03-22 18:41:42 +01:00
Thibault Duplessis 40e8645c6c stateless video library is working 2015-03-22 18:15:56 +01:00
Thibault Duplessis da16a6d9ed video library WIP 2015-03-22 17:52:26 +01:00
Thibault Duplessis 0f9f3c8f8f more work on video library 2015-03-22 15:01:57 +01:00
Thibault Duplessis 077dfc9de0 basic video list 2015-03-22 13:38:01 +01:00
Thibault Duplessis 44d08507c6 Merge branch 'master' into horde
* master:
  manually fix ro translation
  Don't analyse unusable games
  translation: confirm page close on unsaved changes - fixes #330
  add apple-touch-icon.png
  log puzzle png export
  remove debug
  remove CSS vendor prefixes
  highlight user flags in mod view
  Remove previous cheat evaluator. Farewell, good cop, you did a great job
  don't auto-mark great players with lots of rated games
  tweak auto analysis conditions
  remove redundant case
  Start auto-analysing games
  remove unused resolver
  also open analysed games in mobile app
  make the evaluator less mark-happy by tweaking percentages
  include border in sizes, fix when zoom >= 75%
  upgrade chessground
  hack-fix atomic premoves on explosions - closes #343
  stop using deprecated chessground capture event
2015-03-20 09:14:18 +01:00
Thibault Duplessis a5bc6eaead board editor position presets WIP 2015-03-20 00:45:01 +01:00
Thibault Duplessis fb85cd0207 Remove previous cheat evaluator. Farewell, good cop, you did a great job 2015-03-19 18:14:47 +01:00
Thibault Duplessis 418d75cce3 Merge branch 'master' into horde
* master: (106 commits)
  upgrade chessground
  don't log bad requests
  tweak dark crosstable current
  can't parse parameter -> not found
  he "עִבְרִית" translation #14005. Author: sdiqx.
  remove unused resolver
  just silently discard ignored socket messages
  fix duplicate logging of auto mark
  show opening for some variants - closes #358
  better crosstable current game style
  remove unnecessary blindfold class
  open preferences in new tab while playing
  reload player page on pref change
  blindfold chess!
  try to always take 2 moves back - closes #345
  upgrade chessground to make callbacks synchronous - fixes #343
  fix homepage tournament box style
  sort correspondence games no matter whats
  upgrade chess module
  lt "lietuvių kalba" translation #14001. Author: krikstas. Just few simple changes
  ...
2015-03-19 10:17:16 +01:00
Thibault Duplessis 6b7b694834 puzzle PNG export and Open Graph support 2015-03-17 23:32:45 +01:00
Thibault Duplessis 8ae8b90335 let people embed the daily puzzle in their site! 2015-03-17 21:22:58 +01:00
Thibault Duplessis fd6a5ee3e4 don't fail on invalid seek creation 2015-03-17 17:23:04 +01:00
Thibault Duplessis 76cbc98f94 handle prismic not found ref 2015-03-17 14:40:02 +01:00
Thibault Duplessis 219f281141 upgrade stuff - fixes #356 2015-03-17 12:31:25 +01:00
Thibault Duplessis 0b99ce0805 fix previous commit 2015-03-16 18:48:38 +01:00
Thibault Duplessis dfaf92949c fix round mobile API 2015-03-16 18:38:50 +01:00
Thibault Duplessis 843c70f9fb Reuse Hook.allowAnon from site saved setup when creating a mobile hook 2015-03-16 08:49:02 +01:00
clarkerubber da42443732 GameAssessment is now a sealed trait
Because code style.
2015-03-15 00:39:16 +11:00
Thibault Duplessis 347cb02c59 integrate horde chess 2015-03-09 15:22:54 +01:00
Thibault Duplessis 050978e365 disallow sandbaggers in tournaments 2015-03-04 21:59:21 +01:00
Thibault Duplessis 159c29d788 truncate donator list 2015-03-03 00:56:26 +01:00
Thibault Duplessis 8a053bcb5d Merge branch 'master' into ScalaEvaluator
* master: (40 commits)
  make rematch casual if a player was marked as engine or booster
  follow link to github
  update mobile AI translation
  sl "slovenščina" translation #13384. Author: woodswoods. Wrong translation of Topics is now fixed
  nl "Nederlands" translation #13383. Author: rozebottel. correct grammar, admitted, it's a tricky bastard.
  sl "slovenščina" translation #13382. Author: woodswoods. Some fixed gramar mistakes and better translations
  hi "हिन्दी, हिंदी" translation #13380. Author: Kartikay. Added some translations
  ca "Català, valencià" translation #13377. Author: pericperic. Better translation for "Hard"
  adjust message
  faster square transitions in spectator mode
  new translations for mobile
  zh "中文" translation #13374. Author: shaong. changed 妻子 (wife) to 棋子(chess piece)at 373. Same pronunciation.
  rel="nofollow"
  add rel="nofollow" to user links
  disallow WGM_ usernames
  Disallow login from TOR exit nodes
  remove IP bans of TOR nodes
  take TOR exit nodes into account
  fix previous commit
  fix previous commit
  ...
2015-03-01 17:12:09 +01:00
clarkerubber 8a3a190958 Begin to use more factors to assess players 2015-03-01 23:57:35 +11:00
Thibault Duplessis 5d8607a3eb Disallow login from TOR exit nodes 2015-02-28 15:16:39 +01:00
Thibault Duplessis c4ee9b7a29 fix auto toggle engine/booster and remove unused code 2015-02-24 11:43:09 +01:00
clarkerubber d34d4760ad Allow moderators to hail fire upon cheaters 2015-02-23 17:12:25 +11:00
clarkerubber 34a092dfc4 Merge branch 'master' of https://github.com/ornicar/lila into ScalaEvaluator 2015-02-22 00:49:42 +11:00
clarkerubber 486c65808a Massive changes to scala evaluator 2015-02-22 00:49:10 +11:00
Thibault Duplessis a68a1369e3 add /privacy page 2015-02-17 16:22:54 +01:00
clarkerubber 4d7f1c1abb Progress on Booster title 2015-02-14 01:14:39 +11:00
Thibault Duplessis eb89d5de7d add /mobile 2015-02-09 18:02:57 +01:00
Thibault Duplessis d67d86a86f tweak auth controller 2015-02-06 08:59:38 +01:00
Thibault Duplessis 6cbcb8990c remember which API version a user was created with 2015-02-05 23:15:07 +01:00
Thibault Duplessis ed51d3c1a4 signup from mobile 2015-02-05 15:35:58 +01:00
Thibault Duplessis e60eb76ffb make prismic blog resilient to invalid refs 2015-02-05 10:47:54 +01:00
clarkerubber 7433a458db UI, Mark/Report Conds. and DateTime entry 2015-02-03 01:28:33 +11:00
Thibault Duplessis d0f0a93266 security fix: don't reveal player socket ID before game starts 2015-02-02 03:48:21 +01:00
Thibault Duplessis 4d3af35cf7 http://lichess.org/training/daily - closes #286 2015-02-01 15:16:35 +01:00
Thibault Duplessis 4819f24869 Merge branch 'master' into ScalaEvaluator
* master: (23 commits)
  add missing font
  realtime replay
  autoplay fast and slow
  analysis autoplay
  analysis action menu
  fix analysis board from FEN
  fix swiss tournament UI
  upgrade chess module
  lv "latviešu valoda" translation #12512. Author: krauzand. fixed translation errors
  send a reload message on failed force resign
  link to actual game initial position
  show previous moves in correspondence analysis screen - resolves #274
  fix integer overflow in correspondence games - fixes #278
  don't cancel draw offer on move - resolves #277
  don't batch single messages
  cancel premove on takeback - fixes #276
  he "עִבְרִית" translation #12508. Author: _PurelySmart.
  lv "latviešu valoda" translation #12507. Author: krauzand.
  hu "Magyar" translation #12506. Author: WMage.
  fa "فارسی" translation #12502. Author: gambi.
  ...
2015-01-30 01:20:35 +01:00
Thibault Duplessis a5591bdb8f realtime replay 2015-01-29 18:35:09 +01:00
clarkerubber dca69d60c9 More work on UI 2015-01-29 21:17:00 +11:00
clarkerubber d6213408f1 Integrate with mod zone 2015-01-29 19:27:36 +11:00
Thibault Duplessis 0f2d59b93a show previous moves in correspondence analysis screen - resolves #274 2015-01-27 14:18:41 +01:00
Thibault Duplessis 8d46806909 loosen up round theft prevention for mobile 2015-01-25 00:25:03 +01:00
Thibault Duplessis c1d6bceb3a report current app version in api/status 2015-01-24 11:36:05 +01:00
Thibault Duplessis fa1a1cf914 store mobile API version in security collection 2015-01-24 04:49:13 +01:00
Thibault Duplessis f9b4db77ed store assessments author and date 2015-01-23 09:13:56 +01:00
Thibault Duplessis 6072b18c49 Merge branch 'master' into ScalaEvaluator
* master:
  improve game widgets and sides, and TV history
  fix pt translation
  fix hook config color
  break lobby API BC for the lulz
  translate Q&A title
  show chess960 position number - closes #214
  catch pov priority sort errors
  disallow rated white seeks for some variants
  protect round xhr and websocket against theft
  protect round sockets - WIP

Conflicts:
	modules/chess
2015-01-23 01:37:10 +01:00
Thibault Duplessis 8976f0b2ee show chess960 position number - closes #214 2015-01-22 17:37:55 +01:00
clarkerubber cefbc95bfa Remove unnecessary code, improve composure 2015-01-23 01:00:12 +11:00
Thibault Duplessis f3d35dbfb8 protect round xhr and websocket against theft 2015-01-22 14:39:17 +01:00
Thibault Duplessis 7a68d171e8 protect round sockets - WIP 2015-01-22 09:33:19 +01:00
clarkerubber 06a77ce18f Isolate side-effects 2015-01-20 02:37:42 +11:00
Thibault Duplessis 9cec8db12e Merge branch 'ScalaEvaluator' of github.com:ornicar/lila into ScalaEvaluator
* 'ScalaEvaluator' of github.com:ornicar/lila:
  Bug fixes
2015-01-19 16:17:48 +01:00
Thibault Duplessis 2f4f2bc4f2 implement SecureBody 2015-01-19 16:17:36 +01:00
clarkerubber 22326910a7 Bug fixes 2015-01-20 02:17:15 +11:00
clarkerubber 05e284067a Bug fixes and merge fixing 2015-01-20 02:07:02 +11:00
clarkerubber 5120b8eb81 Merge branch 'ScalaEvaluator' of https://github.com/ornicar/lila into ScalaEvaluator
Conflicts:
	modules/mod/src/main/AssessApi.scala
2015-01-20 02:00:29 +11:00
clarkerubber a97e7e9f8c Style and bug fixing 2015-01-20 01:57:05 +11:00
Thibault Duplessis 481e3bc94d Merge branch 'master' into ScalaEvaluator
* master: (47 commits)
  th "ไทย" translation #12385. Author: Jer_King.
  ur "اُردُو" translation #12360. Author: alleey.
  ur "اُردُو" translation #12355. Author: alleey.
  el "Ελληνικά" translation #12351. Author: Hellball. Not complete, but good so far
  fi "suomen kieli" translation #12348. Author: Matsisti.
  he "עִבְרִית" translation #12343. Author: beginer111.
  fr "français" translation #12340. Author: vok5. I am a native French speaker. I translated sentences where there couldn't be any confusion with the details given.
  tr "Türkçe" translation #12324. Author: deren.
  nn "Norsk nynorsk" translation #12316. Author: Lat5.
  ja "日本語" translation #12312. Author: hitsujyun.
  cs "čeština" translation #12295. Author: tco.
  nl "Nederlands" translation #12290. Author: kjoepiar. I doubted on number 400/419. I translated it as 'Only in non-rated games', but I am not sure if that is what you mean by 'casual games'.
  ca "Català, valencià" translation #12287. Author: Catalan_player.
  fa "فارسی" translation #12281. Author: RezaZabihi.
  ar "العربية" translation #12254. Author: Abd0.
  pl "polski" translation #12251. Author: rzenaikrzys. from Captain Kristo with heart to Lichess
  es "español, castellano" translation #12240. Author: mazorra.
  pl & pt translations
  pl "polski" translation #12228. Author: rzenaikrzys. from Captain Kristo with heart to Lichess
  fr "français" translation #12215. Author: ZeRicky.
  ...

Conflicts:
	app/controllers/Analyse.scala
2015-01-19 14:08:46 +01:00
clarkerubber 6b070ac17d Get the thing working... (ScalaEvaluator)
crudely
2015-01-19 23:12:51 +11:00
Thibault Duplessis 63969b6a18 friend game join API 2015-01-18 18:59:20 +01:00
Thibault Duplessis c171f6f5b7 withdraw tournament from round 2015-01-18 18:40:22 +01:00
Thibault Duplessis ccfe527c32 complete new tournament page 2015-01-18 18:10:47 +01:00
clarkerubber 9bff70f7a5 All necessary code done. Bug fixes needed.
For some reason playerAssessmentGameGroups in onAnalysisReady from
AssessApi.scala does not return anything from the database.
2015-01-18 18:38:38 +11:00
clarkerubber 10a064a662 Attempt to get reporting on replay working (WIP) 2015-01-18 00:23:25 +11:00
Thibault Duplessis 94a9f55e92 fix blocks page - was also showing users who block you 2015-01-17 12:53:57 +01:00
Thibault Duplessis 051db9407b remove unused Relation.followship argument 2015-01-17 12:50:17 +01:00
Thibault Duplessis c3e0b9dddb implement /api/status - resolves #242 2015-01-17 12:35:54 +01:00
Thibault Duplessis 7149460818 MobileApi versioning 2015-01-17 12:15:06 +01:00
clarkerubber 34d2d480b2 Analysed games are now referenced and put in DB 2015-01-17 22:12:34 +11:00
Thibault Duplessis ea00e9185b Merge branch 'ScalaEvaluator' of github.com:ornicar/lila into ScalaEvaluator
* 'ScalaEvaluator' of github.com:ornicar/lila:
  Attempt to get the list returned correctly (WIP)
  Add getReferenceById
  Progress on developing results
  Comment what the ID represents
  Progress on generating results
2015-01-17 09:57:52 +01:00
Thibault Duplessis 922e119ccb Merge branch 'master' into ScalaEvaluator
* master: (98 commits)
  restore lila logger
  pt "Português" translation #12166. Author: josevitor91. brazilian portuguese
  uk "українська" translation #12164. Author: chesshater.
  ca "Català, valencià" translation #12161. Author: Catalan_player.
  cs "čeština" translation #12151. Author: xslyepov.
  sl "slovenščina" translation #12141. Author: woodswoods. Better translation of some special words.
  tweak logger
  uk "українська" translation #12136. Author: IvTK. a lot of work to do!!!
  ru "русский язык" translation #12119. Author: bishop_rope-dancer. In Russian language is not the word "Мозайка" (the correct word is "Мозаика"). But the best translation into Russian: 319/417 Puzzles = "Головоломки". Please fix it.
  fix japanese translation
  fa "فارسی" translation #12114. Author: ar123.
  sl "slovenščina" translation #12112. Author: woodswoods.
  ja "日本語" translation #12110. Author: hitsujyun.
  ar "العربية" translation #12109. Author: Abd0.
  ar "العربية" translation #12108. Author: Abd0.
  nl "Nederlands" translation #12107. Author: joachimvhw.
  ar "العربية" translation #12106. Author: Abd0.
  pt "Português" translation #12103. Author: BearJr.
  nl "Nederlands" translation #12102. Author: centrumspits.
  nl "Nederlands" translation #12101. Author: bobflob.
  ...
2015-01-17 09:57:45 +01:00
clarkerubber 893f0dff5e Progress on developing results 2015-01-16 23:25:17 +11:00
Jimmie Elvenmark 9053056977 user can list their blocked players 2015-01-16 01:34:25 +01:00
Thibault Duplessis 764deec37b protect user PGN export with chess captcha - resolves #249 2015-01-15 18:38:57 +01:00
Thibault Duplessis 1a0fb20308 show openings moves in opening trainer 2015-01-15 15:54:11 +01:00
clarkerubber e0fa6763b9 Progress on generating results 2015-01-15 23:53:28 +11:00
Thibault Duplessis 9857adced8 Merge branch 'master' into ScalaEvaluator
* master: (36 commits)
  include opening names in opening API
  tweak vstext style
  remove superfluous API endpoint
  provide only 9 most urgent now playing games in API
  fr "français" translation #11902. Author: Tatiana47.
  fix sv messages
  ru "русский язык" translation #11900. Author: 5meoDIPT.
  is "Íslenska" translation #11898. Author: hjortur.
  el "Ελληνικά" translation #11897. Author: KingDeathGR.
  ca "Català, valencià" translation #11896. Author: ximatzo.
  th "ไทย" translation #11892. Author: Jer_King.
  manually fix es translation
  sl "slovenščina" translation #11888. Author: Castlan.
  pt "Português" translation #11878. Author: josevitor91. I am brazilian and our portuguese has slight differences compared to Portugal, but it is perfectly understandable, like "defense" and "defence" comparing EUA to England.
  fr "français" translation #11876. Author: kryk.
  nl "Nederlands" translation #11875. Author: SheepNL.
  es "español, castellano" translation #11874. Author: pepiniso. no big deal
  nl "Nederlands" translation #11869. Author: MoralIntentions.
  hr "hrvatski" translation #11868. Author: tenkic.
  hyperlinks in translation contexts
  ...
2015-01-15 12:28:04 +01:00
Thibault Duplessis bdd077c46e Merge branch 'ScalaEvaluator' of github.com:ornicar/lila into ScalaEvaluator
* 'ScalaEvaluator' of github.com:ornicar/lila:
  "refactoring"
  Change keys and use update
  Better modlog and table name
  Tweaks, remove unnecessary code
2015-01-15 12:27:59 +01:00
Thibault Duplessis 27dfbe1762 include opening names in opening API 2015-01-15 12:27:44 +01:00
clarkerubber 182316c615 "refactoring" 2015-01-15 22:15:28 +11:00
Thibault Duplessis ea3b7d1273 remove superfluous API endpoint 2015-01-15 11:43:47 +01:00
Thibault Duplessis 0bff1d6af0 provide only 9 most urgent now playing games in API 2015-01-15 11:39:13 +01:00
Thibault Duplessis 2e99ca51a8 remove puzzle Api 2015-01-15 01:00:04 +01:00
Thibault Duplessis ad4642b0ab return now playing games on API login 2015-01-14 19:04:04 +01:00
Thibault Duplessis 72ec42d953 lazier initialFen fetch 2015-01-14 16:32:05 +01:00
Thibault Duplessis 1e7340b679 Merge branch 'master' into ScalaEvaluator
* master: (229 commits)
  update chess submodule
  nn "Norsk nynorsk" translation #11864. Author: Lat5.
  pl "polski" translation #11863. Author: Sanatan.
  ar "العربية" translation #11862. Author: sasatiger.
  hu "Magyar" translation #11860. Author: wheeler9. typos, and commas
  upgrade chess module
  fix french translation
  Pointing to the tip of modules/chess
  Updating modules/chess to version where in atomic chess, a win by exploding the opponent's king is forced if the player can while in check or mate. Fixed #235
  tweak leaderboards page
  correspondence perf type full name
  start analysis at ply 0 - fixes #239
  upgrade chessli
  az "Azərbaycanca" translation #11859. Author: erebce. completing the translation
  fix atomic replay en-passant - resolves #227
  fix atomic en-passant play UI
  upgrade chess submodule to fix atomic takebacks
  move berserk button far from resign button - fixes #231
  Pointing to head of modules/chess with a couple of atomic chess bug fixes.
  show correspondence, antichess and atomic leaderboards
  ...

Conflicts:
	public/javascripts/big.js
2015-01-14 11:46:04 +01:00
clarkerubber fddfcb5c61 More progress on mod API (WIP) 2015-01-14 18:26:42 +11:00
clarkerubber 50092657ce Simplify GameGroup constructor and work on API 2015-01-14 16:57:35 +11:00
Thibault Duplessis fcc3898b62 tweak leaderboards page 2015-01-13 16:47:06 +01:00
clarkerubber 9b5cd5216c Progress on player assessment
ScalaEvaluator
2015-01-13 21:44:12 +11:00
Thibault Duplessis d39e0735b5 show correspondence, antichess and atomic leaderboards 2015-01-12 21:56:55 +01:00
Thibault Duplessis 420355dcd7 reorganize variant code - no functional change 2015-01-11 15:23:25 +01:00
Thibault Duplessis dddbba1414 implement basic tournament berserk 2015-01-11 00:18:39 +01:00
Thibault Duplessis 71ab8ebd73 Merge branch 'master' into atomic_chess
* master: (56 commits)
  set quiet mode when playing - resolves #203
  use history.pushState and onpopstate in the opening trainer
  show puzzle URL without reloading, and restore back button
  more opening trainings for anon
  fix stockfish handling of KotH
  remove unknown stockfish option AnalyseMode
  cs "čeština" translation #11705. Author: Pikozrout.
  fr "français" translation #11701. Author: Ownedbyta.
  es "español, castellano" translation #11698. Author: pochochon.
  es "español, castellano" translation #11692. Author: elkaoD. Translated the latest missing strings
  tr "Türkçe" translation #11688. Author: SatrancTR.
  el "Ελληνικά" translation #11687. Author: kosf.
  sl "slovenščina" translation #11685. Author: LukaTreb.
  pt "Português" translation #11681. Author: leojustino.
  sv "svenska" translation #11677. Author: RocketBabe. Translated new missing sentences
  nl "Nederlands" translation #11673. Author: Seredhel. "uw'' is a more polite version of ''jouw''
  de "Deutsch" translation #11671. Author: kimbobmik.
  opening trainer: fix turn color indication
  sort opening trainer solutions by centipawn
  fix ui/ builder
  ...

Conflicts:
	modules/chess
	modules/rating/src/main/PerfType.scala
	modules/setup/src/main/FilterConfig.scala
2015-01-09 14:25:17 +01:00
Thibault Duplessis 1a9c8ef3a2 fix human analysis from FEN when it's black to play 2015-01-09 00:48:47 +01:00
Thibault Duplessis 4bbadd79d6 opening trainer history 2015-01-09 00:22:04 +01:00
Thibault Duplessis 82b80bbc79 opening trainer is working 2015-01-08 16:22:26 +01:00
Thibault Duplessis df8f601eb9 more work on opening training integration 2015-01-07 22:42:06 +01:00
clarkerubber a273b1102d More tests, remove PlayerGroup (unnecessary) 2015-01-08 08:05:29 +11:00
clarkerubber 5863f85481 More tests, modify Accuracy for diffs WIP 2015-01-07 13:17:22 +11:00
Thibault Duplessis 3489b9de84 Merge branch 'master' into atomic_chess
* master: (65 commits)
  upgrade chessground, enable autoCastle in round
  tournament style tweaks
  lazy load sounds
  fix detection of simul
  pass formatted dates to mithril build
  fix lobby now playing mithril key
  tweak tournament CSS
  start tournament clock immediately, slightly trim down WS messages
  fix tournament UI bugs
  tournament UI: help mithril with element keys
  tournament UI: watch last games
  tournament missing translation
  actor efficiency: listen to StartGame in round socket hub
  fix funny bug when round socket receives alien games
  reset round socket user id on game start - fixes #178
  tweak Pov priority and simul detection
  lt "lietuvių kalba" translation #11659. Author: patrimpas.
  sv "svenska" translation #11658. Author: Titanoboa. There was a typo, and "Rating" has been translated as the same throughout the other translations, so I kept consistent for #91..
  add note about sound control in the preferences page
  fix chessground on puzzle page
  ...

Conflicts:
	modules/chess
	public/javascripts/vendor/chessground.min.js
	ui/analyse/package.json
	ui/editor/package.json
	ui/lobby/package.json
	ui/puzzle/package.json
	ui/round/package.json
2015-01-07 00:01:17 +01:00
clarkerubber 29c31ee4e2 Start unit testing grouper 2015-01-07 08:05:30 +11:00
Thibault Duplessis a83eeda8a6 Merge branch 'master' into openingTrainer
* master: (410 commits)
  wake up the AI on round API fetch - fixes #196
  private tournaments don't need passwords, just URLs
  disable simul support in tournament games
  fix tournament reminder client-side translation
  simplify tournament controller
  withdraw scheduled tournaments when creating one
  more work on tournament UI
  debounce publication of tournament events at the site level
  tournament: version reload messages, reload on start
  simplify analysis view code
  analysis board: allow going back to initial position
  use FEN enpassant flag - fixes #190
  tweak order of variants in AI game setup
  tweak analysis back button behavior - resolves #191
  resync correspondence clocks on takeback
  fix takeback last move time - resolves #192
  bs "bosanski jezik" translation #11657. Author: gus_fring.
  nb "Norsk bokmål" translation #11656. Author: phaedrus_.
  vastly simplify JS clock
  expose analysis chessground - fixes #181
  ...

Conflicts:
	bin/prod/compile-client
2015-01-05 15:12:44 +01:00
Thibault Duplessis 1fc7224aa7 wake up the AI on round API fetch - fixes #196 2015-01-05 15:02:05 +01:00
Thibault Duplessis 0f9b153fe5 private tournaments don't need passwords, just URLs 2015-01-05 14:34:39 +01:00
Thibault Duplessis 6bd7b256e0 disable simul support in tournament games 2015-01-05 13:43:19 +01:00
Thibault Duplessis a1ac30adf2 simplify tournament controller 2015-01-05 13:28:48 +01:00
Thibault Duplessis ed0f901e16 even more progress on mithril tournament UI 2015-01-05 00:51:42 +01:00
Thibault Duplessis b72b87331a more progress on new tournament UI 2015-01-04 23:49:04 +01:00
Thibault Duplessis 6b0db65f03 more work on mithril tournaments 2015-01-04 19:28:30 +01:00
Thibault Duplessis 1b09f2b3fd more work on new tournament UI 2015-01-04 16:43:17 +01:00
Thibault Duplessis 7400e319dc more work on mithril tournaments 2015-01-04 10:17:04 +01:00
Gordon Martin aea8d3d364 Changing instances of 'atomicChess' to 'atomic'. Changing reference to atomic chess wiki page to FICS page. 2015-01-04 01:30:17 +00:00
Thibault Duplessis a4a5d96bae WIP on new tournament UI 2015-01-03 16:38:27 +01:00
Thibault Duplessis 7bfc208f04 Merge branch 'master' into atomic_chess
* master: (29 commits)
  simul: move on on game end - fixes #179
  fix spectator link to player
  improve lobby playing games timer - resolves #187
  fallback language links for anon
  Revert "remove lang fallback links"
  fix dark language links
  hr "hrvatski" translation #11604. Author: gus_fring.
  th "ไทย" translation #11603. Author: Jer_King.
  Add Yoruba language
  yo "Yorùbá" translation #11588. Author: Mikhail04.
  sk "slovenčina" translation #11579. Author: xslyepov.
  hr "hrvatski" translation #11578. Author: DrOz.
  sr "Српски језик" translation #11568. Author: NoSurrenderNoRetreat.
  el "Ελληνικά" translation #11562. Author: kosf.
  pt "Português" translation #11561. Author: BearJr.
  ca "Català, valencià" translation #11560. Author: stanislaski.
  sk "slovenčina" translation #11557. Author: Inconnu_SVK.
  vi "Tiếng Việt" translation #11551. Author: mahabatnha.
  ar "العربية" translation #11549. Author: Abd0.
  pl "polski" translation #11535. Author: luk82.
  ...
2015-01-02 13:04:11 +01:00
Thibault Duplessis 8c2b22cd18 proper language selection for anonymous 2015-01-02 10:27:14 +01:00
Gordon Martin c8da780987 Started implementing lila changes for atomic chess on top of the scalachess changes. UI doesn't yet deal with the new capturing behaviour 2015-01-02 00:52:10 +00:00
Thibault Duplessis 4f3d051501 change language with POST request 2014-12-31 17:15:34 +01:00
Thibault Duplessis 12b855037d redirect to user preferred language domain 2014-12-31 16:36:16 +01:00
Thibault Duplessis bd98f747d1 don't play clock emergency sounds on simul - resolves #177 2014-12-31 01:46:27 +01:00
Thibault Duplessis bec08d73de Revert "attempt to fix memory leak by making simul cache synchronous"
This reverts commit 9538e3b6c5.

Conflicts:
	modules/game/src/main/Cached.scala
2014-12-30 11:37:42 +01:00
Thibault Duplessis 1e4dbd6061 don't show started private tournaments 2014-12-29 22:58:10 +01:00
Thibault Duplessis 4a0542393f lazy load themepicker html 2014-12-29 22:26:11 +01:00
Thibault Duplessis b465f3f028 Merge branch 'master' into lobbyMithril
* master:
  es "español, castellano" translation #11440. Author: n_espindola. Phrase 290. I just added an accent mark.
  attempt to fix memory leak by making simul cache synchronous
  add reboot script
  Adding chess module with invalid two opposing bishops on same color diagonal stalemate condition in antichess fix.
2014-12-29 13:34:04 +01:00
Thibault Duplessis 9538e3b6c5 attempt to fix memory leak by making simul cache synchronous 2014-12-29 11:10:34 +01:00
Thibault Duplessis 159fc9b4e7 implement mithril lobby playing games 2014-12-29 00:15:42 +01:00
Thibault Duplessis 85f87f19b6 more work on mithril lobby 2014-12-28 18:50:30 +01:00
Thibault Duplessis 66c46bd89a refactor preloader, introduce lobby api 2014-12-27 19:41:32 +01:00
Thibault Duplessis 35d0d7b4db start mithril lobby 2014-12-27 18:16:03 +01:00
Thibault Duplessis 26270deeb3 enable user TV on analysis page 2014-12-26 22:29:53 +01:00
Thibault Duplessis 744174fbfd show last played game in idle user TV - resolves #150 2014-12-26 22:18:32 +01:00
Thibault Duplessis bc955ad168 display user simul automatically - resolves #154 2014-12-26 17:59:14 +01:00
Thibault Duplessis e5858b5f2c expose created hook/seek id in mobile API 2014-12-26 11:43:50 +01:00
Thibault Duplessis 103d77c677 expose lobby data version in mobile API 2014-12-26 11:09:52 +01:00
Thibault Duplessis 7a875dd606 remove dead code 2014-12-24 15:54:47 +01:00
Thibault Duplessis b96b982209 Merge branch 'master' into antichess
* master: (116 commits)
  use Game.updatedAt when last move time is not available
  integrate analysis board with correspondence games
  improve analysis integration
  add screenshot
  fix analysis board highlights
  more cache tweaks
  don't show games older than 5 minutes
  improve current game detection
  hr "hrvatski" translation #11283. Author: gus_fring.
  update sl translation
  hu "Magyar" translation #11279. Author: OMMHOA. Couldn't translate perfectly "proceed" so it's "go" instead.
  ca "Català, valencià" translation #11278. Author: pedrolo.
  uk "українська" translation #11276. Author: IvTK.
  nl "Nederlands" translation #11274. Author: rokbe. correspondensie -> correspondentie
  sv "svenska" translation #11273. Author: nuwonga.
  sq "Shqip" translation #11271. Author: xhevati.
  pl "polski" translation #11268. Author: pirouetti.
  tr "Türkçe" translation #11265. Author: mabolek.
  sv "svenska" translation #11264. Author: Weckipecki.
  ca "Català, valencià" translation #11263. Author: Borchess.
  ...

Conflicts:
	modules/chess
	ui/analyse/src/ctrl.js
2014-12-24 15:47:38 +01:00
Thibault Duplessis 555121cef6 integrate analysis board with correspondence games 2014-12-24 14:30:24 +01:00
Thibault Duplessis 230a35c3ae improve analysis integration 2014-12-24 13:28:29 +01:00
Thibault Duplessis 5162d27e56 improve current game detection 2014-12-24 01:34:13 +01:00
Thibault Duplessis e3b8df02e1 integrate user analysis with board editor 2014-12-23 22:45:37 +01:00
Thibault Duplessis 93653cfdf0 better moving to next game 2014-12-23 20:07:31 +01:00
Thibault Duplessis 3ffc37fbeb switch from realtime to correspondence, but not the other way round 2014-12-23 18:37:10 +01:00
Thibault Duplessis a56d8d1bbe remove unneeded function call 2014-12-23 18:33:47 +01:00
Thibault Duplessis 3d155e5fd0 don't autoswitch between realtime and correspondence - fixes #147 2014-12-23 18:32:34 +01:00
Thibault Duplessis 8750b26ccb minimalist analysis board 2014-12-23 17:58:15 +01:00
Thibault Duplessis 796538353b more mongo caching 2014-12-23 14:35:59 +01:00
Gordon Martin 10404e7d52 Changing suicide chess variant name to antichess. Started attempting to deal with promotions (not working for now). Discovered bug where rematch leads to wrong pieces being moved (todo). 2014-12-23 02:34:49 +00:00
Gordon Martin 541f68b15e Started implementing support for antichess variant. 2014-12-22 23:14:34 +00:00
Thibault Duplessis 03ededd7f6 implement move on 2014-12-22 18:12:29 +01:00
Thibault Duplessis 9e250a564f show more round other games 2014-12-22 14:55:20 +01:00
Thibault Duplessis 25666ab174 more work on simul support 2014-12-21 11:21:35 +01:00
Thibault Duplessis 55973c4c3b better display of playing games in round UI 2014-12-20 16:18:51 +01:00
Thibault Duplessis b154437b74 make /@/user/playing more exciting 2014-12-20 15:01:19 +01:00
Thibault Duplessis 336ec972cd redirect xhr requests performed synchronously 2014-12-19 02:35:55 +01:00
Thibault Duplessis 7e618ff797 lobby seeks API 2014-12-19 00:25:37 +01:00
Thibault Duplessis 6105cbd3a1 keep frontend seeks up to date 2014-12-18 01:02:59 +01:00
Thibault Duplessis b9c82dc48e add nowPlaying API color attr 2014-12-17 20:22:16 +01:00
Thibault Duplessis 60b79de2c4 Merge branch 'master' into openingTrainer
* master: (21 commits)
  remove unused opening configuration
  upgrade for latest mithril: window.m is no longer a thing
  mithril 0.1.27 and chessground 1.8.1
  sk "slovenčina" translation #10932. Author: xslyepov.
  sk "slovenčina" translation #10931. Author: xslyepov.
  le "1337" translation #10928. Author: Chess_Agent. Finished the last five sentences.
  de "Deutsch" translation #10927. Author: Dolg. 99 I guess it's the possibility to reset the password. Right now it means that it were reset already.
  ar "العربية" translation #10926. Author: Abd0.
  uk "українська" translation #10925. Author: IvTK.
  la "lingua Latīna" translation #10924. Author: Dr_King_Schultz.
  hu "Magyar" translation #10923. Author: Nigel-727.
  sl "slovenščina" translation #10922. Author: woodswoods. Better words  for certain translations in contex.
  is "Íslenska" translation #10920. Author: hjortur.
  da "Dansk" translation #10919. Author: KillerDwarf.
  lv "latviešu valoda" translation #10918. Author: krauzand.
  ru "русский язык" translation #10915. Author: XuMEPA.
  add donor star to server providers
  move license file to the root
  sort API now playing games by priority
  fix routes order
  ...

Conflicts:
	conf/routes
2014-12-17 10:59:27 +01:00
Thibault Duplessis 46610661fc persistent correspondence seeks - WIP 2014-12-17 01:09:30 +01:00
Thibault Duplessis 6d290e1209 expose fen and lastMove in nowPlaying 2014-12-16 12:11:36 +01:00
Thibault Duplessis 5da1baecdd /training/opening & /training/opening/:id 2014-12-16 11:37:49 +01:00
Thibault Duplessis 2c4cb95421 opening training API fixes 2014-12-16 01:01:54 +01:00
Thibault Duplessis 2941722cad open import API for opening training 2014-12-16 00:26:13 +01:00
Thibault Duplessis df46bfcaed fix password recovery unknown email 2014-12-15 10:22:41 +01:00
Thibault Duplessis 6f78e0d2b7 complete password recovery procedure 2014-12-15 01:32:18 +01:00
Thibault Duplessis 7c550834de Merge branch 'master' into email
* master:
  api json 404
2014-12-11 14:42:11 +01:00
Thibault Duplessis 01b3dd99d0 api json 404 2014-12-11 14:41:55 +01:00
Thibault Duplessis c62bac5c71 password reset WIP 2014-12-11 01:47:50 +01:00
Thibault Duplessis f4e4478aea password reset WIP 2014-12-11 00:36:14 +01:00
Thibault Duplessis 617636c469 progress on password reset 2014-12-10 23:30:28 +01:00
Thibault Duplessis e2efb15a40 drop support for artificial users 2014-12-10 23:15:59 +01:00
Thibault Duplessis 460aa04d90 create/update user email 2014-12-10 23:07:43 +01:00
Thibault Duplessis ff15ea4f28 tweak notes 2014-12-09 19:07:16 +01:00
Thibault Duplessis ad0b7f3e49 Merge branch 'master' into notes
* master:
  simplify material display
  disallow search engine to crawlers
  pl "polski" translation #10503. Author: O-O-O-O-O. It is OK.
  es "español, castellano" translation #10501. Author: DJValen. 272/302 Removed "es" (it's not needed in spanish). 3/302 "dale" substituted by  "pasa" 29/302 added "puede haber" meaning "may" 30/302 "Forzar visctoria" explains better the button 46/302 The article was missing for "computadora" 55/302 Tiempos de movimiento is wrong,  tiempo por movimiento is better 75/302  The last sentence was missing, fixed.
  bs "bosanski jezik" translation #10500. Author: Jaksha.
  sr "Српски језик" translation #10499. Author: Jaksha.
  fix i18n JS dump
  remove unused JS function
  fix theme dropdown when chrome zoom=90% (..)
2014-12-09 09:14:00 +01:00
Thibault Duplessis 463e1e2cdc disallow search engine to crawlers 2014-12-08 01:14:03 +01:00
Thibault Duplessis b0c47623ac guard rail on note persistence 2014-12-07 18:38:39 +01:00
Thibault Duplessis 1d3fa4a924 bind note to user, not player 2014-12-07 12:32:18 +01:00
Thibault Duplessis 33db139660 notes storage, JS bindings, and HTTP POST access 2014-12-07 12:01:56 +01:00
Thibault Duplessis 90e2398601 HTTP API should always return JSON 2014-12-03 20:22:52 +01:00
Thibault Duplessis e68bb70b02 show other slow games on game page 2014-12-03 01:34:34 +01:00
Thibault Duplessis a70a88b722 complete homepage game list implementation 2014-12-03 00:41:39 +01:00
Thibault Duplessis f5954f0966 replace reminder API with Game.playingUids index 2014-12-02 18:42:33 +01:00
Thibault Duplessis e4675f43a8 tweak logging 2014-12-02 01:10:23 +01:00
Thibault Duplessis 78e225cd25 display time left on homepage reminder 2014-11-30 22:31:07 +01:00
Thibault Duplessis f626eb9966 completely rethink maintenance of game DB 2014-11-30 15:53:39 +01:00
Thibault Duplessis 7e60f11292 lobby correspondence chess creation 2014-11-30 12:30:39 +01:00
Thibault Duplessis 0f48e627d1 re-enable analysis divider 2014-11-25 13:51:09 +01:00
Thibault Duplessis f2fca8e6a9 more progress on relaying FICS games 2014-11-22 14:24:29 +01:00
Thibault Duplessis 577e292a6c let facebook bot fetch game images 2014-11-19 10:56:15 +01:00
Thibault Duplessis d735d0eefd restore PNG, PGN & PDF exports - disallow to crawlers 2014-11-18 22:52:29 +01:00
Thibault Duplessis 00074f0268 expose player imported games 2014-11-18 02:54:16 +01:00
Thibault Duplessis 1e8749f049 remove firewall logging 2014-11-17 23:43:58 +01:00
Thibault Duplessis 67abcb7d25 disable divider again 2014-11-17 10:30:49 +01:00
Thibault Duplessis e26f15d777 crawlers need no game divisions 2014-11-17 00:58:59 +01:00
Thibault Duplessis 84c6041913 rewrite tournaments backend for performance 2014-11-15 14:34:40 +01:00
Thibault Duplessis e452af5e4b donate/ipn always return 200 2014-11-15 09:54:24 +01:00
Thibault Duplessis 59947557a3 remove round hijack detection code 2014-11-13 11:19:07 +01:00
Thibault Duplessis 4c43cf3739 make hook POST request return JSON 2014-11-10 23:00:34 +01:00
Thibault Duplessis fac736afb0 cache division better, fetch initialFen less often 2014-11-10 16:13:52 +01:00
Thibault Duplessis 1a7c315ad1 loading opening from Game, once, simplifies it all 2014-11-09 18:52:20 +01:00
Thibault Duplessis 1f41a9a540 computing division is expensive (fetch fen, build replay) so cache it 2014-11-08 17:00:01 +01:00
Thibault Duplessis b9a5ba2861 Merge branch 'master' of github.com:ornicar/lila into Divider
* 'master' of github.com:ornicar/lila: (23 commits)
  upgrade scalachess
  So long, pgn4web. The day I can ditch you has finally come.
  mithril/chessground analysis seems to be working
  analysis tree navigation is working
  more work on new analysis page
  fix analysis json and template
  fix variation issue by copying arrays. Dammit mutability sucks.
  less AI recover attempts
  progress on pgn4web replacement
  try a new analysis client data structure
  compile client apps as dev, trash pgn4web
  tree analysis WIP
  more on mithril analysis rewrite
  connect replay with advantage chart
  good progress on new replay UI
  share more code between round and analyse
  progress on analysis
  ignore setup clock constraints when disabled - fixes #125
  more progress on new analyse, try to reuse code from round
  remove round.util
  ...

Conflicts:
	app/controllers/Analyse.scala
	app/views/analyse/replay.scala.html
2014-11-08 16:31:54 +01:00
Thibault Duplessis aa783e24ed instanciate analysis replay (TODO: cache) and pass divisions to JS 2014-11-08 10:44:44 +01:00
Thibault Duplessis 6667e7ac03 less AI recover attempts 2014-11-04 09:28:41 +01:00
Thibault Duplessis 91a1b67720 less AI recover attempts 2014-11-03 21:45:35 +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 619304f628 better exports caching 2014-11-02 13:47:55 +01:00
Thibault Duplessis 3958d1ddc2 use board image creation in the og headers - through CDN 2014-10-31 18:04:57 +01:00
Thibault Duplessis 8717264ae0 print game to PDF, stream it as chunked HTTP and cache it in CDN 2014-10-31 17:17:52 +01:00
Thibault Duplessis 4ec53d85d4 progress on analysis new UI 2014-10-27 11:10:41 +01:00
Thibault Duplessis 824efd2b5d fix user TV 2014-10-23 11:11:10 +02:00
Thibault Duplessis 3b08a6f4ff fix TV flip button 2014-10-20 11:11:22 +02:00
Thibault Duplessis 5d40967b11 fix user TV should redirect watchers to rematches 2014-10-19 18:10:01 +02:00
Thibault Duplessis b82a119a2f fix endgame side loading on TV 2014-10-19 13:12:55 +02:00
Thibault Duplessis 8f35323186 fix game API corner cases 2014-10-19 11:25:32 +02:00
Thibault Duplessis e000775e86 fix embedded TV size 2014-10-18 22:12:30 +02:00
Thibault Duplessis 2f3f6f7d1c remove round table routes and actions 2014-10-18 18:33:55 +02:00
Thibault Duplessis 846669c233 chessground TV + fixes and stuff 2014-10-18 18:25:38 +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 4be26b2b4f Merge branch 'master' of github.com:ornicar/lila into play-mithril
* 'master' of github.com:ornicar/lila:
  remove pools from homepage
2014-10-12 17:57:06 +02:00
Thibault Duplessis f42795e76a remove pools from homepage 2014-10-12 17:56:02 +02:00
Thibault Duplessis 25ac3fcaa5 Vary: Accept on API endpoints 2014-10-12 13:02:25 +02:00
Thibault Duplessis a4244c3623 more chessground UI 2014-10-11 12:17:18 +02:00
Thibault Duplessis 40e9840155 more integration of 3D boards 2014-10-09 01:12:55 +02:00
Thibault Duplessis 2c5f8a0146 3d themepicker and persistence 2014-10-08 23:49:13 +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 2a293bfc8a progress on game UI with mithril 2014-10-02 00:19:49 +02:00
Thibault Duplessis 9b780c0d5c accept API requests regardless of the accepts header order 2014-09-30 22:17:49 +02:00
Thibault Duplessis 48a1b4afef hack API accepts 2014-09-30 21:30:14 +02:00
Thibault Duplessis 2d94488d12 protect puzzle xhr routes 2014-09-28 16:44:11 +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 f974ae49fe make puzzle solver animations configurable 2014-09-28 16:04:41 +02:00
Thibault Duplessis b8846df0c1 progress on puzzle2 2014-09-15 19:11:24 +02:00
Thibault Duplessis 9d1dc1a0f5 more progress on new puzzle solver 2014-09-15 01:19:11 +02:00
Thibault Duplessis 2faa3c980f good progress on cljs/react puzzle solver 2014-09-14 21:44:13 +02:00