Commit graph

2615 commits

Author SHA1 Message Date
Miodec 09bb4c051c added arabic 102 2023-05-08 12:01:54 +02:00
Miodec 0e88bd87c3 replaced .at with a function that is supported in older browsers 2023-05-05 19:30:46 +02:00
Miodec 198493ca95 logging update
overwriting native log, warn, debug, error
added color coded tags to logs
automatically enabling debug logs on localhost
added fucntion to enable debug logs
2023-05-05 14:49:46 +02:00
Serdar Bilici 7cb1d2a677
Language turkish 5k edit (#4259)
* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update chinese_traditional.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update _groups.json

* Update _list.json

* Create turkish_5k.json

turkish 5k language

* comma correction

* Update turkish_5k.json

* Update turkish_5k.json

* update quotes

* Update turkish.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Turkish 5k minor edit

edited some words effecting the flow of typing

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* prettier

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-05 13:45:22 +02:00
Jack b7d7cac99f
Word generation rewrite (#4258)
* fixed not being able to start an infinite custom test

* moved words bound function to a different file

* moved wordset class to the wordset file

* moved more code to test words

* moved to to new words generator

* removed unnecessary function

* unnecessary function

* reordered functions

* pushing to ret instead

* reordered lines

* moved code to a function, merged two functions into one

* refactor

* reorder

* removed comment

* setting config to array instead

* moved code

* added a check to protect against infinite init loop

* small refactor

* moved wordset definition

* moved text has tab check to the end

* moved ß replacement to getNextWord

* tracking current quote

* removed comment

* fixed type

* delaying words height and input position update

* moved tab testing code outside the word generato

* removed console log

* removed unnecessary word count variable

* moved funbox section to its own function

* fixed custom text not working correctly

* passing in previous words instead of always getting it from testwords

* missing type definition

* get next word now always returns one word, keeps track of the current section (mutli word "word")

* fixed incorrect limit for custom mode

* tracking section index

* - not updating language when group is other
 - activating funbox after language has been loaded
 - combined 2 language checks into 1
 - awaiting init calls

* greater or equal

* removed comment

* extracted quote generation to its own function

* prettier
2023-05-05 13:25:40 +02:00
Miodec fc461e975a added enter to the list of tracked keys 2023-05-04 19:27:45 +02:00
Miodec 9ca996aa24 setting config to array instead 2023-05-04 14:40:13 +02:00
Miodec 1ebd90c7d0 refactor to look cleaner 2023-05-04 14:39:55 +02:00
Miodec 935b779efd fixed not being able to start an infinite custom test 2023-05-04 14:39:16 +02:00
Mark (Krittipoom) 1e3a453f80
Add Thai quotes (#4253) Krittipoom
* Add Thai quotes to thai.json

Add Thai quotes from Detective conan to thai.json

* Update thai.json

* Update thai.json

* fix length field

fix length field

* remove id4 in thai.json

remove id4 in thai.json
2023-05-04 12:06:35 +02:00
Miodec cbf9a02fd2 fixing safari overflowing bio content even though it doesnt make sense for it to overflow
closes #4255
2023-05-04 00:12:26 +02:00
Miodec 128a4e4de4 fixed safari issue 2023-05-03 20:36:16 +02:00
Miodec 5a889865a8 reduced scale on narrow screens 2023-05-03 17:47:10 +02:00
Miodec 089e11250d parsing float instead 2023-05-03 17:36:10 +02:00
Miodec 91e77efef4 fixed broken logic 2023-05-03 13:13:56 +02:00
Miodec 5169c02a5e parsing int 2023-05-03 13:10:54 +02:00
Miodec 9658ee4409 made sure to save custom text settings if user is attempting to practise missed/slow words while in custom mode
correctly reverting custom text settings
closes #4248
2023-05-03 12:46:39 +02:00
Miodec 7a9afaae6c fixed a bug that would not show the total word count in any mode if config.words was set to 0
closes #4250
2023-05-03 12:32:17 +02:00
Miodec 8533583b79 profile safari fixes
closes #4225
2023-05-03 12:24:08 +02:00
Evan 9408322503
Update PersonalBests Interface (#4158) Ferotiq
* update `PersonalBests` interface

* removed properties

* setting to skeleton if needed

* consistency and add skeleton by default

* consistency

* populate personalBests on user get

* simplification + consistency + small fixes

* protecting against partial object

* removed duplicate

* not optional property

* ensuring personal bests structure while creating user snapshot

* checking pb structure for tags

* missing skeleton

* required personal bests property

* simplify

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-03 11:39:32 +02:00
Miodec 3f7f77841b quote reports 2023-05-02 15:40:18 +02:00
Jerry Zhou 7ee47a83f2
provided codeOverride for playClick so that settings will properly be able to preview certain sounds (#4246) jerryzhou196 2023-05-02 14:16:40 +02:00
Egemasta 9776907343
Bugfixing some words (#4240) egemasta 2023-05-02 14:14:32 +02:00
TheNatBoi 7fa2a33ab2
Added English Quotes (#4233) TheNatBoi
* Update english.json

* Update english.json

* Update english.json
2023-05-02 14:10:02 +02:00
Bilal Suleiman cac25979ae
added 5 italian quotes (#4236) bsule 2023-05-02 14:08:40 +02:00
Tor Jacob Neple 48b9e932c1
Add Scandinavian Layouts (QWERTY-Nordic) (#4242) torjacob
* Add Norwegian layout

* Add Swedish Layout

* Add Danish layout

* Update naming based on feedback
2023-05-02 14:06:27 +02:00
Miodec 27ff20da51 title fix 2023-05-01 11:38:29 +02:00
Miodec ca0b710e8f reduced vendor filesize by 300kB 2023-04-30 13:29:06 +02:00
Anthony Rosman e678260133
add: new quotes from The Knight in Rusty Armour (#4226) D3press3d 2023-04-28 15:52:41 +02:00
Anthony Rosman 2ba3067f89
Accessibility (#4227) D3press3dd
* fix: add role missing in aria-label

* fix: add web-kit option to support safari browsers

* fix: change div to link to keep the structure of the others

* fix:add rel to avoid tab access with window.opener

* fix: add missing roles when using aria-label

* fix: delete placeholders

* fix:add webkit to all,comment unused css selectors

* removed placeholder

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-28 15:52:22 +02:00
kStor2poche a9e58b13fd
Added french quotes id 134 to 138 (#4224) kStor2poche
* Added french quotes id 134 to 138

* Update frontend/static/quotes/french.json

* Update frontend/static/quotes/french.json
2023-04-26 23:39:33 +02:00
Jack 5543aaae65
converted required leftToRight to optional rightToLeft (#4229)
* converted required leftToRight to optional rightToLeft

* merge straggler

* removed empty lines

* removed empty lines
2023-04-26 23:34:13 +02:00
Miodec 91b3800616 fixed errors when viewing the account page without any results 2023-04-26 15:30:12 +02:00
Anthony Rosman 17fc634057
fix: #4100 (#4221) D3press3dd
* fix: #4100

* funbox requirement

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-26 11:36:58 +02:00
AlJavhar Boyaliyev 12d61afc5d
Update uzbek.json (#4195) AlJavhar
* Update uzbek.json

I corrected some wrong words and removed unnecessary ones. I will be glad if I see my language corrected on such sites. Thanks a lot!

* Update uzbek.json

Fixed Uzbek language

* Update uzbek.json

Fixed Uzbek language

* Update uzbek.json

Fixed Uzbek language

* Update uzbek_1k.json

Fixsed Uzbek-1k

* Update uzbek.json

Fixed Uzbek language

* Update uzbek.json

Fixed Uzbek language

* Update uzbek_1k.json

Fixed Uzbek_1k language

* Update uzbek.json

Fixed Uzbek language

* lowercased word

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-26 11:27:16 +02:00
Miodec c628f949cc added french 2023-04-25 16:23:23 +02:00
Jeff0502 c10fa85bb2
More Afrikaans quotes, and poems (#4207) Jeff0502
* Added Afrikaans quotes.

* Added a few more quotes

* Added even more quotes, corrected some spelling

* Fixed lengths.

* Removed Lien se Lankstaanskoene

* Removed some potentially offensive/obscene text

* Added sterrekyker

* Added two more entries, 'Die wêreld het so klein geword' and 'Stille Waters'

* Fixed a typo
2023-04-24 20:32:07 +02:00
Temmie 855f93b760
Add GDScript 2.0 programming language (#4215) JustTemmie
* Initial GDScript 2.0 commit

* change 2.0 to 2

* whoops
2023-04-24 20:31:30 +02:00
Miodec 45f1d90428 reverted test changes 2023-04-24 17:34:24 +02:00
Miodec bafe6a0358 quote lengths 2023-04-24 17:24:31 +02:00
Miodec 826b0420d1 quote reports 2023-04-24 17:24:31 +02:00
tuzu128 132af98093
Created Everblush theme (#4211) tuzu128
* Added everblush theme

* Added Everblush theme to _list.json

---------

Co-authored-by: TheTuzu <tuzu@seznam.cz>
2023-04-24 16:05:11 +02:00
Lxran 045e1241e5 Add FFXIV Quotes (#4214) Lxran
* Add FFXIV Quotes

* fix quote lengths

* fix typo

* remove duplicate quote

* fix quote source

* apply review
2023-04-24 16:03:42 +02:00
pr 36089cc5d0
add more common properties/values to code_css (#4213) PineappleRind
* add more CSS words

* add more commonly used CSS properties/values

* fix trailing comma...
2023-04-24 14:16:17 +02:00
Miodec 490759f829 fixed not being able to change language with the commandline during an infinite test
closes #4210
2023-04-24 12:58:37 +02:00
Miodec 80e7932101 (potentially) fixed interchangable russian characters not working
moved the check below the funbox check
2023-04-24 12:52:14 +02:00
Miodec c906c25b5e deep copying the object to avoid it being modified anywhere else in the short window between sending to server and calculating hash 2023-04-24 12:52:14 +02:00
Serdar Bilici 5a1012f3d3
Language turkish 5k edit (#4206) s3rdarb
* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update chinese_traditional.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update _groups.json

* Update _list.json

* Create turkish_5k.json

turkish 5k language

* comma correction

* Update turkish_5k.json

* Update turkish_5k.json

* update quotes

* Update turkish.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Turkish 5k minor edit

edited some words effecting the flow of typing

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* prettier

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-24 12:33:33 +02:00
Miodec ab063865ef removed word 2023-04-22 21:34:02 +02:00
ibrab000 3ca1840097
IBM Plex Mono Font (#4201) ibrab000
* Update _list.json

* Add files via upload

* Update _list.json

* Update fonts.scss
2023-04-21 17:23:19 +02:00
Anthony Rosman f5d713256a
fix:#4124 graph buttons are now toggles (#4203) D3press3dd Miodec
* fix:#4124 graph buttons are now toggles

* fix: delete deletes unnecessary code and removes a typo

* renamed function

* only updating if on account page

* updating account buttons on account page load

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-21 17:21:52 +02:00
Miodec b766c626b3 setting result calculating to true earlier 2023-04-21 13:22:41 +02:00
Osmiuth 08eaef31d2
Added Quotes from Alan Watts and Lao Tzu (#4199) osmiuth
This PR appends quotes from Alan Watts and Lao Tzu
2023-04-21 10:25:22 +02:00
Miodec c18144d7b9 replaced plugin with a better one 2023-04-20 12:59:54 +02:00
Miodec 7e33957b5c update caniuse 2023-04-20 12:53:44 +02:00
Miodec 9db58d4a6c removed unnecessary check 2023-04-20 11:59:58 +02:00
ArijanJ ef0cceb3b6
Remove some more phrases and blank lines (#4197) ArijanJ 2023-04-19 15:05:34 +02:00
Miodec 24f11297d4 updated description 2023-04-19 13:40:18 +02:00
Miodec a8de24a2c8 previewing themes and fonts after updating active command 2023-04-19 12:34:36 +02:00
Felix 519dee9dec
Added two french quotes (#4193) Felixbstck
* Added two french quotes

* Modified the ids of the two french quotes I added

---------

Co-authored-by: Felix Bostock <felixbostock@Olivers-MBP.lan>
Co-authored-by: Felix Bostock <felixbostock@Olivers-MacBook-Pro.local>
2023-04-19 12:16:22 +02:00
Miodec bbae8c8ffc added steno and steno matrix keymap style 2023-04-19 12:10:30 +02:00
Jordan Becker 0bff150c9c
Add Otis' monologue quote (#4192) habovh 2023-04-18 15:48:24 +02:00
Serdar Bilici d704013c55
Language turkish 5k edit (#4183) s3rdarb
* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update chinese_traditional.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update _groups.json

* Update _list.json

* Create turkish_5k.json

turkish 5k language

* comma correction

* Update turkish_5k.json

* Update turkish_5k.json

* update quotes

* Update turkish.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Turkish 5k minor edit

edited some words effecting the flow of typing

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* prettier

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-18 15:47:37 +02:00
Miodec 16b1d170a1 removed adtest 2023-04-18 12:58:01 +02:00
Miodec dcbf5e0333 Merge branch 'newads' 2023-04-18 12:44:55 +02:00
ArijanJ 03fb7adf6e
Add Typing of the Dead language (#4191) ArijanJ
* Add Typing of the Dead language

* removed some phrases

* added original punctuation property
this will use the punctuation from the list file instead of generating it on the fly

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-18 12:36:39 +02:00
Henning Meyer 9f1594fead
feat(code_csharp): add missing csharp keywords (#4188) meyerhenning 2023-04-17 20:13:33 +02:00
Miodec f053ca2c96 stopped ab test, removed ab test tracking code 2023-04-17 16:47:39 +02:00
Miodec efef1bce85 Merge branch 'master' into newads 2023-04-17 16:45:07 +02:00
Miodec 7770613ffb using actual test end for calculation instead of performance now 2023-04-17 16:38:09 +02:00
Miodec 73d2db4799 moved the code responsible for removing trailing afk from bailed out tests to the test finish function 2023-04-17 16:37:31 +02:00
Miodec 7633155336 always updating last keypress 2023-04-17 16:36:11 +02:00
Miodec 5e115eb34f fixed incorrect duration 2023-04-17 13:43:45 +02:00
github-actions[bot] 042ef4b8c6
Prettier fix (#4185)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-04-16 14:38:45 +02:00
Miodec 20aa324d5d added supporter 2023-04-16 14:29:43 +02:00
Miodec ccde8f0cd7 Merge branch 'master' into newads 2023-04-15 15:24:16 +02:00
Miodec 854d4759ce tracking numpadenter in 58008 funbox
tracking arrows in arrows funbox
2023-04-15 15:23:34 +02:00
Miodec cb94b57a68 storing active commandline entry index
this allows to hotswap between mouse and keyboard navigation
also closes #4181
2023-04-15 14:42:15 +02:00
Jeff0502 c4ffcb86ca
Afrikaans Quotes (#4180) jeff0502
* Added Afrikaans quotes.

* Added a few more quotes

* Added even more quotes, corrected some spelling

* Fixed lengths.

* Removed Lien se Lankstaanskoene

* Removed some potentially offensive/obscene text
2023-04-15 12:09:36 +02:00
noamvokaal 89fea40209
Added Swedish quotes (#4177) noamvokaal
* Added swedish quotes and corrected a few.

* Corrected quote length on quote 29 and 30.

* Replaced quote 99 and 114.

* Replaced quote 89, 93 and 94.
2023-04-15 12:08:18 +02:00
Akhilesh Waghmare 4994ef109b
Added Marathi (#4174) akhilesh-w
* added new language quotes

* solved the error

* solved the char count issue

* added marathi language file

* added some more quotes

* added new quotes
2023-04-14 16:09:56 +02:00
Miodec 78e231a125 trying a new approach to NoCode to cover more edge cases 2023-04-14 13:04:38 +02:00
Miodec 334b81c63a stupid mistakes man 2023-04-14 13:04:38 +02:00
Miodec 3e95164703 added fallback for no key location code (not just android)
should fix some of the result validation errors
2023-04-14 13:04:38 +02:00
bapic c69d2d0251
Fix About Page Leaderboard Typo (#4179) itsbapic
Just saw it while using the site, tiny one-letter fix
2023-04-14 12:56:06 +02:00
Serdar Bilici 9e1dfd8508
Language turkish 5k edit (#4175) s3rdarb
* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update chinese_traditional.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update turkish.json

* Update turkish.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish_1k.json

* Update turkish.json

* Update _groups.json

* Update _list.json

* Create turkish_5k.json

turkish 5k language

* comma correction

* Update turkish_5k.json

* Update turkish_5k.json

* update quotes

* Update turkish.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Turkish 5k minor edit

edited some words effecting the flow of typing

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* Update turkish_5k.json

* prettier

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-04-14 12:55:01 +02:00
Ayaan 92404bcfe8
Fix spelling and remove misspelt repeated word (#4178) DarthJarJarJar 2023-04-14 11:44:14 +02:00
Miodec 335e01fbbc trying a new approach to NoCode to cover more edge cases 2023-04-13 17:46:47 +02:00
Miodec c87bb14cc0 stupid mistakes man 2023-04-13 15:33:15 +02:00
Miodec 2495eee213 Merge branch 'master' into newads 2023-04-13 15:23:46 +02:00
Miodec 12698550b9 added fallback for no key location code (not just android)
should fix some of the result validation errors
2023-04-13 15:23:12 +02:00
miraiHaGakkariShita 9fb1ebf1cb
New english quote "_" (#4171) miraiHaGakkariShita
* New english quote "_"

after 10 years of learning how to use GitHub, learning the proper formatting for MT and kind-of understanding the workflow, I present my opus magnum, a singular quote from my beloved anime
tl;dr synced fork, fixed formatting for the 10th time, and reduced the amount of ellipses to a minimum that would still give off the quotes original meaning

* Changed character count
2023-04-13 13:39:59 +02:00
Miodec d47d4706bc quote reports 2023-04-12 16:49:15 +02:00
Miodec d96eea2bca Merge branch 'master' into newads 2023-04-12 16:26:59 +02:00
Miodec 8f42872132 increased line height 2023-04-12 00:44:37 +02:00
Miodec 73c84b43c3 Merge branch 'master' into newads 2023-04-12 00:03:00 +02:00
Miodec d7bf0552de requiring shift + enter to be double tapped to bail out of a test
closes #4149
2023-04-11 23:47:41 +02:00
Saptarshi Ghosh 588e7efed8
Added english quotes (#4159) zak-carnet
* Added english quotes

* Replaced quote to meet length requirements

---------

Co-authored-by: Saptarishi Ghosh <saptarishighosh@Saptarishis-Macook-Air.local>
2023-04-11 22:32:45 +02:00
Miodec 64c2eb0531 possible fix for powertoys bug? 2023-04-11 22:17:50 +02:00
Miodec 3da5123502 possible fix for powertoys bug? 2023-04-11 18:12:55 +02:00