Commit graph

43211 commits

Author SHA1 Message Date
Thibault Duplessis 70e809156c
Merge pull request #8964 from benediktwerner/fix-music-preload
Don't preload sounds for music set
2021-05-18 10:44:34 +02:00
Benedikt Werner 648854e868
Don't preload sounds for music set 2021-05-18 10:12:10 +02:00
Thibault Duplessis 7601d92d20 rename profile form field to "country or flag" 2021-05-18 09:27:57 +02:00
Thibault Duplessis 017a66f9bd automatic email for account erasure 2021-05-18 09:24:26 +02:00
Thibault Duplessis 55ba3188b7 zalgo text in mod log 2021-05-18 09:14:43 +02:00
Thibault Duplessis b0a80d6aae let mods view tournaments of closed accounts 2021-05-18 09:11:40 +02:00
Thibault Duplessis c4420704a3 only enabled users can login with a magic link 2021-05-18 09:02:38 +02:00
Thibault Duplessis dcbd5d3adc only enabled accounts can be invited to classes 2021-05-18 09:01:46 +02:00
Thibault Duplessis cce1c3eabc mobile round material display adjustments - for #8936
move usernames farther from the board
username rof bigger than material row
better align usernames
2021-05-18 08:54:09 +02:00
Thibault Duplessis d4e464d2d8 mobile view round material margin - for #8936 2021-05-18 08:36:27 +02:00
Thibault Duplessis b4f4d973c0
Merge pull request #8863 from Konstantinos07/learn-instructions
Improve Learn instructions - closes #7642
2021-05-18 08:26:07 +02:00
Thibault Duplessis 179d3329f0 yarn run format 2021-05-18 08:15:00 +02:00
Thibault Duplessis 9cff3daf41
Merge pull request #8936 from JobNoorman/mobile-material-difference
Show material difference in 1-column view
2021-05-18 08:12:50 +02:00
Thibault Duplessis 19a522c8bc
Merge pull request #8958 from niklasf/sync-3d-boards
sync 3d board theme selector with css
2021-05-18 08:03:17 +02:00
Thibault Duplessis bdf415b9dd
Merge pull request #8962 from andresrcom/fix-infinite-puzzle-streak
fix for puzzle streak infinite tries bug
2021-05-18 08:02:01 +02:00
Thibault Duplessis d86f1916bf expose analysis controller for extensions
Usage:

console.log(lichess.analysis);
console.log(lichess.analysis.data);

Use at your own risks, future lichess updates won't
guaranty compatibility
2021-05-17 21:56:36 +02:00
andresrcom 2796492d31 fix for puzzle streak infinite tries bug 2021-05-17 21:17:59 +03:00
Niklas Fiekas d803ac4d7c sync 3d board themes with css file 2021-05-17 16:01:04 +02:00
Niklas Fiekas 811a128686 stylesheets/shepherd.css does not exist 2021-05-17 15:25:55 +02:00
Niklas Fiekas c236821b6c add ui/puz artifacts to .prettierignore 2021-05-17 15:08:57 +02:00
Thibault Duplessis c475971aa7 scala 2.13.6 2021-05-17 14:02:32 +02:00
Job Noorman 4f3b2cb2f4 Show material difference in 1-column view
To avoid losing vertical space, the material difference is shown above
(top) or below (bottom) the user name next to the clock, similar to
lichobile. The downside of this is that it may look a bit awkward when
there is no material difference to show as the user name isn't
vertically centered then.

Since the pocket for Crazy House was using the same grid-area as the
material difference, and this grid-area is now moved below the user
name, this commit adds new grid-areas just for the pockets in 1-column
mode. The mobile view for Crazy House should therefore be unchanged by
this commit, except for the user name alignment issue mentioned above.

This fixes #5059.
2021-05-17 12:12:24 +02:00
Thibault Duplessis 7ba817831e fix shapes icon in analysis move tree 2021-05-17 08:50:01 +02:00
Thibault Duplessis 6e49cd5303
New Crowdin updates (#8950)
* New translations: study.xml (Norwegian Nynorsk)

* New translations: site.xml (Danish)

* New translations: study.xml (Danish)

* New translations: site.xml (Norwegian Nynorsk)

* New translations: study.xml (Lithuanian)

* New translations: site.xml (Hungarian)

* New translations: study.xml (Hungarian)

* New translations: study.xml (Catalan)

* New translations: site.xml (German)

* New translations: study.xml (Spanish)

* New translations: site.xml (Russian)

* New translations: site.xml (Slovenian)

* New translations: study.xml (Slovenian)

* New translations: study.xml (Danish)

* New translations: study.xml (Greek)

* New translations: study.xml (Hungarian)

* New translations: study.xml (Danish)

* New translations: study.xml (Finnish)

* New translations: study.xml (Hungarian)

* New translations: site.xml (Latvian)

* New translations: study.xml (Latvian)

* New translations: study.xml (Catalan)

* New translations: faq.xml (German)

* New translations: study.xml (Greek)

* New translations: study.xml (Finnish)

* New translations: study.xml (Hungarian)

* New translations: study.xml (Russian)

* New translations: study.xml (Latvian)

* New translations: study.xml (German)

* New translations: study.xml (Greek)

* New translations: study.xml (Russian)

* New translations: study.xml (German)

* New translations: site.xml (Polish)

* New translations: study.xml (Polish)

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

* New translations: site.xml (German)

* New translations: site.xml (Lithuanian)

* New translations: study.xml (Lithuanian)

* New translations: study.xml (Lithuanian)

* New translations: study.xml (Turkish)

* New translations: study.xml (Turkish)

* New translations: study.xml (Bosnian)

* New translations: study.xml (Turkish)

* New translations: study.xml (Bosnian)

* New translations: study.xml (Turkish)

* New translations: team.xml (Azerbaijani)

* New translations: tfa.xml (Azerbaijani)

* New translations: study.xml (French)

* New translations: team.xml (Azerbaijani)

* New translations: site.xml (French)

* New translations: study.xml (French)

* New translations: study.xml (French)

* New translations: study.xml (French)

* New translations: study.xml (Romanian)

* New translations: study.xml (Finnish)

* New translations: study.xml (German)

* New translations: site.xml (Finnish)

* New translations: study.xml (Finnish)

* New translations: study.xml (French)

* New translations: study.xml (Spanish)

* New translations: study.xml (German)

* New translations: study.xml (Italian)

* New translations: study.xml (Italian)

* New translations: site.xml (Italian)

* New translations: study.xml (Italian)

* New translations: emails.xml (Italian)

* New translations: activity.xml (Italian)

* New translations: study.xml (Spanish)

* New translations: site.xml (Spanish)

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

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

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

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

* New translations: site.xml (German)

* New translations: study.xml (German)

* New translations: study.xml (Dutch)

* New translations: study.xml (Dutch)

* New translations: study.xml (Irish)

* New translations: site.xml (Irish)

* New translations: study.xml (Irish)

* New translations: study.xml (Basque)

* New translations: study.xml (Norwegian Nynorsk)

* New translations: site.xml (Basque)

* New translations: study.xml (Basque)

* New translations: study.xml (Norwegian Nynorsk)
2021-05-17 07:45:09 +02:00
Thibault Duplessis 19217fe4e1 always show lichess tournaments on swiss homepage 2021-05-16 16:11:58 +02:00
Thibault Duplessis d5cedf96e0 tweak translated study glyphs endpoint - for #8876 2021-05-16 09:49:49 +02:00
Thibault Duplessis 7a3ac9748c
Merge pull request #8876 from benediktwerner/translate-glyphs
Make glyphs translatable
2021-05-16 09:19:31 +02:00
Thibault Duplessis 4f7b7d39b9
Merge branch 'master' into translate-glyphs 2021-05-16 09:19:15 +02:00
Thibault Duplessis ab80523842
New Crowdin updates (#8929)
* New translations: patron.xml (Telugu)

* New translations: patron.xml (Telugu)

* New translations: patron.xml (Telugu)

* New translations: site.xml (Korean)

* New translations: team.xml (Korean)

* New translations: site.xml (Czech)

* New translations: team.xml (Czech)

* New translations: site.xml (Turkish)

* New translations: site.xml (Telugu)

* New translations: site.xml (Telugu)

* New translations: puzzle.xml (Swedish)

* New translations: site.xml (German)

* New translations: site.xml (Chinese Simplified)

* New translations: team.xml (Chinese Simplified)

* New translations: puzzleTheme.xml (Chinese Simplified)

* New translations: puzzle.xml (Portuguese)

* New translations: team.xml (Norwegian Bokmal)

* New translations: team.xml (Korean)

* New translations: team.xml (Czech)

* New translations: team.xml (Spanish)

* New translations: team.xml (Bulgarian)

* New translations: team.xml (German)

* New translations: team.xml (Hindi)

* New translations: team.xml (Chinese Simplified)

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

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

* New translations: faq.xml (Japanese)

* New translations: puzzle.xml (Chinese Simplified)

* New translations: puzzle.xml (Croatian)

* New translations: team.xml (Croatian)

* New translations: activity.xml (Croatian)

* New translations: storm.xml (Greek)

* New translations: tourname.xml (Greek)

* New translations: tourname.xml (Greek)

* New translations: tourname.xml (Greek)

* New translations: puzzle.xml (Chinese Simplified)

* New translations: study.xml (German)

* New translations: study.xml (Russian)

* New translations: site.xml (Latvian)

* New translations: study.xml (Latvian)

* New translations: storm.xml (Spanish)
2021-05-16 09:18:20 +02:00
Thibault Duplessis bbd2ba4caa hardcode accessibility cookie max age
still one year
2021-05-16 09:10:02 +02:00
Thibault Duplessis fc91067546 upgrade reactivemongo to 1.0.4 2021-05-16 09:01:27 +02:00
Thibault Duplessis c1b6e62491 document scrolling on computer variations - for #8892 2021-05-16 08:59:59 +02:00
Thibault Duplessis d6db8b0e30
Merge pull request #8892 from diogoaj/issue-8738
Add logic to step through the analysis board preview with the mouse wheel
2021-05-16 08:55:15 +02:00
Thibault Duplessis c0eafd4e46
Merge branch 'master' into issue-8738 2021-05-16 08:54:44 +02:00
Thibault Duplessis 9b75997979
Merge pull request #8874 from benediktwerner/fix-analysis-pv-hover-touch
Fix analysis lines hover chessboard on touch
2021-05-16 08:46:01 +02:00
tors42 e171d632e1
Add optional estimated start time for Simuls (#8887)
* Add optional estimated start time for Simuls

Add an optional estimated start time for Simuls, in case the host wants
to create a simul some time in advance.

Previously the only way to indicate start time (unless immediate...) was
to write a start time in the Simul description. One problem with such a
solution is that the start time from the text won't be displayed in
users local time zones.

This commit adds a field, which is optional, which can be used to give
an estimate of at what time the host intends to click the Start button.

* wip - Pull Request feedback

Remove unused (and wrongly typed) field

* wip - Pull Request feedback

Remove non-information-adding help message

* wip - Pull Request feedback

Move the $unset logic into the existing update method

* wip - Pull Request feedback

Update the $unset logic,
to run in the same coll.update call

* wip - Pull Request feedback

Update to not use if-else branches
2021-05-16 08:44:20 +02:00
Thibault Duplessis 47c34204bb
Merge pull request #8870 from sharadsw/issue-8618
Shortcuts for next/prev study chapters: resolves #8618
2021-05-16 08:38:54 +02:00
Thibault Duplessis b93be914a1
Merge pull request #8944 from Cubox/master
Add DSB rating to user profile
2021-05-16 08:36:45 +02:00
Thibault Duplessis ee732c999e
Merge pull request #8945 from kraktus/hunter_perm
fix hunter perms
2021-05-16 08:35:54 +02:00
Thibault Duplessis d08006d693 fix study share translation - closes #8946 2021-05-16 08:35:23 +02:00
Thibault Duplessis d154719f05 ignore refused move when bot accepts a draw
closes lichess-org/api#108
2021-05-16 08:33:21 +02:00
Andy Pilate f6804d723c Add DSB rating to user profile 2021-05-15 19:27:31 +02:00
kraktus 7f4c000220 fix hunter perms
Let them access mod leaderboard
2021-05-15 19:13:18 +02:00
Benedikt Werner 3e5f391ed0
Remove duplication in #8870 2021-05-15 13:24:08 +02:00
Niklas Fiekas dad96346f7 try careful lossy jpg optimization for large board images 2021-05-15 12:54:04 +02:00
Niklas Fiekas 5d2fdac936 unify board image naming 2021-05-15 12:25:37 +02:00
Niklas Fiekas d4953e1e43 remove unused board images 2021-05-15 12:09:01 +02:00
Thibault Duplessis 47c04955ac fix confirm duplicated email 2021-05-15 09:44:10 +02:00
Thibault Duplessis 229f5685f3 to get Patron wings, use the donation form 2021-05-15 09:36:22 +02:00
Thibault Duplessis d8c4fc5962 only show started games in multiboard - closes #8935 2021-05-15 09:30:52 +02:00