Commit Graph

33860 Commits (82453c6aad7cd1f6265142c33ac10f63e89cc900)

Author SHA1 Message Date
Thibault Duplessis 82453c6aad
New translations site.xml (Swedish) (#5467)
[skip ci]
2019-08-27 08:11:40 +02:00
Thibault Duplessis 729441eb5c
Merge pull request #5466 from ornicar/api-tournament-id
Expose tournament ID in game API
2019-08-27 08:10:24 +02:00
Thibault Duplessis b587dfa9de Json.add skips the key if the value is undefined 2019-08-27 08:09:51 +02:00
Thibault Duplessis 98a9dd07df Merge branch 'master' into api-tournament-id
* master:
  New Crowdin translations (#5449)
  don't redirect simul host while replaying a game
2019-08-27 08:08:47 +02:00
Thibault Duplessis 33fbf5bc3b
New Crowdin translations (#5449)
* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations study.xml (Russian)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations study.xml (Russian)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations site.xml (Nepali)
[skip ci]

* New translations learn.xml (Arabic, Saudi Arabia)
[skip ci]

* New translations site.xml (Arabic)
[skip ci]

* New translations study.xml (Latvian)
[skip ci]

* New translations study.xml (French)
[skip ci]

* New translations study.xml (Danish)
[skip ci]

* New translations study.xml (Malayalam)
[skip ci]

* New translations study.xml (Turkish)
[skip ci]

* New translations study.xml (Indonesian)
[skip ci]

* New translations study.xml (Latvian)
[skip ci]

* New translations study.xml (Slovenian)
[skip ci]

* New translations study.xml (Slovenian)
[skip ci]

* New translations study.xml (French)
[skip ci]

* New translations study.xml (Latvian)
[skip ci]

* New translations study.xml (Slovenian)
[skip ci]

* New translations study.xml (French)
[skip ci]

* New translations study.xml (Portuguese, Brazilian)
[skip ci]

* New translations site.xml (Slovenian)
[skip ci]

* New translations study.xml (Slovenian)
[skip ci]

* New translations study.xml (French)
[skip ci]

* New translations study.xml (German)
[skip ci]

* New translations study.xml (Russian)
[skip ci]

* New translations study.xml (Polish)
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations study.xml (Polish)
[skip ci]

* New translations activity.xml (Polish)
[skip ci]

* New translations study.xml (Polish)
[skip ci]

* New translations site.xml (Serbian (Cyrillic))
[skip ci]

* New translations study.xml (Serbian (Cyrillic))
[skip ci]

* New translations study.xml (English, United States)
[skip ci]

* New translations study.xml (Swedish)
[skip ci]

* New translations study.xml (English, United States)
[skip ci]

* New translations study.xml (Latvian)
[skip ci]

* New translations emails.xml (Latvian)
[skip ci]

* New translations study.xml (Swedish)
[skip ci]

* New translations study.xml (English, United States)
[skip ci]

* New translations emails.xml (Arabic)
[skip ci]

* New translations emails.xml (Arabic)
[skip ci]

* New translations study.xml (Swedish)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations study.xml (Dutch)
[skip ci]

* New translations study.xml (Polish)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations learn.xml (Arabic)
[skip ci]

* New translations site.xml (Arabic, Saudi Arabia)
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Turkish)
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations site.xml (Latvian)
[skip ci]

* New translations site.xml (Turkish)
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations site.xml (Latvian)
[skip ci]

* New translations site.xml (Turkish)
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations learn.xml (Arabic, Saudi Arabia)
[skip ci]

* New translations site.xml (Arabic)
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations site.xml (Dutch)
[skip ci]

* New translations site.xml (Danish)
[skip ci]

* New translations site.xml (Danish)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Danish)
[skip ci]

* New translations site.xml (Danish)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (French)
[skip ci]

* New translations site.xml (French)
[skip ci]

* New translations site.xml (Danish)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations study.xml (German)
[skip ci]

* New translations site.xml (Russian)
[skip ci]

* New translations site.xml (Russian)
[skip ci]

* New translations study.xml (Russian)
[skip ci]

* New translations study.xml (Russian)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Portuguese, Brazilian)
[skip ci]

* New translations site.xml (Latvian)
[skip ci]

* New translations site.xml (Portuguese, Brazilian)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations site.xml (Latvian)
[skip ci]

* New translations site.xml (Portuguese, Brazilian)
[skip ci]

* New translations activity.xml (Arabic)
[skip ci]

* New translations site.xml (Portuguese, Brazilian)
[skip ci]

* New translations site.xml (English, United States)
[skip ci]

* New translations activity.xml (Arabic)
[skip ci]

* New translations activity.xml (Arabic)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Greek)
[skip ci]

* New translations site.xml (Norwegian Nynorsk)
[skip ci]

* New translations site.xml (Norwegian Nynorsk)
[skip ci]

* New translations site.xml (Norwegian Nynorsk)
[skip ci]

* New translations site.xml (Norwegian Nynorsk)
[skip ci]

* New translations study.xml (Norwegian Nynorsk)
[skip ci]

* New translations study.xml (Norwegian Nynorsk)
[skip ci]

* New translations site.xml (Norwegian Bokmal)
[skip ci]

* New translations study.xml (Norwegian Nynorsk)
[skip ci]

* New translations site.xml (Norwegian Bokmal)
[skip ci]

* New translations study.xml (Norwegian Bokmal)
[skip ci]

* New translations site.xml (Italian)
[skip ci]

* New translations site.xml (Italian)
[skip ci]

* New translations study.xml (Italian)
[skip ci]

* New translations study.xml (Italian)
[skip ci]

* New translations study.xml (Italian)
[skip ci]

* New translations site.xml (Portuguese)
[skip ci]

* New translations study.xml (Portuguese)
[skip ci]

* New translations site.xml (Portuguese)
[skip ci]

* New translations study.xml (Portuguese)
[skip ci]

* New translations site.xml (Malayalam)
[skip ci]

* New translations study.xml (Serbian (Cyrillic))
[skip ci]

* New translations study.xml (Turkish)
[skip ci]

* New translations study.xml (Serbian (Cyrillic))
[skip ci]

* New translations study.xml (Mongolian)
[skip ci]

* New translations activity.xml (Romanian)
[skip ci]

* New translations study.xml (Arabic)
[skip ci]

* New translations learn.xml (Lithuanian)
[skip ci]

* New translations site.xml (Portuguese, Brazilian)
[skip ci]

* New translations learn.xml (Sanskrit)
[skip ci]

* New translations coordinates.xml (Nepali)
[skip ci]

* New translations coordinates.xml (Armenian)
[skip ci]

* New translations learn.xml (Armenian)
[skip ci]

* New translations site.xml (Bengali)
[skip ci]

* New translations site.xml (Bosnian)
[skip ci]

* New translations site.xml (Catalan)
[skip ci]

* New translations site.xml (Portuguese, Brazilian)
[skip ci]

* New translations study.xml (Portuguese, Brazilian)
[skip ci]

* New translations arena.xml (Nepali)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations site.xml (Persian)
[skip ci]

* New translations site.xml (Greek)
[skip ci]

* New translations site.xml (Gujarati)
[skip ci]

* New translations site.xml (Croatian)
[skip ci]

* New translations site.xml (Georgian)
[skip ci]

* New translations site.xml (Icelandic)
[skip ci]

* New translations site.xml (Indonesian)
[skip ci]

* New translations site.xml (Japanese)
[skip ci]

* New translations site.xml (Lojban)
[skip ci]

* New translations site.xml (Mongolian)
[skip ci]

* New translations site.xml (Georgian)
[skip ci]

* New translations site.xml (Malay)
[skip ci]

* New translations site.xml (Serbian (Cyrillic))
[skip ci]

* New translations arena.xml (Yoruba)
[skip ci]

* New translations learn.xml (Bulgarian)
[skip ci]

* New translations learn.xml (Arabic)
[skip ci]

* New translations site.xml (Arabic, Saudi Arabia)
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations study.xml (Malayalam)
[skip ci]

* New translations learn.xml (Arabic, Saudi Arabia)
[skip ci]

* New translations site.xml (Arabic)
[skip ci]

* New translations emails.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Italian)
[skip ci]

* New translations site.xml (French)
[skip ci]

* New translations study.xml (Malayalam)
[skip ci]

* New translations emails.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Polish)
[skip ci]

* New translations emails.xml (Sorani (Kurdish))
[skip ci]

* New translations emails.xml (Sorani (Kurdish))
[skip ci]

* New translations emails.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Kurmanji (Kurdish))
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]

* New translations study.xml (English, United States)
[skip ci]

* New translations site.xml (Danish)
[skip ci]

* New translations site.xml (Latvian)
[skip ci]

* New translations site.xml (German)
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]

* New translations site.xml (Sorani (Kurdish))
[skip ci]
2019-08-27 08:07:25 +02:00
Thibault Duplessis a287c78a3d Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila:
  fix pluralization in correspondence clock (closes #5336)
  join -> resume in tourney reminder (#2406)
  i18n: finishes %s ... (similar to The timeout expires %s)
  trans-sanity-check: downgrade missing placeholder in singular to warning
  i18n: tweak xBroughtToYouByY
  move percentile rounding to controller
  add san, fen, pgn to i18n sanity dictionary
2019-08-27 08:06:46 +02:00
ProgramFOX a328730992 Expose tournament ID in game API
Note that **it's intentional** that tournamentId does not immediately get added to the first Json.obj. The reason is that when tournamentId is None, the JSON will contain `"tournament":null` which gives just as much information as leaving the field out, and we don't want to make our HTTP response bigger for nothing...
2019-08-27 01:45:49 +02:00
Thibault Duplessis a3115d26f9 don't redirect simul host while replaying a game 2019-08-27 00:02:25 +02:00
Niklas Fiekas 3cffe94883 fix pluralization in correspondence clock (closes #5336) 2019-08-26 18:12:50 +02:00
Niklas Fiekas d47035b4d9 join -> resume in tourney reminder (#2406) 2019-08-26 17:53:05 +02:00
Niklas Fiekas b0ecda5f1e i18n: finishes %s ... (similar to The timeout expires %s) 2019-08-26 17:12:35 +02:00
Niklas Fiekas 8f93e64ff9 trans-sanity-check: downgrade missing placeholder in singular to warning 2019-08-26 16:12:28 +02:00
Niklas Fiekas 1dd84044cf i18n: tweak xBroughtToYouByY 2019-08-26 14:25:19 +02:00
Niklas Fiekas 858e299d0a move percentile rounding to controller 2019-08-26 14:10:52 +02:00
Niklas Fiekas b7320bea88 add san, fen, pgn to i18n sanity dictionary 2019-08-26 14:10:52 +02:00
Thibault Duplessis d2492268c1 tweak game bson handler 2019-08-26 13:02:34 +02:00
Thibault Duplessis 2297e8ddce remove Game.next 2019-08-26 12:56:21 +02:00
Thibault Duplessis 5425022574 fix bot rematch - closes #5461 2019-08-26 10:05:56 +02:00
Thibault Duplessis ae9ec4a59f Rematcher no longer needs GameProxy 2019-08-26 09:49:39 +02:00
Thibault Duplessis e34ed876f5 Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila:
  i18n: rating distribution chart
  build rating distribution as json
  i18n: crosstable
  rewrite crosstable with scalatags
2019-08-26 09:33:31 +02:00
Thibault Duplessis 23683e5e70 move hold alerts out of the Player object (untested)
Because we manipulate so many player objects,
and because we rarely care about hold alerts,
it makes sense to fetch them through a
dedicated DB query.
2019-08-25 18:03:58 +02:00
Niklas Fiekas 9942972931 i18n: rating distribution chart 2019-08-25 15:22:16 +02:00
Niklas Fiekas 0761e1c17e build rating distribution as json 2019-08-25 15:22:16 +02:00
Niklas Fiekas 50f786a5f8 i18n: crosstable 2019-08-25 15:22:16 +02:00
Niklas Fiekas 13b100fe49 rewrite crosstable with scalatags 2019-08-25 15:20:56 +02:00
Thibault Duplessis 8a41bfdb51 flag chat messages 2019-08-25 13:41:03 +02:00
Thibault Duplessis f2d1a24b93 swag/qa redirects 2019-08-25 13:41:03 +02:00
Thibault Duplessis 7c334fd240
Merge pull request #5459 from ornicar/playban-i18n
Make playban warning translatable
2019-08-25 13:28:18 +02:00
ProgramFOX 5ae782d3e7 Fix 'The timeout expires' string 2019-08-25 13:26:40 +02:00
Thibault Duplessis 4f47baad8f
Merge pull request #5458 from ornicar/log-automatic-warnings
Log automatic warnings in the mod log
2019-08-25 12:59:39 +02:00
Thibault Duplessis 535db5c266 bigger analysis board control buttons 2019-08-25 11:01:23 +02:00
ProgramFOX 063695b4b0 Make playban warning translatable
Fixes #3732

Partial #5239
2019-08-25 10:54:32 +02:00
Thibault Duplessis 5e339b0fca study pgn validation feedback 2019-08-25 10:14:37 +02:00
Thibault Duplessis b73a4d5011 show PGN import error - closes #5320 2019-08-25 09:35:51 +02:00
ProgramFOX 2cc7e6d146 Log automatic warnings in the mod log 2019-08-25 09:16:47 +02:00
Thibault Duplessis a66ab63c19 upgrade scalachess 2019-08-25 09:04:37 +02:00
Thibault Duplessis 4b64220f8a directly link to the spreadshirt shop instead of embedding - fixes #5441
it lets spreadshirt handle the geo redirect
2019-08-25 00:48:00 +02:00
Thibault Duplessis c161fe1bc9
Merge pull request #5453 from ornicar/sitcounter-pool-bonus-malus
Pool matchmaking: bonuses/maluses based on sit counter
2019-08-25 00:37:45 +02:00
Thibault Duplessis 579448cec6
Merge pull request #5455 from ornicar/arena-stallers
Automatically pause stallers in arenas
2019-08-25 00:30:26 +02:00
ProgramFOX 8dabb22781 Remove PlaybanApi from Tournament Env 2019-08-25 00:17:27 +02:00
ProgramFOX fc5a9df65b Keep the PlaybanApi out of the TournamentApi 2019-08-25 00:10:08 +02:00
ProgramFOX cb277db10e Automatically pause stallers in arenas 2019-08-24 23:34:40 +02:00
Thibault Duplessis 0535133cbf better show server latency 2019-08-24 18:50:16 +02:00
ProgramFOX 43953aea5e Reduce maximum missBonus for people with a bad sit counter 2019-08-24 17:25:34 +02:00
Thibault Duplessis afa9c78e3d keep rematch offers in the heap! 2019-08-24 17:20:36 +02:00
ProgramFOX 1d87f24344 Bonus/malus for pool matchmaking based on sit counter 2019-08-24 17:15:12 +02:00
Thibault Duplessis 904e68f3b7 fix goodReferrer regex didn't accept minus signs 2019-08-24 15:57:30 +02:00
Thibault Duplessis bdab4f4564 update client-side chat spam list 2019-08-24 15:36:40 +02:00
Thibault Duplessis dac810864d
Merge pull request #5451 from ornicar/sitcounter-warn-close
Automatic warning and closure based on sit counter
2019-08-24 15:27:13 +02:00
Thibault Duplessis cf8aa79068 remove closeAccount function that doesn't actually close the account 2019-08-24 15:25:54 +02:00