Commit graph

1964 commits

Author SHA1 Message Date
Miodec 120f51bbc1 incorrect property name 2023-01-04 17:26:14 +01:00
James 6c497254c2
Add tabs to js quote 24 (#3880) jameslounds 2023-01-04 16:58:08 +01:00
Jonathan Völkle aafa3e76bf
Add R (2k) language (code) (#3875) jonathanvoelkle 2023-01-04 15:12:36 +01:00
Thor bffeef4642
Added 3 english quotes (#3872) sanzelda
* added 2 english quotes

* added 3 english quotes
2023-01-04 15:02:19 +01:00
James da40901256
Add greys, realisation, tranquilisation to British English (#3871) jameslounds
* Add `greys` to British English

* Add `realisation` to British English

* and `tranquil` and some diminutives thereof
2023-01-04 14:50:14 +01:00
Bruce Berrios e8e377ff62
House keeping (#3867) bruception
* Add comment for blind mode

* Maybe fix on failure job
2023-01-04 14:48:33 +01:00
James 0daf994f43
add code-latex (#3862) jameslounds 2023-01-04 14:45:32 +01:00
Daniel Grothe 253749fffd
Update Mine layout (#3857) grothe6
Mine cycled J, Q and Z around. See https://www.neo-layout.org/Layouts/mine/
2023-01-04 14:41:39 +01:00
tumophiy a1b4d5a189
Adding new Ukrajins'ka latynka language (#3855) tumophiy
* feat(words): add words for latynka layout in ukrainian language

* feat(lists): add ukrainian_latynka to lists of languages

* feat(dygrafs): update spelling of them

* fix(name): in json files of languages
2023-01-04 14:37:05 +01:00
Ehan 04b87c9ea0
Add purpurite theme (#3847) EhaAhamed
* Add purpurite.css

* Added purpurite theme to list
2023-01-04 14:31:33 +01:00
Aaron 3d4b28f864
Fix wrong Dutch word (#3825) UnrealApex
* Renamed command line setting timer-progress bar

* Fix wrong Dutch word

Co-authored-by: Aaron <79121360+hazyboba@users.noreply.github.com>
2023-01-04 13:58:02 +01:00
Miodec 15a8dba11a fixed level balloon not working on public profiles 2023-01-04 13:53:35 +01:00
Miodec 1f72e846cc removed quotes 2022-12-18 22:01:20 +01:00
Miodec fef8f267d5 removed word 2022-12-17 09:21:16 +01:00
github-actions[bot] 574ff0538c
Prettier fix (#3819)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2022-12-11 01:19:47 +01:00
Miodec 70e5c86e41 fixed pb crown not showing difference
closes #3817
2022-12-11 01:09:37 +01:00
Miodec 91ea52bec6 fetcing user data first 2022-12-10 23:38:53 +01:00
Miodec 10f984cf5e duplicate 2022-12-08 19:56:09 +01:00
verbxtim 48db9cec2f Add code_assembly (#3796) verbxtim
* Update _groups.json

Added assembly

* Update _list.json

Added assembly

* Create code_assembly.json

Original 8086/8088 instruction set

* Resolve conflicts for code_assembly

* Resolve conflicts for code_assembly

Co-authored-by: Miodec <jack@monkeytype.com>
2022-12-08 15:01:33 +01:00
JJ b8ad75b0b4
Add Nim language (code) (#3810) j-james 2022-12-08 14:50:13 +01:00
Miodec b1ddd57e11 only caching monkeytype.com requests 2022-12-08 14:03:03 +01:00
Miodec d391febb34 added supporter 2022-12-07 15:53:13 +01:00
[Error_27] 3f6bf924ac
Add GDScript programming language (#3792) ErrorInCode27
* Initial GDScript addition

* Add parentheses and a couple extra types/symbols

* Reorganization to make it understandable

Co-authored-by: [Error_27] <43973418+Error-In-Code@users.noreply.github.com>
2022-12-05 18:52:47 +01:00
Bruce Berrios 46d7a78ffe
Add Monkey CI (#3799)
* Split PR checks

* Split Jobs

* Test

* Fix path check

* Use checkout

* Undo

* oh boy

* .

* .

* .

* .

* test

* .

* .

* .

* .

* .

* .

* .

* yay

* Remove jsonschema from global dep

* monkey ci

* .

* oops

* test

* .

* .

* .

* .

* .

* .

* .

* ayy

* add permissions
2022-12-05 18:52:15 +01:00
github-actions[bot] abe61873a4
Prettier fix (#3801)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2022-12-04 04:23:05 +01:00
coliss86 2de528b9fb
transform œ character which is not on many keyboard (#3797)
* transform a character which is not on a keyboard

* update length
2022-12-04 01:39:36 +01:00
Miodec 9376760fc5 updated caching strategy 2022-12-02 19:50:48 +01:00
Miodec 5d040ae8a0 also clearing cache after uninstalling the service worker 2022-12-01 20:19:03 +01:00
Miodec 41e49d452c added arabic 101 2022-12-01 19:18:54 +01:00
Miodec d19df5a724 added parlor to british english 2022-12-01 13:33:21 +01:00
Miodec 6c032be2ab removed short quotes 2022-12-01 01:39:31 +01:00
Miodec 5a9d635339 removed quotes 2022-12-01 01:38:57 +01:00
Miodec 997273f1ab removed quote 2022-12-01 01:38:28 +01:00
Miodec 8485f6d16c fixed tts not working 2022-12-01 00:11:20 +01:00
Miodec 56c1083433 quote lengths 2022-11-30 20:58:13 +01:00
George The Bot 32e8813850
Added more quotes (#3788)
* 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

* 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

* 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

* 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

* 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

* 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

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json
2022-11-30 20:57:45 +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
Miodec 351f1995bf hopefully added a solution to fix the page not loading 2022-11-30 18:49:04 +01:00
Miodec 62fd725287 removed console log 2022-11-30 18:35:38 +01:00
egorguslyan 588d14a2b3
Multiple funboxes (#3578) egorguslyan
* input-controller

* result

* 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

* 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

* 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

* 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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2022-11-30 16:57:48 +01:00
Miodec d45b487192 fixed broken click handler 2022-11-30 15:33:17 +01:00
Miodec 6f5a8f2ee4 using nbsp instead of margin-right to avoid prettier yoinking spaces 2022-11-28 17:43:49 +01:00
Miodec e9f9c23ada removed console logs 2022-11-28 17:38:55 +01:00
Miodec 01f083e87d updated port 2022-11-28 17:37:37 +01:00
Nat Zimmermann 634081c7ca
add spacing between sentences (#3779) 2022-11-28 17:27:13 +01:00
Miodec b4d781c40a fixed incorrect long custom text saving behavior
not removing 1 from history
replacing new lines with newlines and a space to make sure words split correctly
closes #3773
2022-11-28 16:23:32 +01:00
Miodec 6bc5d7e009 checking if cookie popup was removed/blocked before blocking input
should fix all issues with brave
2022-11-28 15:02:29 +01:00
Miodec 15b373a489 setting back the banned and verified to their original values 2022-11-28 14:38:55 +01:00
Lumid 550695c1ab
adding quotes from Genshin Impact (#3772) HansonSin
* adding quotes from Genshin Impact

* Removed approvedBy: "Smithster"

Co-authored-by: Miodec <jack@monkeytype.com>
2022-11-27 11:48:38 +01:00