Commit graph

990 commits

Author SHA1 Message Date
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 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
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
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
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 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
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
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 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 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 ef49c6dcc8 setting quote length to all if user signed out 2022-05-08 13:44:43 +02:00
Miodec 3fbfc83fd0 added needsToUpdateName to frontend 2022-05-08 13:29:10 +02:00
Bruce Berrios 9026893571
Add favorite quotes mode (#2945) bruception
* Add favorite quotes mode

* Remove unnecessary repeated fn call

* resetting quote length to -1 when no favorites found

* fixed quote favoriting broken

* starting hidden

* showing/hiding button depending on login state

* added command to commandline

* removed comment

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-08 11:58:58 +02:00
Miodec c9bfb00008 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-05-08 09:53:19 +02:00
Miodec 78914ab91c moved average update lower 2022-05-08 09:53:13 +02:00
aNOOBis 5395cdf9f3
Create preset addition in presets in command line (#2957) aNOOBisTheGod
* 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

Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-08 09:35:49 +02:00
sillyangel 8aae6a1d57
I made a new Theme called "peach blossom" (#2959) sillyangel 2022-05-08 09:28:01 +02:00
Miodec 9b9960628e updated message 2022-05-06 23:39:02 +02:00
Abdullah Omar 9b4a833d78
make the bg color a bit darker* 🕳 (#2936) abod1960 2022-05-06 18:56:53 +02:00
Dione 03917a17ec
Add quote from IT Crowd (#2949)
* Add quote from IT Crowd

* corrected quote

* updated length after correcting quote

* make id value number instead of string

* updated length to also be a number
2022-05-06 11:14:18 -04:00
Michael 2f603ed19d
Fix spelling in german.json (#2947) kemonprogrammer
* Fix spelling in german.json

* Fix length from previous fix

Co-authored-by: Jack <jack@monkeytype.com>
2022-05-06 13:32:40 +02:00
Miodec ee739eb45a reduced margin 2022-05-06 12:57:04 +02:00
aNOOBis f9e8f5cc39
Convert Spaces to Underscores for Preset and Tag Names (#2938) aNOOBisTheGod
* 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

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-06 12:42:00 +02:00
Miodec 89c9557475 definitely didnt forget about those 2022-05-05 23:35:40 +02:00
Miodec 9e2bd5a3fb fixed script names 2022-05-05 23:25:03 +02:00
Mark Stosberg 96fea28d7b
quotes:code_javascript: Add regex-heavy quote. (#2929) markstos
* quotes:code_javascript: Add regex-heavy quote.

This quote contains a long regex that will be a workout for typing
symbols and numbers.

Source code can be confirmed to available under an open source license
here: https://github.com/markstos/parse-coordinates/blob/master/index.js

* fixed length

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-05 23:23:32 +02:00
Miodec d2f6dcd92d fixed todo 2022-05-04 12:27:16 +02:00
Miodec 998120bea7 fixed type 2022-05-04 02:18:51 +02:00
Miodec 3adfabfe20 removed any 2022-05-04 02:18:37 +02:00
Miodec 0430c7f9c7 removed any 2022-05-04 02:14:09 +02:00
Miodec 8a3631170d removed any 2022-05-04 02:09:47 +02:00
Miodec 037fbf8e8f removed unnecessary any 2022-05-04 02:09:20 +02:00
Miodec eabb7d857e unnecessary todos 2022-05-04 01:41:37 +02:00
Miodec fdc362dc0d removed unnecessary type casting 2022-05-04 01:36:58 +02:00
Miodec a03ef7dd84 removed unnecessary type 2022-05-04 01:36:35 +02:00
Miodec bf941ab02b removed unnecessary code 2022-05-04 01:35:39 +02:00
Miodec 6804b76d46 removed todo 2022-05-04 01:34:56 +02:00
Miodec 68efde15b2 removed todo 2022-05-04 01:33:50 +02:00
Miodec 4fda636a08 added auto name check to the register page 2022-05-04 01:04:04 +02:00
Josh Moncrieff 89f160f664 add english_contractions word list (#2914) monners
Co-authored-by: monners <josh@joshmoncrieff.com>
2022-05-03 23:49:21 +02:00
Miodec 52ffeb3da9 rebuilding remplate on save
(still doesnt work with auto refersh)
2022-05-03 18:57:33 +02:00
aNOOBis 2faf097307
windows webpack error fix (#2923)
* index.html => main.html for windows users to avoid webpack error

* uploading example

Co-authored-by: Jack <jack@monkeytype.com>
2022-05-03 17:08:58 +02:00
Miodec 0415be5d2d fixed next random theme being available when random theme is off 2022-05-03 16:44:29 +02:00
Miodec bb1dd154b6 fixed file location 2022-05-03 16:34:17 +02:00
Miodec 9fa615bc8b test modes notice now wraps 2022-05-03 15:49:54 +02:00
Miodec 4e7ae53cbe fixed custom theme loading from url not working 2022-05-03 14:14:13 +02:00
Miodec 68a3724066 removed console logs 2022-05-03 14:11:51 +02:00
Miodec 7e07ba6e97 Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-05-03 14:10:38 +02:00
Miodec 9aab7e33c4 fixed caret showing up in the wrong position on refocus 2022-05-03 14:10:28 +02:00
aNOOBis d9dc65096c
load challenge bug fix (#2921) aNOOKisTheGod
Now, when user loads challenge, website navigate him to the test mode, so challenge loads properly now
2022-05-03 14:01:44 +02:00
huzqy 3fd285b728
Create husqy.css (#2905)
* Create husqy.css

new theme based on what people keep asking me for, named husqy so that people can easily search for it and i think it's a cool name for a theme :D

* Update _list.json
2022-05-03 14:00:06 +02:00
Miodec 96b5395a2e Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-05-03 13:59:45 +02:00
Miodec ccef26527e added dots to 58008 with punctuation 2022-05-03 13:59:37 +02:00
Miodec 6820dbcb03 removed leading zeros 2022-05-03 13:58:45 +02:00
Rizwan Mustafa 0dac742efb
Update some document links (#2919)
* Update some document links

* Updated repo link
2022-05-03 13:44:39 +02:00
Brook Feleke b3f3c447c1
Adds a new Languages (#2915) BrookFeleke
* Add quote by Bradely Whiteford

* Add Amharic to languages 😁
2022-05-02 12:54:03 +02:00
poldoms c7b59bc101
Update slovak_10k.json (#2917)
removed curse word
2022-05-02 12:52:57 +02:00
Miodec 4db569fbff added colemak dh iso wide 2022-04-30 16:10:16 +02:00
Brook Feleke 4322bf5825
Add quote by Bradely Whiteford (#2913) brookfeleke 2022-04-30 11:39:10 +02:00
eisthefifthletter 2aeffd57b5
add new English quotes (#2906) eisthefifthletter
* modify quotes

* copyediting on quotes

* add English quotes

* ce

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-04-29 23:21:32 +02:00
Miodec 1cd40a23bc Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-04-29 23:20:00 +02:00
Zephyr Jones 469285a72d
Added James Baldwin quote! (#2904) zphyrj 2022-04-29 23:16:33 +02:00
poldoms 2c64d60c13
Update slovak_10k.json (#2900) poldoms
removed: misspelled duplicates of correctly written words, words "hannah(not a Slovak name), pobox(company name), nasa(either a company name or a duplicate)" and  a word "odomňa(it should be spelled as two words "odo mňa")" 
fixed: grammatical errors
2022-04-29 23:14:20 +02:00
poldoms e17f85aa56
Update slovak.json (#2899) poldoms
grammatical error
2022-04-29 23:05:29 +02:00
Miodec 2b1bfcd0b7 fixed spacing 2022-04-29 22:58:02 +02:00
Miodec b953978ce5 showing error if leaderboards are updating
closes #2902
2022-04-29 17:09:27 +02:00
Miodec 7bcc953504 fixed footer dissapearing
closes #2901
2022-04-29 16:40:43 +02:00
Miodec c43c6f6bcd fixed cookie popup showing up on screenshots 2022-04-29 16:34:02 +02:00
Miodec 3d5a9c0b94 updated source 2022-04-28 22:17:26 +02:00
Miodec 18295d9bcd setting cookie popup to highest zindex 2022-04-28 16:15:44 +02:00
Timothy Moores f8f37b2448
add scala (#2897) 1rre
* add scala

* add a couple more words
2022-04-28 16:12:09 +02:00
DKparadox cd9a8c6cbf
Update romanian.json (#2896)
* Update romanian.json

* Update romanian.json

* Update romanian.json
2022-04-28 16:07:04 +02:00
Miodec a41bcad72d further stripping results of empty / zero values and then resetting them back to default when downloading results 2022-04-28 16:05:53 +02:00
Miodec 7446649780 only scrolling tape if on test screen 2022-04-28 15:58:33 +02:00
Miodec 15f97c339e setting default quote length if not defined 2022-04-28 15:58:20 +02:00
Miodec ebea7078bd removed quote length if result is not quote
closes #2898
2022-04-28 15:57:50 +02:00
Miodec 6c7930d18f centering key hints below letters
closes #2894
2022-04-28 12:02:09 +02:00
Miodec 537d25b7c0 Revert "updated when scolltape is called"
This reverts commit a3500adb97.
2022-04-27 21:33:31 +02:00
Miodec 9ebf824e7a added section about advertisers 2022-04-27 20:47:51 +02:00
Miodec 51a5febae5 focusing words after closing cookie popup
closes #2888
2022-04-27 20:38:29 +02:00
Miodec a3500adb97 updated when scolltape is called 2022-04-27 20:36:40 +02:00
Miodec fe0e8c0cd4 scrolling tape on resize 2022-04-27 20:36:16 +02:00
Miodec 2a518a8707 fixed circular dependency added in the previous commit 2022-04-27 20:33:21 +02:00
Miodec f60d194bc7 added result to stats object 2022-04-27 20:26:03 +02:00
MyBeansAreBaked 35f63c3973
Defaults analytics to be unchecked (#2891)
To conform with GDPR, tracking MUST be opt-in, and disabled by default.
2022-04-27 16:59:59 +02:00
Miodec fa9c4a417b Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-04-27 16:04:41 +02:00
Miodec 4f8c5bb941 fixed error when there are no words in history
closes #2879
2022-04-27 16:04:34 +02:00
Miodec 34659f471d corrected return type 2022-04-27 16:03:59 +02:00
Max Kronenbürger 692f83ddb2
fixed typo in Windows word (#2889) tmuplayer33
Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
2022-04-27 15:58:24 +02:00
Tobias Kendlbacher 6ec8645b8c
Fix a typo (#2887)
In settings: changed 'conset' to 'consent'
2022-04-27 07:46:53 -05:00
Matt 933e4c7e83
Fixes Javascript typo (#2884) (#2885) 2022-04-27 14:16:52 +02:00
DKparadox 3a8a5d5010 Update romanian.json (#2852) DKparadox 2022-04-27 14:12:01 +02:00
DKparadox 9abb8c13de Create romanian quotes (#2846) DKparadox
* Create romanian

* Add files via upload

* Rename romanian quotes.json to romanian.json

* Delete romanian

* Update romanian.json
2022-04-27 14:11:56 +02:00
Miodec 593b30c39f fixed indicate typos below requiring more space below words 2022-04-26 15:41:13 +02:00
Miodec 11d83e6213 fixed commandline not highlighting active font size
closes #2882
2022-04-26 15:26:11 +02:00
Miodec 48c1c882bc reduced multiplier 2022-04-26 15:24:35 +02:00
Miodec d3e0ff654d added aliases 2022-04-26 15:22:27 +02:00
Miodec 5cbc7c6646 fixed wide carets moved too far left 2022-04-26 15:08:25 +02:00
Miodec 374251bc39 showing requested styles and client version on no css warning 2022-04-26 15:03:09 +02:00
Miodec 96f64039e7 added more classes that should be picked up by cookie popup blocking extensions 2022-04-26 14:43:54 +02:00
Miodec 875413afc4 added function to check if a popup is visible
using computed style instead of hidden class
2022-04-26 14:43:31 +02:00
Miodec 0f347e9100 added hidden message about cookie popup blocking extensions 2022-04-26 14:21:10 +02:00
Miodec 2428ed0c7b increased height of word wrapper slightly when using tape mode to allow for typo indication
closes #2873
2022-04-25 19:25:56 +02:00
Miodec 028e155be9 only reacting to config events when test page is active
fixes #2876
2022-04-25 17:03:29 +02:00
Miodec a4ee31a4bb changed background color 2022-04-25 16:17:46 +02:00
Miodec a585adae24 added cookie popup 2022-04-25 16:11:24 +02:00
Miodec 32a31b0d48 stopping input when a popup is visible 2022-04-25 16:11:06 +02:00