Commit graph

173 commits

Author SHA1 Message Date
Miodec
d19df5a724 added parlor to british english 2022-12-01 13:33:21 +01:00
Scribe of the Ziggurat
daf74a1faf
Add code_zig for Zig programming language, for great justice (#3782) zigster
* Add code_zig for Zig programming language, for great justice

* fix dupes
2022-11-30 19:40:21 +01:00
egorguslyan
618c9ec931
Ip (#3784) egorguslyan
* Finishing logic

* Numbers + layoutfluid

* One interface

* Filter results

* tts error on undefined

Extencions like NoScript can partly block scripts on the page.
If speech synthesis is not loaded, notification shows up
without freezing the page

* Improved randomcase

* Prevent dublicates in command line

* Change filter logic

* Prettier

* Convert numbers

* num

* Quote and zen modes

* withWords

* Misc

* Expand funboxes list for pb saving

* Move list to backend

* Move to constants

* Async withWords, checkFunbox tweak

* Prettier

* Forbid nonexistent funboxes

* Disable speech if language is ignored

TtS's init() uses setLanguage()

* canGetPb

* Less circular imports

* Ligatures typo

* Simon says blocks word highlight

* blockWordHighlight backend

* Changed imports

* usesLayout

* JSON schema

* IP funbox

* Split

* Display notification instead of reseting

* canGetPB

* One getWordHtml

* Dividing properties

* No sync

* blockedModes

* forcedConfig

* Infinitness parameter, list sync

* applyConfig, memory

Remove extra applyConfig somewhere;
Memory in quotes and custom modes

* I lost this code after merging

* Remove arrowKeys

* isFunboxCompatible

* Fix logic

* sync canGetPb

* remove FunboxObjectType

* baloons

* moved cangetpb function to pb utils

* updated the pb check to be easier to understand

* Refactor isFunboxCompatible

* Check modes conflicts

* Strict highlightMode type

* Only one allowed or blocked highlight mode

* More checks

* Undefined only, not false

* Prettier

* Highlight modes

* added intersect helper function

* reworked forced config
 - storing allowed modes as an array, not string
 - first value will be used if config is outside of the allowed values
 - instead of checking if highlight mode is allowed, checking if the whole config is available
- removed the "Finite" forced config and replaced it with "noInfiniteDuration" property
- config event listener now checks every config change, not just highlight mode. this will ensure any future forced configs will work straight out of the box

* ManualRestart in commandline

* fixed funbox commands not correctly showing which funbox is active

* Upd list

* Merge

* canGetPB for ip

* Reduce list

* split funbox into smaller files
moved funbox files into its own folder

* missing none command

* added function to convert camel case to space separated words

* changed config validation to be blocking the change rather than reacting to the change

* reduced code duplication

* allowing sub color flash

* moved keymap key higlighting and flashing into an observable event

* moved tts into a observable event

* passing funbox into config validation funcitons

* replaced getActive with get

* only keeping functions structure in the list, moved the actual function bodies to funbox.ts
done to remove a circular dependency
still need to finish the rest of the funboxes

* removed empty function definitions (typing issues)

* removed unnecessary type

* unnecessary check

* moved mode checking to config validation

* longer notification

* checking funboxes before changing mode

* moved more functions

* fixed incorrect type

* checking funboxes when setting punctuation and numbers

* Rest of funboxes

* fixed funbox commands showing tags text and icon

* checking if funbox can be set with the current config

* better error message

* validating with setting time and words
importing from a new file

* added a function to capitalise the first letter of a string

* using function from a new file
new parameters

* moved test length check to a function in a different file

* moved some funbox validation into its own file

* only  showing notifications if the setWordCount returned true

* moved funbox validation to its own file

* setting manual restart when trying to set funbox to nonoe

* moving this validation to before activating the funbox

* returning forcedConfigs along side if current value is allowed
moved infinite check to checkFunboxForcedConfigs

* removed function, replaced by funox validation

* removing duplicates

* throwing if no intersection

* wrong type

* always allowing setting funbox
sometimes it might be possible to update the config

* checking forced configs first, and updating config if possible
only setting funbox to none when couldnt update config

* basic difficulty levels

* xp funbox bonus

* Delete old file

* Difficulty level

* removed console logs

* renamed import, renamed type

* lowercase b for consistency across the codebase

* renamed variable for readability

* renamed for clarity

* converted metadata to object

* changed from beforesubgroup on the command to before list on the subgroup

* using code suggested by bruce

* renamed type

* removed console log

* merch banner fix

* important animation

* updating the icon of "none" funbox command

* removed unnecessary import

* lowercase b

* updated description

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2022-11-30 19:25:57 +01:00
Kacper Wyczawski
01e3e3cc55
Add C# 11 keywords (#3775) kacperwyczawski
`file`, `nint`, `nuint`, `required` and `scoped`
2022-11-26 22:55:58 +01:00
Alex Rossell Hayes
1c5b31b435
fix: remove "telecharger" from english_10k (#3763) 2022-11-24 13:41:53 +01:00
George Rodrigues
8625739f18
Add elixir lang code (#3757) george124816
* Add elixir lang code

* add more words to elixir lang

Co-authored-by: edmundobiglia <edmundobiglia@gmail.com>
2022-11-21 13:15:23 +01:00
pyxan
39a1301b5b
Add attribution to polish 5k, 10k, 20k, 40k (#3758) 2022-11-19 13:39:25 +01:00
pyxan
d79ad414eb
Add code_python 1k, 2k, 5k (#3728) pyxan 2022-11-08 15:02:24 +01:00
pyxan
b308b7a561
Add polish 5k, 10k, 20k, 40k (#3717) pyxan 2022-11-04 13:51:20 +01:00
carnivoroustoad
c83bec9adb
Adding kazakh_1k (#3714) carniovoroustoad
* Adding kazakh_1k

* Adding kazakh_1k to groups

* adding kazakh_1k to list

* Removing duplicates from kazakh_1k
2022-11-03 11:59:02 +01:00
Prajwal Raj Basnet
a8b4fa348b
Hide favourite quote button for unauthenticated user (#3709) Prajwalrajbasnet
* Hide favourite quote button for unauthenticated user

* pretty fix

* hiding favorite button a bit later

* hiding favorite button by default
removed unnecessary auth import

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-31 14:49:25 +01:00
Miodec
a6990f6ce0 moved german into its own language group
requesting german quotes when swiss german is the active language
replacing ß with ss
closes #3699
2022-10-31 14:09:46 +01:00
Sokrates
8da9807605
Kratesv nynorsk words (#3705) kratesv
* Create norwegian_nynorsk.json

* Update norwegian_nynorsk.json

typo

* Update norwegian_nynorsk.json

* Update _groups.json

* Update _list.json

* Update norwegian_nynorsk.json

* Update norwegian_nynorsk.json

* Update _list.json

* Update _groups.json

* Rename norwegian_nynorsk.json to norwegian-nynorsk.json

* Rename norwegian-nynorsk.json to norwegian_nynorsk.json

* Update _groups.json

* Update _list.json

* Update norwegian_nynorsk.json

* Update norwegian_nynorsk.json

* Update norwegian_nynorsk.json
2022-10-31 12:58:34 +01:00
carnivoroustoad
156d8a37e4
Adding Romanized Persian (written in English characters) support (#3700) carnivoroustoad
* Adding romanized persian support

* Adding romanized persian

* Adding romanized persian
2022-10-31 12:18:48 +01:00
EMRD95
73d0d88aeb
French 630k (#3687) EMRD95 2022-10-26 23:35:47 +02:00
QuackerDeezles
ab008110bb
New Language: "lorem ipsum" by me (#3681) QuackerDeezies
* New language: english doubleletter -> A 200-word list only including words that have the same letter used consecutively.

* english doubleletter error, comma syntax fixed!

* english doubleletter -> english_doubleletter

* A list of roughly 200 lorem-ipsum type words generated by AI bots!

* renamed file

* removed duplicates

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-25 14:03:52 +02:00
Miodec
6adbdb19fd removed programme 2022-10-25 13:38:20 +02:00
QuackerDeezles
80df3dc61f
New language: english doubleletter (#3664) QuackerDeezles
* New language: english doubleletter -> A 200-word list only including words that have the same letter used consecutively.

* english doubleletter error, comma syntax fixed!

* english doubleletter -> english_doubleletter
2022-10-17 16:13:05 +02:00
Miodec
08cec67541 Revert "added polish 10k"
This reverts commit c8b0a56341.
2022-10-14 16:37:08 +02:00
Miodec
93fe93d8b9 Revert "removed empty words"
This reverts commit 532defcb57.
2022-10-14 16:37:04 +02:00
Miodec
532defcb57 removed empty words 2022-10-14 16:35:47 +02:00
Miodec
c8b0a56341 added polish 10k 2022-10-14 15:21:09 +02:00
Azim Akmatov
a10b3a83dd
[New language] Kyrgyz language added (#3645) akmatoff
* [New language] Kyrgyz language added

* reordered languages

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-13 14:32:59 +02:00
Miodec
deec24b086 removed all words with a non russian characte 2022-10-07 23:53:18 +02:00
Miodec
796b3ddc79 replaced all dashes 2022-10-07 12:07:03 +02:00
Mardi N
d15e49dd31
Update Indonesian language based on standard language and add more commonly used words (#3627) iamardi 2022-10-06 12:22:08 +02:00
Mrqsyaka
84bed4210a
Ukrainian common endings (#3625) Mrqsyaka
* Ukrainian common endings

* Update ukrainian_common_endings.json

* Update ukrainian_common_endings.json

* Update ukrainian_common_endings.json

* Update ukrainian_common_endings.json

* Update ukrainian_common_endings.json

* Update ukrainian_common_endings.json

* Update _list.json

* Update _groups.json

* Update _groups.json

* Rename ukrainian_common_endings.json to ukrainian_endings.json

* Update _groups.json

* Update ukrainian_endings.json

* Update _groups.json

* Update _list.json

* Update ukrainian_endings.json

* Rename ukrainian_endings.json to ukrainianendings.json

* Update ukrainianendings.json

* renamed file

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-04 20:54:57 +02:00
Mathéo
9405dc875b
[Spanish language] Word "solo" spelling mistake. (#3623)
* Spelling error

Supported by: https://www.rae.es/espanol-al-dia/el-adverbio-solo-y-los-pronombres-demostrativos-sin-tilde (Official Royal Spanish Academy).
Also can check this when trying to enter https://dle.rae.es/sólo - getting a 404 error showing that there's no word written like that in the dictionary. Only is valid when https://dle.rae.es/solo

* Spelling mistake in spanish_1k.json

Supported by: https://www.rae.es/espanol-al-dia/el-adverbio-solo-y-los-pronombres-demostrativos-sin-tilde (Official Royal Spanish Academy).
Also can check this when trying to enter https://dle.rae.es/sólo - getting a 404 error showing that there's no word written like that in the dictionary. Only is valid when https://dle.rae.es/solo

* New word replacing incorrectly wrote one

Changed "solo" to "carcasa" in order to avoid word repetition.

* Spelling mistake & word replacement

Supported by: https://www.rae.es/espanol-al-dia/el-adverbio-solo-y-los-pronombres-demostrativos-sin-tilde (Official Royal Spanish Academy).
Also can check this when trying to enter https://dle.rae.es/sólo - getting a 404 error showing that there's no word written like that in the dictionary. Only is valid when https://dle.rae.es/solo

As there was "sólo" and "solo" and there's only one correct form, one of those was changed to another commonly-used term.
2022-10-04 12:42:37 +02:00
Anurag Nayak
167ad107a6
Quote (#3595) Anu-Ra-g
* added a new quote

* added quotes from Mr. Robot and Whiplash

* fixed length

Co-authored-by: Miodec <jack@monkeytype.com>
2022-10-04 00:17:08 +02:00
Johnapolitan
4dc5868d34
More luau fixes + lua fixes (#3615) Johnapolitan
* Fix typo

* Add lua libraries

* Add task library
2022-09-30 18:29:28 +02:00
Johnapolitan
59974d512f
Expanded luau language(#3614) Johnapolitan
* Add luau libraries

* Add comma
2022-09-30 13:21:22 +02:00
Miodec
4da5fe4884 remoed word 2022-09-27 00:47:57 +02:00
Miodec
29533da0b2 removed word 2022-09-27 00:47:14 +02:00
Andie Santos
67f3b0734d
Added English quotes (#3594) radarmeanie
Co-authored-by: Miodec <jack@monkeytype.com>
2022-09-26 10:48:21 +02:00
mainos1
9e205d248c
Add more Greek language files (#3587) Mainos1
* added files for Greek 1k, 5k, 10k and 25k words

The files are made using the European Parliament Proceedings Parallel Corpus 1996-2011

* Add Greek 1k, 5k, 10k, 25k words

* Add Greek 1k, 5k, 10k, 25k words

* correcting trailing comma

* corrected the name

* corrected the name field

* corrected the name field

* corrected the name field
2022-09-26 10:44:25 +02:00
Jave
cf0d9425f5
Updated Filipino 200 words list (#3569) Killer8Hyper
- Added important words in the Filipino language, which are always used in conversations, making essays, articles, etc
- Changed words to their most common spelling
- Removed uncommon words or words that are not frequently used

Co-authored-by: Miodec <jack@monkeytype.com>
2022-09-22 14:18:12 +02:00
Giovanni Valer
5a5059498d
Added Friulian language (#3561) jo-valer 2022-09-20 14:58:25 +02:00
codemurt
4fdf3c59a9
Added udmurt language (#3560) codemurt 2022-09-20 14:57:53 +02:00
Miodec
0797b5cfb7 removed word 2022-09-16 12:47:29 +02:00
KParthSingh
a3a9bf00b4
Updated hinglish word list (#3556) KParthSingh
* Added hinglish

* Added hinglish

* Added hinglish language file

* remove bcp47

* Updated hinglish word list

-removed some English words
-added some new words
-reordered the list

* Update hinglish.json

* Delete hinglish.json

* Updated the word list

-removed some English words
-added few new words
-reordered the list

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-09-16 11:53:53 +02:00
Miodec
97f6f95af3 removed overly difficult words from portuguese 2022-09-14 18:43:23 +02:00
rogercc03
d21988ad63
Corrected catalan_1K.json Cataluña -> Catalunya (#3538) rogercc03
The "ñ" letter doesn't exist in catalan, it is written as "ny"
2022-09-12 13:17:58 +02:00
rogercc03
93f11243a4
Correct catalan.json cataluña->catalunya (#3537) rogercc03
The "ñ" letter doesn't exist in catalan, it is written as "ny"
2022-09-12 13:12:20 +02:00
KParthSingh
d4ad6c5c0c
Added hinglish under hindi (not as separate language) (#3499) KParthSingh
* Added hinglish

* Added hinglish

* Added hinglish language file

* remove bcp47

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-09-10 18:31:25 +02:00
AxoCode
3f25c7acab
Add Powershell Code language (#3516) AxoCode
* feat(language): add Powershell Code language

* fix: remove duplicate entry JSON
2022-09-08 14:08:24 +02:00
Arban Hossain
39dea0161e
Add English quotes and Bangla words (#3505) arbanhossain
* add english quotes

* add 14 bangla words

* updated english quote to be newline-free
2022-09-08 14:07:39 +02:00
Christian Rudder
1a9e2c4134
language checks use startsWith() (#3502) neezacoto
* replacing otchecking for languages uses startsWith

* renamed language file to not include decimal places

* replacing remaing underscore characters

* removing language size

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 12:26:51 +02:00
egorguslyan
2e98da7f3f
C rework (#3483) egorguslyan
* C wordlist extension

* C-like syntax

* Fix arduino tab width

* Fix Quake 3 quote

* Public domain C quotes

* IDs

* Quake 3

* Punctuation

* Prettier

* startWith

* css

* prettier

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-04 12:38:20 +02:00
Miodec
0dde0c7493 replaced word 2022-09-02 15:08:17 +02:00
Shashwat Poudel
caa502a618
Update code_python (#3486) shashwat-pd
Structural pattern matching has been added in the form of a match statement and case statements of patterns with associated actions in python 3.10. 

Reference: https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching
2022-09-02 12:07:10 +02:00