monkeytype/backend/src
Jack 46e0c5c960
Auto ban (#2984)
* 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
2022-05-16 21:03:44 +02:00
..
anticheat Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00
api Auto ban (#2984) 2022-05-16 21:03:44 +02:00
constants Auto ban (#2984) 2022-05-16 21:03:44 +02:00
credentials Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00
dal Auto ban (#2984) 2022-05-16 21:03:44 +02:00
documentation Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00
init Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00
jobs Preparing for George Update (#2895) 2022-05-06 23:48:15 +02:00
middlewares Add user creation flow test (#2971) bruception 2022-05-13 09:05:57 +02:00
tasks Preparing for George Update (#2895) 2022-05-06 23:48:15 +02:00
types Auto ban (#2984) 2022-05-16 21:03:44 +02:00
utils Add more tests (#2965) Bruception and sondrekje 2022-05-11 14:08:06 +02:00
app.ts Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00
server.ts Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00
version.ts Move backend source files into src folder (#2943) 2022-05-05 19:27:00 +02:00