Commit graph

990 commits

Author SHA1 Message Date
Shibin Thomas 777c4a5975
Added more english quotes (#3048) itsmeshibintmz
* added english quote

* added quote

* added quote

* added quotes

* add quotes

* quotes

* replaced single quotes

* fix quote length

* fix quote length

* replace missed single quote

* add more quotes

* Update english.json

* added more quotes

* added quote

* added quote

* add more quotes

* added more quotes
2022-06-01 14:33:40 +02:00
Miodec e2b40a3f51 added bit of padding to avoid lines being cut off 2022-06-01 14:15:27 +02:00
Miodec 385f234828 setting instead of pushing. closes #3053 2022-06-01 14:08:08 +02:00
Miodec 3644f9996e checking if current langauge is the same as random quote language
fixes #3054
2022-06-01 13:41:00 +02:00
Shibin Thomas b9c1f1219c
added english quote (#3046) 2022-05-30 18:18:37 +02:00
George The Bot a2000deb3e
Added quote to english.json (#3047)
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 18:16:14 +02:00
Miodec dc96308f94 fixed last result not begin saved when using google sign in. closes #3040 2022-05-30 18:10:01 +02:00
Miodec 2263c5d069 regenerating word if it contains punctutaion but punctuation is disabled 2022-05-30 18:00:26 +02:00
Shibin Thomas e82dbff2b1
Added more malayalam quotes (#3045) itsmeshibintmz
* add more quotes

* unique id

* removed new line tag

* add more quotes

* add more quotes

* add 1 more quote

* remove new line tag

* add quote

* add more quotes

* quotes with length>60

replaced quotes with length greater than 60

* added malayalam quotes

created malayalam language quotes file and added some quotes.

* Revert "added malayalam quotes"

This reverts commit a16de20e8e.

* added Malayalam quotes

created Malayalam quotes file and added some quotes.

* added malayalam quote

* started malayalam

* added quote

* length fix

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 17:55:23 +02:00
aNOOBis d19d6396ec
Russian Language 25k and 50k addition (#3044) 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

* 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

* russian_25k and russian_50k addition

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-05-30 17:54:02 +02:00
wizpizz 7deb789224
Added quotes from Hamilton (#3038)
* Added quotes from Hamilton

* Fixed lengths and non-ASCII chars

* Removed inappropriate quotes and edited ids

* lengths

* length

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 17:52:31 +02:00
Miodec 7104ed1f2d quote lengths 2022-05-30 16:52:15 +02:00
Miodec 9b1008581c fixed quotes, removed unapproriate quotes, short quotes 2022-05-30 16:52:00 +02:00
Miodec 05373649e6 fix quote lengths 2022-05-30 15:59:03 +02:00
Shibin Thomas 87591ff830
Added more english quotes & added malayalam quotes (#3021) itsmeshibintmz
* add more quotes

* unique id

* removed new line tag

* add more quotes

* add more quotes

* add 1 more quote

* remove new line tag

* add quote

* add more quotes

* quotes with length>60

replaced quotes with length greater than 60

* added malayalam quotes

created malayalam language quotes file and added some quotes.

* Revert "added malayalam quotes"

This reverts commit a16de20e8e.

* added Malayalam quotes

created Malayalam quotes file and added some quotes.

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 15:42:40 +02:00
George The Bot 3e0b437034
Added quote to english.json (#3042) 2022-05-30 15:38:46 +02:00
jaguar3217 34ca492b1b
Fix punctuation and spelling mistakes on Morshu's quote. (#3039) jaguar3217
* Fix punctuation and spelling mistakes on Morshu's quote.

* Fix length error.
2022-05-30 15:34:29 +02:00
Miodec 60e2226cc9 added popup to remove google auth 2022-05-29 14:34:45 +02:00
Miodec 8f28a9c04b removed function to remove google auth through the console 2022-05-29 14:34:28 +02:00
Miodec bb5886f3a7 prefering password auth if its enabled 2022-05-29 14:28:29 +02:00
Miodec ece7737105 typos 2022-05-29 14:27:49 +02:00
Miodec b0343adfde fix quote lengths 2022-05-28 17:14:55 +02:00
Miodec e1674524dc quote reports 2022-05-28 17:10:28 +02:00
Bruce Berrios 0ef52ed9da
Add daily leaderboards (#3023) bruception
* Setup daily leaderboards backend (#2987) bruception

* Setup daily leaderboards backend

* Add enabled checks

* Consistent naming

* Add initial unit tests

* Use more flexible daily leaderboard rule logic

* Fix seed rule

* Add LRU Cache + Rank Calculation

* Use native functions

* Optional daily leaderboard rank

* Proper status code for invalid lb mode

* Add result criteria check

* Make daily leaderboard cache size configurable

* Add Ape endpoint for daily leaderboard (#2997)

* support for switching to viewing daily lbs

* test

* buttons

* only checking daily if user has more than 2 hours typed

* updated structure

* setting rank if its undefined

* only when daily

* storing uid

* fixed media queries

* Daily leaderboards pagination (#3006)

* Pagination

* Remove with scores

* Add daily leaderboard rank (#3014) Bruception

* Add daily leaderboard rank

* Remove unused import

* Use object instead

* Add client logic

* Add limit checks

* Announce top daily leaderboard results (#3017)

* Add rank in daily leaderboard results (#3022)

* not showing lb memory and top % on daily

* Fix rank pagination

* Actual fix

* showing new rank

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-26 16:30:11 +02:00
Evan 66c912e817
use interfaces instead of types (#3002) ferotiq
* use interfaces instead of types

* Update custom-text.ts
2022-05-26 12:19:01 +02:00
Miodec b05535a381 fixed cookie popup blocking extensions causing weird behaviour 2022-05-24 18:02:55 +02:00
Miodec 4166003f21 allowing tab navigation on login page 2022-05-24 16:08:51 +02:00
Miodec c12579eb4a removed wrapper 2022-05-24 16:06:16 +02:00
Miodec 784e49bfa8 automatically wrapping input in wrapper
changing padding when indicator is visible
2022-05-24 16:05:32 +02:00
Miodec 2fcea65d68 added functions to disable certain components instead of all at once 2022-05-24 16:03:54 +02:00
Outdated 80d05a186f
Language Added, VIm: U (#3018) outdatedx
Co-authored-by: // Outdated Designs <OutdatedDesigns@users.noreply.github.com>
2022-05-24 15:30:22 +02:00
ᚷᛁᛟᚱᚷᛁ ᛒᚨᛚᚨᚲᚻᚨᛞᛉᛖ 39905f5c31
fix word typo georgian (#3019) Vitruvius21 2022-05-24 15:29:54 +02:00
Rizwan Mustafa d7812d1b1b
Disable signup button by default and enable only on all correct checks (#3020) rizwanmustafa
* Disable signup button by default and enable only on all correct checks

* Refactor code

* remove debug log

* null when hidden

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-24 15:29:22 +02:00
Miodec 45722c0c5a goat 2022-05-24 00:29:36 +02:00
yingzhehe 30916937f6
Add more long english quotes (#3015) yingzhehe
* Update english.json

* add more long / thicc english quotes

* merge

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-23 23:53:41 +02:00
George The Bot c2e8a00aac
Added more quotes (#3016)
* Added quote to english.json

* Added quote to english.json

* Added quote to english.json
2022-05-23 23:50:24 +02:00
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 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 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 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