Thibault Duplessis
5671513c1e
read/write crosstable/matchup from yoloDb
2021-09-18 15:09:15 +02:00
Thibault Duplessis
62ffcb7710
Merge branch 'master' into crosstable3
...
* master:
fix and restore activity truncation
tweak ublog paginator max pages
prevent arena berserk if inc > limit*2
separate cancel from terminate buttons
Use oninput instead of onkeyup & onpaste
prettier
Flatten rating line to today
2021-09-18 14:57:43 +02:00
Thibault Duplessis
3367eec955
fix and restore activity truncation
2021-09-18 14:40:27 +02:00
Thibault Duplessis
53a13fe270
prevent arena berserk if inc > limit*2
...
prevents tournament abuse with TC like 1+60
where perf is Classical but berserked games are Hyperbullet.
2021-09-18 12:17:19 +02:00
Thibault Duplessis
9f145422ce
no longer store empty crosstables
2021-09-18 11:53:02 +02:00
Thibault Duplessis
7b90bc662d
Revert "disable access to matchup collection too"
...
This reverts commit ccd701d1c1
.
2021-09-18 11:30:41 +02:00
Thibault Duplessis
ccd701d1c1
disable access to matchup collection too
2021-09-18 11:26:53 +02:00
Thibault Duplessis
9fba3b3630
live setting to disable read/write on crosstable collection
2021-09-18 11:26:00 +02:00
Thibault Duplessis
46fc81430b
{master} live settings always have a text
2021-09-18 10:56:05 +02:00
Thibault Duplessis
0cbd126f8c
tweak ublog ranking
2021-09-18 10:49:21 +02:00
Thibault Duplessis
95b223294a
tweak rating chart cache strategy
2021-09-18 10:49:04 +02:00
Thibault Duplessis
52e2767948
disable activity truncation for now
2021-09-18 08:25:23 +02:00
Thibault Duplessis
d2d10025e5
Merge branch 'master' of github.com:ornicar/lila
...
* 'master' of github.com:ornicar/lila:
rename yolodb collections
lobby/css: Tweak mobile table some more
Hide Streamer and Blog likes notifications for kids
2021-09-18 07:40:26 +02:00
Thibault Duplessis
41ca4a57ea
Merge branch 'master' of github.com:ornicar/lila
...
* 'master' of github.com:ornicar/lila:
lobby/css: Tweak mobile table some more
Hide Streamer and Blog likes notifications for kids
2021-09-18 07:40:04 +02:00
Thibault Duplessis
5f03e7eae5
rename yolodb collections
2021-09-18 07:39:55 +02:00
Thibault Duplessis
7203d2f638
tweak msg limiter
2021-09-18 07:39:23 +02:00
Thibault Duplessis
554a57ccf4
Merge pull request #9823 from kraktus/blog_timeline2
...
Hide Streamer and Blog likes notifications for kids
2021-09-17 20:32:35 +02:00
kraktus
95120c0844
Hide Streamer and Blog likes notifications for kids
...
They cannot access these items anyway.
ss
2021-09-17 14:41:38 +02:00
Thibault Duplessis
7beac6b0d8
more ublog rank tweaks
2021-09-17 13:51:58 +02:00
Thibault Duplessis
6e4fdbaa14
remove read preference from history module
...
using yoloDb
2021-09-17 10:47:41 +02:00
Thibault Duplessis
a7497bda5c
remove read preference in activity module
...
it uses the yolo DB
2021-09-17 10:46:49 +02:00
Thibault Duplessis
7d541ea9e4
always read same amount of activity days
2021-09-17 10:45:33 +02:00
Thibault Duplessis
2c0aebd270
truncate user activity after inserting a new day
2021-09-17 10:33:48 +02:00
Thibault Duplessis
8b4221e911
simplify and optimize activity writes - closes #9820
2021-09-17 09:51:13 +02:00
Thibault Duplessis
d739780f8b
fix ublog rank setting store
2021-09-17 09:09:48 +02:00
Thibault Duplessis
7d5b798cf1
more ublog rank tweaks
2021-09-17 08:31:20 +02:00
Thibault Duplessis
6526071402
recompute all ublog ranks on factor change
2021-09-16 21:53:23 +02:00
Thibault Duplessis
718c60e2f0
add SettingStore.onSet
2021-09-16 21:53:03 +02:00
Thibault Duplessis
2f9ce9e8b7
configurable ublog rank factor
2021-09-16 21:39:05 +02:00
Thibault Duplessis
da6d24dc36
Revert "activity: write doc date so it can expire"
...
This reverts commit d5c7c24e1d
.
2021-09-16 20:44:43 +02:00
Thibault Duplessis
d5c7c24e1d
activity: write doc date so it can expire
2021-09-16 19:44:57 +02:00
Thibault Duplessis
33cfc3a248
fix coll scan in aggregation query
...
because of a mongodb bug that prevents using available index
in $expr $in in aggregation pipeline
https://jira.mongodb.org/browse/SERVER-32549
https://jira.mongodb.org/browse/SERVER-37470
Revert this when the mongodb bug is fixed, for additional perf
2021-09-16 11:48:21 +02:00
Thibault Duplessis
5b57c2769a
more referrer antispam detection
2021-09-16 11:48:21 +02:00
Thibault Duplessis
ec69f642a2
increase ublog rotation
2021-09-16 10:24:15 +02:00
Thibault Duplessis
5cc2c0f905
rename YoloDb
2021-09-16 09:37:04 +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
01031e26ba
use akka BoundedQueueSource in WorkQueue - closes #9805
2021-09-15 18:51:59 +02:00
Thibault Duplessis
f628d3c496
add games to broadcast round API - closes #9809
2021-09-15 18:02:34 +02:00
Thibault Duplessis
8996ba4582
tweak relation cache
2021-09-15 17:41:53 +02:00
kraktus
767849a396
Display to mods when conv threads are truncated
2021-09-15 14:19:31 +02:00
Thibault Duplessis
2cc0803a10
use junk DB for rating history
2021-09-15 11:05:47 +02:00
Thibault Duplessis
8a4d577e74
instanciate async DBs at most one per second
...
this looks a bit dangerous tho
2021-09-15 10:46:51 +02:00
Thibault Duplessis
16c31680c0
let the junk DB fail in silence
2021-09-15 09:41:10 +02:00
Thibault Duplessis
292fdfdabd
read/write activity from the junk DB
2021-09-15 08:37:33 +02:00
Thibault Duplessis
5d22bb45a7
make lila.db.Env a macwire module
2021-09-15 08:37:10 +02:00
Thibault Duplessis
10166c3ca0
Merge branch 'master' of github.com:ornicar/lila
...
* 'master' of github.com:ornicar/lila:
New Crowdin updates (#9796 )
Check for i32x4.trunc_sat_f64x2_u_zero in diagnostics.html
Use @types/web instead of TS-provided "dom" types
Update Typescript to 4.4.3 for requestIdleCallback
Update scaffeine to 5.1.1
Update sbt-bloop to 1.4.9
link benevity cause (closes #9784 )
Revert "fix weirdness in RawHtml mention regex"
cache regex
better clean up msgs
filter profile info for mobile app
tweak user profile code
2021-09-15 08:03:21 +02:00
Thibault Duplessis
4a2a1a9547
Revert "fix weirdness in RawHtml mention regex"
...
This reverts commit f4710dc7f8
.
> This was intended to prevent backtracking.
{2,30}+ is posessive, i.e., it will not give back any characters it has consumed.
2021-09-14 18:17:55 +02:00
Thibault Duplessis
3f81db0cbc
cache regex
2021-09-14 15:13:28 +02:00