Commit graph

1051 commits

Author SHA1 Message Date
Albert 67daa1d409
Custom mode pipe delimiter: section count mode (#4105) albertying, miodec
* Add section input

* Restore code

* Cleaner approach

* Correct current index

* Remove import

* Call punctuation, numbers, funboxes on all words in section

* Plus n adds n words instead of n sections

* Undo

* Fix normal test

* Replace word with section when delimiter is checked

* Restore

* Set progress to current section / section total

* Fix memory funbox

* Fix randomcase

* Fix text generation when random is not enabled

* no word limit if in random section mode

* instead of using a for loop, using a while loop and stopping dynamically

* handling getting next section
tracking section history to avoid repeating sections

* test

* Revert "test"

This reverts commit 50d20fff3d.

* allowing infinite

* fixed words not being added after the first word generation

* not checking section index if infinite word

* throwing if word contains a space (should never happen)

* removed/reverted old approach to this feature

* using input history everytime for now until a better solution is found

* removed unused import

* exporting section index and current section

* code used by the previous approach, most likely will be deleted

* revered a change this pr makes (idk why this was deleted)

* missing comment

* removed comment

* added section progress tracking
word generator now returns a list of section indexes, which is stored in test words module
this array is then used to determine which section the current word belongs to inside timer progress

* better errors

* replacing multiple spaces with one
replacing starting and trailing spaces before splitting

* fixed pipe delmiter non random custom text not working

* extracted logic into constants to make the if statement easier to understand and expand in the future

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-05-15 11:45:38 +02:00
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
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 09bb4c051c added arabic 102 2023-05-08 12:01:54 +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
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 3f7f77841b quote reports 2023-05-02 15:40:18 +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
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
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
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 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
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
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
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
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 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 efef1bce85 Merge branch 'master' into newads 2023-04-17 16:45:07 +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