Thibault Duplessis
3d179646eb
migration WIP
2019-12-01 12:03:39 -06:00
Thibault Duplessis
234432b226
migration WIP
2019-11-30 19:00:44 -06:00
Thibault Duplessis
4b3d3dc1f3
modules/user compiles
2019-11-29 20:16:11 -06:00
Thibault Duplessis
f4fbcf19b6
migration WIP
2019-11-29 18:07:51 -06:00
Thibault Duplessis
3a2628fa58
replace akka EventBus implementation with my own - closes #5689
2019-11-26 15:44:28 -06:00
Thibault Duplessis
ec4cbd3f6c
tweak ragesit logging
2019-10-23 14:58:53 +02:00
Thibault Duplessis
538d93d1de
cap ragesit at zero
2019-10-11 21:48:13 +02:00
Thibault Duplessis
4172505fa5
reduce ragesit decay
2019-10-11 21:48:13 +02:00
Thibault Duplessis
6aa64e3acc
rename cache
2019-10-09 18:54:09 +02:00
Thibault Duplessis
04baf562ed
decay ragesit on proper defeat
2019-09-27 09:16:53 +02:00
Thibault Duplessis
5c9eec3f4e
ragesit typing and decay WIP
2019-09-26 21:45:53 +02:00
Thibault Duplessis
5c8532331b
rename rageSit
2019-09-23 14:58:51 +02:00
Thibault Duplessis
d0a8fc7c27
don't re-fetch ragesit, get it from the returned doc + code golf
2019-09-23 14:54:30 +02:00
Thibault Duplessis
666cd142fe
code golf
2019-09-23 14:38:01 +02:00
Thibault Duplessis
fa08dbd5f5
use db dsl
2019-09-23 14:36:43 +02:00
ProgramFOX
2cc7e6d146
Log automatic warnings in the mod log
2019-08-25 09:16:47 +02:00
ProgramFOX
fc5a9df65b
Keep the PlaybanApi out of the TournamentApi
2019-08-25 00:10:08 +02:00
ProgramFOX
cb277db10e
Automatically pause stallers in arenas
2019-08-24 23:34:40 +02:00
Thibault Duplessis
397d6d7f21
don't close accounts for ragesitting yet, only log
2019-08-24 15:21:29 +02:00
ProgramFOX
2af919c2ec
Automatic warning and closure based on sit counter
...
At -10: warning
At -20: closure
2019-08-24 12:39:42 +02:00
Thibault Duplessis
69ddb9394d
rewrite disconnect threshold based on sit/dc count
2019-08-23 18:12:18 +02:00
ProgramFOX
f299ccabad
Merge branch 'master' of github.com:ornicar/lila into lower-dc-threshold-with-many-playbans
2019-08-21 19:55:01 +02:00
ProgramFOX
00ab86bd16
Use sitAndDcCounter in calculations for PR #5252
2019-08-21 19:39:04 +02:00
Thibault Duplessis
8c6a508076
reduce playban DB reads
2019-08-21 12:44:19 +02:00
Daniel Dugovic
456ae07ee8
Record incomplete game for Abort
...
A considerate player doesn't frequently abort or provoke their opponent.
Unscheduled maintenance causing aborts is infrequent.
2019-07-27 21:52:11 -05:00
Thomas Daniels
683fdff124
Simplify pattern matching
2019-07-11 22:18:24 +02:00
Thomas Daniels
f30de86f7a
No sit/dc counter for Crazyhouse either
2019-07-11 22:17:17 +02:00
ProgramFOX
9301f65098
No sit/dc counter for Horde either
2019-07-11 15:58:00 +02:00
ProgramFOX
1a5f2cce35
No sit/dc counter for Antichess
...
In all other variants, it's fair enough to use material difference for a rough win estimate. In antichess, not at all.
2019-07-11 15:52:13 +02:00
ProgramFOX
748d79456a
Keep track of what positions people tend to sit or disconnect in
...
Not used for anything else than mod zone display at the moment, if the value seems usable then it can be used in the punishment code.
The counter gets +1'd if you disconnect or sit in a winning position (material imbalance >= 5) and -1 of you disconnect or sit in a losing position (material imbalance <= -5).
The idea is that abusers will get a highly negative score and people with an unstable connection will have a score around zero.
2019-07-03 18:07:14 -04:00
ProgramFOX
fb097466dc
Remove accidentally introduced empty line
2019-06-30 18:27:42 -04:00
ProgramFOX
b3b7b34f57
Don't void Fu[Option[Fu]]
2019-06-30 18:26:31 -04:00
ProgramFOX
2eeb79f4ea
No new accountCreationDate field on UserRecord
2019-06-30 18:10:33 -04:00
ProgramFOX
dbe9b4476c
Double playban times: don't add field to Player
2019-06-30 17:00:01 -04:00
ProgramFOX
5c8707cf44
Double playban length for new users ( fix #4702 , partial #5239 )
2019-06-30 09:28:33 -04:00
Thibault Duplessis
cfb43e3964
formatting
2018-11-30 10:34:05 +07:00
Thibault Duplessis
f0325f8474
playban streak
2018-04-13 09:15:31 +02:00
Thibault Duplessis
1bcbc3c757
use preset future booleans
2018-03-16 18:20:53 -05:00
Thibault Duplessis
5b83303f1b
pause playban after server restart
2018-03-12 07:16:58 -05:00
Thibault Duplessis
29d54bdcfd
playban immediate feedback
...
It warns players before they get playbanned,
if they chose to ignore the warnings.
But more importantly it informs their opponents
that measures are effectively taken against
bad sportmanship behaviours.
Hopefully they'll stop assuming otherwise and
complaining in public boards.
2018-03-10 10:58:00 -05:00
Thibault Duplessis
411ac03501
keep user email on close if they're currently playbanned - closes #3877
2017-12-10 12:12:30 -05:00
Isaac Levy
c599a2b12b
Don't record playban if in effect
2017-11-19 17:42:09 -05:00
Thibault Duplessis
ef461562c9
only legiferate when last outcome is bad
2017-10-25 22:53:10 -05:00
Isaac Levy
3de6f5483a
Adjust playban cutoffs
...
- save 30 outcomes instead of 20
- for players with long history, trigger with 12 bad outcomes
out of 30, instead of 10 bad outcomes in 20.
- reduce sitting cutoff to 5s per minute of initial clock.
- reduce initial playban to 10 min
2017-10-24 23:11:53 -04:00
Thibault Duplessis
8d7ed80cdc
monitor expiration and playban
2017-10-22 18:14:35 -05:00
Thibault Duplessis
d3c9827223
game automatic expiration proof of concept
2017-10-22 17:03:47 -05:00
Thibault Duplessis
a85bffaf22
apply playban to tournaments
2017-10-19 23:02:55 -05:00
Thibault Duplessis
16720cdb4f
no longer count won games as favorable playban result
...
This makes the whole thing way stricter.
2017-10-18 18:26:38 -05:00
Thibault Duplessis
8e300ddb88
make sandbagging playbanable
2017-10-18 18:16:52 -05:00
Thibault Duplessis
5287b5b8df
remove debug values
2017-10-18 14:03:57 -05:00