Commit Graph

44249 Commits (hotfix-passive-listeners)

Author SHA1 Message Date
Thibault Duplessis 7fc2b0cb5d add chat spam domain 2021-07-28 21:24:48 +02:00
Benedikt Werner 69a08efae8
Fix event listeners that shouldn't be passive 2021-07-27 09:36:19 +02:00
Thibault Duplessis 98ad645e6c
Merge pull request #9445 from benediktwerner/block-aborted-rematch
Block rematch on aborted rated game
2021-07-23 09:41:34 +02:00
Thibault Duplessis e0bb2b453d simplify zulip client 2021-07-23 08:38:24 +02:00
Thibault Duplessis fb9f101537 fix string interpolation 2021-07-23 08:09:32 +02:00
kraktus 279d4e1299
Automatically create a dox note when creating a zulip appeal topic (#9446)
* Move `urlencode` to `common.String`

* Auto dox note when creating a zulip appeal topic

close https://github.com/lichess-org/tavern/issues/97

I had to hard-code the stream id of `mod-admin-appeal` in order to get a link redirecting to the messages. Other options considered:
* Include the stream id of that channel in the zulip-config.
* Fetch it from the zulip Api
* Use another form of link: `https://DOMAIN_NAME/#narrow/id/MSG_ID` or `https://DOMAIN_NAME/#narrow/near/MSG_ID` but after that you need another click to see full conversation (narrow to the stream)

Tested with a real zulip server.

* scalafmt and CamelCase

* Fix link, stream-id not needed in the end

* url-encode the stream name as well
2021-07-23 07:59:37 +02:00
Thibault Duplessis 5d5446324f
New Crowdin updates (#9428)
* New translations: site.xml (Danish)

* New translations: site.xml (Azerbaijani)

* New translations: site.xml (French)

* New translations: emails.xml (Luganda)

* New translations: site.xml (Azerbaijani)

* New translations: activity.xml (Sinhala)

* New translations: activity.xml (Sinhala)

* New translations: storm.xml (Sinhala)

* New translations: site.xml (Bulgarian)

* New translations: site.xml (Bulgarian)

* New translations: storm.xml (Bulgarian)

* New translations: team.xml (Bulgarian)

* New translations: team.xml (Bulgarian)

* New translations: study.xml (Bulgarian)

* New translations: team.xml (Bulgarian)

* New translations: class.xml (Bulgarian)

* New translations: class.xml (Bulgarian)

* New translations: class.xml (Bulgarian)

* New translations: contact.xml (Bulgarian)

* New translations: contact.xml (Bulgarian)

* New translations: contact.xml (Bulgarian)

* New translations: contact.xml (Bulgarian)

* New translations: patron.xml (Bulgarian)

* New translations: coach.xml (Bulgarian)

* New translations: streamer.xml (Bulgarian)

* New translations: patron.xml (Bulgarian)

* New translations: coach.xml (Bulgarian)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: storm.xml (Sinhala)

* New translations: activity.xml (Sinhala)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: site.xml (French)

* New translations: faq.xml (Turkish)

* New translations: team.xml (Turkish)

* New translations: lag.xml (Turkish)

* New translations: lag.xml (Turkish)

* New translations: lag.xml (Turkish)

* New translations: settings.xml (Armenian)

* New translations: settings.xml (Armenian)

* New translations: tourname.xml (Armenian)

* New translations: tourname.xml (Armenian)

* New translations: perfStat.xml (Kazakh)

* New translations: perfStat.xml (Kazakh)

* New translations: tourname.xml (Armenian)

* New translations: study.xml (Armenian)

* New translations: contact.xml (Armenian)

* New translations: study.xml (Armenian)

* New translations: study.xml (Armenian)

* New translations: study.xml (Armenian)

* New translations: streamer.xml (Armenian)

* New translations: streamer.xml (Armenian)

* New translations: perfStat.xml (German)

* New translations: site.xml (Chinese Traditional)

* New translations: site.xml (English, United States)

* New translations: site.xml (Chinese Traditional)

* New translations: site.xml (Chinese Traditional)

* New translations: site.xml (Chinese Traditional)

* New translations: swiss.xml (German, Switzerland)

* New translations: swiss.xml (Polish)

* New translations: swiss.xml (Dutch)

* New translations: swiss.xml (Irish)

* New translations: swiss.xml (Bulgarian)

* New translations: swiss.xml (Belarusian)

* New translations: swiss.xml (Danish)

* New translations: swiss.xml (German)

* New translations: swiss.xml (Portuguese, Brazilian)

* New translations: faq.xml (Turkish)

* New translations: faq.xml (Turkish)

* New translations: site.xml (Kannada)

* New translations: study.xml (Chinese Simplified)

* New translations: site.xml (Chinese Simplified)

* New translations: study.xml (Chinese Simplified)

* New translations: site.xml (Chinese Simplified)

* New translations: contact.xml (Chinese Simplified)

* New translations: swiss.xml (Portuguese)

* New translations: study.xml (Portuguese)

* New translations: swiss.xml (Portuguese)

* New translations: coach.xml (Armenian)

* New translations: team.xml (Bulgarian)

* New translations: swiss.xml (Bulgarian)

* New translations: swiss.xml (Bulgarian)

* New translations: swiss.xml (Bulgarian)

* New translations: site.xml (Dutch)

* New translations: tfa.xml (Dutch)

* New translations: tfa.xml (Dutch)

* New translations: tfa.xml (Armenian)

* New translations: preferences.xml (Kazakh)

* New translations: site.xml (Kazakh)

* New translations: site.xml (Bulgarian)

* New translations: site.xml (Japanese)

* New translations: tourname.xml (Bulgarian)

* New translations: site.xml (Japanese)

* New translations: puzzle.xml (Bulgarian)

* New translations: tourname.xml (Bulgarian)

* New translations: site.xml (Corsican)

* New translations: site.xml (Shona)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: puzzle.xml (Bulgarian)

* New translations: site.xml (Corsican)

* New translations: tourname.xml (Bulgarian)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: swiss.xml (Portuguese)

* New translations: swiss.xml (Bulgarian)

* New translations: puzzleTheme.xml (Armenian)

* New translations: site.xml (Toki Pona)

* New translations: site.xml (Toki Pona)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Korean)

* New translations: site.xml (Cebuano)

* New translations: site.xml (Cebuano)

* New translations: site.xml (Cebuano)

* New translations: faq.xml (Danish)

* New translations: arena.xml (Danish)

* New translations: site.xml (Breton)

* New translations: swiss.xml (Polish)

* New translations: preferences.xml (German)

* New translations: faq.xml (Armenian)

* New translations: faq.xml (Armenian)

* New translations: team.xml (Armenian)

* New translations: team.xml (Armenian)

* New translations: team.xml (Armenian)

* New translations: team.xml (Armenian)

* New translations: team.xml (Armenian)

* New translations: team.xml (Armenian)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: site.xml (Corsican)

* New translations: storm.xml (Danish)

* New translations: site.xml (Danish)

* New translations: arena.xml (Esperanto)

* New translations: arena.xml (Esperanto)

* New translations: site.xml (Esperanto)

* New translations: site.xml (Esperanto)

* New translations: site.xml (Esperanto)
2021-07-23 07:59:12 +02:00
Benedikt Werner 6bc23ef498
Fix condition 2021-07-22 21:35:01 +02:00
Benedikt Werner f755b68ccb
Only block aborted rematchs in lobby & pool 2021-07-22 21:33:05 +02:00
Thibault Duplessis fc813d1a76 improve racer animations 2021-07-22 16:02:09 +02:00
Thibault Duplessis 1b59a3bc95 faster storm/racer animations 2021-07-22 16:01:17 +02:00
Thibault Duplessis 243a05bde5 Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila:
  Clear local eval cache on pv count change - fixes #9393
  Init pvUciQueue on start to avoid errors
  CSS: Fix racer rematch button overflow
  Fix puzzle dashboard on mobile
  CSS: Fix coordinate training explanation on mobile
  CSS: Fix storm end screen on mobile
  yarn.lock: Chessground 8.1.4
  CSS: Fix keyboard modal border
  Change <a> without href to <button>
  CSS: Fix modal button focus
  CSS: Remove unnecessary margin-top from lobby setup range slider
  CSS: Don't set .user-link.online color twice
  Preserve patron plan settings on currency change
  Add right margin to analysis option sliders
2021-07-22 15:51:35 +02:00
Thibault Duplessis 9ec243c2c1
Merge pull request #9444 from benediktwerner/currency-change-persistency
Preserve patron plan settings on currency change
2021-07-22 08:22:03 +02:00
Thibault Duplessis 4874517402 update dict 2021-07-22 08:18:23 +02:00
Benedikt Werner 8066ef26e8
Block rematch on aborted rated game 2021-07-22 05:05:27 +02:00
Benedikt Werner f07a1a7158
Clear local eval cache on pv count change - fixes #9393 2021-07-22 04:23:09 +02:00
Benedikt Werner a1782f0358
Init pvUciQueue on start to avoid errors 2021-07-22 04:22:28 +02:00
Benedikt Werner 56b7f33514
CSS: Fix racer rematch button overflow 2021-07-22 04:08:16 +02:00
Benedikt Werner 68ea530ae5
Fix puzzle dashboard on mobile 2021-07-22 02:47:38 +02:00
Benedikt Werner 72e91e2284
CSS: Fix coordinate training explanation on mobile 2021-07-22 02:16:38 +02:00
Benedikt Werner 9b37c560b3
CSS: Fix storm end screen on mobile 2021-07-22 00:56:26 +02:00
Benedikt Werner 9e7df938c3
yarn.lock: Chessground 8.1.4 2021-07-21 23:54:50 +02:00
Benedikt Werner 0aa50b5ffc
CSS: Fix keyboard modal border 2021-07-21 23:54:05 +02:00
Benedikt Werner 593059146f
Change <a> without href to <button> 2021-07-21 22:46:56 +02:00
Benedikt Werner d249e17a2d
CSS: Fix modal button focus 2021-07-21 22:44:38 +02:00
Benedikt Werner fa82306215
CSS: Remove unnecessary margin-top from lobby setup range slider 2021-07-21 22:18:48 +02:00
Benedikt Werner 223c241673
CSS: Don't set .user-link.online color twice
It's already set in common/css/component/_user-link.scss
2021-07-21 22:14:53 +02:00
Benedikt Werner 6c18d9e767
Preserve patron plan settings on currency change 2021-07-21 21:59:24 +02:00
Benedikt Werner 450c19dc44
Add right margin to analysis option sliders 2021-07-21 20:50:38 +02:00
Thibault Duplessis 9c216fbe90 softer swiss prize warning box 2021-07-21 20:39:16 +02:00
Thibault Duplessis 5bcaa19183 let board/bot API accept open challenges - closes #9433 2021-07-21 20:33:09 +02:00
Thibault Duplessis 9cd7d75531 can't challenge same user 2021-07-21 20:03:31 +02:00
Thibault Duplessis a1fcb19f16 need study:read scope here 2021-07-21 13:01:17 +02:00
Thibault Duplessis d01627edb4 handle invalid searches without 500 2021-07-21 11:39:02 +02:00
Thibault Duplessis 74d4d8689b
Merge pull request #9440 from iamquang95/fix-remove-leader
fix: ability to remove closed leaders
2021-07-21 10:16:56 +02:00
Thibault Duplessis 0a04e44cb2 optimize user selectors 2021-07-21 09:58:02 +02:00
kraktus 81e1e06322
Grey out Swiss trophies for booster as well (#9441)
* Grey out swiss trophies of boosters as well

close https://github.com/lichess-org/tavern/issues/128

* scalafmt
2021-07-21 09:55:16 +02:00
Benedikt Werner eec481243d
Remove questionable quote 2021-07-20 19:52:36 +02:00
Quang Le a66b5695e9 fix: ability to remove closed leaders 2021-07-21 00:10:20 +07:00
Thibault Duplessis 7177d5a0c2 scalachess 10.2.7
for ornicar/scalachess#230
2021-07-20 14:18:47 +02:00
Thibault Duplessis fc7d993a80 upgrade chessground to 8.1.4 2021-07-20 12:20:14 +02:00
Thibault Duplessis 95867a23dc improve storm animations 2021-07-20 12:20:14 +02:00
Thibault Duplessis 405c36200b
Merge pull request #9436 from sharadsw/zen-racer
Add zen mode to puzzle racer
2021-07-20 11:00:38 +02:00
Thibault Duplessis 0084a33db7 better clear user rankings 2021-07-20 10:40:43 +02:00
TheRealSS 19bc34e360 Add zen mode to racer 2021-07-19 21:57:37 +05:30
Thibault Duplessis 06bb854f02 move class teacher 2fa warning 2021-07-19 15:05:45 +02:00
Thibault Duplessis ccbd917a12 fix translation source 2021-07-19 08:50:51 +02:00
Thibault Duplessis acb50ecffd configurable storm/racer animation speed 2021-07-18 16:32:26 +02:00
Thibault Duplessis 2baeeac5d2 {master} prefer manual broadcast round start date 2021-07-18 15:56:55 +02:00
Thibault Duplessis 5299c006c4 add very quick piece animation to storm/racer 2021-07-18 10:11:26 +02:00