Commit graph

5234 commits

Author SHA1 Message Date
Jack 5cc3982a9c rerunning npm i 2021-10-10 23:30:29 +01:00
Jack aa51808777 removed console log 2021-10-10 23:02:57 +01:00
Jack cf8d258400
Quote submission (#1984)
* added new-quotes get and add routes

* added new-quotes/approve route to api

* Added front-end for quote submission

* fix language typo, force lowercase language

* Check for duplicate quote

* added unknown language handling to quote-submit

* npm i

* npm i

* language dropdown instead of input field

* mouse down instead click

* styling changes

* moved quotemod check to the controller,
added refuse endpoint,
added ability to approve and edit

* limiting quotes

* added log to quote approve

* added approve quotes button

* typo

* using the correct function, lowered limit

* added quote approve popup

* getting quotes and showing them

* error checking

* error checking

* removed console log

* stylng changes,
added refresh list button

* added disabled class

* styling changes

* handling button clicks
showing langauge and timestamp

* check if user is a quote mod

* approve button handling

* handling quote edit

* showing short quotes in red

* post, not get

* not parsing quote id to int

* parsing to objectid

* updated styling

* fixed lint warnings

* fixed up new quotes dao

* showing loader

* calling function correctly

* typo fix

* fixed wrong path,
fix broken newid,
saving file when file exists,
searching for the quote correctly when attempting to delete

* showing message

* blocking buttons and inputs when waiting for response,
unlocking after response

* deleted workflow

Co-authored-by: lukew3 <lukew25073@gmail.com>
2021-10-10 22:46:35 +01:00
Jack 2773ad4f8a
Delete feature_request.md 2021-10-10 22:26:06 +01:00
Jack 273be2161f updated extension 2021-10-10 22:25:15 +01:00
Jack ecf8af8f66
Create config.yaml 2021-10-10 22:24:15 +01:00
Jack 6178ed504f security update 2021-10-10 22:12:44 +01:00
Azirine 2fb29739d0
Update english_5k.json (#1983) by Azirine
Removed duplicates.
2021-10-10 21:48:01 +01:00
Jack c558f126a2 small fixes to the template 2021-10-10 17:30:29 +01:00
Jack 0e629ebce0 new bug report template format 2021-10-10 17:25:54 +01:00
Jack b00148e481 updated the 5k list to use the oxford 5000. closes #1974 2021-10-10 16:52:41 +01:00
Jack b0db2c47bd Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:44:34 +01:00
Jack 115148323f updated the 5k word list slightly. thanks
impranav16
2021-10-10 16:43:06 +01:00
patpro dd59f05184
Update french.json (#1981) by p4tpr0
typos, spelling, grammar corrections.
2021-10-10 16:40:32 +01:00
Jack 0b495d8911 Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:40:06 +01:00
Jack c13a83cff5 removed workflow 2021-10-10 16:40:02 +01:00
Typeacode 468110ef7c
layouts.js (#1982) by Typeacode
I made a keyboard layout for Indonesian where Indonesian doesn't have a keyboard layout.  I named this keyboard layout ina because the most letters in Indonesia are a, n, and i.  thank you for reading and seeing my keyboard layout, thank you very much🙏
2021-10-10 16:39:33 +01:00
Jack 224024b7fe Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:22:37 +01:00
Jack 747abee4aa added eslint github formatter 2021-10-10 16:22:34 +01:00
SeerLite d7b5483561
Make emulator even more obvious (#1978) by seerlite
* Prefix layout notice with "emulating"

Makes it clearer for people that might have set it to use the emulator
before but haven't noticed the name change in the settings/command line.

* Replace _ in layout name with spaces in notice
2021-10-10 16:10:24 +01:00
SeerLite 23a9915495
Add .editorconfig (#1976)
EditorConfig is a configuration file to standardize file format settings
across editors.

See https://editorconfig.org/ for more information.
2021-10-10 16:09:32 +01:00
Jack 69bae070eb Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:06:06 +01:00
Jack 4783c1ebe4 fix typo 2021-10-10 16:06:02 +01:00
Josh Moncrieff 2092439729
Update CONTRIBUTING.md (#1977)
fix typo in language guidelines example
2021-10-09 23:19:36 +01:00
Miodec 42d4d6f88b fixed settings group reacting to a button press even when some of the parameters were undefined 2021-10-09 15:24:49 +01:00
Miodec 51de7cde4a updated the result styling on smaller widths 2021-10-09 13:17:06 +01:00
Miodec a5b4b433cc fixed backspace deleting 2 characgters when layout emulator was enabled. closes #1972 2021-10-09 13:03:26 +01:00
Miodec 94075b7083 showing decimal places even if wpm is round 2021-10-09 12:53:56 +01:00
huzqy fcbb446f8e
Add ISRT Angle Mod (#1970) 2021-10-08 17:39:44 +01:00
Miodec 9e6e49ad21 changed the timeout to actually be 10 seconds not 1... 2021-10-08 10:04:26 +01:00
Jack 3bfad6b181 changed the global timeout limit to 10 seconds 2021-10-07 20:12:38 +01:00
Jack 7bb4d2b894 checking if e.reponse.status exists 2021-10-07 20:11:42 +01:00
Jack dc3fc3eafe defused the bomb planted by @SeerLite 2021-10-07 19:24:35 +01:00
Jack c80759dded missing change. 2021-10-07 19:06:24 +01:00
Jack fad01ae125 renamed layout override to layout emulator 2021-10-07 19:06:05 +01:00
Jack be8e5c358f removed console log 2021-10-07 19:05:53 +01:00
SeerLite 4234cb3c1c
Layout emulator: Ignore forced compose input and keys with modifiers (#1965)
* Undo forced compose input when using emulator

* Don't emulate keys with modifiers

Ctrl everywhere and Alt only on Linux (because Firefox uses Alt shortcuts
on Linux).
2021-10-07 18:52:40 +01:00
SeerLite 57f6eec430
Always reset #wordsInput with layout emulator (#1960) 2021-10-07 14:33:42 +01:00
angularorbit 6d9b28c1ca
Delete MTGAP ISEA (#1961) 2021-10-07 14:32:23 +01:00
Aaron 018da6c665
Update CONTRIBUTING.md (#1962) 2021-10-07 14:30:52 +01:00
Aaron 35535d424f
Create SECURITY.md (#1963) 2021-10-07 14:29:42 +01:00
Aaron 8713d1dfee
Update CODE_OF_CONDUCT.md (#1964) 2021-10-07 14:28:08 +01:00
Jack 6fc38b1314 updated ads.txt 2021-10-06 18:50:32 +01:00
Jack 0ebab5b4c2 Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-06 18:49:43 +01:00
Jack a7c882392a updated ads.txt 2021-10-06 18:49:39 +01:00
SeerLite a6f1e62c7c
Fix layout emulator issues (#1957) by seerlite
* Reset #wordsInput when using layout emulator too

* Refactor input and fix emulation live acc
2021-10-06 16:05:20 +01:00
angularorbit 067ce02ed7
Add an ISEA version of MTGAP (#1953) by angularorbit
* Add an ISEA version of MTGAP

This one closely resembles the one at https://mathematicalmulticore.wordpress.com/2011/01/04/starting-to-fully-optimize-the-keyboard/  but it isn't exactly it.

* Swap the 'q' and the '[' in MTGAP ISEA

* Update MTGAP_ISEA

Swapped a few more characters. Changed the locations of 'B' and 'M', 'K', 'Z', '[{', ':?' in MTGAP ISEA.
2021-10-06 13:36:44 +01:00
usrme 521aff2d17
Add Estonian (#1952) by usrme
* add 'estonian', 'estonian_1k', and 'estonian_10k'

* add Estonian

* add Estonian
2021-10-06 13:36:21 +01:00
Jack 9a0026a1ab disabling autofocus when restart button is focused. should help with #1941 2021-10-06 13:34:13 +01:00
Jack 32e93f8da8 revert revert merge input-rewrite 2021-10-05 15:36:37 +01:00