Commit graph

7206 commits

Author SHA1 Message Date
Rizwan Mustafa
9c5652113c
Add checks for password and email on signup and add field indicators for them (#3011) rizwanmustafa
* Add password length and strength check

* Change regex

* Add indicator

* Fix bug

* Revert autocomplete change

* Add indicator for verify password

* Add indicator for emails

* Reorder code

* Remove indicators when fields are empty

* Show notification when email invalid on signup
2022-05-23 23:48:09 +02:00
Rizwan Mustafa
44419bdb60
Fix bug (#3012) rizwanmustafa
* Fix bug

* base 10

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-23 22:10:04 +02:00
Miodec
48fffe1b99 created input indicator class to be used in many places 2022-05-23 22:04:06 +02:00
Miodec
b029d86460 added note about the package to the api docs. closes #2999 2022-05-23 21:19:54 +02:00
Miodec
7d5d2b7460 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-05-23 16:36:21 +02:00
Miodec
4690c8361f added russian 10k (AstraRus) 2022-05-23 16:36:00 +02:00
git push origin P
37a78b73e4
feat(lang): add code_julia language (#3000) razairl 2022-05-23 15:14:03 +02:00
Miodec
bde38219a5 fixed cookie popup not showing up 2022-05-23 13:37:45 +02:00
Miodec
1bc8c395ed removed more dupes 2022-05-22 00:56:49 +02:00
Miodec
145493be6d lowered threshold 2022-05-22 00:50:40 +02:00
Miodec
411ebab487 logic typo 2022-05-21 01:35:56 +02:00
Miodec
42d984981a 2 hours minimum to be placed on the lb 2022-05-21 01:32:09 +02:00
Miodec
12b4b899a5 overriding name later 2022-05-21 01:18:09 +02:00
Miodec
7c711bc4c2 only getting accounts with more than an hour of typing 2022-05-21 01:15:15 +02:00
Miodec
16c21b3814 removed duplicate words 2022-05-21 01:05:49 +02:00
Miodec
87145afffd Revert "removed all duplicate words"
This reverts commit e0f7120752.
2022-05-21 01:03:21 +02:00
Miodec
9811f3f1e5 lowered threshold, not comparing using rounded percentage 2022-05-21 01:02:37 +02:00
Miodec
b621c2a988 word duplicates reject validation with error 2022-05-21 00:59:48 +02:00
Miodec
e0f7120752 removed all duplicate words 2022-05-21 00:58:53 +02:00
Miodec
f76f1f1072 added script name 2022-05-21 00:53:50 +02:00
Miodec
cacaa44009 removed duplicate 2022-05-21 00:39:40 +02:00
Miodec
0a797c8a6d removed more duplicates 2022-05-21 00:39:26 +02:00
Miodec
290d2f7821 removed some duplicates from wordlists 2022-05-21 00:37:15 +02:00
Miodec
81703b900e fixed count 2022-05-21 00:36:43 +02:00
digi
e0c9f3cdd7
adds language validation check (#2995) tmuplayer33
* adds language-validation.js

* run prettier

* run prettier on gulpfile.js

* moves language-validation.js functionality into json-validation.js, rollback gulpfile.js

* improves duplicate detection algorithm, removes constraint

* use duplicate detection from @Bruception

* moves findDuplicates function out of loop, adds duplicatePercentageThreshold

* removes russian_10k as 90% of the words are duplicates

* use Math.round to prevent errors when duplicatePercentageThreshold is 0

* remove duplicates from code_bash.json

* remove duplicates from code_brainfck.json

* remove duplicates from code_html.json

* no longer create error when duplicates are found

* run prettier

* lowered threshold, added count log

Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-21 00:21:37 +02:00
Miodec
632b7e4bf6 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-05-21 00:13:13 +02:00
Miodec
4710a70e0c overriding result name to be sure 2022-05-21 00:12:50 +02:00
Bruce Berrios
294ff4c95a
Remove uid from last result (#2998) 2022-05-19 20:44:24 +02:00
Bruce Berrios
d7862750ce
Remove lua (#2996) 2022-05-19 18:45:17 +02:00
Bruce Berrios
1384e9f81d
Add pretty check (#2990) bruception
* Add pretty check

* test

* test

* Add pretty check

* Add condition check

* Enforce style on code changes

* Update scripts

* Any src
2022-05-19 11:31:18 +02:00
Max Kronenbürger
f5412b6e8e
replace german ß accent with ss as it was used prior to the german spelling reform (#2992) tmuplayer33
Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
2022-05-19 11:29:03 +02:00
Rick Haan
5d56c5303c
Remove duplicate words, add random new words (#2991) RickHaan 2022-05-19 11:28:11 +02:00
Ryan Sheppard
c3785c6d91
removed mispelled word (#2994) 2022-05-18 14:08:45 -04:00
Ayce
d3d1bad9cd
Added code php language (#2983) ayce45
* Create code_php.json

* Create code_php_1k.json

* Update code_php_1k.json

* Update _groups.json

* Update code_php.json
2022-05-17 16:37:48 +02:00
Miodec
6fff446c61 added more checks for cookie popup blocking extensions 2022-05-17 15:51:26 +02:00
devrusty
dc10abdb8c
Added the F# programming language (#2978) devrusty
* Update _list.json

* created code_fsharp.json

* added code_fsharp

* removed extra comma
2022-05-16 22:45:09 +02:00
Miodec
e4c2b55907 fixed arrows not scrolling tape. closes #2986 2022-05-16 22:41:12 +02:00
Miodec
51ae5ef36a storing state in variable. closes #2985 2022-05-16 22:17:28 +02:00
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