Commit graph

28957 commits

Author SHA1 Message Date
Vincent Velociter 60b9e15b7d Add current ban to account info 2018-04-27 14:42:02 +02:00
Thibault Duplessis 3d17926481 player can see spectator chat after the game is over 2018-04-27 06:11:15 +02:00
Thibault Duplessis abb6bed643 inc assets version 2018-04-27 04:55:38 +02:00
Thibault Duplessis bb6a400b59
New Crowdin translations (#4305)
* New translations site.xml (Lithuanian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Catalan)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations emails.xml (Latvian)

* New translations emails.xml (Latvian)

* New translations emails.xml (Latvian)

* New translations activity.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations site.xml (Croatian)

* New translations site.xml (German)

* New translations site.xml (Lithuanian)

* New translations site.xml (Lithuanian)

* New translations site.xml (Portuguese, Brazilian)

* New translations site.xml (German)

* New translations site.xml (German)

* New translations site.xml (German)

* New translations site.xml (Galician)

* New translations site.xml (Galician)

* New translations site.xml (Galician)

* New translations site.xml (Korean)

* New translations site.xml (Korean)

* New translations site.xml (Korean)

* New translations site.xml (Korean)
2018-04-27 04:55:00 +02:00
Thibault Duplessis cd0c8ad748 fix new access tokens 2018-04-27 04:13:07 +02:00
Thibault Duplessis db0eb2316a add games export analysed filter and evals projection 2018-04-27 04:00:31 +02:00
Thibault Duplessis 1522b9ee41 remove APIs now documented at lichess.org/api 2018-04-27 02:25:46 +02:00
Thibault Duplessis 23c61efc8b fix spam tests 2018-04-27 02:09:40 +02:00
Thibault Duplessis 695d443372
Merge pull request #4310 from niklasf/remove-jsonp
remove (insecure) jsonp
2018-04-27 02:06:22 +02:00
Thibault Duplessis c8e95cd8c6 move bot endpoints to /api/ 2018-04-27 02:04:45 +02:00
Thibault Duplessis 8724766fc7 no longer mix cookies and oauth on any endpoint
With an exception for /games/export/:username.

This endpoint works without any auth, with cookie auth, and with oauth.
The only difference is in throttling.
2018-04-27 01:58:29 +02:00
Niklas Fiekas 250c0277e8 remove (insecure) jsonp 2018-04-27 01:54:58 +02:00
Thibault Duplessis 9a2dd5f1e2 ensure API requests have no cookie based Context 2018-04-27 01:27:52 +02:00
Thibault Duplessis 0d1bc01f7c
Merge pull request #4309 from isaacl/stringOpts
Optimize StringUtils methods
2018-04-26 23:19:28 +02:00
Thibault Duplessis c84f8a8f3d
Merge pull request #4307 from niklasf/mate-in-0
Revert "ignore #0 at ceval client level"
2018-04-26 23:00:56 +02:00
Thibault Duplessis 58551c69df
Merge pull request #4308 from ProgramFOX/patch-3
Remove "bot" from shutup dictionary
2018-04-26 22:56:19 +02:00
Thibault Duplessis 950fa3c76b fix study chapter PGN import 2018-04-26 22:50:36 +02:00
Thibault Duplessis 7356d6a64d hide spectator chat from players on user TVs 2018-04-26 21:10:18 +02:00
Thibault Duplessis 35a593e064 don't send bots titled tournament notifications 2018-04-26 20:46:36 +02:00
Isaac Levy b64be28ee9 Optimize StringUtils methods
And prep for other regex improvements.

jmh benchmarks, 100 char str, ns/op:
safeJson
- java 8 dirty   730 => 513
- java 8 clean   383 => 318
- java 10 dirty  595 => 476
- java 10 clean  423 => 300

escapeHtml
- java 8 dirty   423 => 278
- java 10 dirty  417 => 305
2018-04-26 14:40:09 -04:00
ProgramFOX 40b01ce02d
Remove "bot" from shutup dictionary
I got auto-insultreported for helping someone set up a Lichess bot - I guess that this line is better ignored now we have BOT accounts.
2018-04-26 20:16:34 +02:00
Niklas Fiekas bf2d63158b enable UCI_AnalyseMode in ceval 2018-04-26 18:21:03 +02:00
Niklas Fiekas 603f5d9144 Revert "ignore #0 at ceval client level"
This reverts commit 065d76e4a8.
2018-04-26 18:08:53 +02:00
Thibault Duplessis c1cba87494 accept up to 1MB form data 2018-04-26 17:57:12 +02:00
Thibault Duplessis a9493c91dd import study PGN with XHR 2018-04-26 17:56:14 +02:00
Thibault Duplessis 728bdd5d1d code formatting 2018-04-26 17:55:37 +02:00
Thibault Duplessis a06bbeccf0 log weird error handler codec exception 2018-04-26 16:51:44 +02:00
Thibault Duplessis 4265a53c45 change irwin thresholds 2018-04-26 14:53:38 +02:00
Thibault Duplessis f822d1b02f bot abort 400 2018-04-26 05:32:09 +02:00
Thibault Duplessis bb7ce856af inc assets version 2018-04-26 05:21:20 +02:00
Thibault Duplessis 85c5b911fa
New Crowdin translations (#4294)
* New translations site.xml (Lithuanian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations site.xml (Catalan)

* New translations site.xml (Latvian)

* New translations site.xml (Latvian)

* New translations emails.xml (Latvian)

* New translations emails.xml (Latvian)

* New translations emails.xml (Latvian)

* New translations activity.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations learn.xml (Latvian)

* New translations site.xml (Croatian)

* New translations site.xml (German)

* New translations site.xml (Lithuanian)

* New translations site.xml (Lithuanian)

* New translations site.xml (Portuguese, Brazilian)
2018-04-26 05:19:30 +02:00
Thibault Duplessis 13f1943958 restore analysis deep link - closes #4260 2018-04-26 05:14:20 +02:00
Thibault Duplessis 802a5fa6dd fix #4268 2018-04-26 04:45:50 +02:00
Thibault Duplessis 0aa587d0ea show podium titles, reduce letter spacing - closes #4288 2018-04-26 04:43:45 +02:00
Thibault Duplessis 8afeae4d7a fix #4293 2018-04-26 04:33:26 +02:00
Thibault Duplessis dfc1304cc9 https 2018-04-25 18:18:41 +02:00
Thibault Duplessis 61c0958bb1 update streamer page 2018-04-25 17:21:58 +02:00
Thibault Duplessis 05a95c328d disable cheat detection on bot accounts 2018-04-25 04:42:55 +02:00
Thibault Duplessis 5d387de0f6 tweak collector 2018-04-25 04:42:55 +02:00
Thibault Duplessis 033b138234 tweak tablebase url 2018-04-25 04:42:55 +02:00
Thibault Duplessis 1b9be6df51
Merge pull request #4302 from niklasf/practice-variant-tbs
fix variant tablebase usage in practice (closes #4287)
2018-04-25 01:37:23 +02:00
Niklas Fiekas 76fff70007 fix variant tablebase usage in practice (closes #4287) 2018-04-24 23:38:14 +02:00
Thibault Duplessis 585c66fe17 fix user rating vs bot 2018-04-24 05:32:53 +02:00
Thibault Duplessis 3116b563d3 log round errors in dev 2018-04-24 05:32:46 +02:00
Thibault Duplessis 8511899431 secure bot endpoints 2018-04-23 20:03:31 +02:00
Thibault Duplessis c8f6a16d98 reduce chat filters 2018-04-23 15:24:26 +02:00
Thibault Duplessis f7b3c562d7 filter game export by colour 2018-04-23 14:54:12 +02:00
Thibault Duplessis b1fdfeda0b allow filter games by multiple perf types 2018-04-23 14:35:52 +02:00
Thibault Duplessis eb39c5420f bot monitoring 2018-04-23 05:25:21 +02:00
Thibault Duplessis 4ed73f139d make bot ignore challenges of offline players 2018-04-23 05:24:38 +02:00