Commit graph

7318 commits

Author SHA1 Message Date
Miodec 986de64359 preventing default when cookie poopup is visible 2022-05-16 22:15:19 +02:00
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
Miodec 71564c30f8 updated dino theme 2022-05-16 18:53:58 +02:00
aNOOBis 69810de9e0
Proper addition of something like tag display in alerts (#2982)
* spacebar in presets and tags addition

* super mega spacebar remake

* style fix

* final name removal in ui

* replaceAll in ape removal

* using display above account chart

* create preset in command line addition

* testing removal

* one more testing removal

* create tag command line addition

* Update commandline-lists.ts

* moved add commands to the bottom
hiding if user is not signed in

* refactor

* hiding tags and presets when signed out

* fixed presets and tags display in alerts

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-05-16 18:49:33 +02:00
DINOTICK 57ce7554ef
Dinosaur Theme (#2981) dinotick-dev
* made dino.css

added dino.css lol

* Update _list.json

* Update dino.css

* Update _list.json
2022-05-16 18:47:06 +02:00
fehlercode03 e3360b2c87
Added the brainfck programming language (#2963)fehlercode03
* Create code_brainfck.json

* Update _list.json

* Update _groups.json

* Added 200 code snippets
2022-05-15 13:10:58 +02:00
Miodec e2aff9d73b defaulting word and time to -1 2022-05-15 03:22:40 +02:00
Miodec d4f45711f3 removed contraction 2022-05-14 20:39:23 +02:00
Miodec 3491701f4e removed todo 2022-05-14 20:37:45 +02:00
Miodec 83cc9848e6 missing result visible check 2022-05-14 20:28:55 +02:00
Miodec 2a116763ed moved quote repeat logic to the test restart function 2022-05-14 20:24:38 +02:00
Miodec 96a624f9d4 rewrote that mess 2022-05-14 20:23:50 +02:00
Miodec 81a7b8a273 importing leaderboards 2022-05-14 20:23:24 +02:00
Miodec e504e107b5 checking if any fields are undefined 2022-05-14 18:55:59 +02:00
Miodec ac7a00495b fixed caret positioning 2022-05-14 16:03:04 +02:00
Miodec 465e9cec71 always scrolling tape when emulator is enabled
fixes #2974
2022-05-13 10:04:49 +02:00
Miodec 6dc291a4d4 console logs 2022-05-13 09:55:28 +02:00
Miodec d38f739c63 added protection 2022-05-13 09:54:52 +02:00
Miodec cc004de147 added function for users that got stuck with a google account that no longer exists 2022-05-13 09:53:12 +02:00
Miodec 699ddd8737 renamed field 2022-05-13 09:41:41 +02:00
George The Bot 8eb2149483
Added more quotes (#2975)
* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* fixed ids

* fixed length

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-13 09:39:51 +02:00
Bruce Berrios 6c666f12ba
Add user creation flow test (#2971) bruception 2022-05-13 09:05:57 +02:00
Michael Deutsch ba25f7872c
Add additional Hebrew word lists (#2970) MichaelDeutschCoding
Add Hebrew word lists with:
  - 1,000 words
  - 5,000 words
  - 10,000 words
2022-05-12 16:21:55 +02:00
Pablo 86993752d4
Added Perl language (#2966) pablos123
* Added Perl language

* Added Perl language

Co-authored-by: psaavedra <psaavedra@educativa.com>
2022-05-12 16:21:37 +02:00
Miodec aab9bd263b updated the contributors list 2022-05-12 16:21:02 +02:00
Miodec 328f85bbd0 updated gitignore 2022-05-12 16:01:47 +02:00
Michael Deutsch 04ef4d2c2b
Small edit to Basic Contributing documentation (#2969) MichaelDeutschCoding 2022-05-12 15:52:19 +02:00
Miodec 19f8ef7799 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-05-11 14:22:47 +02:00
Miodec c1f32bf5a6 only showing notification when changing setting manually 2022-05-11 14:22:41 +02:00
Miodec 603dde93f8 disabled ads 2022-05-11 14:21:26 +02:00
sillyangel 2c5ec70cb7
Update CODE_OF_CONDUCT.md to new verison (#2964) sillyangel
the new version can be found in https://www.contributor-covenant.org/version/2/1/code_of_conduct/
2022-05-11 14:16:08 +02:00
Miodec 2e95c618a5 Merge remote-tracking branch 'origin/master' 2022-05-11 14:14:17 +02:00
CarlFabian 60486d2f8b
Added english quotes (#2960)
* Update english.json

Added quotes from Xavier: Renegade Angel and The Master and Margarita

* fixed spacing on length
2022-05-11 14:13:43 +02:00
Bruce Berrios 0a371b531a
Add more tests (#2965) Bruception and sondrekje
* Cover updateName

* Test clearPb, export getUsersCollection for testing purposes

* Add base coverage

* Month -> thirty days

Co-authored-by: Sondre Kjempekjenn <sondre.kjempekjenn@gmail.com>
2022-05-11 14:08:06 +02:00
Miodec 609ab83dbd removed place names 2022-05-11 12:12:57 +02:00
Miodec 526a343e12 removed word with punctution 2022-05-10 20:05:27 +02:00
Miodec 521a1f94eb removed das banner, added das to support links 2022-05-10 20:02:38 +02:00
Miodec a8dfc44f49 testing new feature 2022-05-10 12:56:27 +02:00
Miodec 41c142b49a blocking users from submitting results if they need to change name 2022-05-08 20:47:45 +02:00
Miodec 865dd3d734 typos 2022-05-08 20:45:00 +02:00
Miodec d1d64ffc03 showing banner and info if user needs to change name 2022-05-08 20:42:10 +02:00
Miodec d20122d9f0 catching issues with google sign in 2022-05-08 17:58:34 +02:00
Miodec 616d068e2f needsToUpdateName > needsToChangeName 2022-05-08 16:59:45 +02:00
Miodec 0a1ac828e7 moved invalid name check higher 2022-05-08 16:58:57 +02:00
Miodec 9e500172c3 reduced number of page changes to avoid double changes and hard to understand logic 2022-05-08 15:01:26 +02:00
Miodec 857a0e15c8 made page change async
added force param to force page change even if page is the same
setting page to account if page is login and user is signed in
2022-05-08 15:01:00 +02:00
Miodec 4926ec2949 added search override to url handlers 2022-05-08 14:57:47 +02:00
Miodec 0a4a7eabe7 added test to make sure users cant take an unavailable name 2022-05-08 14:54:15 +02:00
Miodec a0f6fabf10 is name available is async 2022-05-08 14:24:02 +02:00
Miodec ef49c6dcc8 setting quote length to all if user signed out 2022-05-08 13:44:43 +02:00