mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-25 07:17:23 +08:00
* added auto ban if user triggers anticheat too much * updated base configuration * autoban is optional * storing updated autoban array * only checking autoban in time 15 and 60 * miliseconds * removed unnecessary if check * returning if already banned * storing now in variable greater not greater equal * moved constant outside function * using partial type * renamed variables * renamed to autoBanTimestamps * added autoban tests * increased coverage minimum * slightly better test * added autoBanTimestamps checks to other tests |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| src | ||
| .gitignore | ||
| docker-compose.yml | ||
| example.env | ||
| jest-mongodb-config.js | ||
| jest.config.ts | ||
| package-lock.json | ||
| package.json | ||
| setup-tests.ts | ||
| tsconfig.json | ||