kraktus
226b4d4977
Allow to filter mod presets by permissions
...
close https://github.com/lichess-org/tavern/issues/138
2021-10-18 20:42:08 +02:00
Thibault Duplessis
b1a398b66d
personal opening explorer UI WIP
2021-10-18 19:20:52 +02:00
Thibault Duplessis
8c52c97d82
Merge pull request #9981 from benediktwerner/remove-ublog-topics-kerning
...
Remove extreme ublog topics kerning
2021-10-18 11:18:34 +02:00
Thibault Duplessis
462818dd27
lobby anon hook ratelimit tweaks
2021-10-18 10:33:49 +02:00
Thibault Duplessis
c56c59759e
tweak setup ratelimiter
2021-10-18 10:01:24 +02:00
Benedikt Werner
bf89a8e8df
Remove extreme ublog topics kerning
2021-10-17 06:44:44 +02:00
Benedikt Werner
ae01daf9ba
Simplify apiExportByUser
2021-10-17 05:04:51 +02:00
Benedikt Werner
1d18c799a3
Improve error when analysis requests fail
2021-10-16 06:51:30 +02:00
Benedikt Werner
31cd3a5bb1
More storm translations
2021-10-16 04:47:39 +02:00
Benedikt Werner
0f4e5ddbd2
Fix donateAs -> donateAsX translation key
2021-10-16 04:47:04 +02:00
Benedikt Werner
ba2e818d75
Fix streamer edit page bottom padding
2021-10-16 04:05:07 +02:00
Benedikt Werner
cd74b3d1cb
Translate "donate as" on /patron
2021-10-16 03:50:29 +02:00
Benedikt Werner
ef6413b340
Add icon to "advanced search" tab on profile - closes #9943
2021-10-16 03:13:38 +02:00
Benedikt Werner
04c341dcff
Translate "none found" response on friends page
2021-10-16 02:02:31 +02:00
Thibault Duplessis
a9256fa71c
opening explorer export games/sec
2021-10-15 11:23:11 +02:00
Thibault Duplessis
7e4482b238
export 300 games/s to the opening explorer
2021-10-15 10:55:23 +02:00
Thibault Duplessis
919e5b4a60
simplify public chat UI after #9912
2021-10-13 10:55:34 +02:00
frpg
f38de37949
Changing tournament time to status text
2021-10-13 10:55:34 +02:00
frpg
ba94b07029
Adding tournament time indicators to public-chat page
2021-10-13 10:55:34 +02:00
kraktus
171edc0e08
Unify location information permissions
...
I.e make it admin only, ref: https://hq.lichess.ovh/#narrow/stream/23-mod-hunter-cheat/topic/main/near/458583
2021-10-13 10:55:34 +02:00
kraktus
b2bda11860
Better detect the variant used in analysis board
...
fix https://github.com/ornicar/lila/issues/9952
2021-10-13 10:55:34 +02:00
kraktus
95bc46ad5e
Fix inquiry dox note interferring with profile dox note
...
Clicking on dox note on the profile was toggling the switch in the inquiry
2021-10-13 10:55:34 +02:00
kraktus
e6853e9bc1
Remove ublogs from the homepage for kids
...
Cannot access them.
A more radical solution would have been to remove the whole blog div for kids, since kid mode is not focused on communication, to save space. However I don't think there is another easy way to access to the Lichess blogs.
2021-10-13 10:55:34 +02:00
kraktus
1857cdd9b7
Hide profile bio of accounts in kid mode
...
They cannot set it anyway, except if they did it before switching to kid mode.
2021-10-13 10:55:34 +02:00
HuangPatrick16777216
bb5a7e1ca0
Added lishogi.org to list of forks.
2021-10-13 10:55:34 +02:00
Thibault Duplessis
1001dd6800
also export ongoing games in /api/games/user
2021-10-13 10:55:34 +02:00
kraktus
2d0e6df79a
Show shadowban directly in the communication page
...
For https://hq.lichess.ovh/#narrow/stream/34-mod-dev/topic/shadowbans.20in.20PMs.20.28request.29/near/432680
TDLR: make it more clear it's not needed to investigate these players, without hovering the username of each of them.
2021-10-09 13:26:19 +02:00
Thibault Duplessis
b123acf9bc
broadcast tier system - MIGRATION NEEDED - closes #9938
2021-10-07 10:09:02 +02:00
Thibault Duplessis
311a273be8
Merge branch 'opening-wiki'
...
* opening-wiki:
add /dmca route
refactor theory wiki
avoid unnecessary wikibooks API calls
theory wiki style tweaks and mobile view
tweak theory wiki padding
analysis wikibooks theory POC
2021-10-06 19:31:14 +02:00
Thibault Duplessis
c881c36b72
add /dmca route
2021-10-06 19:31:03 +02:00
Thibault Duplessis
d533767784
analysis wikibooks theory POC
2021-10-06 12:06:06 +02:00
Thibault Duplessis
3016ff6253
Merge pull request #9935 from kraktus/dox_note_inquiry
...
Add dox note in inquiry
2021-10-06 08:44:13 +02:00
Thibault Duplessis
1709f2e214
/api/games/user sort query parameter
2021-10-05 21:16:16 +02:00
kraktus
a0426b75f9
Add dox note in inquiry
2021-10-05 18:05:06 +02:00
Thibault Duplessis
9b48fd3ca9
better log and monitor markdown rendering
2021-10-04 21:13:17 +02:00
Thibault Duplessis
70db2863e2
include closed accounts in /api/users
...
Also:
- always use `disabled: true` and not `closed: true` according to docs
- don't release any info about closed accounts
2021-10-03 18:14:09 +02:00
Thibault Duplessis
682dcbfb45
Merge pull request #9916 from benediktwerner/remove-mod-search-method-dropdown
...
Remove mod search method dropdown
2021-10-03 17:36:15 +02:00
Thibault Duplessis
fee89d7af3
casual puzzle play without rating updates
2021-10-03 11:57:07 +02:00
Thibault Duplessis
fbd5d06da5
never wait for ranking computation
2021-10-03 09:45:32 +02:00
Benedikt Werner
506c948568
Remove mod search method dropdown
2021-10-03 07:57:20 +02:00
Thibault Duplessis
d1201d7260
raise to 40 server analysis per day, 200 per week
2021-10-02 20:33:15 +02:00
Thibault Duplessis
99ab44b585
Merge pull request #9910 from kraktus/show_deleted_post_username
...
Show erased's post author to forum mods
2021-10-02 11:52:58 +02:00
kraktus
f63c82fc6f
Show erased's post author to forum mods
2021-10-02 10:21:16 +02:00
Thibault Duplessis
797c7b759a
download all tournament games of a single player
2021-10-02 09:58:20 +02:00
Thibault Duplessis
3fcc14299d
tweaks for #9873
2021-10-02 09:12:48 +02:00
Thibault Duplessis
07b5e7c840
Merge pull request #9873 from romnzs/highlight-original-poster-in-forum-topic
...
Highlight original poster in forum topic
2021-10-02 09:06:46 +02:00
Thibault Duplessis
6788d4659b
Merge branch 'master' of github.com:ornicar/lila
...
* 'master' of github.com:ornicar/lila:
Rename "Creator Badge" to "Content Team Badge"
2021-10-02 08:59:06 +02:00
Benedikt Werner
6a67e9e643
Rename "Creator Badge" to "Content Team Badge"
2021-10-02 08:53:32 +02:00
Thibault Duplessis
21298545c2
refactor & reformat
2021-10-02 08:51:31 +02:00
Thibault Duplessis
ed1a77929a
Merge pull request #9891 from ijhchess/creator-badge
...
creator badge for #9889
2021-10-02 08:43:02 +02:00
Thibault Duplessis
906571a231
Merge pull request #9886 from kraktus/note_every_zulip
...
Create a zulip note whenever a mod sends to Zulip
2021-10-02 08:33:16 +02:00
Thibault Duplessis
1e9900beab
fix number localization on user profile
2021-10-01 09:45:39 +02:00
Thibault Duplessis
63ab3e23aa
code tweak
2021-09-30 09:38:00 +02:00
Thibault Duplessis
149c365521
Merge pull request #9894 from rglbr/clear_notifications
...
allow users to clear notifications
2021-09-29 16:05:55 +02:00
Thibault Duplessis
d045067e0a
tournament controller refactor - after #9878
2021-09-29 09:03:07 +02:00
Thibault Duplessis
f97fa4fbe6
Merge pull request #9878 from nnickoloff1234/tournament-home-html-vs-api-mobile
...
Mobile app to show team tournaments
2021-09-29 08:59:25 +02:00
Thibault Duplessis
82a6c13bf9
show post with incremented views
2021-09-28 14:06:45 +02:00
Thibault Duplessis
498f23c1ac
email us for transfer donations
2021-09-28 09:46:08 +02:00
Thibault Duplessis
c6c7ae4f27
localize number
2021-09-28 08:44:34 +02:00
Niklas Fiekas
fa0f8540cd
fix cheatDetected missing from round jsI18n
2021-09-27 22:05:23 +02:00
Ragul Balaji Ravichandran
15b4ce99c7
allow users to clear notifications
2021-09-26 20:40:54 +05:30
ijhchess
c7828149c8
for #9889
2021-09-25 14:58:50 -05:00
kraktus
0eda25ce08
Create a zulip note whenever a mod sends to Zulip
...
close https://github.com/lichess-org/tavern/issues/136
2021-09-25 14:33:23 +02:00
kraktus
e816570437
Bots cannot like ublogs.
...
For now they can still post blogs, which could be useful to post articles (like maia) on their specifities and/or development.
2021-09-25 11:20:03 +02:00
nickolay
b89fa9a6e0
tourn home same set of tourneys in api and html mode
2021-09-24 22:12:11 +03:00
Thibault Duplessis
7983f75234
fix challenge accept API endpoint when challenge was canceled
2021-09-23 22:35:44 +02:00
romnzs
4c01fc3a4f
Highlight original poster in forum topic
2021-09-23 23:00:22 +03:00
Thibault Duplessis
913fa06d86
show swiss chats instead of self-moderated simul chats in mod view
2021-09-23 17:20:07 +02:00
Thibault Duplessis
65cb30452e
add link to DMCA form to report and contact pages
2021-09-23 16:46:51 +02:00
Thibault Duplessis
7f092e07ac
add DMCA form to /contact
2021-09-23 16:33:19 +02:00
Thibault Duplessis
f467bac4ab
add broadcast PGN endpoints
2021-09-23 10:48:01 +02:00
Thibault Duplessis
63c22ae53c
remove superfluous monitoring endpoints
2021-09-23 10:47:44 +02:00
Thibault Duplessis
9aef32ee88
broadcast streaming API
2021-09-23 10:18:10 +02:00
Thibault Duplessis
d701b25b01
refactor AnonOrScoped
2021-09-23 08:50:55 +02:00
kraktus
c8e0571b70
Fix the tournament names after translating ( #9866 )
...
* Revert "Revert "Improve tournament names translation""
This reverts commit ec10605e20
.
* Fix tournament names when `Speed` different from `Perf`
Only `Rapid` and `Classical` are concerned by translation anyway.
8a1a7396f5/modules/rating/src/main/PerfType.scala (L297)
Co-authored-by: kraktus <kraktus@users.noreply.github.com>
2021-09-23 07:44:31 +02:00
Thibault Duplessis
ec10605e20
Revert "Improve tournament names translation"
2021-09-22 19:57:20 +02:00
Thibault Duplessis
5fbb9734be
Merge pull request #9852 from kraktus/tournaments_trans
...
Improve tournament names translation
2021-09-21 21:34:00 +02:00
Thibault Duplessis
95fff08b50
optimize tournament endpoints
2021-09-21 21:21:01 +02:00
kraktus
83d74e331d
Translate tournament names on Homepage
2021-09-21 17:12:18 +02:00
Thibault Duplessis
5ee55e1327
add ?withCurrentGames=1 flag to /api/stream/games-by-users endpoint
2021-09-21 10:03:10 +02:00
Thibault Duplessis
293e8f9f95
paginator page must > 0
2021-09-20 23:28:43 +02:00
Thibault Duplessis
31ba5d3a08
type safety: use Status rather than Int - for #9850
...
also filters out exotic status numbers
2021-09-20 18:58:00 +02:00
Thibault Duplessis
ab0c01e2a1
Merge branch 'api-filter-user-tournaments-by-status' of git://github.com/nnickoloff1234/lila into nnickoloff1234-api-filter-user-tournaments-by-status
...
* 'api-filter-user-tournaments-by-status' of git://github.com/nnickoloff1234/lila:
Update TournamentRepo.scala
add status filter parameter to users created tournaments api
2021-09-20 18:38:32 +02:00
Thibault Duplessis
ced5e57c93
don't always publish user.online to discourage API misuse
...
Use this instead: https://lichess.org/api#operation/apiUsersStatus
2021-09-20 17:54:43 +02:00
Thibault Duplessis
be678f9a41
serve up to 100 users in real-time status endpoint
2021-09-20 17:53:32 +02:00
nickolay
172ad1c02c
add status filter parameter to users created tournaments api
2021-09-20 18:35:30 +03:00
Thibault Duplessis
1a92c93554
remove followers streaming API which no-one uses
...
according to monitoring
2021-09-20 16:24:08 +02:00
Thibault Duplessis
5b5a712f40
mod following view
2021-09-20 16:09:33 +02:00
Thibault Duplessis
6d580e77da
use the lock icon in tournament conditions
2021-09-20 14:38:02 +02:00
Thibault Duplessis
6c2c88de22
different results for mobile app
2021-09-20 12:21:47 +02:00
Thibault Duplessis
c9c2c21cd7
move the RendererActor
2021-09-20 10:11:02 +02:00
Thibault Duplessis
4952befc73
remove followers count from /account/info
...
which the app smashes 90 times per second
2021-09-20 09:14:45 +02:00
Thibault Duplessis
1333baf320
show full list of friends
2021-09-19 22:19:58 +02:00
Thibault Duplessis
503beddb89
ublog post image alt & credit
2021-09-19 17:22:09 +02:00
Benedikt Werner
1277e9e0f7
ublog: Translate follow button properly
2021-09-19 16:26:05 +02:00
Thibault Duplessis
d76b50e3d1
no longer store empty crosstables
2021-09-19 10:57:44 +02:00
Thibault Duplessis
1f17afb8a0
Merge pull request #9831 from 370417/logo-spinner-space
...
Prevent mask svg from taking up space at the bottom of the page
2021-09-18 21:29:08 +02:00
Albert Ford
0f2a38b3c3
Prevent mask svg from taking up space
2021-09-18 11:31:28 -07:00
Thibault Duplessis
18b8fedcb1
validate prismic IDs
2021-09-18 15:22:59 +02:00
Thibault Duplessis
37c8afe5c1
tweak ublog paginator max pages
2021-09-18 13:09:37 +02:00
Thibault Duplessis
4be99914b2
separate cancel from terminate buttons
2021-09-18 12:15:28 +02:00
Thibault Duplessis
c3e5b3c899
add auth user language in pref get API
2021-09-18 09:20:03 +02:00
Thibault Duplessis
e3df6489af
Merge pull request #9826 from 370417/logo-spinner-safari
...
Swap spinner mask and content
2021-09-18 07:41:29 +02:00
Albert Ford
f7ea36dd4b
Swap spinner mask and content
...
This avoids animating the mask.
Intended to fix stuttering animation on Safari.
2021-09-17 14:37:45 -07:00
Thibault Duplessis
7d541ea9e4
always read same amount of activity days
2021-09-17 10:45:33 +02:00
Thibault Duplessis
abb6e70ddb
Merge pull request #9819 from 370417/animated-logo-spinner2
...
Replace loading spinner with lichess logo
2021-09-16 22:06:29 +02:00
Thibault Duplessis
6526071402
recompute all ublog ranks on factor change
2021-09-16 21:53:23 +02:00
Thibault Duplessis
2f9ce9e8b7
configurable ublog rank factor
2021-09-16 21:39:05 +02:00
Albert Ford
83581f653e
Replace loading spinner with lichess logo
2021-09-16 08:53:15 -07:00
Thibault Duplessis
74c251fe7e
better decline PGNs with ambiguous moves
...
chess.com still produces PGN with ambiguous moves, that can't be read:
[Site "Chess.com"]
[Date "2021.09.15"]
[Round "?"]
[White "Heiko_Schmitz"]
[Black "Vostoro"]
[Result "0-1"]
[ECO "B06"]
[WhiteElo "1117"]
[BlackElo "812"]
[TimeControl "180+2"]
[EndTime "10:43:14 PDT"]
[Termination "Vostoro won by resignation"]
1. e4 g6 2. d4 Bg7 3. c3 d6 4. f4 a6 5. e5 dxe5 6. fxe5 b5 7. Na3 Bb7 8. Nf3 Nd7
9. Ng5 h6 10. Nf3 f6 11. Qe2 Nb6 12. g4 Nc4 13. Bg2 Nxa3 14. bxa3 Bxf3 15. Bxf3
Rc8 16. Bb7 Rb8 17. Bxa6 Qd5 18. c4 bxc4 19. Kd2 Qxh1 20. Qxc4 Qxh2+ 21. Kd3
fxe5 22. Bb5+ Kf8 23. Rb1 exd4 24. Bb2 Nf6 25. Bxd4 c6 26. Qxc6 Nxg4 27. Qxg6
Bxd4 28. Kxd4 Rg8 29. Qf5+ Nf6 30. Re1 Qd2+ 31. Bd3 Qxe1 32. Qc5 Qf2+ 33. Kc4
Qxc5+ 34. Kxc5 Rb2 35. Bc4 Ne4+ 36. Kd4 Nd2 37. Bxg8 Kxg8 38. Kc3 Rxa2 39. Kb4
h5 40. a4 h4 41. a5 Rxa5 42. Kxa5 h3 43. Kb6 h2 44. Kc7 h1=Q 45. Kd7 Qd5+ 46.
Ke8 Qe4 47. Kd7 Qd3+ 48. Ke8 e5 49. Ke7 e4 50. Ke6 e3 51. Kf6 e2 52. Kg5 e1=$146
53. Kg4 Kf8 54. Kf4 Ke8 55. Kg4 Qe3 56. Kf5 Nc2 57. Kg6 Qf4 58. Kh5 Qg3 59. Kh6
Qg4 60. Kh7 Qg5 61. Kh8 Kf7 0-1
55... Qe3 is ambiguous, both black queens go to e3.
2021-09-16 08:57:43 +02:00
Thibault Duplessis
6639987c7a
prevent changing tournament perf type after players have joined
...
closes #9730
2021-09-15 19:21:41 +02:00
Thibault Duplessis
12e7dc63a8
Revert "simplify tournament update code"
...
This reverts commit 0071ef7497
.
2021-09-15 19:08:28 +02:00
Thibault Duplessis
0071ef7497
simplify tournament update code
2021-09-15 19:02:51 +02:00
Thibault Duplessis
988ce6f0b0
ublog disclaimer
2021-09-15 18:20:02 +02:00
Thibault Duplessis
f628d3c496
add games to broadcast round API - closes #9809
2021-09-15 18:02:34 +02:00
Thibault Duplessis
1c4281fc28
Merge pull request #9807 from kraktus/game_timetable_ago
...
Add date field in mod profile game table
2021-09-15 17:36:52 +02:00
kraktus
767849a396
Display to mods when conv threads are truncated
2021-09-15 14:19:31 +02:00
kraktus
30b5fdb925
Add date field in mod profile game table
2021-09-15 13:05:45 +02:00
Thibault Duplessis
5d22bb45a7
make lila.db.Env a macwire module
2021-09-15 08:37:10 +02:00
Niklas Fiekas
d7744f5786
link benevity cause ( closes #9784 )
2021-09-14 18:25:11 +02:00
Thibault Duplessis
d1bd25d54a
add pixabay.com image host
2021-09-14 13:37:08 +02:00
Thibault Duplessis
ee825d0781
Merge pull request #9790 from 370417/trans-xDidntMove-embed
...
Translate "x didn't move" in embeds
2021-09-14 08:07:50 +02:00
Thibault Duplessis
c8cf3dac87
hide friends blogs link to anon
2021-09-14 08:07:31 +02:00
Thibault Duplessis
0cb1f90f3d
Merge pull request #9792 from kraktus/anon_blog
...
Fix `blog/friends` page for anon
2021-09-14 08:06:35 +02:00
Thibault Duplessis
d6be3c2583
ublog post like timeline notification
2021-09-13 21:27:19 +02:00
kraktus
409207dd79
Fix `blog/friends` page for anon
...
close https://github.com/ornicar/lila/issues/9788
2021-09-13 14:27:42 +02:00
Albert Ford
7b68b91360
Translate "x didn't move" in embeds
2021-09-13 04:48:06 -07:00
Thibault Duplessis
dd63acdfb6
improve logging of blog mod actions
2021-09-13 09:29:14 +02:00
Niklas Fiekas
bcd8f2f323
future proof fishnet nodes, remove fishnet 1.x bc
2021-09-13 02:12:47 +02:00
Niklas Fiekas
f171318598
updated fishnet to Fairy-Stockfish 14
2021-09-12 23:31:59 +02:00
Niklas Fiekas
a87d477323
tweak and complete tablebase i18n
2021-09-12 19:09:30 +02:00
Thibault Duplessis
ceea1d4bfc
list safe image websites in ublog form
2021-09-12 12:38:45 +02:00
Thibault Duplessis
f778baa665
let blog mods delete images
2021-09-12 12:24:25 +02:00
Thibault Duplessis
b99d5293be
remove blog mod delete button
2021-09-12 12:10:21 +02:00
Thibault Duplessis
5ebc321edb
let blog moderators edit posts
2021-09-12 12:06:55 +02:00
Thibault Duplessis
ec177b13a5
localize post views
2021-09-12 11:54:49 +02:00
Thibault Duplessis
007a00ac82
fix ublog language pagination
2021-09-12 11:53:46 +02:00
Thibault Duplessis
9608d8db28
blog mods can delete posts
2021-09-11 20:25:10 +02:00
Thibault Duplessis
c42d0898de
minor tweaks after #9743
2021-09-11 19:50:49 +02:00
Thibault Duplessis
52ed076cff
add team link for form title
2021-09-11 19:46:02 +02:00
Thibault Duplessis
280007f5d7
remove Context.ToLang
2021-09-11 19:45:35 +02:00
Thibault Duplessis
b702160f81
Merge branch 'team_declined_requests' of git://github.com/rglbr/lila into rglbr-team_declined_requests
...
* 'team_declined_requests' of git://github.com/rglbr/lila:
add explicit conditions
use team_requests collection for the declined requests
consistent naming
Team Declined requests page
Track declined team requests
2021-09-11 19:38:41 +02:00
Thibault Duplessis
034b419201
like/follow on ublog post page
2021-09-11 18:34:40 +02:00
Thibault Duplessis
20b51e705b
don't show default image in ublog post page
2021-09-11 17:53:24 +02:00
Thibault Duplessis
9613f7afed
optimize ublog in user profile
2021-09-11 17:49:29 +02:00
Thibault Duplessis
0ab7733e0e
better control who can see which post
2021-09-11 17:19:02 +02:00
Thibault Duplessis
5c9ed5f79f
fix study admin permissions
2021-09-11 17:02:01 +02:00
Thibault Duplessis
a8d7c1dede
post footer WIP
2021-09-11 15:50:56 +02:00
Thibault Duplessis
94a5231d7b
fix ublog post not found page
2021-09-11 12:21:23 +02:00
Thibault Duplessis
1e3ed2f371
up to 5 ublog posts per day
2021-09-11 12:04:24 +02:00