Commit graph

9219 commits

Author SHA1 Message Date
Miodec
1c483760fa quote lengths 2023-05-15 11:13:29 +02:00
Miodec
9ba260046a quote reports and low rated quotes 2023-05-15 11:08:06 +02:00
Miodec
16c956c62c missing commas 2023-05-11 13:48:46 +02:00
Miodec
570bc36f66 updated arabic 102 2023-05-11 12:42:43 +02:00
AntoninMayet
0b4f532eab
Added french quotes (#4264) AntoninMayet
* Added french quotes

Hoping I didn't mess anything up.

* Update french.json

Add comment with English translation

* Update french.json

* Update french.json

Corrected some typos
2023-05-10 18:03:41 +02:00
Miodec
85b41dab0d quote lengths 2023-05-10 14:03:08 +02:00
Miodec
64be9e751a quote reports 2023-05-10 14:00:53 +02:00
WhosChester
1ef32215c6
Added English Quotes (#4261) WhosChester
* Added English Quotes

* Removed and fixed some quotes

* Fixed quote ID 6908 length

* Length fields corrected

* missing full sotp

* incorrect length

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-10 12:55:44 +02:00
Miodec
219ec63794 turns out date.now uses miliseconds instead of seconds... who knew? 2023-05-09 16:06:47 +02:00
kStor2poche
4463768b6b
Fixed a mistype that slipped by when first proofreading in quotes/french.json (#4265) kStor2poche 2023-05-09 12:56:11 +02:00
verdant23
5d98eabbc2
Update _list.json - Added noctum keymap layout (#4263) verdant23
* Update _list.json

* Update _list.json

* Update _list.json

* Update _list.json

* Update _list.json

* Update _list.json
2023-05-09 12:54:26 +02:00
Miodec
911f786b6b added some debug logs 2023-05-08 13:45:24 +02:00
Miodec
200803a72c fixed a bug where words added live during the test didnt follow the punctuation rules 2023-05-08 13:41:45 +02:00
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
Bruce Berrios
8ee934c69d
Remove daily lb cache (#4231)
* Remove daily lb cache

* remove init

* lint
2023-04-30 11:25:18 -04:00
Bruce Berrios
fa32e08c0e
Upgrade actions in workflows (#4232) 2023-04-30 11:20:09 -04: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